{
  "$schema": "https://govschema.org/spec/v0.3/govschema.schema.json",
  "govschemaVersion": "0.3.0",
  "id": "lv/vid/annual-income-tax-declaration-form-d",
  "version": "1.4.0",
  "title": "Latvia Annual Income Tax Declaration — Form D, Annex D1, Annex D1¹, Annex D2, Annex D2¹, and Annex D4 (Gada ienākumu deklarācija, forma D, pielikums D1, D1¹, D2, D2¹ un D4)",
  "description": "The State Revenue Service's (Valsts ieņēmumu dienests, VID) annual personal income tax declaration under Cabinet Regulation No. 662 (30 October 2018), \"Noteikumi par iedzīvotāju ienākuma nodokļa deklarācijām un to aizpildīšanas kārtību\", as amended by Cabinet Regulation No. 615 of 21 October 2025 (in force 2026-01-01). Deepens Latvia's Taxes vertical (v1.0.0, GOV-4138, opened with Form D plus Annex D1; v1.1.0, GOV-4144, added Annex D2; v1.2.0, GOV-4154, added Annex D2¹; v1.3.0, GOV-4163, added Annex D1¹) by adding Annex D4 (\"Attaisnotie izdevumi par izglītību, ārstnieciskajiem pakalpojumiem, ziedojumiem un dāvinājumiem\" — deductible expenses for education, medical services, donations and gifts, including donations to a political party). Annexes D3, D3¹, DK, the DK pielikums, and GD remain excluded/open per this document's own standing VERIFICATION.md history.",
  "status": "draft",
  "jurisdiction": {
    "country": "LV",
    "level": "national"
  },
  "authority": {
    "name": "State Revenue Service of the Republic of Latvia (Valsts ieņēmumu dienests)",
    "abbreviation": "VID",
    "url": "https://www.vid.gov.lv"
  },
  "process": {
    "type": "filing",
    "language": "lv"
  },
  "source": {
    "url": "https://likumi.lv/ta/id/302688-noteikumi-par-iedzivotaju-ienakuma-nodokla-deklaracijam-un-to-aizpildisanas-kartibu",
    "retrievedAt": "2026-07-21",
    "documentRef": "Cabinet Regulation No. 662 (30 October 2018), \"Noteikumi par iedzīvotāju ienākuma nodokļa deklarācijām un to aizpildīšanas kārtību\" (Regulations on Personal Income Tax Declarations and the Procedure for Their Completion), Annex 1 (1. pielikums) and Section VIII (§§32-37, Annex D4 completion instructions), as amended by Cabinet Regulation No. 615 of 21 October 2025, in force 2026-01-01."
  },
  "verification": {
    "method": "manual-source-review-v1",
    "lastVerifiedAt": "2026-07-21",
    "verifiedBy": "GovSchema Engineering (Standards Engineer)",
    "nextReviewBy": "2027-01-21",
    "notes": "GOV-4184 (\"GovSchema Standard Research\"), deepening Latvia's Taxes vertical past v1.3.0 (GOV-4163) by adding Annex D4 (deductible expenses for education, medical services, donations and gifts) — the single candidate the GOV-4169 re-examination cycle flagged as the most likely next step, since it shares Annex D1/D2/D1¹/D2¹'s real-<TABLE> rendering unlike D3/D3¹ (too formula-derived/broad, excluded per GOV-4136) or DK/the DK pielikums/GD (structurally distinct standalone declarations, not Form D annexes). Re-fetched likumi.lv id 302688 fresh this cycle: HTTP 200, 365,651 bytes, byte-identical to every prior version's own recorded count. Located Section VIII (\"Deklarācijas D4 pielikuma aizpildīšanas kārtība\", paragraphs 32-37) by searching the raw HTML for the anchor \"n8\"/\"Deklarācijas D4 pielikuma aizpildīšanas kārtība\", then found Annex D4's own data-entry <TABLE> markup in the same combined docx-sourced HTML bundle D1/D2/D2¹/D1¹ were extracted from, locating it via the printed \"D4\" page marker box that immediately precedes it and the \"Nodokļa maksātāja ģimenes locekļa dati\" family-member sub-table that immediately follows it — the same page-marker-box convention this document's own D1¹/D2/D2¹ extractions already established. Table has 12 numbered columns (header super-groups: \"Attaisnojuma dokumenta\" cols 1-2, \"Pakalpojuma sniedzēja/ienākuma saņēmēja\" cols 3-4, \"Attaisnotie izdevumi\" cols 5-9, \"Attaisnotie izdevumi kopā, bet ne vairāk par noteiktajiem ierobežojumiem\" cols 10-11, and col 12 the carry-forward amount), 2 blank current-year entry rows, a this-year totals row, a 3-row prior-year carry-forward sub-table, and a grand \"Kopā\" row — cross-checked exactly against paragraphs 33.1-33.9's own column captions, confirming no column was mis-ordered."
  },
  "maturity": {
    "level": "structural-reference",
    "criteria": {
      "structuralReference": true,
      "verifiedSchema": false,
      "agentReadySchema": false,
      "executionTestedSchema": false
    },
    "method": "maturity-self-assessment-v1",
    "assertedBy": "GovSchema Engineering (Standards Engineer)",
    "assertedAt": "2026-07-21"
  },
  "license": "CC-BY-4.0",
  "steps": [
    {
      "id": "identification",
      "title": "Taksācijas gads un nodokļa maksātāja identifikācija (Tax Year and Taxpayer Identification)",
      "fields": [
        "taxationYear",
        "applicantFullName",
        "applicantPersonalCode",
        "applicantPhoneNumber"
      ],
      "next": "lv_sourced_income"
    },
    {
      "id": "lv_sourced_income",
      "title": "D1 pielikums — Taksācijas gadā Latvijas Republikā gūtie ienākumi (Annex D1 — Income Earned in Latvia During the Tax Year)",
      "fields": [
        "incomeEntry1SourceAndType",
        "incomeEntry1GrossIncome",
        "incomeEntry1NonTaxableIncome",
        "incomeEntry1EmployeeSocialInsuranceContributions",
        "incomeEntry1PensionAndLifeInsuranceContributions",
        "incomeEntry1AuthorExpenses",
        "incomeEntry1IncomeRelatedExpenses",
        "incomeEntry1TaxableIncome",
        "incomeEntry1AdvanceTaxWithheld",
        "incomeEntry2SourceAndType",
        "incomeEntry2GrossIncome",
        "incomeEntry2NonTaxableIncome",
        "incomeEntry2EmployeeSocialInsuranceContributions",
        "incomeEntry2PensionAndLifeInsuranceContributions",
        "incomeEntry2AuthorExpenses",
        "incomeEntry2IncomeRelatedExpenses",
        "incomeEntry2TaxableIncome",
        "incomeEntry2AdvanceTaxWithheld",
        "incomeEntry3SourceAndType",
        "incomeEntry3GrossIncome",
        "incomeEntry3NonTaxableIncome",
        "incomeEntry3EmployeeSocialInsuranceContributions",
        "incomeEntry3PensionAndLifeInsuranceContributions",
        "incomeEntry3AuthorExpenses",
        "incomeEntry3IncomeRelatedExpenses",
        "incomeEntry3TaxableIncome",
        "incomeEntry3AdvanceTaxWithheld",
        "incomeEntry4SourceAndType",
        "incomeEntry4GrossIncome",
        "incomeEntry4NonTaxableIncome",
        "incomeEntry4EmployeeSocialInsuranceContributions",
        "incomeEntry4PensionAndLifeInsuranceContributions",
        "incomeEntry4AuthorExpenses",
        "incomeEntry4IncomeRelatedExpenses",
        "incomeEntry4TaxableIncome",
        "incomeEntry4AdvanceTaxWithheld",
        "incomeEntry5SourceAndType",
        "incomeEntry5GrossIncome",
        "incomeEntry5NonTaxableIncome",
        "incomeEntry5EmployeeSocialInsuranceContributions",
        "incomeEntry5PensionAndLifeInsuranceContributions",
        "incomeEntry5AuthorExpenses",
        "incomeEntry5IncomeRelatedExpenses",
        "incomeEntry5TaxableIncome",
        "incomeEntry5AdvanceTaxWithheld",
        "incomeEntry6SourceAndType",
        "incomeEntry6GrossIncome",
        "incomeEntry6NonTaxableIncome",
        "incomeEntry6EmployeeSocialInsuranceContributions",
        "incomeEntry6PensionAndLifeInsuranceContributions",
        "incomeEntry6AuthorExpenses",
        "incomeEntry6IncomeRelatedExpenses",
        "incomeEntry6TaxableIncome",
        "incomeEntry6AdvanceTaxWithheld",
        "incomeEntry7SourceAndType",
        "incomeEntry7GrossIncome",
        "incomeEntry7NonTaxableIncome",
        "incomeEntry7EmployeeSocialInsuranceContributions",
        "incomeEntry7PensionAndLifeInsuranceContributions",
        "incomeEntry7AuthorExpenses",
        "incomeEntry7IncomeRelatedExpenses",
        "incomeEntry7TaxableIncome",
        "incomeEntry7AdvanceTaxWithheld",
        "incomeEntry8SourceAndType",
        "incomeEntry8GrossIncome",
        "incomeEntry8NonTaxableIncome",
        "incomeEntry8EmployeeSocialInsuranceContributions",
        "incomeEntry8PensionAndLifeInsuranceContributions",
        "incomeEntry8AuthorExpenses",
        "incomeEntry8IncomeRelatedExpenses",
        "incomeEntry8TaxableIncome",
        "incomeEntry8AdvanceTaxWithheld",
        "incomeEntry9SourceAndType",
        "incomeEntry9GrossIncome",
        "incomeEntry9NonTaxableIncome",
        "incomeEntry9EmployeeSocialInsuranceContributions",
        "incomeEntry9PensionAndLifeInsuranceContributions",
        "incomeEntry9AuthorExpenses",
        "incomeEntry9IncomeRelatedExpenses",
        "incomeEntry9TaxableIncome",
        "incomeEntry9AdvanceTaxWithheld",
        "incomeTotalGrossIncome",
        "incomeTotalNonTaxableIncome",
        "incomeTotalEmployeeSocialInsuranceContributions",
        "incomeTotalPensionAndLifeInsuranceContributions",
        "incomeTotalAuthorExpenses",
        "incomeTotalIncomeRelatedExpenses",
        "incomeTotalTaxableIncome",
        "incomeTotalAdvanceTaxWithheld"
      ],
      "next": "income_excluded_from_reliefs"
    },
    {
      "id": "income_excluded_from_reliefs",
      "title": "D1¹ pielikums — Ienākumi, kuriem nepiemēro neapliekamo minimumu un atvieglojumus (Annex D1¹ — Income Excluded from the Non-Taxable Minimum and Reliefs)",
      "fields": [
        "reliefsExcludedIncomeEntry1SourceAndType",
        "reliefsExcludedIncomeEntry1GrossIncome",
        "reliefsExcludedIncomeEntry1ForestSaleExpenseNorm",
        "reliefsExcludedIncomeEntry1TimberSaleExpenseNorm",
        "reliefsExcludedIncomeEntry1DocumentedExpenses",
        "reliefsExcludedIncomeEntry1TaxableIncome",
        "reliefsExcludedIncomeEntry1TaxRate",
        "reliefsExcludedIncomeEntry1TaxAmount",
        "reliefsExcludedIncomeEntry1AdvancePaidOrWithheldTax",
        "reliefsExcludedIncomeEntry1PayableOrOverpaidTax",
        "reliefsExcludedIncomeEntry2SourceAndType",
        "reliefsExcludedIncomeEntry2GrossIncome",
        "reliefsExcludedIncomeEntry2ForestSaleExpenseNorm",
        "reliefsExcludedIncomeEntry2TimberSaleExpenseNorm",
        "reliefsExcludedIncomeEntry2DocumentedExpenses",
        "reliefsExcludedIncomeEntry2TaxableIncome",
        "reliefsExcludedIncomeEntry2TaxRate",
        "reliefsExcludedIncomeEntry2TaxAmount",
        "reliefsExcludedIncomeEntry2AdvancePaidOrWithheldTax",
        "reliefsExcludedIncomeEntry2PayableOrOverpaidTax",
        "reliefsExcludedIncomeEntry3SourceAndType",
        "reliefsExcludedIncomeEntry3GrossIncome",
        "reliefsExcludedIncomeEntry3ForestSaleExpenseNorm",
        "reliefsExcludedIncomeEntry3TimberSaleExpenseNorm",
        "reliefsExcludedIncomeEntry3DocumentedExpenses",
        "reliefsExcludedIncomeEntry3TaxableIncome",
        "reliefsExcludedIncomeEntry3TaxRate",
        "reliefsExcludedIncomeEntry3TaxAmount",
        "reliefsExcludedIncomeEntry3AdvancePaidOrWithheldTax",
        "reliefsExcludedIncomeEntry3PayableOrOverpaidTax",
        "reliefsExcludedIncomeEntry4SourceAndType",
        "reliefsExcludedIncomeEntry4GrossIncome",
        "reliefsExcludedIncomeEntry4ForestSaleExpenseNorm",
        "reliefsExcludedIncomeEntry4TimberSaleExpenseNorm",
        "reliefsExcludedIncomeEntry4DocumentedExpenses",
        "reliefsExcludedIncomeEntry4TaxableIncome",
        "reliefsExcludedIncomeEntry4TaxRate",
        "reliefsExcludedIncomeEntry4TaxAmount",
        "reliefsExcludedIncomeEntry4AdvancePaidOrWithheldTax",
        "reliefsExcludedIncomeEntry4PayableOrOverpaidTax",
        "reliefsExcludedIncomeEntry5SourceAndType",
        "reliefsExcludedIncomeEntry5GrossIncome",
        "reliefsExcludedIncomeEntry5ForestSaleExpenseNorm",
        "reliefsExcludedIncomeEntry5TimberSaleExpenseNorm",
        "reliefsExcludedIncomeEntry5DocumentedExpenses",
        "reliefsExcludedIncomeEntry5TaxableIncome",
        "reliefsExcludedIncomeEntry5TaxRate",
        "reliefsExcludedIncomeEntry5TaxAmount",
        "reliefsExcludedIncomeEntry5AdvancePaidOrWithheldTax",
        "reliefsExcludedIncomeEntry5PayableOrOverpaidTax",
        "reliefsExcludedIncomeEntry6SourceAndType",
        "reliefsExcludedIncomeEntry6GrossIncome",
        "reliefsExcludedIncomeEntry6ForestSaleExpenseNorm",
        "reliefsExcludedIncomeEntry6TimberSaleExpenseNorm",
        "reliefsExcludedIncomeEntry6DocumentedExpenses",
        "reliefsExcludedIncomeEntry6TaxableIncome",
        "reliefsExcludedIncomeEntry6TaxRate",
        "reliefsExcludedIncomeEntry6TaxAmount",
        "reliefsExcludedIncomeEntry6AdvancePaidOrWithheldTax",
        "reliefsExcludedIncomeEntry6PayableOrOverpaidTax",
        "reliefsExcludedIncomeEntry7SourceAndType",
        "reliefsExcludedIncomeEntry7GrossIncome",
        "reliefsExcludedIncomeEntry7ForestSaleExpenseNorm",
        "reliefsExcludedIncomeEntry7TimberSaleExpenseNorm",
        "reliefsExcludedIncomeEntry7DocumentedExpenses",
        "reliefsExcludedIncomeEntry7TaxableIncome",
        "reliefsExcludedIncomeEntry7TaxRate",
        "reliefsExcludedIncomeEntry7TaxAmount",
        "reliefsExcludedIncomeEntry7AdvancePaidOrWithheldTax",
        "reliefsExcludedIncomeEntry7PayableOrOverpaidTax",
        "reliefsExcludedIncomeTotalGrossIncome",
        "reliefsExcludedIncomeTotalDocumentedExpenses",
        "reliefsExcludedIncomeTotalTaxableIncome",
        "reliefsExcludedIncomeTotalTaxAmount",
        "reliefsExcludedIncomeTotalAdvancePaidOrWithheldTax",
        "reliefsExcludedIncomeTotalPayableOrOverpaidTax"
      ],
      "next": "foreign_sourced_income"
    },
    {
      "id": "foreign_sourced_income",
      "title": "D2 pielikums — Taksācijas gadā ārvalstīs gūtie ienākumi (Annex D2 — Income Earned Abroad During the Tax Year)",
      "fields": [
        "foreignIncomeEntry1CountryAndPayer",
        "foreignIncomeEntry1IncomeType",
        "foreignIncomeEntry1ForeignIncomeAmount",
        "foreignIncomeEntry1ExemptIncome",
        "foreignIncomeEntry1SocialInsurancePayments",
        "foreignIncomeEntry1AuthorAndOtherExpenses",
        "foreignIncomeEntry1ForeignTaxPaid",
        "foreignIncomeEntry1TaxRate",
        "foreignIncomeEntry1TaxAmount",
        "foreignIncomeEntry2CountryAndPayer",
        "foreignIncomeEntry2IncomeType",
        "foreignIncomeEntry2ForeignIncomeAmount",
        "foreignIncomeEntry2ExemptIncome",
        "foreignIncomeEntry2SocialInsurancePayments",
        "foreignIncomeEntry2AuthorAndOtherExpenses",
        "foreignIncomeEntry2ForeignTaxPaid",
        "foreignIncomeEntry2TaxRate",
        "foreignIncomeEntry2TaxAmount",
        "foreignIncomeEntry3CountryAndPayer",
        "foreignIncomeEntry3IncomeType",
        "foreignIncomeEntry3ForeignIncomeAmount",
        "foreignIncomeEntry3ExemptIncome",
        "foreignIncomeEntry3SocialInsurancePayments",
        "foreignIncomeEntry3AuthorAndOtherExpenses",
        "foreignIncomeEntry3ForeignTaxPaid",
        "foreignIncomeEntry3TaxRate",
        "foreignIncomeEntry3TaxAmount",
        "foreignIncomeEntry4CountryAndPayer",
        "foreignIncomeEntry4IncomeType",
        "foreignIncomeEntry4ForeignIncomeAmount",
        "foreignIncomeEntry4ExemptIncome",
        "foreignIncomeEntry4SocialInsurancePayments",
        "foreignIncomeEntry4AuthorAndOtherExpenses",
        "foreignIncomeEntry4ForeignTaxPaid",
        "foreignIncomeEntry4TaxRate",
        "foreignIncomeEntry4TaxAmount",
        "foreignIncomeEntry5CountryAndPayer",
        "foreignIncomeEntry5IncomeType",
        "foreignIncomeEntry5ForeignIncomeAmount",
        "foreignIncomeEntry5ExemptIncome",
        "foreignIncomeEntry5SocialInsurancePayments",
        "foreignIncomeEntry5AuthorAndOtherExpenses",
        "foreignIncomeEntry5ForeignTaxPaid",
        "foreignIncomeEntry5TaxRate",
        "foreignIncomeEntry5TaxAmount",
        "foreignIncomeEntry6CountryAndPayer",
        "foreignIncomeEntry6IncomeType",
        "foreignIncomeEntry6ForeignIncomeAmount",
        "foreignIncomeEntry6ExemptIncome",
        "foreignIncomeEntry6SocialInsurancePayments",
        "foreignIncomeEntry6AuthorAndOtherExpenses",
        "foreignIncomeEntry6ForeignTaxPaid",
        "foreignIncomeEntry6TaxRate",
        "foreignIncomeEntry6TaxAmount",
        "foreignIncomeTotalForeignIncomeAmount",
        "foreignIncomeTotalExemptIncome",
        "foreignIncomeTotalSocialInsurancePayments",
        "foreignIncomeTotalAuthorAndOtherExpenses",
        "foreignIncomeTotalForeignTaxPaid",
        "foreignIncomeTotalTaxRate",
        "foreignIncomeTotalTaxAmount"
      ],
      "next": "seafarer_foreign_income"
    },
    {
      "id": "seafarer_foreign_income",
      "title": "D2¹ pielikums — Jūrnieka ārvalstīs gūtie ienākumi (Annex D2¹ — Seafarer's Income Earned Abroad)",
      "fields": [
        "seafarerIncomeEntry1CountryAndPayer",
        "seafarerIncomeEntry1GrossIncome",
        "seafarerIncomeEntry1PeriodStart",
        "seafarerIncomeEntry1PeriodEnd",
        "seafarerIncomeEntry1Coefficient",
        "seafarerIncomeEntry1TaxableIncome",
        "seafarerIncomeEntry1TaxRate",
        "seafarerIncomeEntry1TaxAmount",
        "seafarerIncomeEntry1ForeignTaxPaid",
        "seafarerIncomeEntry2CountryAndPayer",
        "seafarerIncomeEntry2GrossIncome",
        "seafarerIncomeEntry2PeriodStart",
        "seafarerIncomeEntry2PeriodEnd",
        "seafarerIncomeEntry2Coefficient",
        "seafarerIncomeEntry2TaxableIncome",
        "seafarerIncomeEntry2TaxRate",
        "seafarerIncomeEntry2TaxAmount",
        "seafarerIncomeEntry2ForeignTaxPaid",
        "seafarerIncomeEntry3CountryAndPayer",
        "seafarerIncomeEntry3GrossIncome",
        "seafarerIncomeEntry3PeriodStart",
        "seafarerIncomeEntry3PeriodEnd",
        "seafarerIncomeEntry3Coefficient",
        "seafarerIncomeEntry3TaxableIncome",
        "seafarerIncomeEntry3TaxRate",
        "seafarerIncomeEntry3TaxAmount",
        "seafarerIncomeEntry3ForeignTaxPaid",
        "seafarerIncomeEntry4CountryAndPayer",
        "seafarerIncomeEntry4GrossIncome",
        "seafarerIncomeEntry4PeriodStart",
        "seafarerIncomeEntry4PeriodEnd",
        "seafarerIncomeEntry4Coefficient",
        "seafarerIncomeEntry4TaxableIncome",
        "seafarerIncomeEntry4TaxRate",
        "seafarerIncomeEntry4TaxAmount",
        "seafarerIncomeEntry4ForeignTaxPaid",
        "seafarerIncomeTotalGrossIncome",
        "seafarerIncomeTotalTaxableIncome",
        "seafarerIncomeTotalTaxRate",
        "seafarerIncomeTotalTaxAmount"
      ],
      "next": "deductible_expenses"
    },
    {
      "id": "deductible_expenses",
      "title": "D4 pielikums — Attaisnotie izdevumi par izglītību, ārstnieciskajiem pakalpojumiem, ziedojumiem un dāvinājumiem (Annex D4 — Deductible Expenses for Education, Medical Services, Donations and Gifts)",
      "fields": [
        "deductibleExpenseEntry1DocumentDate",
        "deductibleExpenseEntry1DocumentNumber",
        "deductibleExpenseEntry1ProviderRegistrationNumberOrPersonalCode",
        "deductibleExpenseEntry1ProviderName",
        "deductibleExpenseEntry1EducationExpenses",
        "deductibleExpenseEntry1MedicalExpenses",
        "deductibleExpenseEntry1DonationsExpenses",
        "deductibleExpenseEntry1PoliticalPartyDonationsExpenses",
        "deductibleExpenseEntry2DocumentDate",
        "deductibleExpenseEntry2DocumentNumber",
        "deductibleExpenseEntry2ProviderRegistrationNumberOrPersonalCode",
        "deductibleExpenseEntry2ProviderName",
        "deductibleExpenseEntry2EducationExpenses",
        "deductibleExpenseEntry2MedicalExpenses",
        "deductibleExpenseEntry2DonationsExpenses",
        "deductibleExpenseEntry2PoliticalPartyDonationsExpenses",
        "deductibleExpenseTotalEducationExpenses",
        "deductibleExpenseTotalMedicalExpenses",
        "deductibleExpenseTotalExpenses",
        "deductibleExpenseTotalDonationsExpenses",
        "deductibleExpenseTotalPoliticalPartyDonationsExpenses",
        "deductibleExpenseTotalDonationsCappedAtLimit",
        "deductibleExpenseTotalEducationMedicalCappedAtLimit",
        "deductibleExpenseTotalCarryForwardToNextYears",
        "deductibleExpenseCarryForwardEntry1PriorYear",
        "deductibleExpenseCarryForwardEntry1TotalExpenses",
        "deductibleExpenseCarryForwardEntry1EducationMedicalCappedAtLimit",
        "deductibleExpenseCarryForwardEntry2PriorYear",
        "deductibleExpenseCarryForwardEntry2TotalExpenses",
        "deductibleExpenseCarryForwardEntry2EducationMedicalCappedAtLimit",
        "deductibleExpenseCarryForwardEntry3PriorYear",
        "deductibleExpenseCarryForwardEntry3TotalExpenses",
        "deductibleExpenseCarryForwardEntry3EducationMedicalCappedAtLimit",
        "deductibleExpenseGrandTotalDonationsCappedAtLimit",
        "deductibleExpenseGrandTotalEducationMedicalCappedAtLimit",
        "deductibleExpenseFamilyMemberFullName",
        "deductibleExpenseFamilyMemberPersonalCode",
        "deductibleExpenseFamilyMemberRelationshipDegree"
      ],
      "next": "tax_calculation_summary"
    },
    {
      "id": "tax_calculation_summary",
      "title": "Nodokļa aprēķins (Tax Calculation Summary)",
      "fields": [
        "taxableIncomeEarnedInLatvia",
        "taxableIncomeEarnedAbroad",
        "taxableIncomeIncreaseAmount",
        "totalTaxableIncome",
        "totalNonTaxableIncome",
        "mandatorySocialInsuranceDeduction",
        "solidarityTaxPortionTransferred",
        "educationHealthDonationsDeduction",
        "pensionFundLifeInsuranceDeduction",
        "totalJustifiedExpenses",
        "annualNonTaxableMinimum",
        "pensionerNonTaxableMinimumApplied",
        "pensionerAnnualNonTaxableMinimum",
        "dependentsRelief",
        "disabilityRelief",
        "politicallyRepressedPersonRelief",
        "nationalResistanceMovementRelief",
        "totalReliefs",
        "totalTax",
        "taxBelowFirstProgressionThreshold",
        "taxAboveFirstProgressionThreshold",
        "taxOnOtherIncomeAndMinimumBusinessTax",
        "taxOnProfessionalAthleteIncome",
        "incomeSubjectToAdditionalTaxRate",
        "additionalTax",
        "advancePaidOrWithheldTax",
        "taxPayableToBudget",
        "overpaidTaxOrRefund",
        "taxPaymentDeadline",
        "totalTaxAmount"
      ],
      "next": "refund_and_filing"
    },
    {
      "id": "refund_and_filing",
      "title": "Pārmaksas atmaksa un iesniegšana (Overpayment Refund and Filing)",
      "fields": [
        "refundAmount",
        "refundAccountIban",
        "attachedPagesCount",
        "attachedAnnexNumbers",
        "attachedExpenseDocumentsList",
        "signatureDate",
        "signature"
      ]
    }
  ],
  "fields": [
    {
      "name": "taxationYear",
      "label": "Taksācijas gads",
      "type": "integer",
      "required": true,
      "description": "The tax year the declaration covers, printed as 4 blank digit boxes at the top of Form D.",
      "sourceRef": "Form D header, \"Taksācijas gads\"",
      "validation": {
        "minimum": 2000,
        "maximum": 2100
      }
    },
    {
      "name": "applicantFullName",
      "label": "Vārds, uzvārds",
      "type": "string",
      "required": true,
      "classification": "pii",
      "description": "The declarant's full given name and surname, entered on a single fill-in line (the form does not split given name and surname into separate boxes here, unlike some other Latvian forms in this registry).",
      "sourceRef": "Form D header, \"Vārds, uzvārds\"",
      "validation": {}
    },
    {
      "name": "applicantPersonalCode",
      "label": "Personas kods",
      "type": "string",
      "required": true,
      "classification": "sensitive-pii",
      "description": "The declarant's Latvian personal code (personas kods), printed as 6 digit boxes, a literal dash, then 5 digit boxes — unlike lv/ur/sole-trader-registration-kr2's own personas kods field, this form prints the dash placeholder directly, so the pattern is derived from the printed boxes themselves.",
      "sourceRef": "Form D header, \"Personas kods\"",
      "validation": {
        "pattern": "^[0-9]{6}-[0-9]{5}$"
      }
    },
    {
      "name": "applicantPhoneNumber",
      "label": "Tālruņa numurs",
      "type": "string",
      "required": false,
      "classification": "pii",
      "description": "The declarant's phone number, printed as 8 digit boxes.",
      "sourceRef": "Form D header, \"Tālruņa numurs\"",
      "validation": {
        "pattern": "^[0-9]{8}$"
      }
    },
    {
      "name": "incomeEntry1SourceAndType",
      "label": "Ienākumu gūšanas vieta (arī ienākumu izmaksātāja nosaukums un reģistrācijas kods vai vārds, uzvārds un personas kods, ja tāds ir piešķirts) un veids (1. rinda)",
      "type": "string",
      "required": false,
      "description": "Row 1 of Annex D1's income table: the income source (including the payer's name and registration code, or name and personal code, where one is assigned) and the type of income.",
      "sourceRef": "Annex D1, row 1, column 1. aile",
      "validation": {}
    },
    {
      "name": "incomeEntry1GrossIncome",
      "label": "Bruto ieņēmumi (1. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 1 of Annex D1's income table. Bruto ieņēmumi.",
      "sourceRef": "Annex D1, row 1, column 2. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry1NonTaxableIncome",
      "label": "Neapliekamie ienākumi (1. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 1 of Annex D1's income table. Neapliekamie ienākumi.",
      "sourceRef": "Annex D1, row 1, column 3. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry1EmployeeSocialInsuranceContributions",
      "label": "Attaisnotie izdevumi — darba ņēmēja valsts sociālās apdrošināšanas obligātās iemaksas (1. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 1 of Annex D1's income table. Attaisnotie izdevumi — darba ņēmēja valsts sociālās apdrošināšanas obligātās iemaksas.",
      "sourceRef": "Annex D1, row 1, column 4. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry1PensionAndLifeInsuranceContributions",
      "label": "Attaisnotie izdevumi — iemaksas privātajos pensiju fondos un dzīvības apdrošināšanas prēmijas (1. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 1 of Annex D1's income table. Attaisnotie izdevumi — iemaksas privātajos pensiju fondos un dzīvības apdrošināšanas prēmijas.",
      "sourceRef": "Annex D1, row 1, column 5. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry1AuthorExpenses",
      "label": "Attaisnotie izdevumi — autoru izdevumi (1. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 1 of Annex D1's income table. Attaisnotie izdevumi — autoru izdevumi.",
      "sourceRef": "Annex D1, row 1, column 6. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry1IncomeRelatedExpenses",
      "label": "Izdevumi, kas saistīti ar ienākumu gūšanu (1. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 1 of Annex D1's income table. Izdevumi, kas saistīti ar ienākumu gūšanu.",
      "sourceRef": "Annex D1, row 1, column 7. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry1TaxableIncome",
      "label": "Apliekamie ienākumi, neatskaitot darba devēja veiktās iemaksas (2. – 3. – 6. – 7. aile) (1. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 1 of Annex D1's income table. Apliekamie ienākumi, neatskaitot darba devēja veiktās iemaksas (2. – 3. – 6. – 7. aile). Formula printed on the schedule: this column's value equals column 2 (Bruto ieņēmumi) minus column 3 (Neapliekamie ienākumi) minus column 6 (autoru izdevumi) minus column 7 (Izdevumi, kas saistīti ar ienākumu gūšanu) — cross-checked against Form D row 1's own formula reference \"D1 8. ailes summa\".",
      "sourceRef": "Annex D1, row 1, column 8. aile",
      "validation": {}
    },
    {
      "name": "incomeEntry1AdvanceTaxWithheld",
      "label": "Avansā samaksātais (ieturētais) nodoklis (1. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 1 of Annex D1's income table. Avansā samaksātais (ieturētais) nodoklis.",
      "sourceRef": "Annex D1, row 1, column 9. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry2SourceAndType",
      "label": "Ienākumu gūšanas vieta (arī ienākumu izmaksātāja nosaukums un reģistrācijas kods vai vārds, uzvārds un personas kods, ja tāds ir piešķirts) un veids (2. rinda)",
      "type": "string",
      "required": false,
      "description": "Row 2 of Annex D1's income table: the income source (including the payer's name and registration code, or name and personal code, where one is assigned) and the type of income.",
      "sourceRef": "Annex D1, row 2, column 1. aile",
      "validation": {}
    },
    {
      "name": "incomeEntry2GrossIncome",
      "label": "Bruto ieņēmumi (2. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 2 of Annex D1's income table. Bruto ieņēmumi.",
      "sourceRef": "Annex D1, row 2, column 2. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry2NonTaxableIncome",
      "label": "Neapliekamie ienākumi (2. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 2 of Annex D1's income table. Neapliekamie ienākumi.",
      "sourceRef": "Annex D1, row 2, column 3. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry2EmployeeSocialInsuranceContributions",
      "label": "Attaisnotie izdevumi — darba ņēmēja valsts sociālās apdrošināšanas obligātās iemaksas (2. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 2 of Annex D1's income table. Attaisnotie izdevumi — darba ņēmēja valsts sociālās apdrošināšanas obligātās iemaksas.",
      "sourceRef": "Annex D1, row 2, column 4. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry2PensionAndLifeInsuranceContributions",
      "label": "Attaisnotie izdevumi — iemaksas privātajos pensiju fondos un dzīvības apdrošināšanas prēmijas (2. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 2 of Annex D1's income table. Attaisnotie izdevumi — iemaksas privātajos pensiju fondos un dzīvības apdrošināšanas prēmijas.",
      "sourceRef": "Annex D1, row 2, column 5. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry2AuthorExpenses",
      "label": "Attaisnotie izdevumi — autoru izdevumi (2. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 2 of Annex D1's income table. Attaisnotie izdevumi — autoru izdevumi.",
      "sourceRef": "Annex D1, row 2, column 6. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry2IncomeRelatedExpenses",
      "label": "Izdevumi, kas saistīti ar ienākumu gūšanu (2. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 2 of Annex D1's income table. Izdevumi, kas saistīti ar ienākumu gūšanu.",
      "sourceRef": "Annex D1, row 2, column 7. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry2TaxableIncome",
      "label": "Apliekamie ienākumi, neatskaitot darba devēja veiktās iemaksas (2. – 3. – 6. – 7. aile) (2. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 2 of Annex D1's income table. Apliekamie ienākumi, neatskaitot darba devēja veiktās iemaksas (2. – 3. – 6. – 7. aile). Formula printed on the schedule: this column's value equals column 2 (Bruto ieņēmumi) minus column 3 (Neapliekamie ienākumi) minus column 6 (autoru izdevumi) minus column 7 (Izdevumi, kas saistīti ar ienākumu gūšanu) — cross-checked against Form D row 1's own formula reference \"D1 8. ailes summa\".",
      "sourceRef": "Annex D1, row 2, column 8. aile",
      "validation": {}
    },
    {
      "name": "incomeEntry2AdvanceTaxWithheld",
      "label": "Avansā samaksātais (ieturētais) nodoklis (2. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 2 of Annex D1's income table. Avansā samaksātais (ieturētais) nodoklis.",
      "sourceRef": "Annex D1, row 2, column 9. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry3SourceAndType",
      "label": "Ienākumu gūšanas vieta (arī ienākumu izmaksātāja nosaukums un reģistrācijas kods vai vārds, uzvārds un personas kods, ja tāds ir piešķirts) un veids (3. rinda)",
      "type": "string",
      "required": false,
      "description": "Row 3 of Annex D1's income table: the income source (including the payer's name and registration code, or name and personal code, where one is assigned) and the type of income.",
      "sourceRef": "Annex D1, row 3, column 1. aile",
      "validation": {}
    },
    {
      "name": "incomeEntry3GrossIncome",
      "label": "Bruto ieņēmumi (3. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 3 of Annex D1's income table. Bruto ieņēmumi.",
      "sourceRef": "Annex D1, row 3, column 2. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry3NonTaxableIncome",
      "label": "Neapliekamie ienākumi (3. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 3 of Annex D1's income table. Neapliekamie ienākumi.",
      "sourceRef": "Annex D1, row 3, column 3. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry3EmployeeSocialInsuranceContributions",
      "label": "Attaisnotie izdevumi — darba ņēmēja valsts sociālās apdrošināšanas obligātās iemaksas (3. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 3 of Annex D1's income table. Attaisnotie izdevumi — darba ņēmēja valsts sociālās apdrošināšanas obligātās iemaksas.",
      "sourceRef": "Annex D1, row 3, column 4. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry3PensionAndLifeInsuranceContributions",
      "label": "Attaisnotie izdevumi — iemaksas privātajos pensiju fondos un dzīvības apdrošināšanas prēmijas (3. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 3 of Annex D1's income table. Attaisnotie izdevumi — iemaksas privātajos pensiju fondos un dzīvības apdrošināšanas prēmijas.",
      "sourceRef": "Annex D1, row 3, column 5. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry3AuthorExpenses",
      "label": "Attaisnotie izdevumi — autoru izdevumi (3. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 3 of Annex D1's income table. Attaisnotie izdevumi — autoru izdevumi.",
      "sourceRef": "Annex D1, row 3, column 6. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry3IncomeRelatedExpenses",
      "label": "Izdevumi, kas saistīti ar ienākumu gūšanu (3. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 3 of Annex D1's income table. Izdevumi, kas saistīti ar ienākumu gūšanu.",
      "sourceRef": "Annex D1, row 3, column 7. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry3TaxableIncome",
      "label": "Apliekamie ienākumi, neatskaitot darba devēja veiktās iemaksas (2. – 3. – 6. – 7. aile) (3. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 3 of Annex D1's income table. Apliekamie ienākumi, neatskaitot darba devēja veiktās iemaksas (2. – 3. – 6. – 7. aile). Formula printed on the schedule: this column's value equals column 2 (Bruto ieņēmumi) minus column 3 (Neapliekamie ienākumi) minus column 6 (autoru izdevumi) minus column 7 (Izdevumi, kas saistīti ar ienākumu gūšanu) — cross-checked against Form D row 1's own formula reference \"D1 8. ailes summa\".",
      "sourceRef": "Annex D1, row 3, column 8. aile",
      "validation": {}
    },
    {
      "name": "incomeEntry3AdvanceTaxWithheld",
      "label": "Avansā samaksātais (ieturētais) nodoklis (3. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 3 of Annex D1's income table. Avansā samaksātais (ieturētais) nodoklis.",
      "sourceRef": "Annex D1, row 3, column 9. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry4SourceAndType",
      "label": "Ienākumu gūšanas vieta (arī ienākumu izmaksātāja nosaukums un reģistrācijas kods vai vārds, uzvārds un personas kods, ja tāds ir piešķirts) un veids (4. rinda)",
      "type": "string",
      "required": false,
      "description": "Row 4 of Annex D1's income table: the income source (including the payer's name and registration code, or name and personal code, where one is assigned) and the type of income.",
      "sourceRef": "Annex D1, row 4, column 1. aile",
      "validation": {}
    },
    {
      "name": "incomeEntry4GrossIncome",
      "label": "Bruto ieņēmumi (4. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 4 of Annex D1's income table. Bruto ieņēmumi.",
      "sourceRef": "Annex D1, row 4, column 2. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry4NonTaxableIncome",
      "label": "Neapliekamie ienākumi (4. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 4 of Annex D1's income table. Neapliekamie ienākumi.",
      "sourceRef": "Annex D1, row 4, column 3. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry4EmployeeSocialInsuranceContributions",
      "label": "Attaisnotie izdevumi — darba ņēmēja valsts sociālās apdrošināšanas obligātās iemaksas (4. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 4 of Annex D1's income table. Attaisnotie izdevumi — darba ņēmēja valsts sociālās apdrošināšanas obligātās iemaksas.",
      "sourceRef": "Annex D1, row 4, column 4. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry4PensionAndLifeInsuranceContributions",
      "label": "Attaisnotie izdevumi — iemaksas privātajos pensiju fondos un dzīvības apdrošināšanas prēmijas (4. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 4 of Annex D1's income table. Attaisnotie izdevumi — iemaksas privātajos pensiju fondos un dzīvības apdrošināšanas prēmijas.",
      "sourceRef": "Annex D1, row 4, column 5. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry4AuthorExpenses",
      "label": "Attaisnotie izdevumi — autoru izdevumi (4. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 4 of Annex D1's income table. Attaisnotie izdevumi — autoru izdevumi.",
      "sourceRef": "Annex D1, row 4, column 6. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry4IncomeRelatedExpenses",
      "label": "Izdevumi, kas saistīti ar ienākumu gūšanu (4. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 4 of Annex D1's income table. Izdevumi, kas saistīti ar ienākumu gūšanu.",
      "sourceRef": "Annex D1, row 4, column 7. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry4TaxableIncome",
      "label": "Apliekamie ienākumi, neatskaitot darba devēja veiktās iemaksas (2. – 3. – 6. – 7. aile) (4. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 4 of Annex D1's income table. Apliekamie ienākumi, neatskaitot darba devēja veiktās iemaksas (2. – 3. – 6. – 7. aile). Formula printed on the schedule: this column's value equals column 2 (Bruto ieņēmumi) minus column 3 (Neapliekamie ienākumi) minus column 6 (autoru izdevumi) minus column 7 (Izdevumi, kas saistīti ar ienākumu gūšanu) — cross-checked against Form D row 1's own formula reference \"D1 8. ailes summa\".",
      "sourceRef": "Annex D1, row 4, column 8. aile",
      "validation": {}
    },
    {
      "name": "incomeEntry4AdvanceTaxWithheld",
      "label": "Avansā samaksātais (ieturētais) nodoklis (4. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 4 of Annex D1's income table. Avansā samaksātais (ieturētais) nodoklis.",
      "sourceRef": "Annex D1, row 4, column 9. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry5SourceAndType",
      "label": "Ienākumu gūšanas vieta (arī ienākumu izmaksātāja nosaukums un reģistrācijas kods vai vārds, uzvārds un personas kods, ja tāds ir piešķirts) un veids (5. rinda)",
      "type": "string",
      "required": false,
      "description": "Row 5 of Annex D1's income table: the income source (including the payer's name and registration code, or name and personal code, where one is assigned) and the type of income.",
      "sourceRef": "Annex D1, row 5, column 1. aile",
      "validation": {}
    },
    {
      "name": "incomeEntry5GrossIncome",
      "label": "Bruto ieņēmumi (5. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 5 of Annex D1's income table. Bruto ieņēmumi.",
      "sourceRef": "Annex D1, row 5, column 2. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry5NonTaxableIncome",
      "label": "Neapliekamie ienākumi (5. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 5 of Annex D1's income table. Neapliekamie ienākumi.",
      "sourceRef": "Annex D1, row 5, column 3. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry5EmployeeSocialInsuranceContributions",
      "label": "Attaisnotie izdevumi — darba ņēmēja valsts sociālās apdrošināšanas obligātās iemaksas (5. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 5 of Annex D1's income table. Attaisnotie izdevumi — darba ņēmēja valsts sociālās apdrošināšanas obligātās iemaksas.",
      "sourceRef": "Annex D1, row 5, column 4. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry5PensionAndLifeInsuranceContributions",
      "label": "Attaisnotie izdevumi — iemaksas privātajos pensiju fondos un dzīvības apdrošināšanas prēmijas (5. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 5 of Annex D1's income table. Attaisnotie izdevumi — iemaksas privātajos pensiju fondos un dzīvības apdrošināšanas prēmijas.",
      "sourceRef": "Annex D1, row 5, column 5. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry5AuthorExpenses",
      "label": "Attaisnotie izdevumi — autoru izdevumi (5. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 5 of Annex D1's income table. Attaisnotie izdevumi — autoru izdevumi.",
      "sourceRef": "Annex D1, row 5, column 6. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry5IncomeRelatedExpenses",
      "label": "Izdevumi, kas saistīti ar ienākumu gūšanu (5. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 5 of Annex D1's income table. Izdevumi, kas saistīti ar ienākumu gūšanu.",
      "sourceRef": "Annex D1, row 5, column 7. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry5TaxableIncome",
      "label": "Apliekamie ienākumi, neatskaitot darba devēja veiktās iemaksas (2. – 3. – 6. – 7. aile) (5. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 5 of Annex D1's income table. Apliekamie ienākumi, neatskaitot darba devēja veiktās iemaksas (2. – 3. – 6. – 7. aile). Formula printed on the schedule: this column's value equals column 2 (Bruto ieņēmumi) minus column 3 (Neapliekamie ienākumi) minus column 6 (autoru izdevumi) minus column 7 (Izdevumi, kas saistīti ar ienākumu gūšanu) — cross-checked against Form D row 1's own formula reference \"D1 8. ailes summa\".",
      "sourceRef": "Annex D1, row 5, column 8. aile",
      "validation": {}
    },
    {
      "name": "incomeEntry5AdvanceTaxWithheld",
      "label": "Avansā samaksātais (ieturētais) nodoklis (5. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 5 of Annex D1's income table. Avansā samaksātais (ieturētais) nodoklis.",
      "sourceRef": "Annex D1, row 5, column 9. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry6SourceAndType",
      "label": "Ienākumu gūšanas vieta (arī ienākumu izmaksātāja nosaukums un reģistrācijas kods vai vārds, uzvārds un personas kods, ja tāds ir piešķirts) un veids (6. rinda)",
      "type": "string",
      "required": false,
      "description": "Row 6 of Annex D1's income table: the income source (including the payer's name and registration code, or name and personal code, where one is assigned) and the type of income.",
      "sourceRef": "Annex D1, row 6, column 1. aile",
      "validation": {}
    },
    {
      "name": "incomeEntry6GrossIncome",
      "label": "Bruto ieņēmumi (6. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 6 of Annex D1's income table. Bruto ieņēmumi.",
      "sourceRef": "Annex D1, row 6, column 2. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry6NonTaxableIncome",
      "label": "Neapliekamie ienākumi (6. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 6 of Annex D1's income table. Neapliekamie ienākumi.",
      "sourceRef": "Annex D1, row 6, column 3. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry6EmployeeSocialInsuranceContributions",
      "label": "Attaisnotie izdevumi — darba ņēmēja valsts sociālās apdrošināšanas obligātās iemaksas (6. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 6 of Annex D1's income table. Attaisnotie izdevumi — darba ņēmēja valsts sociālās apdrošināšanas obligātās iemaksas.",
      "sourceRef": "Annex D1, row 6, column 4. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry6PensionAndLifeInsuranceContributions",
      "label": "Attaisnotie izdevumi — iemaksas privātajos pensiju fondos un dzīvības apdrošināšanas prēmijas (6. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 6 of Annex D1's income table. Attaisnotie izdevumi — iemaksas privātajos pensiju fondos un dzīvības apdrošināšanas prēmijas.",
      "sourceRef": "Annex D1, row 6, column 5. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry6AuthorExpenses",
      "label": "Attaisnotie izdevumi — autoru izdevumi (6. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 6 of Annex D1's income table. Attaisnotie izdevumi — autoru izdevumi.",
      "sourceRef": "Annex D1, row 6, column 6. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry6IncomeRelatedExpenses",
      "label": "Izdevumi, kas saistīti ar ienākumu gūšanu (6. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 6 of Annex D1's income table. Izdevumi, kas saistīti ar ienākumu gūšanu.",
      "sourceRef": "Annex D1, row 6, column 7. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry6TaxableIncome",
      "label": "Apliekamie ienākumi, neatskaitot darba devēja veiktās iemaksas (2. – 3. – 6. – 7. aile) (6. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 6 of Annex D1's income table. Apliekamie ienākumi, neatskaitot darba devēja veiktās iemaksas (2. – 3. – 6. – 7. aile). Formula printed on the schedule: this column's value equals column 2 (Bruto ieņēmumi) minus column 3 (Neapliekamie ienākumi) minus column 6 (autoru izdevumi) minus column 7 (Izdevumi, kas saistīti ar ienākumu gūšanu) — cross-checked against Form D row 1's own formula reference \"D1 8. ailes summa\".",
      "sourceRef": "Annex D1, row 6, column 8. aile",
      "validation": {}
    },
    {
      "name": "incomeEntry6AdvanceTaxWithheld",
      "label": "Avansā samaksātais (ieturētais) nodoklis (6. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 6 of Annex D1's income table. Avansā samaksātais (ieturētais) nodoklis.",
      "sourceRef": "Annex D1, row 6, column 9. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry7SourceAndType",
      "label": "Ienākumu gūšanas vieta (arī ienākumu izmaksātāja nosaukums un reģistrācijas kods vai vārds, uzvārds un personas kods, ja tāds ir piešķirts) un veids (7. rinda)",
      "type": "string",
      "required": false,
      "description": "Row 7 of Annex D1's income table: the income source (including the payer's name and registration code, or name and personal code, where one is assigned) and the type of income.",
      "sourceRef": "Annex D1, row 7, column 1. aile",
      "validation": {}
    },
    {
      "name": "incomeEntry7GrossIncome",
      "label": "Bruto ieņēmumi (7. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 7 of Annex D1's income table. Bruto ieņēmumi.",
      "sourceRef": "Annex D1, row 7, column 2. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry7NonTaxableIncome",
      "label": "Neapliekamie ienākumi (7. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 7 of Annex D1's income table. Neapliekamie ienākumi.",
      "sourceRef": "Annex D1, row 7, column 3. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry7EmployeeSocialInsuranceContributions",
      "label": "Attaisnotie izdevumi — darba ņēmēja valsts sociālās apdrošināšanas obligātās iemaksas (7. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 7 of Annex D1's income table. Attaisnotie izdevumi — darba ņēmēja valsts sociālās apdrošināšanas obligātās iemaksas.",
      "sourceRef": "Annex D1, row 7, column 4. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry7PensionAndLifeInsuranceContributions",
      "label": "Attaisnotie izdevumi — iemaksas privātajos pensiju fondos un dzīvības apdrošināšanas prēmijas (7. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 7 of Annex D1's income table. Attaisnotie izdevumi — iemaksas privātajos pensiju fondos un dzīvības apdrošināšanas prēmijas.",
      "sourceRef": "Annex D1, row 7, column 5. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry7AuthorExpenses",
      "label": "Attaisnotie izdevumi — autoru izdevumi (7. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 7 of Annex D1's income table. Attaisnotie izdevumi — autoru izdevumi.",
      "sourceRef": "Annex D1, row 7, column 6. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry7IncomeRelatedExpenses",
      "label": "Izdevumi, kas saistīti ar ienākumu gūšanu (7. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 7 of Annex D1's income table. Izdevumi, kas saistīti ar ienākumu gūšanu.",
      "sourceRef": "Annex D1, row 7, column 7. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry7TaxableIncome",
      "label": "Apliekamie ienākumi, neatskaitot darba devēja veiktās iemaksas (2. – 3. – 6. – 7. aile) (7. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 7 of Annex D1's income table. Apliekamie ienākumi, neatskaitot darba devēja veiktās iemaksas (2. – 3. – 6. – 7. aile). Formula printed on the schedule: this column's value equals column 2 (Bruto ieņēmumi) minus column 3 (Neapliekamie ienākumi) minus column 6 (autoru izdevumi) minus column 7 (Izdevumi, kas saistīti ar ienākumu gūšanu) — cross-checked against Form D row 1's own formula reference \"D1 8. ailes summa\".",
      "sourceRef": "Annex D1, row 7, column 8. aile",
      "validation": {}
    },
    {
      "name": "incomeEntry7AdvanceTaxWithheld",
      "label": "Avansā samaksātais (ieturētais) nodoklis (7. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 7 of Annex D1's income table. Avansā samaksātais (ieturētais) nodoklis.",
      "sourceRef": "Annex D1, row 7, column 9. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry8SourceAndType",
      "label": "Ienākumu gūšanas vieta (arī ienākumu izmaksātāja nosaukums un reģistrācijas kods vai vārds, uzvārds un personas kods, ja tāds ir piešķirts) un veids (8. rinda)",
      "type": "string",
      "required": false,
      "description": "Row 8 of Annex D1's income table: the income source (including the payer's name and registration code, or name and personal code, where one is assigned) and the type of income.",
      "sourceRef": "Annex D1, row 8, column 1. aile",
      "validation": {}
    },
    {
      "name": "incomeEntry8GrossIncome",
      "label": "Bruto ieņēmumi (8. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 8 of Annex D1's income table. Bruto ieņēmumi.",
      "sourceRef": "Annex D1, row 8, column 2. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry8NonTaxableIncome",
      "label": "Neapliekamie ienākumi (8. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 8 of Annex D1's income table. Neapliekamie ienākumi.",
      "sourceRef": "Annex D1, row 8, column 3. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry8EmployeeSocialInsuranceContributions",
      "label": "Attaisnotie izdevumi — darba ņēmēja valsts sociālās apdrošināšanas obligātās iemaksas (8. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 8 of Annex D1's income table. Attaisnotie izdevumi — darba ņēmēja valsts sociālās apdrošināšanas obligātās iemaksas.",
      "sourceRef": "Annex D1, row 8, column 4. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry8PensionAndLifeInsuranceContributions",
      "label": "Attaisnotie izdevumi — iemaksas privātajos pensiju fondos un dzīvības apdrošināšanas prēmijas (8. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 8 of Annex D1's income table. Attaisnotie izdevumi — iemaksas privātajos pensiju fondos un dzīvības apdrošināšanas prēmijas.",
      "sourceRef": "Annex D1, row 8, column 5. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry8AuthorExpenses",
      "label": "Attaisnotie izdevumi — autoru izdevumi (8. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 8 of Annex D1's income table. Attaisnotie izdevumi — autoru izdevumi.",
      "sourceRef": "Annex D1, row 8, column 6. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry8IncomeRelatedExpenses",
      "label": "Izdevumi, kas saistīti ar ienākumu gūšanu (8. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 8 of Annex D1's income table. Izdevumi, kas saistīti ar ienākumu gūšanu.",
      "sourceRef": "Annex D1, row 8, column 7. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry8TaxableIncome",
      "label": "Apliekamie ienākumi, neatskaitot darba devēja veiktās iemaksas (2. – 3. – 6. – 7. aile) (8. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 8 of Annex D1's income table. Apliekamie ienākumi, neatskaitot darba devēja veiktās iemaksas (2. – 3. – 6. – 7. aile). Formula printed on the schedule: this column's value equals column 2 (Bruto ieņēmumi) minus column 3 (Neapliekamie ienākumi) minus column 6 (autoru izdevumi) minus column 7 (Izdevumi, kas saistīti ar ienākumu gūšanu) — cross-checked against Form D row 1's own formula reference \"D1 8. ailes summa\".",
      "sourceRef": "Annex D1, row 8, column 8. aile",
      "validation": {}
    },
    {
      "name": "incomeEntry8AdvanceTaxWithheld",
      "label": "Avansā samaksātais (ieturētais) nodoklis (8. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 8 of Annex D1's income table. Avansā samaksātais (ieturētais) nodoklis.",
      "sourceRef": "Annex D1, row 8, column 9. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry9SourceAndType",
      "label": "Ienākumu gūšanas vieta (arī ienākumu izmaksātāja nosaukums un reģistrācijas kods vai vārds, uzvārds un personas kods, ja tāds ir piešķirts) un veids (9. rinda)",
      "type": "string",
      "required": false,
      "description": "Row 9 of Annex D1's income table: the income source (including the payer's name and registration code, or name and personal code, where one is assigned) and the type of income.",
      "sourceRef": "Annex D1, row 9, column 1. aile",
      "validation": {}
    },
    {
      "name": "incomeEntry9GrossIncome",
      "label": "Bruto ieņēmumi (9. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 9 of Annex D1's income table. Bruto ieņēmumi.",
      "sourceRef": "Annex D1, row 9, column 2. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry9NonTaxableIncome",
      "label": "Neapliekamie ienākumi (9. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 9 of Annex D1's income table. Neapliekamie ienākumi.",
      "sourceRef": "Annex D1, row 9, column 3. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry9EmployeeSocialInsuranceContributions",
      "label": "Attaisnotie izdevumi — darba ņēmēja valsts sociālās apdrošināšanas obligātās iemaksas (9. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 9 of Annex D1's income table. Attaisnotie izdevumi — darba ņēmēja valsts sociālās apdrošināšanas obligātās iemaksas.",
      "sourceRef": "Annex D1, row 9, column 4. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry9PensionAndLifeInsuranceContributions",
      "label": "Attaisnotie izdevumi — iemaksas privātajos pensiju fondos un dzīvības apdrošināšanas prēmijas (9. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 9 of Annex D1's income table. Attaisnotie izdevumi — iemaksas privātajos pensiju fondos un dzīvības apdrošināšanas prēmijas.",
      "sourceRef": "Annex D1, row 9, column 5. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry9AuthorExpenses",
      "label": "Attaisnotie izdevumi — autoru izdevumi (9. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 9 of Annex D1's income table. Attaisnotie izdevumi — autoru izdevumi.",
      "sourceRef": "Annex D1, row 9, column 6. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry9IncomeRelatedExpenses",
      "label": "Izdevumi, kas saistīti ar ienākumu gūšanu (9. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 9 of Annex D1's income table. Izdevumi, kas saistīti ar ienākumu gūšanu.",
      "sourceRef": "Annex D1, row 9, column 7. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeEntry9TaxableIncome",
      "label": "Apliekamie ienākumi, neatskaitot darba devēja veiktās iemaksas (2. – 3. – 6. – 7. aile) (9. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 9 of Annex D1's income table. Apliekamie ienākumi, neatskaitot darba devēja veiktās iemaksas (2. – 3. – 6. – 7. aile). Formula printed on the schedule: this column's value equals column 2 (Bruto ieņēmumi) minus column 3 (Neapliekamie ienākumi) minus column 6 (autoru izdevumi) minus column 7 (Izdevumi, kas saistīti ar ienākumu gūšanu) — cross-checked against Form D row 1's own formula reference \"D1 8. ailes summa\".",
      "sourceRef": "Annex D1, row 9, column 8. aile",
      "validation": {}
    },
    {
      "name": "incomeEntry9AdvanceTaxWithheld",
      "label": "Avansā samaksātais (ieturētais) nodoklis (9. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 9 of Annex D1's income table. Avansā samaksātais (ieturētais) nodoklis.",
      "sourceRef": "Annex D1, row 9, column 9. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeTotalGrossIncome",
      "label": "Kopā — Bruto ieņēmumi",
      "type": "number",
      "required": false,
      "description": "The \"Kopā\" (total) row at the foot of Annex D1's income table, column 2. aile: Bruto ieņēmumi.",
      "sourceRef": "Annex D1, \"Kopā\" row, column 2. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeTotalNonTaxableIncome",
      "label": "Kopā — Neapliekamie ienākumi",
      "type": "number",
      "required": false,
      "description": "The \"Kopā\" (total) row at the foot of Annex D1's income table, column 3. aile: Neapliekamie ienākumi.",
      "sourceRef": "Annex D1, \"Kopā\" row, column 3. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeTotalEmployeeSocialInsuranceContributions",
      "label": "Kopā — darba ņēmēja valsts sociālās apdrošināšanas obligātās iemaksas",
      "type": "number",
      "required": false,
      "description": "The \"Kopā\" (total) row at the foot of Annex D1's income table, column 4. aile: darba ņēmēja valsts sociālās apdrošināšanas obligātās iemaksas.",
      "sourceRef": "Annex D1, \"Kopā\" row, column 4. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeTotalPensionAndLifeInsuranceContributions",
      "label": "Kopā — iemaksas privātajos pensiju fondos un dzīvības apdrošināšanas prēmijas",
      "type": "number",
      "required": false,
      "description": "The \"Kopā\" (total) row at the foot of Annex D1's income table, column 5. aile: iemaksas privātajos pensiju fondos un dzīvības apdrošināšanas prēmijas.",
      "sourceRef": "Annex D1, \"Kopā\" row, column 5. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeTotalAuthorExpenses",
      "label": "Kopā — autoru izdevumi",
      "type": "number",
      "required": false,
      "description": "The \"Kopā\" (total) row at the foot of Annex D1's income table, column 6. aile: autoru izdevumi.",
      "sourceRef": "Annex D1, \"Kopā\" row, column 6. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeTotalIncomeRelatedExpenses",
      "label": "Kopā — Izdevumi, kas saistīti ar ienākumu gūšanu",
      "type": "number",
      "required": false,
      "description": "The \"Kopā\" (total) row at the foot of Annex D1's income table, column 7. aile: Izdevumi, kas saistīti ar ienākumu gūšanu.",
      "sourceRef": "Annex D1, \"Kopā\" row, column 7. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeTotalTaxableIncome",
      "label": "Kopā — Apliekamie ienākumi, neatskaitot darba devēja veiktās iemaksas",
      "type": "number",
      "required": false,
      "description": "The \"Kopā\" (total) row at the foot of Annex D1's income table, column 8. aile: Apliekamie ienākumi, neatskaitot darba devēja veiktās iemaksas.",
      "sourceRef": "Annex D1, \"Kopā\" row, column 8. aile",
      "validation": {}
    },
    {
      "name": "incomeTotalAdvanceTaxWithheld",
      "label": "Kopā — Avansā samaksātais (ieturētais) nodoklis",
      "type": "number",
      "required": false,
      "description": "The \"Kopā\" (total) row at the foot of Annex D1's income table, column 9. aile: Avansā samaksātais (ieturētais) nodoklis.",
      "sourceRef": "Annex D1, \"Kopā\" row, column 9. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeEntry1CountryAndPayer",
      "label": "Valsts, kurā gūti ienākumi, un ienākuma izmaksātājs (nosaukums vai vārds un uzvārds, adrese, reģistrācijas kods) (1. rinda)",
      "type": "string",
      "required": false,
      "description": "Row 1 of Annex D2's foreign-income table. Valsts, kurā gūti ienākumi, un ienākuma izmaksātājs (nosaukums vai vārds un uzvārds, adrese, reģistrācijas kods).",
      "sourceRef": "Annex D2, row 1, column 1. aile",
      "validation": {}
    },
    {
      "name": "foreignIncomeEntry1IncomeType",
      "label": "Ārvalstī gūtie ienākumi — ienākuma veids (1. rinda)",
      "type": "string",
      "required": false,
      "description": "Row 1 of Annex D2's foreign-income table. Ārvalstī gūtie ienākumi — ienākuma veids.",
      "sourceRef": "Annex D2, row 1, column 2. aile",
      "validation": {}
    },
    {
      "name": "foreignIncomeEntry1ForeignIncomeAmount",
      "label": "Ārvalstī gūtie ienākumi — summa (1. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 1 of Annex D2's foreign-income table. Ārvalstī gūtie ienākumi — summa.",
      "sourceRef": "Annex D2, row 1, column 3. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeEntry1ExemptIncome",
      "label": "Ienākums, kas atbrīvots no aplikšanas ar nodokli (1. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 1 of Annex D2's foreign-income table. Ienākums, kas atbrīvots no aplikšanas ar nodokli. Per the regulation's own para. 19.4, if this column is filled, columns 5 through 9 are not filled for the same row; per para. 19.5, if the exempt/non-taxable income is only part of the total foreign income, the taxable remainder is declared on a different Annex D2 row, or split between Annex D2 and Annex D1¹ — disclosed rather than encoded as a hard cross-field rule, since which annex/row carries the remainder is a filer choice this schema cannot observe from either annex's own fields alone.",
      "sourceRef": "Annex D2, row 1, column 4. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeEntry1SocialInsurancePayments",
      "label": "Valsts sociālās apdrošināšanas maksājumi (1. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 1 of Annex D2's foreign-income table. Valsts sociālās apdrošināšanas maksājumi.",
      "sourceRef": "Annex D2, row 1, column 5. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeEntry1AuthorAndOtherExpenses",
      "label": "Autoru izdevumi un citi izdevumi (1. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 1 of Annex D2's foreign-income table. Autoru izdevumi un citi izdevumi.",
      "sourceRef": "Annex D2, row 1, column 6. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeEntry1ForeignTaxPaid",
      "label": "Ārvalstī samaksātais nodoklis — summa (1. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 1 of Annex D2's foreign-income table. Ārvalstī samaksātais nodoklis — summa.",
      "sourceRef": "Annex D2, row 1, column 7. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeEntry1TaxRate",
      "label": "Nodoklis no ārvalstī gūtajiem ienākumiem (pēc Latvijas Republikā noteiktās likmes) — nodokļa likme (1. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 1 of Annex D2's foreign-income table. Nodoklis no ārvalstī gūtajiem ienākumiem (pēc Latvijas Republikā noteiktās likmes) — nodokļa likme, calculated per the regulation's own para. 6.3. Modelled as a decimal fraction (0–1), since the printed formula for column 9 multiplies this column directly with no separate /100 conversion term.",
      "sourceRef": "Annex D2, row 1, column 8. aile",
      "validation": {
        "minimum": 0,
        "maximum": 1
      }
    },
    {
      "name": "foreignIncomeEntry1TaxAmount",
      "label": "Nodoklis no ārvalstī gūtajiem ienākumiem (pēc Latvijas Republikā noteiktās likmes) — summa (1. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 1 of Annex D2's foreign-income table. Nodoklis no ārvalstī gūtajiem ienākumiem (pēc Latvijas Republikā noteiktās likmes) — summa. Formula printed on the schedule: this column's value equals column 3 (Ārvalstī gūtie ienākumi — summa) minus column 6 (Autoru izdevumi un citi izdevumi), multiplied by column 8's tax rate — cross-checked against the regulation's own instruction (para. 19.10), \"nodokļa summu, kas aprēķināta, apliekamos ienākumus (3.–6. aile) reizinot ar nodokļa likmi (8. aile)\". Left blank whenever column 4 (exempt income) is filled for this row (see column 4's own description).",
      "sourceRef": "Annex D2, row 1, column 9. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeEntry2CountryAndPayer",
      "label": "Valsts, kurā gūti ienākumi, un ienākuma izmaksātājs (nosaukums vai vārds un uzvārds, adrese, reģistrācijas kods) (2. rinda)",
      "type": "string",
      "required": false,
      "description": "Row 2 of Annex D2's foreign-income table. Valsts, kurā gūti ienākumi, un ienākuma izmaksātājs (nosaukums vai vārds un uzvārds, adrese, reģistrācijas kods).",
      "sourceRef": "Annex D2, row 2, column 1. aile",
      "validation": {}
    },
    {
      "name": "foreignIncomeEntry2IncomeType",
      "label": "Ārvalstī gūtie ienākumi — ienākuma veids (2. rinda)",
      "type": "string",
      "required": false,
      "description": "Row 2 of Annex D2's foreign-income table. Ārvalstī gūtie ienākumi — ienākuma veids.",
      "sourceRef": "Annex D2, row 2, column 2. aile",
      "validation": {}
    },
    {
      "name": "foreignIncomeEntry2ForeignIncomeAmount",
      "label": "Ārvalstī gūtie ienākumi — summa (2. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 2 of Annex D2's foreign-income table. Ārvalstī gūtie ienākumi — summa.",
      "sourceRef": "Annex D2, row 2, column 3. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeEntry2ExemptIncome",
      "label": "Ienākums, kas atbrīvots no aplikšanas ar nodokli (2. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 2 of Annex D2's foreign-income table. Ienākums, kas atbrīvots no aplikšanas ar nodokli. Per the regulation's own para. 19.4, if this column is filled, columns 5 through 9 are not filled for the same row; per para. 19.5, if the exempt/non-taxable income is only part of the total foreign income, the taxable remainder is declared on a different Annex D2 row, or split between Annex D2 and Annex D1¹ — disclosed rather than encoded as a hard cross-field rule, since which annex/row carries the remainder is a filer choice this schema cannot observe from either annex's own fields alone.",
      "sourceRef": "Annex D2, row 2, column 4. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeEntry2SocialInsurancePayments",
      "label": "Valsts sociālās apdrošināšanas maksājumi (2. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 2 of Annex D2's foreign-income table. Valsts sociālās apdrošināšanas maksājumi.",
      "sourceRef": "Annex D2, row 2, column 5. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeEntry2AuthorAndOtherExpenses",
      "label": "Autoru izdevumi un citi izdevumi (2. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 2 of Annex D2's foreign-income table. Autoru izdevumi un citi izdevumi.",
      "sourceRef": "Annex D2, row 2, column 6. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeEntry2ForeignTaxPaid",
      "label": "Ārvalstī samaksātais nodoklis — summa (2. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 2 of Annex D2's foreign-income table. Ārvalstī samaksātais nodoklis — summa.",
      "sourceRef": "Annex D2, row 2, column 7. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeEntry2TaxRate",
      "label": "Nodoklis no ārvalstī gūtajiem ienākumiem (pēc Latvijas Republikā noteiktās likmes) — nodokļa likme (2. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 2 of Annex D2's foreign-income table. Nodoklis no ārvalstī gūtajiem ienākumiem (pēc Latvijas Republikā noteiktās likmes) — nodokļa likme, calculated per the regulation's own para. 6.3. Modelled as a decimal fraction (0–1), since the printed formula for column 9 multiplies this column directly with no separate /100 conversion term.",
      "sourceRef": "Annex D2, row 2, column 8. aile",
      "validation": {
        "minimum": 0,
        "maximum": 1
      }
    },
    {
      "name": "foreignIncomeEntry2TaxAmount",
      "label": "Nodoklis no ārvalstī gūtajiem ienākumiem (pēc Latvijas Republikā noteiktās likmes) — summa (2. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 2 of Annex D2's foreign-income table. Nodoklis no ārvalstī gūtajiem ienākumiem (pēc Latvijas Republikā noteiktās likmes) — summa. Formula printed on the schedule: this column's value equals column 3 (Ārvalstī gūtie ienākumi — summa) minus column 6 (Autoru izdevumi un citi izdevumi), multiplied by column 8's tax rate — cross-checked against the regulation's own instruction (para. 19.10), \"nodokļa summu, kas aprēķināta, apliekamos ienākumus (3.–6. aile) reizinot ar nodokļa likmi (8. aile)\". Left blank whenever column 4 (exempt income) is filled for this row (see column 4's own description).",
      "sourceRef": "Annex D2, row 2, column 9. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeEntry3CountryAndPayer",
      "label": "Valsts, kurā gūti ienākumi, un ienākuma izmaksātājs (nosaukums vai vārds un uzvārds, adrese, reģistrācijas kods) (3. rinda)",
      "type": "string",
      "required": false,
      "description": "Row 3 of Annex D2's foreign-income table. Valsts, kurā gūti ienākumi, un ienākuma izmaksātājs (nosaukums vai vārds un uzvārds, adrese, reģistrācijas kods).",
      "sourceRef": "Annex D2, row 3, column 1. aile",
      "validation": {}
    },
    {
      "name": "foreignIncomeEntry3IncomeType",
      "label": "Ārvalstī gūtie ienākumi — ienākuma veids (3. rinda)",
      "type": "string",
      "required": false,
      "description": "Row 3 of Annex D2's foreign-income table. Ārvalstī gūtie ienākumi — ienākuma veids.",
      "sourceRef": "Annex D2, row 3, column 2. aile",
      "validation": {}
    },
    {
      "name": "foreignIncomeEntry3ForeignIncomeAmount",
      "label": "Ārvalstī gūtie ienākumi — summa (3. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 3 of Annex D2's foreign-income table. Ārvalstī gūtie ienākumi — summa.",
      "sourceRef": "Annex D2, row 3, column 3. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeEntry3ExemptIncome",
      "label": "Ienākums, kas atbrīvots no aplikšanas ar nodokli (3. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 3 of Annex D2's foreign-income table. Ienākums, kas atbrīvots no aplikšanas ar nodokli. Per the regulation's own para. 19.4, if this column is filled, columns 5 through 9 are not filled for the same row; per para. 19.5, if the exempt/non-taxable income is only part of the total foreign income, the taxable remainder is declared on a different Annex D2 row, or split between Annex D2 and Annex D1¹ — disclosed rather than encoded as a hard cross-field rule, since which annex/row carries the remainder is a filer choice this schema cannot observe from either annex's own fields alone.",
      "sourceRef": "Annex D2, row 3, column 4. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeEntry3SocialInsurancePayments",
      "label": "Valsts sociālās apdrošināšanas maksājumi (3. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 3 of Annex D2's foreign-income table. Valsts sociālās apdrošināšanas maksājumi.",
      "sourceRef": "Annex D2, row 3, column 5. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeEntry3AuthorAndOtherExpenses",
      "label": "Autoru izdevumi un citi izdevumi (3. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 3 of Annex D2's foreign-income table. Autoru izdevumi un citi izdevumi.",
      "sourceRef": "Annex D2, row 3, column 6. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeEntry3ForeignTaxPaid",
      "label": "Ārvalstī samaksātais nodoklis — summa (3. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 3 of Annex D2's foreign-income table. Ārvalstī samaksātais nodoklis — summa.",
      "sourceRef": "Annex D2, row 3, column 7. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeEntry3TaxRate",
      "label": "Nodoklis no ārvalstī gūtajiem ienākumiem (pēc Latvijas Republikā noteiktās likmes) — nodokļa likme (3. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 3 of Annex D2's foreign-income table. Nodoklis no ārvalstī gūtajiem ienākumiem (pēc Latvijas Republikā noteiktās likmes) — nodokļa likme, calculated per the regulation's own para. 6.3. Modelled as a decimal fraction (0–1), since the printed formula for column 9 multiplies this column directly with no separate /100 conversion term.",
      "sourceRef": "Annex D2, row 3, column 8. aile",
      "validation": {
        "minimum": 0,
        "maximum": 1
      }
    },
    {
      "name": "foreignIncomeEntry3TaxAmount",
      "label": "Nodoklis no ārvalstī gūtajiem ienākumiem (pēc Latvijas Republikā noteiktās likmes) — summa (3. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 3 of Annex D2's foreign-income table. Nodoklis no ārvalstī gūtajiem ienākumiem (pēc Latvijas Republikā noteiktās likmes) — summa. Formula printed on the schedule: this column's value equals column 3 (Ārvalstī gūtie ienākumi — summa) minus column 6 (Autoru izdevumi un citi izdevumi), multiplied by column 8's tax rate — cross-checked against the regulation's own instruction (para. 19.10), \"nodokļa summu, kas aprēķināta, apliekamos ienākumus (3.–6. aile) reizinot ar nodokļa likmi (8. aile)\". Left blank whenever column 4 (exempt income) is filled for this row (see column 4's own description).",
      "sourceRef": "Annex D2, row 3, column 9. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeEntry4CountryAndPayer",
      "label": "Valsts, kurā gūti ienākumi, un ienākuma izmaksātājs (nosaukums vai vārds un uzvārds, adrese, reģistrācijas kods) (4. rinda)",
      "type": "string",
      "required": false,
      "description": "Row 4 of Annex D2's foreign-income table. Valsts, kurā gūti ienākumi, un ienākuma izmaksātājs (nosaukums vai vārds un uzvārds, adrese, reģistrācijas kods).",
      "sourceRef": "Annex D2, row 4, column 1. aile",
      "validation": {}
    },
    {
      "name": "foreignIncomeEntry4IncomeType",
      "label": "Ārvalstī gūtie ienākumi — ienākuma veids (4. rinda)",
      "type": "string",
      "required": false,
      "description": "Row 4 of Annex D2's foreign-income table. Ārvalstī gūtie ienākumi — ienākuma veids.",
      "sourceRef": "Annex D2, row 4, column 2. aile",
      "validation": {}
    },
    {
      "name": "foreignIncomeEntry4ForeignIncomeAmount",
      "label": "Ārvalstī gūtie ienākumi — summa (4. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 4 of Annex D2's foreign-income table. Ārvalstī gūtie ienākumi — summa.",
      "sourceRef": "Annex D2, row 4, column 3. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeEntry4ExemptIncome",
      "label": "Ienākums, kas atbrīvots no aplikšanas ar nodokli (4. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 4 of Annex D2's foreign-income table. Ienākums, kas atbrīvots no aplikšanas ar nodokli. Per the regulation's own para. 19.4, if this column is filled, columns 5 through 9 are not filled for the same row; per para. 19.5, if the exempt/non-taxable income is only part of the total foreign income, the taxable remainder is declared on a different Annex D2 row, or split between Annex D2 and Annex D1¹ — disclosed rather than encoded as a hard cross-field rule, since which annex/row carries the remainder is a filer choice this schema cannot observe from either annex's own fields alone.",
      "sourceRef": "Annex D2, row 4, column 4. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeEntry4SocialInsurancePayments",
      "label": "Valsts sociālās apdrošināšanas maksājumi (4. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 4 of Annex D2's foreign-income table. Valsts sociālās apdrošināšanas maksājumi.",
      "sourceRef": "Annex D2, row 4, column 5. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeEntry4AuthorAndOtherExpenses",
      "label": "Autoru izdevumi un citi izdevumi (4. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 4 of Annex D2's foreign-income table. Autoru izdevumi un citi izdevumi.",
      "sourceRef": "Annex D2, row 4, column 6. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeEntry4ForeignTaxPaid",
      "label": "Ārvalstī samaksātais nodoklis — summa (4. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 4 of Annex D2's foreign-income table. Ārvalstī samaksātais nodoklis — summa.",
      "sourceRef": "Annex D2, row 4, column 7. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeEntry4TaxRate",
      "label": "Nodoklis no ārvalstī gūtajiem ienākumiem (pēc Latvijas Republikā noteiktās likmes) — nodokļa likme (4. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 4 of Annex D2's foreign-income table. Nodoklis no ārvalstī gūtajiem ienākumiem (pēc Latvijas Republikā noteiktās likmes) — nodokļa likme, calculated per the regulation's own para. 6.3. Modelled as a decimal fraction (0–1), since the printed formula for column 9 multiplies this column directly with no separate /100 conversion term.",
      "sourceRef": "Annex D2, row 4, column 8. aile",
      "validation": {
        "minimum": 0,
        "maximum": 1
      }
    },
    {
      "name": "foreignIncomeEntry4TaxAmount",
      "label": "Nodoklis no ārvalstī gūtajiem ienākumiem (pēc Latvijas Republikā noteiktās likmes) — summa (4. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 4 of Annex D2's foreign-income table. Nodoklis no ārvalstī gūtajiem ienākumiem (pēc Latvijas Republikā noteiktās likmes) — summa. Formula printed on the schedule: this column's value equals column 3 (Ārvalstī gūtie ienākumi — summa) minus column 6 (Autoru izdevumi un citi izdevumi), multiplied by column 8's tax rate — cross-checked against the regulation's own instruction (para. 19.10), \"nodokļa summu, kas aprēķināta, apliekamos ienākumus (3.–6. aile) reizinot ar nodokļa likmi (8. aile)\". Left blank whenever column 4 (exempt income) is filled for this row (see column 4's own description).",
      "sourceRef": "Annex D2, row 4, column 9. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeEntry5CountryAndPayer",
      "label": "Valsts, kurā gūti ienākumi, un ienākuma izmaksātājs (nosaukums vai vārds un uzvārds, adrese, reģistrācijas kods) (5. rinda)",
      "type": "string",
      "required": false,
      "description": "Row 5 of Annex D2's foreign-income table. Valsts, kurā gūti ienākumi, un ienākuma izmaksātājs (nosaukums vai vārds un uzvārds, adrese, reģistrācijas kods).",
      "sourceRef": "Annex D2, row 5, column 1. aile",
      "validation": {}
    },
    {
      "name": "foreignIncomeEntry5IncomeType",
      "label": "Ārvalstī gūtie ienākumi — ienākuma veids (5. rinda)",
      "type": "string",
      "required": false,
      "description": "Row 5 of Annex D2's foreign-income table. Ārvalstī gūtie ienākumi — ienākuma veids.",
      "sourceRef": "Annex D2, row 5, column 2. aile",
      "validation": {}
    },
    {
      "name": "foreignIncomeEntry5ForeignIncomeAmount",
      "label": "Ārvalstī gūtie ienākumi — summa (5. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 5 of Annex D2's foreign-income table. Ārvalstī gūtie ienākumi — summa.",
      "sourceRef": "Annex D2, row 5, column 3. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeEntry5ExemptIncome",
      "label": "Ienākums, kas atbrīvots no aplikšanas ar nodokli (5. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 5 of Annex D2's foreign-income table. Ienākums, kas atbrīvots no aplikšanas ar nodokli. Per the regulation's own para. 19.4, if this column is filled, columns 5 through 9 are not filled for the same row; per para. 19.5, if the exempt/non-taxable income is only part of the total foreign income, the taxable remainder is declared on a different Annex D2 row, or split between Annex D2 and Annex D1¹ — disclosed rather than encoded as a hard cross-field rule, since which annex/row carries the remainder is a filer choice this schema cannot observe from either annex's own fields alone.",
      "sourceRef": "Annex D2, row 5, column 4. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeEntry5SocialInsurancePayments",
      "label": "Valsts sociālās apdrošināšanas maksājumi (5. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 5 of Annex D2's foreign-income table. Valsts sociālās apdrošināšanas maksājumi.",
      "sourceRef": "Annex D2, row 5, column 5. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeEntry5AuthorAndOtherExpenses",
      "label": "Autoru izdevumi un citi izdevumi (5. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 5 of Annex D2's foreign-income table. Autoru izdevumi un citi izdevumi.",
      "sourceRef": "Annex D2, row 5, column 6. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeEntry5ForeignTaxPaid",
      "label": "Ārvalstī samaksātais nodoklis — summa (5. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 5 of Annex D2's foreign-income table. Ārvalstī samaksātais nodoklis — summa.",
      "sourceRef": "Annex D2, row 5, column 7. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeEntry5TaxRate",
      "label": "Nodoklis no ārvalstī gūtajiem ienākumiem (pēc Latvijas Republikā noteiktās likmes) — nodokļa likme (5. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 5 of Annex D2's foreign-income table. Nodoklis no ārvalstī gūtajiem ienākumiem (pēc Latvijas Republikā noteiktās likmes) — nodokļa likme, calculated per the regulation's own para. 6.3. Modelled as a decimal fraction (0–1), since the printed formula for column 9 multiplies this column directly with no separate /100 conversion term.",
      "sourceRef": "Annex D2, row 5, column 8. aile",
      "validation": {
        "minimum": 0,
        "maximum": 1
      }
    },
    {
      "name": "foreignIncomeEntry5TaxAmount",
      "label": "Nodoklis no ārvalstī gūtajiem ienākumiem (pēc Latvijas Republikā noteiktās likmes) — summa (5. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 5 of Annex D2's foreign-income table. Nodoklis no ārvalstī gūtajiem ienākumiem (pēc Latvijas Republikā noteiktās likmes) — summa. Formula printed on the schedule: this column's value equals column 3 (Ārvalstī gūtie ienākumi — summa) minus column 6 (Autoru izdevumi un citi izdevumi), multiplied by column 8's tax rate — cross-checked against the regulation's own instruction (para. 19.10), \"nodokļa summu, kas aprēķināta, apliekamos ienākumus (3.–6. aile) reizinot ar nodokļa likmi (8. aile)\". Left blank whenever column 4 (exempt income) is filled for this row (see column 4's own description).",
      "sourceRef": "Annex D2, row 5, column 9. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeEntry6CountryAndPayer",
      "label": "Valsts, kurā gūti ienākumi, un ienākuma izmaksātājs (nosaukums vai vārds un uzvārds, adrese, reģistrācijas kods) (6. rinda)",
      "type": "string",
      "required": false,
      "description": "Row 6 of Annex D2's foreign-income table. Valsts, kurā gūti ienākumi, un ienākuma izmaksātājs (nosaukums vai vārds un uzvārds, adrese, reģistrācijas kods).",
      "sourceRef": "Annex D2, row 6, column 1. aile",
      "validation": {}
    },
    {
      "name": "foreignIncomeEntry6IncomeType",
      "label": "Ārvalstī gūtie ienākumi — ienākuma veids (6. rinda)",
      "type": "string",
      "required": false,
      "description": "Row 6 of Annex D2's foreign-income table. Ārvalstī gūtie ienākumi — ienākuma veids.",
      "sourceRef": "Annex D2, row 6, column 2. aile",
      "validation": {}
    },
    {
      "name": "foreignIncomeEntry6ForeignIncomeAmount",
      "label": "Ārvalstī gūtie ienākumi — summa (6. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 6 of Annex D2's foreign-income table. Ārvalstī gūtie ienākumi — summa.",
      "sourceRef": "Annex D2, row 6, column 3. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeEntry6ExemptIncome",
      "label": "Ienākums, kas atbrīvots no aplikšanas ar nodokli (6. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 6 of Annex D2's foreign-income table. Ienākums, kas atbrīvots no aplikšanas ar nodokli. Per the regulation's own para. 19.4, if this column is filled, columns 5 through 9 are not filled for the same row; per para. 19.5, if the exempt/non-taxable income is only part of the total foreign income, the taxable remainder is declared on a different Annex D2 row, or split between Annex D2 and Annex D1¹ — disclosed rather than encoded as a hard cross-field rule, since which annex/row carries the remainder is a filer choice this schema cannot observe from either annex's own fields alone.",
      "sourceRef": "Annex D2, row 6, column 4. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeEntry6SocialInsurancePayments",
      "label": "Valsts sociālās apdrošināšanas maksājumi (6. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 6 of Annex D2's foreign-income table. Valsts sociālās apdrošināšanas maksājumi.",
      "sourceRef": "Annex D2, row 6, column 5. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeEntry6AuthorAndOtherExpenses",
      "label": "Autoru izdevumi un citi izdevumi (6. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 6 of Annex D2's foreign-income table. Autoru izdevumi un citi izdevumi.",
      "sourceRef": "Annex D2, row 6, column 6. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeEntry6ForeignTaxPaid",
      "label": "Ārvalstī samaksātais nodoklis — summa (6. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 6 of Annex D2's foreign-income table. Ārvalstī samaksātais nodoklis — summa.",
      "sourceRef": "Annex D2, row 6, column 7. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeEntry6TaxRate",
      "label": "Nodoklis no ārvalstī gūtajiem ienākumiem (pēc Latvijas Republikā noteiktās likmes) — nodokļa likme (6. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 6 of Annex D2's foreign-income table. Nodoklis no ārvalstī gūtajiem ienākumiem (pēc Latvijas Republikā noteiktās likmes) — nodokļa likme, calculated per the regulation's own para. 6.3. Modelled as a decimal fraction (0–1), since the printed formula for column 9 multiplies this column directly with no separate /100 conversion term.",
      "sourceRef": "Annex D2, row 6, column 8. aile",
      "validation": {
        "minimum": 0,
        "maximum": 1
      }
    },
    {
      "name": "foreignIncomeEntry6TaxAmount",
      "label": "Nodoklis no ārvalstī gūtajiem ienākumiem (pēc Latvijas Republikā noteiktās likmes) — summa (6. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 6 of Annex D2's foreign-income table. Nodoklis no ārvalstī gūtajiem ienākumiem (pēc Latvijas Republikā noteiktās likmes) — summa. Formula printed on the schedule: this column's value equals column 3 (Ārvalstī gūtie ienākumi — summa) minus column 6 (Autoru izdevumi un citi izdevumi), multiplied by column 8's tax rate — cross-checked against the regulation's own instruction (para. 19.10), \"nodokļa summu, kas aprēķināta, apliekamos ienākumus (3.–6. aile) reizinot ar nodokļa likmi (8. aile)\". Left blank whenever column 4 (exempt income) is filled for this row (see column 4's own description).",
      "sourceRef": "Annex D2, row 6, column 9. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeTotalForeignIncomeAmount",
      "label": "Kopā — Ārvalstī gūtie ienākumi — summa",
      "type": "number",
      "required": false,
      "description": "The \"Kopā\" (total) row at the foot of Annex D2's foreign-income table, column 3. aile: Ārvalstī gūtie ienākumi — summa.",
      "sourceRef": "Annex D2, \"Kopā\" row, column 3. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeTotalExemptIncome",
      "label": "Kopā — Ienākums, kas atbrīvots no aplikšanas ar nodokli",
      "type": "number",
      "required": false,
      "description": "The \"Kopā\" (total) row at the foot of Annex D2's foreign-income table, column 4. aile: Ienākums, kas atbrīvots no aplikšanas ar nodokli.",
      "sourceRef": "Annex D2, \"Kopā\" row, column 4. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeTotalSocialInsurancePayments",
      "label": "Kopā — Valsts sociālās apdrošināšanas maksājumi",
      "type": "number",
      "required": false,
      "description": "The \"Kopā\" (total) row at the foot of Annex D2's foreign-income table, column 5. aile: Valsts sociālās apdrošināšanas maksājumi.",
      "sourceRef": "Annex D2, \"Kopā\" row, column 5. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeTotalAuthorAndOtherExpenses",
      "label": "Kopā — Autoru izdevumi un citi izdevumi",
      "type": "number",
      "required": false,
      "description": "The \"Kopā\" (total) row at the foot of Annex D2's foreign-income table, column 6. aile: Autoru izdevumi un citi izdevumi.",
      "sourceRef": "Annex D2, \"Kopā\" row, column 6. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeTotalForeignTaxPaid",
      "label": "Kopā — Ārvalstī samaksātais nodoklis — summa",
      "type": "number",
      "required": false,
      "description": "The \"Kopā\" (total) row at the foot of Annex D2's foreign-income table, column 7. aile: Ārvalstī samaksātais nodoklis — summa.",
      "sourceRef": "Annex D2, \"Kopā\" row, column 7. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "foreignIncomeTotalTaxRate",
      "label": "Kopā — Nodoklis no ārvalstī gūtajiem ienākumiem (pēc Latvijas Republikā noteiktās likmes) — nodokļa likme",
      "type": "number",
      "required": false,
      "description": "The \"Kopā\" (total) row at the foot of Annex D2's foreign-income table, column 8. aile: Nodoklis no ārvalstī gūtajiem ienākumiem (pēc Latvijas Republikā noteiktās likmes) — nodokļa likme. Disclosed judgment call: the printed table reserves a blank box in this column position of the Kopā row like every other column, but summing a per-row tax rate across multiple countries has no stated arithmetic meaning in the regulation text — modelled as an optional field matching the printed box rather than omitted, since the box genuinely exists on the form.",
      "sourceRef": "Annex D2, \"Kopā\" row, column 8. aile",
      "validation": {
        "minimum": 0,
        "maximum": 1
      }
    },
    {
      "name": "foreignIncomeTotalTaxAmount",
      "label": "Kopā — Nodoklis no ārvalstī gūtajiem ienākumiem (pēc Latvijas Republikā noteiktās likmes) — summa",
      "type": "number",
      "required": false,
      "description": "The \"Kopā\" (total) row at the foot of Annex D2's foreign-income table, column 9. aile: Nodoklis no ārvalstī gūtajiem ienākumiem (pēc Latvijas Republikā noteiktās likmes) — summa.",
      "sourceRef": "Annex D2, \"Kopā\" row, column 9. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "seafarerIncomeEntry1CountryAndPayer",
      "label": "Personas (jūrnieka) ienākumu gūšanas vieta un ienākuma izmaksātājs (1. rinda)",
      "type": "string",
      "required": false,
      "description": "Row 1 of Annex D2¹'s seafarer foreign-income table, column 1. aile: the country in which the income was earned (i.e. the country whose flag the vessel flies), plus the name and address of the income payer (employer).",
      "sourceRef": "Annex D2¹, row 1, column 1. aile",
      "validation": {}
    },
    {
      "name": "seafarerIncomeEntry1GrossIncome",
      "label": "Bruto ieņēmumi (1. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 1 of Annex D2¹'s seafarer foreign-income table, column 2. aile: all income earned during the tax year by the taxpayer working aboard an internationally-trading vessel, in monetary terms.",
      "sourceRef": "Annex D2¹, row 1, column 2. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "seafarerIncomeEntry1PeriodStart",
      "label": "Ienākumu gūšanas periods — no (1. rinda)",
      "type": "date",
      "required": false,
      "description": "Row 1 of Annex D2¹'s seafarer foreign-income table, column 3. aile (\"no\" — start): the start date of the employment period. Per the regulation's own para. 20.3, if the taxpayer was employed during multiple periods in the tax year (with breaks), a separate row is filled in for each employment period — modelled here as one of 4 repeating rows, following this document's own Annex D2 repeating-row convention.",
      "sourceRef": "Annex D2¹, row 1, column 3. aile (no)",
      "validation": {}
    },
    {
      "name": "seafarerIncomeEntry1PeriodEnd",
      "label": "Ienākumu gūšanas periods — līdz (1. rinda)",
      "type": "date",
      "required": false,
      "description": "Row 1 of Annex D2¹'s seafarer foreign-income table, column 3. aile (\"līdz\" — end): the end date of the same employment period.",
      "sourceRef": "Annex D2¹, row 1, column 3. aile (līdz)",
      "validation": {}
    },
    {
      "name": "seafarerIncomeEntry1Coefficient",
      "label": "Mēneša minimālajai darba algai piemērojamais koeficients (1. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 1 of Annex D2¹'s seafarer foreign-income table, column 4. aile: the coefficient applied to the monthly minimum wage, per the regulation's own para. 20.4 and the law \"Par iedzīvotāju ienākuma nodokli\" section 8, fourth part — a fixed choice of exactly two values: 2.5 for officers (virsniekiem) or 1.5 for other personnel (pārējam personālam). Modelled as a numeric field with a 2-value validation.enum rather than a string enum, since the printed form itself instructs the filer to write in the numeral (\"norādīt 1,5 vai 2,5\") and the value is used directly as a multiplier in the column 5 formula.",
      "sourceRef": "Annex D2¹, row 1, column 4. aile",
      "validation": {
        "enum": [
          1.5,
          2.5
        ]
      }
    },
    {
      "name": "seafarerIncomeEntry1TaxableIncome",
      "label": "Nodarbinātības periodā ar nodokli apliekamais ienākums (1. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 1 of Annex D2¹'s seafarer foreign-income table, column 5. aile: the income taxable with personal income tax earned during the employment period. Formula printed in the regulation's own para. 20.5: the monthly minimum wage, multiplied by the column 4 coefficient, multiplied by the employment period (expressed in months and days). If a partial month was worked, the one-day norm is calculated by dividing the monthly norm by the number of calendar days in that month.",
      "sourceRef": "Annex D2¹, row 1, column 5. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "seafarerIncomeEntry1TaxRate",
      "label": "Aprēķinātais nodoklis (pēc Latvijas Republikā noteiktās likmes) — nodokļa likme (1. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 1 of Annex D2¹'s seafarer foreign-income table, column 6. aile: the personal income tax rate, calculated per the regulation's own subparagraph 6.3 (para. 20.6). Modelled as a decimal fraction (0-1), not a 0-100 percentage, for the same reason as this document's existing Annex D2 tax-rate columns: the printed formula for column 7 (para. 20.7, \"nodokļa summu, kas aprēķināta, apliekamos ienākumus (5. aile) reizinot ar nodokļa likmi (6. aile)\") multiplies this column directly against column 5 with no separate /100 conversion term, so column 6 must already be expressed as a fraction for the arithmetic to balance — disclosed here since the printed form does not state the convention explicitly.",
      "sourceRef": "Annex D2¹, row 1, column 6. aile",
      "validation": {
        "minimum": 0,
        "maximum": 1
      }
    },
    {
      "name": "seafarerIncomeEntry1TaxAmount",
      "label": "Aprēķinātais nodoklis (pēc Latvijas Republikā noteiktās likmes) — summa (1. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 1 of Annex D2¹'s seafarer foreign-income table, column 7. aile: the computed tax amount. Formula printed on the schedule (para. 20.7 and the column header itself, \"summa (5. x 6. aile)\"): column 5 (taxable income for the employment period) multiplied by column 6 (the tax rate, as a 0-1 fraction).",
      "sourceRef": "Annex D2¹, row 1, column 7. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "seafarerIncomeEntry1ForeignTaxPaid",
      "label": "Ārvalstī samaksātais nodoklis (1. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 1 of Annex D2¹'s seafarer foreign-income table, column 8. aile: the portion of foreign tax paid corresponding to the income on which tax is calculated in the Republic of Latvia. Per the regulation's own para. 20.8, this column is only filled in if tax was actually withheld/paid abroad on the employee's income (\"Ja nodoklis ārvalstī nav ieturēts (samaksāts), 8. aili neaizpilda\" — if tax was not withheld/paid abroad, column 8 is not filled in); disclosed here rather than encoded as a hard requiredWhen/crossFieldValidation rule, since a taxpayer with no foreign withholding legitimately leaves this column blank.",
      "sourceRef": "Annex D2¹, row 1, column 8. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "seafarerIncomeEntry2CountryAndPayer",
      "label": "Personas (jūrnieka) ienākumu gūšanas vieta un ienākuma izmaksātājs (2. rinda)",
      "type": "string",
      "required": false,
      "description": "Row 2 of Annex D2¹'s seafarer foreign-income table, column 1. aile: the country in which the income was earned (i.e. the country whose flag the vessel flies), plus the name and address of the income payer (employer).",
      "sourceRef": "Annex D2¹, row 2, column 1. aile",
      "validation": {}
    },
    {
      "name": "seafarerIncomeEntry2GrossIncome",
      "label": "Bruto ieņēmumi (2. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 2 of Annex D2¹'s seafarer foreign-income table, column 2. aile: all income earned during the tax year by the taxpayer working aboard an internationally-trading vessel, in monetary terms.",
      "sourceRef": "Annex D2¹, row 2, column 2. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "seafarerIncomeEntry2PeriodStart",
      "label": "Ienākumu gūšanas periods — no (2. rinda)",
      "type": "date",
      "required": false,
      "description": "Row 2 of Annex D2¹'s seafarer foreign-income table, column 3. aile (\"no\" — start): the start date of the employment period. Per the regulation's own para. 20.3, if the taxpayer was employed during multiple periods in the tax year (with breaks), a separate row is filled in for each employment period — modelled here as one of 4 repeating rows, following this document's own Annex D2 repeating-row convention.",
      "sourceRef": "Annex D2¹, row 2, column 3. aile (no)",
      "validation": {}
    },
    {
      "name": "seafarerIncomeEntry2PeriodEnd",
      "label": "Ienākumu gūšanas periods — līdz (2. rinda)",
      "type": "date",
      "required": false,
      "description": "Row 2 of Annex D2¹'s seafarer foreign-income table, column 3. aile (\"līdz\" — end): the end date of the same employment period.",
      "sourceRef": "Annex D2¹, row 2, column 3. aile (līdz)",
      "validation": {}
    },
    {
      "name": "seafarerIncomeEntry2Coefficient",
      "label": "Mēneša minimālajai darba algai piemērojamais koeficients (2. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 2 of Annex D2¹'s seafarer foreign-income table, column 4. aile: the coefficient applied to the monthly minimum wage, per the regulation's own para. 20.4 and the law \"Par iedzīvotāju ienākuma nodokli\" section 8, fourth part — a fixed choice of exactly two values: 2.5 for officers (virsniekiem) or 1.5 for other personnel (pārējam personālam). Modelled as a numeric field with a 2-value validation.enum rather than a string enum, since the printed form itself instructs the filer to write in the numeral (\"norādīt 1,5 vai 2,5\") and the value is used directly as a multiplier in the column 5 formula.",
      "sourceRef": "Annex D2¹, row 2, column 4. aile",
      "validation": {
        "enum": [
          1.5,
          2.5
        ]
      }
    },
    {
      "name": "seafarerIncomeEntry2TaxableIncome",
      "label": "Nodarbinātības periodā ar nodokli apliekamais ienākums (2. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 2 of Annex D2¹'s seafarer foreign-income table, column 5. aile: the income taxable with personal income tax earned during the employment period. Formula printed in the regulation's own para. 20.5: the monthly minimum wage, multiplied by the column 4 coefficient, multiplied by the employment period (expressed in months and days). If a partial month was worked, the one-day norm is calculated by dividing the monthly norm by the number of calendar days in that month.",
      "sourceRef": "Annex D2¹, row 2, column 5. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "seafarerIncomeEntry2TaxRate",
      "label": "Aprēķinātais nodoklis (pēc Latvijas Republikā noteiktās likmes) — nodokļa likme (2. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 2 of Annex D2¹'s seafarer foreign-income table, column 6. aile: the personal income tax rate, calculated per the regulation's own subparagraph 6.3 (para. 20.6). Modelled as a decimal fraction (0-1), not a 0-100 percentage, for the same reason as this document's existing Annex D2 tax-rate columns: the printed formula for column 7 (para. 20.7, \"nodokļa summu, kas aprēķināta, apliekamos ienākumus (5. aile) reizinot ar nodokļa likmi (6. aile)\") multiplies this column directly against column 5 with no separate /100 conversion term, so column 6 must already be expressed as a fraction for the arithmetic to balance — disclosed here since the printed form does not state the convention explicitly.",
      "sourceRef": "Annex D2¹, row 2, column 6. aile",
      "validation": {
        "minimum": 0,
        "maximum": 1
      }
    },
    {
      "name": "seafarerIncomeEntry2TaxAmount",
      "label": "Aprēķinātais nodoklis (pēc Latvijas Republikā noteiktās likmes) — summa (2. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 2 of Annex D2¹'s seafarer foreign-income table, column 7. aile: the computed tax amount. Formula printed on the schedule (para. 20.7 and the column header itself, \"summa (5. x 6. aile)\"): column 5 (taxable income for the employment period) multiplied by column 6 (the tax rate, as a 0-1 fraction).",
      "sourceRef": "Annex D2¹, row 2, column 7. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "seafarerIncomeEntry2ForeignTaxPaid",
      "label": "Ārvalstī samaksātais nodoklis (2. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 2 of Annex D2¹'s seafarer foreign-income table, column 8. aile: the portion of foreign tax paid corresponding to the income on which tax is calculated in the Republic of Latvia. Per the regulation's own para. 20.8, this column is only filled in if tax was actually withheld/paid abroad on the employee's income (\"Ja nodoklis ārvalstī nav ieturēts (samaksāts), 8. aili neaizpilda\" — if tax was not withheld/paid abroad, column 8 is not filled in); disclosed here rather than encoded as a hard requiredWhen/crossFieldValidation rule, since a taxpayer with no foreign withholding legitimately leaves this column blank.",
      "sourceRef": "Annex D2¹, row 2, column 8. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "seafarerIncomeEntry3CountryAndPayer",
      "label": "Personas (jūrnieka) ienākumu gūšanas vieta un ienākuma izmaksātājs (3. rinda)",
      "type": "string",
      "required": false,
      "description": "Row 3 of Annex D2¹'s seafarer foreign-income table, column 1. aile: the country in which the income was earned (i.e. the country whose flag the vessel flies), plus the name and address of the income payer (employer).",
      "sourceRef": "Annex D2¹, row 3, column 1. aile",
      "validation": {}
    },
    {
      "name": "seafarerIncomeEntry3GrossIncome",
      "label": "Bruto ieņēmumi (3. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 3 of Annex D2¹'s seafarer foreign-income table, column 2. aile: all income earned during the tax year by the taxpayer working aboard an internationally-trading vessel, in monetary terms.",
      "sourceRef": "Annex D2¹, row 3, column 2. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "seafarerIncomeEntry3PeriodStart",
      "label": "Ienākumu gūšanas periods — no (3. rinda)",
      "type": "date",
      "required": false,
      "description": "Row 3 of Annex D2¹'s seafarer foreign-income table, column 3. aile (\"no\" — start): the start date of the employment period. Per the regulation's own para. 20.3, if the taxpayer was employed during multiple periods in the tax year (with breaks), a separate row is filled in for each employment period — modelled here as one of 4 repeating rows, following this document's own Annex D2 repeating-row convention.",
      "sourceRef": "Annex D2¹, row 3, column 3. aile (no)",
      "validation": {}
    },
    {
      "name": "seafarerIncomeEntry3PeriodEnd",
      "label": "Ienākumu gūšanas periods — līdz (3. rinda)",
      "type": "date",
      "required": false,
      "description": "Row 3 of Annex D2¹'s seafarer foreign-income table, column 3. aile (\"līdz\" — end): the end date of the same employment period.",
      "sourceRef": "Annex D2¹, row 3, column 3. aile (līdz)",
      "validation": {}
    },
    {
      "name": "seafarerIncomeEntry3Coefficient",
      "label": "Mēneša minimālajai darba algai piemērojamais koeficients (3. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 3 of Annex D2¹'s seafarer foreign-income table, column 4. aile: the coefficient applied to the monthly minimum wage, per the regulation's own para. 20.4 and the law \"Par iedzīvotāju ienākuma nodokli\" section 8, fourth part — a fixed choice of exactly two values: 2.5 for officers (virsniekiem) or 1.5 for other personnel (pārējam personālam). Modelled as a numeric field with a 2-value validation.enum rather than a string enum, since the printed form itself instructs the filer to write in the numeral (\"norādīt 1,5 vai 2,5\") and the value is used directly as a multiplier in the column 5 formula.",
      "sourceRef": "Annex D2¹, row 3, column 4. aile",
      "validation": {
        "enum": [
          1.5,
          2.5
        ]
      }
    },
    {
      "name": "seafarerIncomeEntry3TaxableIncome",
      "label": "Nodarbinātības periodā ar nodokli apliekamais ienākums (3. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 3 of Annex D2¹'s seafarer foreign-income table, column 5. aile: the income taxable with personal income tax earned during the employment period. Formula printed in the regulation's own para. 20.5: the monthly minimum wage, multiplied by the column 4 coefficient, multiplied by the employment period (expressed in months and days). If a partial month was worked, the one-day norm is calculated by dividing the monthly norm by the number of calendar days in that month.",
      "sourceRef": "Annex D2¹, row 3, column 5. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "seafarerIncomeEntry3TaxRate",
      "label": "Aprēķinātais nodoklis (pēc Latvijas Republikā noteiktās likmes) — nodokļa likme (3. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 3 of Annex D2¹'s seafarer foreign-income table, column 6. aile: the personal income tax rate, calculated per the regulation's own subparagraph 6.3 (para. 20.6). Modelled as a decimal fraction (0-1), not a 0-100 percentage, for the same reason as this document's existing Annex D2 tax-rate columns: the printed formula for column 7 (para. 20.7, \"nodokļa summu, kas aprēķināta, apliekamos ienākumus (5. aile) reizinot ar nodokļa likmi (6. aile)\") multiplies this column directly against column 5 with no separate /100 conversion term, so column 6 must already be expressed as a fraction for the arithmetic to balance — disclosed here since the printed form does not state the convention explicitly.",
      "sourceRef": "Annex D2¹, row 3, column 6. aile",
      "validation": {
        "minimum": 0,
        "maximum": 1
      }
    },
    {
      "name": "seafarerIncomeEntry3TaxAmount",
      "label": "Aprēķinātais nodoklis (pēc Latvijas Republikā noteiktās likmes) — summa (3. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 3 of Annex D2¹'s seafarer foreign-income table, column 7. aile: the computed tax amount. Formula printed on the schedule (para. 20.7 and the column header itself, \"summa (5. x 6. aile)\"): column 5 (taxable income for the employment period) multiplied by column 6 (the tax rate, as a 0-1 fraction).",
      "sourceRef": "Annex D2¹, row 3, column 7. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "seafarerIncomeEntry3ForeignTaxPaid",
      "label": "Ārvalstī samaksātais nodoklis (3. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 3 of Annex D2¹'s seafarer foreign-income table, column 8. aile: the portion of foreign tax paid corresponding to the income on which tax is calculated in the Republic of Latvia. Per the regulation's own para. 20.8, this column is only filled in if tax was actually withheld/paid abroad on the employee's income (\"Ja nodoklis ārvalstī nav ieturēts (samaksāts), 8. aili neaizpilda\" — if tax was not withheld/paid abroad, column 8 is not filled in); disclosed here rather than encoded as a hard requiredWhen/crossFieldValidation rule, since a taxpayer with no foreign withholding legitimately leaves this column blank.",
      "sourceRef": "Annex D2¹, row 3, column 8. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "seafarerIncomeEntry4CountryAndPayer",
      "label": "Personas (jūrnieka) ienākumu gūšanas vieta un ienākuma izmaksātājs (4. rinda)",
      "type": "string",
      "required": false,
      "description": "Row 4 of Annex D2¹'s seafarer foreign-income table, column 1. aile: the country in which the income was earned (i.e. the country whose flag the vessel flies), plus the name and address of the income payer (employer).",
      "sourceRef": "Annex D2¹, row 4, column 1. aile",
      "validation": {}
    },
    {
      "name": "seafarerIncomeEntry4GrossIncome",
      "label": "Bruto ieņēmumi (4. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 4 of Annex D2¹'s seafarer foreign-income table, column 2. aile: all income earned during the tax year by the taxpayer working aboard an internationally-trading vessel, in monetary terms.",
      "sourceRef": "Annex D2¹, row 4, column 2. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "seafarerIncomeEntry4PeriodStart",
      "label": "Ienākumu gūšanas periods — no (4. rinda)",
      "type": "date",
      "required": false,
      "description": "Row 4 of Annex D2¹'s seafarer foreign-income table, column 3. aile (\"no\" — start): the start date of the employment period. Per the regulation's own para. 20.3, if the taxpayer was employed during multiple periods in the tax year (with breaks), a separate row is filled in for each employment period — modelled here as one of 4 repeating rows, following this document's own Annex D2 repeating-row convention.",
      "sourceRef": "Annex D2¹, row 4, column 3. aile (no)",
      "validation": {}
    },
    {
      "name": "seafarerIncomeEntry4PeriodEnd",
      "label": "Ienākumu gūšanas periods — līdz (4. rinda)",
      "type": "date",
      "required": false,
      "description": "Row 4 of Annex D2¹'s seafarer foreign-income table, column 3. aile (\"līdz\" — end): the end date of the same employment period.",
      "sourceRef": "Annex D2¹, row 4, column 3. aile (līdz)",
      "validation": {}
    },
    {
      "name": "seafarerIncomeEntry4Coefficient",
      "label": "Mēneša minimālajai darba algai piemērojamais koeficients (4. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 4 of Annex D2¹'s seafarer foreign-income table, column 4. aile: the coefficient applied to the monthly minimum wage, per the regulation's own para. 20.4 and the law \"Par iedzīvotāju ienākuma nodokli\" section 8, fourth part — a fixed choice of exactly two values: 2.5 for officers (virsniekiem) or 1.5 for other personnel (pārējam personālam). Modelled as a numeric field with a 2-value validation.enum rather than a string enum, since the printed form itself instructs the filer to write in the numeral (\"norādīt 1,5 vai 2,5\") and the value is used directly as a multiplier in the column 5 formula.",
      "sourceRef": "Annex D2¹, row 4, column 4. aile",
      "validation": {
        "enum": [
          1.5,
          2.5
        ]
      }
    },
    {
      "name": "seafarerIncomeEntry4TaxableIncome",
      "label": "Nodarbinātības periodā ar nodokli apliekamais ienākums (4. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 4 of Annex D2¹'s seafarer foreign-income table, column 5. aile: the income taxable with personal income tax earned during the employment period. Formula printed in the regulation's own para. 20.5: the monthly minimum wage, multiplied by the column 4 coefficient, multiplied by the employment period (expressed in months and days). If a partial month was worked, the one-day norm is calculated by dividing the monthly norm by the number of calendar days in that month.",
      "sourceRef": "Annex D2¹, row 4, column 5. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "seafarerIncomeEntry4TaxRate",
      "label": "Aprēķinātais nodoklis (pēc Latvijas Republikā noteiktās likmes) — nodokļa likme (4. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 4 of Annex D2¹'s seafarer foreign-income table, column 6. aile: the personal income tax rate, calculated per the regulation's own subparagraph 6.3 (para. 20.6). Modelled as a decimal fraction (0-1), not a 0-100 percentage, for the same reason as this document's existing Annex D2 tax-rate columns: the printed formula for column 7 (para. 20.7, \"nodokļa summu, kas aprēķināta, apliekamos ienākumus (5. aile) reizinot ar nodokļa likmi (6. aile)\") multiplies this column directly against column 5 with no separate /100 conversion term, so column 6 must already be expressed as a fraction for the arithmetic to balance — disclosed here since the printed form does not state the convention explicitly.",
      "sourceRef": "Annex D2¹, row 4, column 6. aile",
      "validation": {
        "minimum": 0,
        "maximum": 1
      }
    },
    {
      "name": "seafarerIncomeEntry4TaxAmount",
      "label": "Aprēķinātais nodoklis (pēc Latvijas Republikā noteiktās likmes) — summa (4. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 4 of Annex D2¹'s seafarer foreign-income table, column 7. aile: the computed tax amount. Formula printed on the schedule (para. 20.7 and the column header itself, \"summa (5. x 6. aile)\"): column 5 (taxable income for the employment period) multiplied by column 6 (the tax rate, as a 0-1 fraction).",
      "sourceRef": "Annex D2¹, row 4, column 7. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "seafarerIncomeEntry4ForeignTaxPaid",
      "label": "Ārvalstī samaksātais nodoklis (4. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 4 of Annex D2¹'s seafarer foreign-income table, column 8. aile: the portion of foreign tax paid corresponding to the income on which tax is calculated in the Republic of Latvia. Per the regulation's own para. 20.8, this column is only filled in if tax was actually withheld/paid abroad on the employee's income (\"Ja nodoklis ārvalstī nav ieturēts (samaksāts), 8. aili neaizpilda\" — if tax was not withheld/paid abroad, column 8 is not filled in); disclosed here rather than encoded as a hard requiredWhen/crossFieldValidation rule, since a taxpayer with no foreign withholding legitimately leaves this column blank.",
      "sourceRef": "Annex D2¹, row 4, column 8. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "seafarerIncomeTotalGrossIncome",
      "label": "Kopā — Bruto ieņēmumi",
      "type": "number",
      "required": false,
      "description": "The \"Kopā\" (total) row at the foot of Annex D2¹'s seafarer foreign-income table, column 2. aile: Bruto ieņēmumi.",
      "sourceRef": "Annex D2¹, \"Kopā\" row, column 2. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "seafarerIncomeTotalTaxableIncome",
      "label": "Kopā — Nodarbinātības periodā ar nodokli apliekamais ienākums",
      "type": "number",
      "required": false,
      "description": "The \"Kopā\" (total) row at the foot of Annex D2¹'s seafarer foreign-income table, column 5. aile: Nodarbinātības periodā ar nodokli apliekamais ienākums.",
      "sourceRef": "Annex D2¹, \"Kopā\" row, column 5. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "seafarerIncomeTotalTaxRate",
      "label": "Kopā — Aprēķinātais nodoklis (pēc Latvijas Republikā noteiktās likmes) — nodokļa likme",
      "type": "number",
      "required": false,
      "description": "The \"Kopā\" (total) row at the foot of Annex D2¹'s seafarer foreign-income table, column 6. aile: Aprēķinātais nodoklis (pēc Latvijas Republikā noteiktās likmes) — nodokļa likme. Disclosed judgment call, the same one this document's existing Annex D2 Kopā row already discloses for its own analogous tax-rate column: the printed table reserves a blank box here like every other totalled column, but summing a per-row tax rate across multiple rows/countries has no stated arithmetic meaning in the regulation text — modelled as an optional field matching the printed box rather than omitted.",
      "sourceRef": "Annex D2¹, \"Kopā\" row, column 6. aile",
      "validation": {
        "minimum": 0,
        "maximum": 1
      }
    },
    {
      "name": "seafarerIncomeTotalTaxAmount",
      "label": "Kopā — Aprēķinātais nodoklis (pēc Latvijas Republikā noteiktās likmes) — summa",
      "type": "number",
      "required": false,
      "description": "The \"Kopā\" (total) row at the foot of Annex D2¹'s seafarer foreign-income table, column 7. aile: Aprēķinātais nodoklis (pēc Latvijas Republikā noteiktās likmes) — summa.",
      "sourceRef": "Annex D2¹, \"Kopā\" row, column 7. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "taxableIncomeEarnedInLatvia",
      "label": "Latvijas Republikā gūtie apliekamie ienākumi",
      "type": "number",
      "required": false,
      "description": "Row 1: taxable income earned in the Republic of Latvia. Printed formula: Annex D1 column 8 total (incomeTotalTaxableIncome) + Annex D3 row 11 + Annex D3¹ row 13 — D3/D3¹ (business-activity income schedules) are out of scope for this schema version (see VERIFICATION.md Known Gaps); only the Annex D1 term is populated from a modelled field.",
      "sourceRef": "Form D, row 1",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "taxableIncomeEarnedAbroad",
      "label": "Ārvalstīs gūtie ienākumi",
      "type": "number",
      "required": false,
      "description": "Row 2: taxable income earned abroad. Printed formula: (Annex D2 column 3 total (foreignIncomeTotalForeignIncomeAmount) - Annex D2 column 4 total (foreignIncomeTotalExemptIncome) - Annex D2 column 6 total (foreignIncomeTotalAuthorAndOtherExpenses)) + Annex D2¹ column 5 total (seafarerIncomeTotalTaxableIncome).",
      "sourceRef": "Form D, row 2",
      "validation": {}
    },
    {
      "name": "taxableIncomeIncreaseAmount",
      "label": "Apliekamā ienākuma palielinājums",
      "type": "number",
      "required": false,
      "description": "Row 3: increase to taxable income.",
      "sourceRef": "Form D, row 3",
      "validation": {}
    },
    {
      "name": "totalTaxableIncome",
      "label": "KOPĀ (apliekamie ienākumi)",
      "type": "number",
      "required": false,
      "description": "Row 4: total taxable income. Printed formula: row 1 + row 2 + row 3.",
      "sourceRef": "Form D, row 4",
      "validation": {}
    },
    {
      "name": "totalNonTaxableIncome",
      "label": "Neapliekamie ienākumi (kopā)",
      "type": "number",
      "required": false,
      "description": "Row 5: total non-taxable income. Printed formula: Annex D1 column 3 total (incomeTotalNonTaxableIncome) + Annex D2 column 4 total (foreignIncomeTotalExemptIncome) + (Annex D3 rows 1.4 and 4 total, or Annex D3¹ row 2 total) + non-taxable income from agricultural production and rural tourism services. D3/D3¹ terms are out of scope for this schema version; the Annex D1 and Annex D2 terms are populated from modelled fields.",
      "sourceRef": "Form D, row 5",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "mandatorySocialInsuranceDeduction",
      "label": "Valsts sociālās apdrošināšanas obligātās iemaksas",
      "type": "number",
      "required": false,
      "description": "Row 6: deductible mandatory state social insurance contributions. Printed formula: (Annex D1 column 4 total + Annex D2 column 5 total (foreignIncomeTotalSocialInsurancePayments) + the self-employed person's own mandatory state social insurance contributions) minus row 7. The self-employed contributions term (Annex D3/D3¹) is out of scope for this schema version; the Annex D1 and Annex D2 terms are populated from modelled fields.",
      "sourceRef": "Form D, row 6",
      "validation": {}
    },
    {
      "name": "solidarityTaxPortionTransferred",
      "label": "Solidaritātes nodokļa daļa",
      "type": "number",
      "required": false,
      "description": "Row 7: the portion of solidarity tax transferred to the personal income tax distribution account, when the solidarity tax object is simultaneously a personal income tax object.",
      "sourceRef": "Form D, row 7",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "educationHealthDonationsDeduction",
      "label": "Par izglītību, ārstnieciskajiem pakalpojumiem, ziedojumiem un dāvinājumiem",
      "type": "number",
      "required": false,
      "description": "Row 8: deductible expenses for education, medical services, donations and gifts. Printed formula: Annex D4 \"Kopā\" row, columns 10 and 11 total. Annex D4 is out of scope for this schema version (see VERIFICATION.md Known Gaps).",
      "sourceRef": "Form D, row 8",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "pensionFundLifeInsuranceDeduction",
      "label": "Privātajos pensiju fondos izdarītās iemaksas, apdrošināšanas prēmiju maksājumi",
      "type": "number",
      "required": false,
      "description": "Row 9: deductible contributions to private pension funds and life-insurance premium payments under a savings-accumulation life insurance contract. Printed formula: Annex D1 column 5 total (incomeTotalPensionAndLifeInsuranceContributions) + the taxpayer's own contributions and life-insurance premium payments made directly (not through an employer).",
      "sourceRef": "Form D, row 9",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "totalJustifiedExpenses",
      "label": "ATTAISNOTIE IZDEVUMI KOPĀ",
      "type": "number",
      "required": false,
      "description": "Row 10: total justified expenses. Printed formula: row 6 + row 8 + row 9.",
      "sourceRef": "Form D, row 10",
      "validation": {}
    },
    {
      "name": "annualNonTaxableMinimum",
      "label": "Gada neapliekamais minimums",
      "type": "number",
      "required": false,
      "description": "Row 11: the declarant's own annual differentiated non-taxable minimum, as calculated and communicated by the State Revenue Service (VID) based on the taxpayer's income; the regulation does not print a formula for this row.",
      "sourceRef": "Form D, row 11",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "pensionerNonTaxableMinimumApplied",
      "label": "Gada neapliekamais minimums pensionāram",
      "type": "boolean",
      "required": false,
      "description": "Row 12's own checkbox, printed inline in its label: whether the taxpayer opts into the pensioner's non-taxable minimum under Article 12(14) of the Law \"On Personal Income Tax\" (\"Tiek piemērota likuma \\\"Par iedzīvotāju ienākuma nodokli\\\" 12. panta četrpadsmitā daļa\"), rather than row 11's general differentiated non-taxable minimum.",
      "sourceRef": "Form D, row 12 label checkbox",
      "validation": {}
    },
    {
      "name": "pensionerAnnualNonTaxableMinimum",
      "label": "Gada neapliekamais minimums pensionāram (summa)",
      "type": "number",
      "required": false,
      "requiredWhen": {
        "field": "pensionerNonTaxableMinimumApplied",
        "equals": true
      },
      "description": "Row 12's own amount box: the pensioner's annual non-taxable minimum amount, filled in only when pensionerNonTaxableMinimumApplied is checked.",
      "sourceRef": "Form D, row 12 amount box",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "dependentsRelief",
      "label": "Atvieglojumi par apgādājamiem",
      "type": "number",
      "required": false,
      "description": "Row 13: tax relief for dependents.",
      "sourceRef": "Form D, row 13",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "disabilityRelief",
      "label": "Atvieglojumi personām ar invaliditāti",
      "type": "number",
      "required": false,
      "description": "Row 14: tax relief for persons with disabilities.",
      "sourceRef": "Form D, row 14",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "politicallyRepressedPersonRelief",
      "label": "Atvieglojumi politiski represētajām personām",
      "type": "number",
      "required": false,
      "description": "Row 15: tax relief for politically repressed persons.",
      "sourceRef": "Form D, row 15",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "nationalResistanceMovementRelief",
      "label": "Atvieglojumi nacionālās pretošanās kustības dalībniekiem",
      "type": "number",
      "required": false,
      "description": "Row 16: tax relief for participants of the national resistance movement.",
      "sourceRef": "Form D, row 16",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "totalReliefs",
      "label": "ATVIEGLOJUMI KOPĀ",
      "type": "number",
      "required": false,
      "description": "Row 17: total reliefs. Printed formula: row 13 + row 14 + row 15 + row 16.",
      "sourceRef": "Form D, row 17",
      "validation": {}
    },
    {
      "name": "totalTax",
      "label": "NODOKLIS KOPĀ",
      "type": "number",
      "required": false,
      "description": "Row 18: total tax, of which rows 18.1 and 18.2 (taxBelowFirstProgressionThreshold / taxAboveFirstProgressionThreshold) are the printed breakdown.",
      "sourceRef": "Form D, row 18",
      "validation": {}
    },
    {
      "name": "taxBelowFirstProgressionThreshold",
      "label": "Nodoklis ienākuma daļai, kas nepārsniedz pirmo progresijas slieksni",
      "type": "number",
      "required": false,
      "description": "Row 18.1: tax on the portion of income not exceeding the first progression threshold.",
      "sourceRef": "Form D, row 18.1",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "taxAboveFirstProgressionThreshold",
      "label": "Nodoklis ienākuma daļai, kas pārsniedz pirmo progresijas slieksni",
      "type": "number",
      "required": false,
      "description": "Row 18.2: tax on the portion of income exceeding the first progression threshold.",
      "sourceRef": "Form D, row 18.2",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "taxOnOtherIncomeAndMinimumBusinessTax",
      "label": "Nodoklis no citiem ienākumiem un minimālais nodoklis no saimnieciskās darbības",
      "type": "number",
      "required": false,
      "description": "Row 19: tax on other income and minimum tax on business activity. Printed formula: Annex D1¹ column 10 total (reliefsExcludedIncomeTotalPayableOrOverpaidTax) + the minimum tax on business activity. The minimum-tax-on-business-activity term (Annex D3/D3¹) remains out of scope for this schema version (see VERIFICATION.md Known Gaps); the Annex D1¹ term is now populated from a modelled field.",
      "sourceRef": "Form D, row 19",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "taxOnProfessionalAthleteIncome",
      "label": "Nodoklis no profesionāla sportista algotā darba ienākuma",
      "type": "number",
      "required": false,
      "description": "Row 20: tax on a professional athlete's employment income.",
      "sourceRef": "Form D, row 20",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "incomeSubjectToAdditionalTaxRate",
      "label": "Ienākumi, kuriem piemēro papildu nodokļa likmi",
      "type": "number",
      "required": false,
      "description": "Row 21: income subject to the additional tax rate. Printed formula: (row 4 + Annex D1¹ column 6 total (reliefsExcludedIncomeTotalTaxableIncome) + foreign salary received abroad exempt from taxation in Latvia + professional athlete's income + income from capital gains + non-taxable dividends, income equated to dividends, deemed dividends and liquidation quotas) minus the income threshold above which the additional tax rate applies; if the result is negative, zero is entered. The Annex D1¹ term is now populated from a modelled field; the remaining terms have no single modelled source field (they are computed by the filer from information not captured elsewhere on this schema) and are disclosed here rather than fabricated.",
      "sourceRef": "Form D, row 21",
      "validation": {}
    },
    {
      "name": "additionalTax",
      "label": "Papildu nodoklis",
      "type": "number",
      "required": false,
      "description": "Row 22: additional tax. Printed formula: row 21 x the additional tax rate percentage.",
      "sourceRef": "Form D, row 22",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "advancePaidOrWithheldTax",
      "label": "Avansā samaksātais (ieturētais) nodoklis (KOPĀ)",
      "type": "number",
      "required": false,
      "description": "Row 23: total advance-paid (withheld) tax. Printed formula: (Annex D1 column 9 total (incomeTotalAdvanceTaxWithheld) + Annex D2 column 7 or 9 total (foreignIncomeTotalForeignTaxPaid or foreignIncomeTotalTaxAmount, depending on which of the two the taxpayer completed per row) + Annex D2¹ column 7 or 8 total + Annex D3 row 9 + Annex D3¹ row 11) + row 7. Annex D3/D3¹ terms remain out of scope for this schema version. For the Annex D2¹ term, only column 7's total (seafarerIncomeTotalTaxAmount) is populated from a modelled field: Annex D2¹'s own printed \"Kopā\" row does not reserve a total box for column 8 (Ārvalstī samaksātais nodoklis) — that column position is marked \"X\" (not applicable) on the annex itself, unlike Annex D2's own Kopā row, which does total its analogous foreign-tax-paid column — so this row-23 formula's \"or column 8\" alternative has no corresponding total field to cite here, even though each individual seafarerIncomeEntry{N}ForeignTaxPaid value is captured per row. The Annex D1, Annex D2, and row-7 terms are populated from modelled fields.",
      "sourceRef": "Form D, row 23",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "taxPayableToBudget",
      "label": "Maksājamais nodoklis, kas jāsamaksā budžetā",
      "type": "number",
      "required": false,
      "description": "Row 24: tax payable to the budget, entered when row 18 + row 19 + row 20 + row 21 is greater than row 23.",
      "sourceRef": "Form D, row 24",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "overpaidTaxOrRefund",
      "label": "Pārmaksātais nodoklis jeb nodokļa atmaksa",
      "type": "number",
      "required": false,
      "description": "Row 25: overpaid tax / tax refund, entered when row 23 is greater than row 18 + row 19 + row 20 + row 22.",
      "sourceRef": "Form D, row 25",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "taxPaymentDeadline",
      "label": "Nodokļa samaksas termiņš",
      "type": "date",
      "required": false,
      "description": "Row 26: the tax payment deadline. Printed as 3 adjoining boxes (widths 6%/6%/7%) with no sub-labels; modelled as a single date value, consistent with this registry's convention for unlabelled day/month/year digit-box groups elsewhere.",
      "sourceRef": "Form D, row 26",
      "validation": {}
    },
    {
      "name": "totalTaxAmount",
      "label": "Kopējā nodokļa summa kopā",
      "type": "number",
      "required": false,
      "description": "Row 27: the overall total tax amount. Printed with the same 3-box layout as row 26, which for this bold, amount-labelled row is read as page-width alignment rather than a day/month/year split — modelled as a single numeric value.",
      "sourceRef": "Form D, row 27",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "refundAmount",
      "label": "Pārskaitāmā summa",
      "type": "number",
      "required": false,
      "description": "The overpayment amount the declarant asks to have transferred to their account, under the heading \"Lūdzu pārskaitīt pārmaksas summu uz kontu\" (please transfer the overpayment amount to the account).",
      "sourceRef": "Form D, refund section, \"Pārskaitāmā summa\"",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "refundAccountIban",
      "label": "Konta Nr. (IBAN 21 simbols)",
      "type": "string",
      "required": false,
      "requiredWhen": {
        "field": "refundAmount",
        "greaterThan": 0
      },
      "description": "The IBAN account number the overpayment is to be transferred to. The form itself states only the printed length (\"IBAN 21 simbols\" — IBAN, 21 characters); the pattern here (LV + 2 check digits + 4-letter bank code + 13-digit account number = 21 characters) is derived from the general Latvian IBAN standard, not printed on the form.",
      "sourceRef": "Form D, refund section, \"Konta Nr. (IBAN 21 simbols)\"",
      "validation": {
        "pattern": "^LV[0-9]{2}[A-Z]{4}[0-9]{13}$"
      }
    },
    {
      "name": "attachedPagesCount",
      "label": "Deklarācijai pievienoju dokumentus uz ___ lapām",
      "type": "integer",
      "required": false,
      "description": "The number of pages of documents the declarant states they are attaching to the declaration (\"Deklarācijai pievienoju dokumentus uz _____________ lapām\").",
      "sourceRef": "Form D, filing section",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "attachedAnnexNumbers",
      "label": "Deklarācijā ir aizpildīti pielikumi (pielikuma numurs)",
      "type": "string",
      "required": false,
      "description": "Free-text list of the annex numbers the declarant has filled in and is attaching to this declaration (e.g. \"D1\", or \"D1, D1¹, D2, D2¹\"). The regulation's own printed annex list names 7 possible companion schedules — D1, D1¹, D2, D2¹, D3, D3¹, D4 — of which D1, D1¹, D2, and D2¹ are in scope for this schema version; the field itself is unconstrained free text, since the form provides a blank line rather than a fixed checkbox per annex.",
      "sourceRef": "Form D, filing section, \"(pielikuma numurs)\"",
      "validation": {}
    },
    {
      "name": "attachedExpenseDocumentsList",
      "label": "Pievienotie (uzrādītie) dokumenti vai to kopijas par attaisnotajiem izdevumiem",
      "type": "string",
      "required": false,
      "description": "Free-text list of the documents or copies presented in support of justified (deductible) expenses. The form prints 4 blank lines under this heading rather than a fixed, pre-printed checklist of document names — the same blank-table convention this registry already established for lv/ur/sole-trader-registration-kr2's own attachedDocumentsList.",
      "sourceRef": "Form D, filing section, \"Pievienotie (uzrādītie) dokumenti...\"",
      "validation": {}
    },
    {
      "name": "signatureDate",
      "label": "(datums)",
      "type": "date",
      "required": false,
      "description": "The signature date. The regulation's own note 2 to Annex 1 states, verbatim, \"Dokumenta rekvizītus \\\"datums\\\" un \\\"paraksts\\\" neaizpilda, ja elektroniskais dokuments ir sagatavots atbilstoši normatīvajiem aktiem par elektronisko dokumentu noformēšanu\" (the \"date\" and \"signature\" particulars are not filled in if the electronic document is prepared in accordance with the regulations on the design of electronic documents) — modelled required: false for that reason. This single field models the one signature act for the whole declaration packet; the identical \"(datums) / (nodokļa maksātāja paraksts)\" footer is reprinted at the foot of every physical page of Form D and every companion schedule (a page-footer artifact, not a separate signature per page).",
      "sourceRef": "Form D, page footer; Annex 1 note 2",
      "validation": {}
    },
    {
      "name": "signature",
      "label": "(nodokļa maksātāja paraksts)",
      "type": "string",
      "required": false,
      "description": "The taxpayer's signature. See signatureDate for the e-signature carve-out and the repeated-page-footer finding this single field models.",
      "sourceRef": "Form D, page footer; Annex 1 note 2",
      "validation": {}
    },
    {
      "name": "reliefsExcludedIncomeEntry1SourceAndType",
      "label": "Ienākumu gūšanas vieta un veids (1. rinda)",
      "type": "string",
      "required": false,
      "description": "Row 1 of Annex D1¹'s excluded-income table, column 1. aile: the source of the taxation year's taxable income (to which the non-taxable minimum and reliefs do not apply), including the payer's name and registration code, or name and personal code where one is assigned, and the type of income (e.g. standing-forest sale, timber sale, unregistered rental/lease income, an income-equated loan, or non-capital-gains capital income).",
      "sourceRef": "Annex D1¹, row 1, column 1. aile",
      "validation": {}
    },
    {
      "name": "reliefsExcludedIncomeEntry1GrossIncome",
      "label": "Bruto ieņēmumi (1. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 1 of Annex D1¹'s excluded-income table, column 2. aile: the taxable income (to which the non-taxable minimum and reliefs do not apply) earned during the tax year, in monetary terms.",
      "sourceRef": "Annex D1¹, row 1, column 2. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry1ForestSaleExpenseNorm",
      "label": "Izdevumu norma – 25% (augoša meža pārdošana) (1. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 1 of Annex D1¹'s excluded-income table, column 3. aile: filled in only by a taxpayer who earned income from selling standing forest — the expense amount related to forest regeneration, applying a 25% expense norm against gross income (column 2). Mutually exclusive with column 4 (timber-sale expense norm) and column 5 (documented expenses) on the same row: per the regulation's own para. 17.5, column 5 is filled in only if neither column 3 nor column 4 is filled for that row.",
      "sourceRef": "Annex D1¹, row 1, column 3. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry1TimberSaleExpenseNorm",
      "label": "Izdevumu norma – 50% (kokmateriālu pārdošana) (1. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 1 of Annex D1¹'s excluded-income table, column 4. aile: filled in only by a taxpayer who earned income from selling timber — the expense amount related to preparing and selling the timber, applying a 50% expense norm against gross income (column 2). Mutually exclusive with column 3 (forest-sale expense norm) and column 5 (documented expenses) on the same row: per the regulation's own para. 17.5, column 5 is filled in only if neither column 3 nor column 4 is filled for that row.",
      "sourceRef": "Annex D1¹, row 1, column 4. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry1DocumentedExpenses",
      "label": "Izdevumi, kas saistīti ar ienākumu gūšanu (1. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 1 of Annex D1¹'s excluded-income table, column 5. aile: documented expenses related to earning the income, filled in only if neither column 3 (forest-sale expense norm) nor column 4 (timber-sale expense norm) is filled for the same row (regulation's own para. 17.5).",
      "sourceRef": "Annex D1¹, row 1, column 5. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry1TaxableIncome",
      "label": "Apliekamie ienākumi (1. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 1 of Annex D1¹'s excluded-income table, column 6. aile: taxable income, computed as gross income (column 2) minus whichever expense figure applies for the row — the forest-sale norm (column 3), the timber-sale norm (column 4), or documented expenses (column 5) — per the regulation's own column header, \"2. – 3. vai 4., vai 5. aile\". Not enforced as a crossFieldValidation arithmetic rule, since the vocabulary has no way to express a subtraction against whichever one of three mutually-exclusive alternative fields is populated (see VERIFICATION.md).",
      "sourceRef": "Annex D1¹, row 1, column 6. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry1TaxRate",
      "label": "Nodokļa likme (1. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 1 of Annex D1¹'s excluded-income table, column 7. aile: the personal income tax rate applicable to the income, in the tax year. Per the regulation's own para. 17.7, a taxpayer who is the lender's employee, board member, or council member on the date the loan was issued adds the additional rate under Section 15(11) of the law \"Par iedzīvotāju ienākuma nodokli\" when the row declares an income-equated loan. Modelled as a decimal fraction (0-1), not a 0-100 percentage, for the same reason as this document's existing Annex D2 and Annex D2¹ tax-rate columns: the printed column-8 formula (\"6. x 7. aile\") multiplies this column directly against column 6 with no separate /100 conversion term, so column 7 must already be expressed as a fraction for the arithmetic to balance — disclosed here since the printed form does not state the convention explicitly.",
      "sourceRef": "Annex D1¹, row 1, column 7. aile",
      "validation": {
        "minimum": 0,
        "maximum": 1
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry1TaxAmount",
      "label": "Aprēķinātais nodoklis (1. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 1 of Annex D1¹'s excluded-income table, column 8. aile: the computed tax amount, printed formula \"6. x 7. aile\" — taxable income (column 6) multiplied by the tax rate (column 7, a 0-1 fraction).",
      "sourceRef": "Annex D1¹, row 1, column 8. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry1AdvancePaidOrWithheldTax",
      "label": "Avansā samaksātais (ieturētais) nodoklis (1. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 1 of Annex D1¹'s excluded-income table, column 9. aile: personal income tax paid in advance or withheld for the income declared on this row. Per the regulation's own para. 17.9, this column also includes foreign tax paid, capped at the computed tax amount in column 8 — encoded as a crossFieldValidation rule against this row's own TaxAmount field (see VERIFICATION.md).",
      "sourceRef": "Annex D1¹, row 1, column 9. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry1PayableOrOverpaidTax",
      "label": "Maksājamais vai pārmaksātais nodoklis (1. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 1 of Annex D1¹'s excluded-income table, column 10. aile: the personal income tax payable or overpaid, computed as the computed tax (column 8) minus the advance-paid/withheld tax (column 9). Per the regulation's own para. 17.10, an overpayment is entered with a minus sign prefixed before the number — modelled with no minimum/maximum bound (unlike this table's other numeric columns) so a negative overpayment value can be recorded directly.",
      "sourceRef": "Annex D1¹, row 1, column 10. aile",
      "validation": {}
    },
    {
      "name": "reliefsExcludedIncomeEntry2SourceAndType",
      "label": "Ienākumu gūšanas vieta un veids (2. rinda)",
      "type": "string",
      "required": false,
      "description": "Row 2 of Annex D1¹'s excluded-income table, column 1. aile: the source of the taxation year's taxable income (to which the non-taxable minimum and reliefs do not apply), including the payer's name and registration code, or name and personal code where one is assigned, and the type of income (e.g. standing-forest sale, timber sale, unregistered rental/lease income, an income-equated loan, or non-capital-gains capital income).",
      "sourceRef": "Annex D1¹, row 2, column 1. aile",
      "validation": {}
    },
    {
      "name": "reliefsExcludedIncomeEntry2GrossIncome",
      "label": "Bruto ieņēmumi (2. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 2 of Annex D1¹'s excluded-income table, column 2. aile: the taxable income (to which the non-taxable minimum and reliefs do not apply) earned during the tax year, in monetary terms.",
      "sourceRef": "Annex D1¹, row 2, column 2. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry2ForestSaleExpenseNorm",
      "label": "Izdevumu norma – 25% (augoša meža pārdošana) (2. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 2 of Annex D1¹'s excluded-income table, column 3. aile: filled in only by a taxpayer who earned income from selling standing forest — the expense amount related to forest regeneration, applying a 25% expense norm against gross income (column 2). Mutually exclusive with column 4 (timber-sale expense norm) and column 5 (documented expenses) on the same row: per the regulation's own para. 17.5, column 5 is filled in only if neither column 3 nor column 4 is filled for that row.",
      "sourceRef": "Annex D1¹, row 2, column 3. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry2TimberSaleExpenseNorm",
      "label": "Izdevumu norma – 50% (kokmateriālu pārdošana) (2. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 2 of Annex D1¹'s excluded-income table, column 4. aile: filled in only by a taxpayer who earned income from selling timber — the expense amount related to preparing and selling the timber, applying a 50% expense norm against gross income (column 2). Mutually exclusive with column 3 (forest-sale expense norm) and column 5 (documented expenses) on the same row: per the regulation's own para. 17.5, column 5 is filled in only if neither column 3 nor column 4 is filled for that row.",
      "sourceRef": "Annex D1¹, row 2, column 4. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry2DocumentedExpenses",
      "label": "Izdevumi, kas saistīti ar ienākumu gūšanu (2. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 2 of Annex D1¹'s excluded-income table, column 5. aile: documented expenses related to earning the income, filled in only if neither column 3 (forest-sale expense norm) nor column 4 (timber-sale expense norm) is filled for the same row (regulation's own para. 17.5).",
      "sourceRef": "Annex D1¹, row 2, column 5. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry2TaxableIncome",
      "label": "Apliekamie ienākumi (2. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 2 of Annex D1¹'s excluded-income table, column 6. aile: taxable income, computed as gross income (column 2) minus whichever expense figure applies for the row — the forest-sale norm (column 3), the timber-sale norm (column 4), or documented expenses (column 5) — per the regulation's own column header, \"2. – 3. vai 4., vai 5. aile\". Not enforced as a crossFieldValidation arithmetic rule, since the vocabulary has no way to express a subtraction against whichever one of three mutually-exclusive alternative fields is populated (see VERIFICATION.md).",
      "sourceRef": "Annex D1¹, row 2, column 6. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry2TaxRate",
      "label": "Nodokļa likme (2. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 2 of Annex D1¹'s excluded-income table, column 7. aile: the personal income tax rate applicable to the income, in the tax year. Per the regulation's own para. 17.7, a taxpayer who is the lender's employee, board member, or council member on the date the loan was issued adds the additional rate under Section 15(11) of the law \"Par iedzīvotāju ienākuma nodokli\" when the row declares an income-equated loan. Modelled as a decimal fraction (0-1), not a 0-100 percentage, for the same reason as this document's existing Annex D2 and Annex D2¹ tax-rate columns: the printed column-8 formula (\"6. x 7. aile\") multiplies this column directly against column 6 with no separate /100 conversion term, so column 7 must already be expressed as a fraction for the arithmetic to balance — disclosed here since the printed form does not state the convention explicitly.",
      "sourceRef": "Annex D1¹, row 2, column 7. aile",
      "validation": {
        "minimum": 0,
        "maximum": 1
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry2TaxAmount",
      "label": "Aprēķinātais nodoklis (2. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 2 of Annex D1¹'s excluded-income table, column 8. aile: the computed tax amount, printed formula \"6. x 7. aile\" — taxable income (column 6) multiplied by the tax rate (column 7, a 0-1 fraction).",
      "sourceRef": "Annex D1¹, row 2, column 8. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry2AdvancePaidOrWithheldTax",
      "label": "Avansā samaksātais (ieturētais) nodoklis (2. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 2 of Annex D1¹'s excluded-income table, column 9. aile: personal income tax paid in advance or withheld for the income declared on this row. Per the regulation's own para. 17.9, this column also includes foreign tax paid, capped at the computed tax amount in column 8 — encoded as a crossFieldValidation rule against this row's own TaxAmount field (see VERIFICATION.md).",
      "sourceRef": "Annex D1¹, row 2, column 9. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry2PayableOrOverpaidTax",
      "label": "Maksājamais vai pārmaksātais nodoklis (2. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 2 of Annex D1¹'s excluded-income table, column 10. aile: the personal income tax payable or overpaid, computed as the computed tax (column 8) minus the advance-paid/withheld tax (column 9). Per the regulation's own para. 17.10, an overpayment is entered with a minus sign prefixed before the number — modelled with no minimum/maximum bound (unlike this table's other numeric columns) so a negative overpayment value can be recorded directly.",
      "sourceRef": "Annex D1¹, row 2, column 10. aile",
      "validation": {}
    },
    {
      "name": "reliefsExcludedIncomeEntry3SourceAndType",
      "label": "Ienākumu gūšanas vieta un veids (3. rinda)",
      "type": "string",
      "required": false,
      "description": "Row 3 of Annex D1¹'s excluded-income table, column 1. aile: the source of the taxation year's taxable income (to which the non-taxable minimum and reliefs do not apply), including the payer's name and registration code, or name and personal code where one is assigned, and the type of income (e.g. standing-forest sale, timber sale, unregistered rental/lease income, an income-equated loan, or non-capital-gains capital income).",
      "sourceRef": "Annex D1¹, row 3, column 1. aile",
      "validation": {}
    },
    {
      "name": "reliefsExcludedIncomeEntry3GrossIncome",
      "label": "Bruto ieņēmumi (3. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 3 of Annex D1¹'s excluded-income table, column 2. aile: the taxable income (to which the non-taxable minimum and reliefs do not apply) earned during the tax year, in monetary terms.",
      "sourceRef": "Annex D1¹, row 3, column 2. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry3ForestSaleExpenseNorm",
      "label": "Izdevumu norma – 25% (augoša meža pārdošana) (3. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 3 of Annex D1¹'s excluded-income table, column 3. aile: filled in only by a taxpayer who earned income from selling standing forest — the expense amount related to forest regeneration, applying a 25% expense norm against gross income (column 2). Mutually exclusive with column 4 (timber-sale expense norm) and column 5 (documented expenses) on the same row: per the regulation's own para. 17.5, column 5 is filled in only if neither column 3 nor column 4 is filled for that row.",
      "sourceRef": "Annex D1¹, row 3, column 3. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry3TimberSaleExpenseNorm",
      "label": "Izdevumu norma – 50% (kokmateriālu pārdošana) (3. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 3 of Annex D1¹'s excluded-income table, column 4. aile: filled in only by a taxpayer who earned income from selling timber — the expense amount related to preparing and selling the timber, applying a 50% expense norm against gross income (column 2). Mutually exclusive with column 3 (forest-sale expense norm) and column 5 (documented expenses) on the same row: per the regulation's own para. 17.5, column 5 is filled in only if neither column 3 nor column 4 is filled for that row.",
      "sourceRef": "Annex D1¹, row 3, column 4. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry3DocumentedExpenses",
      "label": "Izdevumi, kas saistīti ar ienākumu gūšanu (3. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 3 of Annex D1¹'s excluded-income table, column 5. aile: documented expenses related to earning the income, filled in only if neither column 3 (forest-sale expense norm) nor column 4 (timber-sale expense norm) is filled for the same row (regulation's own para. 17.5).",
      "sourceRef": "Annex D1¹, row 3, column 5. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry3TaxableIncome",
      "label": "Apliekamie ienākumi (3. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 3 of Annex D1¹'s excluded-income table, column 6. aile: taxable income, computed as gross income (column 2) minus whichever expense figure applies for the row — the forest-sale norm (column 3), the timber-sale norm (column 4), or documented expenses (column 5) — per the regulation's own column header, \"2. – 3. vai 4., vai 5. aile\". Not enforced as a crossFieldValidation arithmetic rule, since the vocabulary has no way to express a subtraction against whichever one of three mutually-exclusive alternative fields is populated (see VERIFICATION.md).",
      "sourceRef": "Annex D1¹, row 3, column 6. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry3TaxRate",
      "label": "Nodokļa likme (3. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 3 of Annex D1¹'s excluded-income table, column 7. aile: the personal income tax rate applicable to the income, in the tax year. Per the regulation's own para. 17.7, a taxpayer who is the lender's employee, board member, or council member on the date the loan was issued adds the additional rate under Section 15(11) of the law \"Par iedzīvotāju ienākuma nodokli\" when the row declares an income-equated loan. Modelled as a decimal fraction (0-1), not a 0-100 percentage, for the same reason as this document's existing Annex D2 and Annex D2¹ tax-rate columns: the printed column-8 formula (\"6. x 7. aile\") multiplies this column directly against column 6 with no separate /100 conversion term, so column 7 must already be expressed as a fraction for the arithmetic to balance — disclosed here since the printed form does not state the convention explicitly.",
      "sourceRef": "Annex D1¹, row 3, column 7. aile",
      "validation": {
        "minimum": 0,
        "maximum": 1
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry3TaxAmount",
      "label": "Aprēķinātais nodoklis (3. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 3 of Annex D1¹'s excluded-income table, column 8. aile: the computed tax amount, printed formula \"6. x 7. aile\" — taxable income (column 6) multiplied by the tax rate (column 7, a 0-1 fraction).",
      "sourceRef": "Annex D1¹, row 3, column 8. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry3AdvancePaidOrWithheldTax",
      "label": "Avansā samaksātais (ieturētais) nodoklis (3. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 3 of Annex D1¹'s excluded-income table, column 9. aile: personal income tax paid in advance or withheld for the income declared on this row. Per the regulation's own para. 17.9, this column also includes foreign tax paid, capped at the computed tax amount in column 8 — encoded as a crossFieldValidation rule against this row's own TaxAmount field (see VERIFICATION.md).",
      "sourceRef": "Annex D1¹, row 3, column 9. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry3PayableOrOverpaidTax",
      "label": "Maksājamais vai pārmaksātais nodoklis (3. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 3 of Annex D1¹'s excluded-income table, column 10. aile: the personal income tax payable or overpaid, computed as the computed tax (column 8) minus the advance-paid/withheld tax (column 9). Per the regulation's own para. 17.10, an overpayment is entered with a minus sign prefixed before the number — modelled with no minimum/maximum bound (unlike this table's other numeric columns) so a negative overpayment value can be recorded directly.",
      "sourceRef": "Annex D1¹, row 3, column 10. aile",
      "validation": {}
    },
    {
      "name": "reliefsExcludedIncomeEntry4SourceAndType",
      "label": "Ienākumu gūšanas vieta un veids (4. rinda)",
      "type": "string",
      "required": false,
      "description": "Row 4 of Annex D1¹'s excluded-income table, column 1. aile: the source of the taxation year's taxable income (to which the non-taxable minimum and reliefs do not apply), including the payer's name and registration code, or name and personal code where one is assigned, and the type of income (e.g. standing-forest sale, timber sale, unregistered rental/lease income, an income-equated loan, or non-capital-gains capital income).",
      "sourceRef": "Annex D1¹, row 4, column 1. aile",
      "validation": {}
    },
    {
      "name": "reliefsExcludedIncomeEntry4GrossIncome",
      "label": "Bruto ieņēmumi (4. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 4 of Annex D1¹'s excluded-income table, column 2. aile: the taxable income (to which the non-taxable minimum and reliefs do not apply) earned during the tax year, in monetary terms.",
      "sourceRef": "Annex D1¹, row 4, column 2. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry4ForestSaleExpenseNorm",
      "label": "Izdevumu norma – 25% (augoša meža pārdošana) (4. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 4 of Annex D1¹'s excluded-income table, column 3. aile: filled in only by a taxpayer who earned income from selling standing forest — the expense amount related to forest regeneration, applying a 25% expense norm against gross income (column 2). Mutually exclusive with column 4 (timber-sale expense norm) and column 5 (documented expenses) on the same row: per the regulation's own para. 17.5, column 5 is filled in only if neither column 3 nor column 4 is filled for that row.",
      "sourceRef": "Annex D1¹, row 4, column 3. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry4TimberSaleExpenseNorm",
      "label": "Izdevumu norma – 50% (kokmateriālu pārdošana) (4. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 4 of Annex D1¹'s excluded-income table, column 4. aile: filled in only by a taxpayer who earned income from selling timber — the expense amount related to preparing and selling the timber, applying a 50% expense norm against gross income (column 2). Mutually exclusive with column 3 (forest-sale expense norm) and column 5 (documented expenses) on the same row: per the regulation's own para. 17.5, column 5 is filled in only if neither column 3 nor column 4 is filled for that row.",
      "sourceRef": "Annex D1¹, row 4, column 4. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry4DocumentedExpenses",
      "label": "Izdevumi, kas saistīti ar ienākumu gūšanu (4. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 4 of Annex D1¹'s excluded-income table, column 5. aile: documented expenses related to earning the income, filled in only if neither column 3 (forest-sale expense norm) nor column 4 (timber-sale expense norm) is filled for the same row (regulation's own para. 17.5).",
      "sourceRef": "Annex D1¹, row 4, column 5. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry4TaxableIncome",
      "label": "Apliekamie ienākumi (4. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 4 of Annex D1¹'s excluded-income table, column 6. aile: taxable income, computed as gross income (column 2) minus whichever expense figure applies for the row — the forest-sale norm (column 3), the timber-sale norm (column 4), or documented expenses (column 5) — per the regulation's own column header, \"2. – 3. vai 4., vai 5. aile\". Not enforced as a crossFieldValidation arithmetic rule, since the vocabulary has no way to express a subtraction against whichever one of three mutually-exclusive alternative fields is populated (see VERIFICATION.md).",
      "sourceRef": "Annex D1¹, row 4, column 6. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry4TaxRate",
      "label": "Nodokļa likme (4. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 4 of Annex D1¹'s excluded-income table, column 7. aile: the personal income tax rate applicable to the income, in the tax year. Per the regulation's own para. 17.7, a taxpayer who is the lender's employee, board member, or council member on the date the loan was issued adds the additional rate under Section 15(11) of the law \"Par iedzīvotāju ienākuma nodokli\" when the row declares an income-equated loan. Modelled as a decimal fraction (0-1), not a 0-100 percentage, for the same reason as this document's existing Annex D2 and Annex D2¹ tax-rate columns: the printed column-8 formula (\"6. x 7. aile\") multiplies this column directly against column 6 with no separate /100 conversion term, so column 7 must already be expressed as a fraction for the arithmetic to balance — disclosed here since the printed form does not state the convention explicitly.",
      "sourceRef": "Annex D1¹, row 4, column 7. aile",
      "validation": {
        "minimum": 0,
        "maximum": 1
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry4TaxAmount",
      "label": "Aprēķinātais nodoklis (4. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 4 of Annex D1¹'s excluded-income table, column 8. aile: the computed tax amount, printed formula \"6. x 7. aile\" — taxable income (column 6) multiplied by the tax rate (column 7, a 0-1 fraction).",
      "sourceRef": "Annex D1¹, row 4, column 8. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry4AdvancePaidOrWithheldTax",
      "label": "Avansā samaksātais (ieturētais) nodoklis (4. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 4 of Annex D1¹'s excluded-income table, column 9. aile: personal income tax paid in advance or withheld for the income declared on this row. Per the regulation's own para. 17.9, this column also includes foreign tax paid, capped at the computed tax amount in column 8 — encoded as a crossFieldValidation rule against this row's own TaxAmount field (see VERIFICATION.md).",
      "sourceRef": "Annex D1¹, row 4, column 9. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry4PayableOrOverpaidTax",
      "label": "Maksājamais vai pārmaksātais nodoklis (4. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 4 of Annex D1¹'s excluded-income table, column 10. aile: the personal income tax payable or overpaid, computed as the computed tax (column 8) minus the advance-paid/withheld tax (column 9). Per the regulation's own para. 17.10, an overpayment is entered with a minus sign prefixed before the number — modelled with no minimum/maximum bound (unlike this table's other numeric columns) so a negative overpayment value can be recorded directly.",
      "sourceRef": "Annex D1¹, row 4, column 10. aile",
      "validation": {}
    },
    {
      "name": "reliefsExcludedIncomeEntry5SourceAndType",
      "label": "Ienākumu gūšanas vieta un veids (5. rinda)",
      "type": "string",
      "required": false,
      "description": "Row 5 of Annex D1¹'s excluded-income table, column 1. aile: the source of the taxation year's taxable income (to which the non-taxable minimum and reliefs do not apply), including the payer's name and registration code, or name and personal code where one is assigned, and the type of income (e.g. standing-forest sale, timber sale, unregistered rental/lease income, an income-equated loan, or non-capital-gains capital income).",
      "sourceRef": "Annex D1¹, row 5, column 1. aile",
      "validation": {}
    },
    {
      "name": "reliefsExcludedIncomeEntry5GrossIncome",
      "label": "Bruto ieņēmumi (5. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 5 of Annex D1¹'s excluded-income table, column 2. aile: the taxable income (to which the non-taxable minimum and reliefs do not apply) earned during the tax year, in monetary terms.",
      "sourceRef": "Annex D1¹, row 5, column 2. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry5ForestSaleExpenseNorm",
      "label": "Izdevumu norma – 25% (augoša meža pārdošana) (5. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 5 of Annex D1¹'s excluded-income table, column 3. aile: filled in only by a taxpayer who earned income from selling standing forest — the expense amount related to forest regeneration, applying a 25% expense norm against gross income (column 2). Mutually exclusive with column 4 (timber-sale expense norm) and column 5 (documented expenses) on the same row: per the regulation's own para. 17.5, column 5 is filled in only if neither column 3 nor column 4 is filled for that row.",
      "sourceRef": "Annex D1¹, row 5, column 3. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry5TimberSaleExpenseNorm",
      "label": "Izdevumu norma – 50% (kokmateriālu pārdošana) (5. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 5 of Annex D1¹'s excluded-income table, column 4. aile: filled in only by a taxpayer who earned income from selling timber — the expense amount related to preparing and selling the timber, applying a 50% expense norm against gross income (column 2). Mutually exclusive with column 3 (forest-sale expense norm) and column 5 (documented expenses) on the same row: per the regulation's own para. 17.5, column 5 is filled in only if neither column 3 nor column 4 is filled for that row.",
      "sourceRef": "Annex D1¹, row 5, column 4. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry5DocumentedExpenses",
      "label": "Izdevumi, kas saistīti ar ienākumu gūšanu (5. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 5 of Annex D1¹'s excluded-income table, column 5. aile: documented expenses related to earning the income, filled in only if neither column 3 (forest-sale expense norm) nor column 4 (timber-sale expense norm) is filled for the same row (regulation's own para. 17.5).",
      "sourceRef": "Annex D1¹, row 5, column 5. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry5TaxableIncome",
      "label": "Apliekamie ienākumi (5. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 5 of Annex D1¹'s excluded-income table, column 6. aile: taxable income, computed as gross income (column 2) minus whichever expense figure applies for the row — the forest-sale norm (column 3), the timber-sale norm (column 4), or documented expenses (column 5) — per the regulation's own column header, \"2. – 3. vai 4., vai 5. aile\". Not enforced as a crossFieldValidation arithmetic rule, since the vocabulary has no way to express a subtraction against whichever one of three mutually-exclusive alternative fields is populated (see VERIFICATION.md).",
      "sourceRef": "Annex D1¹, row 5, column 6. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry5TaxRate",
      "label": "Nodokļa likme (5. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 5 of Annex D1¹'s excluded-income table, column 7. aile: the personal income tax rate applicable to the income, in the tax year. Per the regulation's own para. 17.7, a taxpayer who is the lender's employee, board member, or council member on the date the loan was issued adds the additional rate under Section 15(11) of the law \"Par iedzīvotāju ienākuma nodokli\" when the row declares an income-equated loan. Modelled as a decimal fraction (0-1), not a 0-100 percentage, for the same reason as this document's existing Annex D2 and Annex D2¹ tax-rate columns: the printed column-8 formula (\"6. x 7. aile\") multiplies this column directly against column 6 with no separate /100 conversion term, so column 7 must already be expressed as a fraction for the arithmetic to balance — disclosed here since the printed form does not state the convention explicitly.",
      "sourceRef": "Annex D1¹, row 5, column 7. aile",
      "validation": {
        "minimum": 0,
        "maximum": 1
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry5TaxAmount",
      "label": "Aprēķinātais nodoklis (5. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 5 of Annex D1¹'s excluded-income table, column 8. aile: the computed tax amount, printed formula \"6. x 7. aile\" — taxable income (column 6) multiplied by the tax rate (column 7, a 0-1 fraction).",
      "sourceRef": "Annex D1¹, row 5, column 8. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry5AdvancePaidOrWithheldTax",
      "label": "Avansā samaksātais (ieturētais) nodoklis (5. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 5 of Annex D1¹'s excluded-income table, column 9. aile: personal income tax paid in advance or withheld for the income declared on this row. Per the regulation's own para. 17.9, this column also includes foreign tax paid, capped at the computed tax amount in column 8 — encoded as a crossFieldValidation rule against this row's own TaxAmount field (see VERIFICATION.md).",
      "sourceRef": "Annex D1¹, row 5, column 9. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry5PayableOrOverpaidTax",
      "label": "Maksājamais vai pārmaksātais nodoklis (5. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 5 of Annex D1¹'s excluded-income table, column 10. aile: the personal income tax payable or overpaid, computed as the computed tax (column 8) minus the advance-paid/withheld tax (column 9). Per the regulation's own para. 17.10, an overpayment is entered with a minus sign prefixed before the number — modelled with no minimum/maximum bound (unlike this table's other numeric columns) so a negative overpayment value can be recorded directly.",
      "sourceRef": "Annex D1¹, row 5, column 10. aile",
      "validation": {}
    },
    {
      "name": "reliefsExcludedIncomeEntry6SourceAndType",
      "label": "Ienākumu gūšanas vieta un veids (6. rinda)",
      "type": "string",
      "required": false,
      "description": "Row 6 of Annex D1¹'s excluded-income table, column 1. aile: the source of the taxation year's taxable income (to which the non-taxable minimum and reliefs do not apply), including the payer's name and registration code, or name and personal code where one is assigned, and the type of income (e.g. standing-forest sale, timber sale, unregistered rental/lease income, an income-equated loan, or non-capital-gains capital income).",
      "sourceRef": "Annex D1¹, row 6, column 1. aile",
      "validation": {}
    },
    {
      "name": "reliefsExcludedIncomeEntry6GrossIncome",
      "label": "Bruto ieņēmumi (6. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 6 of Annex D1¹'s excluded-income table, column 2. aile: the taxable income (to which the non-taxable minimum and reliefs do not apply) earned during the tax year, in monetary terms.",
      "sourceRef": "Annex D1¹, row 6, column 2. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry6ForestSaleExpenseNorm",
      "label": "Izdevumu norma – 25% (augoša meža pārdošana) (6. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 6 of Annex D1¹'s excluded-income table, column 3. aile: filled in only by a taxpayer who earned income from selling standing forest — the expense amount related to forest regeneration, applying a 25% expense norm against gross income (column 2). Mutually exclusive with column 4 (timber-sale expense norm) and column 5 (documented expenses) on the same row: per the regulation's own para. 17.5, column 5 is filled in only if neither column 3 nor column 4 is filled for that row.",
      "sourceRef": "Annex D1¹, row 6, column 3. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry6TimberSaleExpenseNorm",
      "label": "Izdevumu norma – 50% (kokmateriālu pārdošana) (6. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 6 of Annex D1¹'s excluded-income table, column 4. aile: filled in only by a taxpayer who earned income from selling timber — the expense amount related to preparing and selling the timber, applying a 50% expense norm against gross income (column 2). Mutually exclusive with column 3 (forest-sale expense norm) and column 5 (documented expenses) on the same row: per the regulation's own para. 17.5, column 5 is filled in only if neither column 3 nor column 4 is filled for that row.",
      "sourceRef": "Annex D1¹, row 6, column 4. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry6DocumentedExpenses",
      "label": "Izdevumi, kas saistīti ar ienākumu gūšanu (6. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 6 of Annex D1¹'s excluded-income table, column 5. aile: documented expenses related to earning the income, filled in only if neither column 3 (forest-sale expense norm) nor column 4 (timber-sale expense norm) is filled for the same row (regulation's own para. 17.5).",
      "sourceRef": "Annex D1¹, row 6, column 5. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry6TaxableIncome",
      "label": "Apliekamie ienākumi (6. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 6 of Annex D1¹'s excluded-income table, column 6. aile: taxable income, computed as gross income (column 2) minus whichever expense figure applies for the row — the forest-sale norm (column 3), the timber-sale norm (column 4), or documented expenses (column 5) — per the regulation's own column header, \"2. – 3. vai 4., vai 5. aile\". Not enforced as a crossFieldValidation arithmetic rule, since the vocabulary has no way to express a subtraction against whichever one of three mutually-exclusive alternative fields is populated (see VERIFICATION.md).",
      "sourceRef": "Annex D1¹, row 6, column 6. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry6TaxRate",
      "label": "Nodokļa likme (6. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 6 of Annex D1¹'s excluded-income table, column 7. aile: the personal income tax rate applicable to the income, in the tax year. Per the regulation's own para. 17.7, a taxpayer who is the lender's employee, board member, or council member on the date the loan was issued adds the additional rate under Section 15(11) of the law \"Par iedzīvotāju ienākuma nodokli\" when the row declares an income-equated loan. Modelled as a decimal fraction (0-1), not a 0-100 percentage, for the same reason as this document's existing Annex D2 and Annex D2¹ tax-rate columns: the printed column-8 formula (\"6. x 7. aile\") multiplies this column directly against column 6 with no separate /100 conversion term, so column 7 must already be expressed as a fraction for the arithmetic to balance — disclosed here since the printed form does not state the convention explicitly.",
      "sourceRef": "Annex D1¹, row 6, column 7. aile",
      "validation": {
        "minimum": 0,
        "maximum": 1
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry6TaxAmount",
      "label": "Aprēķinātais nodoklis (6. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 6 of Annex D1¹'s excluded-income table, column 8. aile: the computed tax amount, printed formula \"6. x 7. aile\" — taxable income (column 6) multiplied by the tax rate (column 7, a 0-1 fraction).",
      "sourceRef": "Annex D1¹, row 6, column 8. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry6AdvancePaidOrWithheldTax",
      "label": "Avansā samaksātais (ieturētais) nodoklis (6. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 6 of Annex D1¹'s excluded-income table, column 9. aile: personal income tax paid in advance or withheld for the income declared on this row. Per the regulation's own para. 17.9, this column also includes foreign tax paid, capped at the computed tax amount in column 8 — encoded as a crossFieldValidation rule against this row's own TaxAmount field (see VERIFICATION.md).",
      "sourceRef": "Annex D1¹, row 6, column 9. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry6PayableOrOverpaidTax",
      "label": "Maksājamais vai pārmaksātais nodoklis (6. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 6 of Annex D1¹'s excluded-income table, column 10. aile: the personal income tax payable or overpaid, computed as the computed tax (column 8) minus the advance-paid/withheld tax (column 9). Per the regulation's own para. 17.10, an overpayment is entered with a minus sign prefixed before the number — modelled with no minimum/maximum bound (unlike this table's other numeric columns) so a negative overpayment value can be recorded directly.",
      "sourceRef": "Annex D1¹, row 6, column 10. aile",
      "validation": {}
    },
    {
      "name": "reliefsExcludedIncomeEntry7SourceAndType",
      "label": "Ienākumu gūšanas vieta un veids (7. rinda)",
      "type": "string",
      "required": false,
      "description": "Row 7 of Annex D1¹'s excluded-income table, column 1. aile: the source of the taxation year's taxable income (to which the non-taxable minimum and reliefs do not apply), including the payer's name and registration code, or name and personal code where one is assigned, and the type of income (e.g. standing-forest sale, timber sale, unregistered rental/lease income, an income-equated loan, or non-capital-gains capital income).",
      "sourceRef": "Annex D1¹, row 7, column 1. aile",
      "validation": {}
    },
    {
      "name": "reliefsExcludedIncomeEntry7GrossIncome",
      "label": "Bruto ieņēmumi (7. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 7 of Annex D1¹'s excluded-income table, column 2. aile: the taxable income (to which the non-taxable minimum and reliefs do not apply) earned during the tax year, in monetary terms.",
      "sourceRef": "Annex D1¹, row 7, column 2. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry7ForestSaleExpenseNorm",
      "label": "Izdevumu norma – 25% (augoša meža pārdošana) (7. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 7 of Annex D1¹'s excluded-income table, column 3. aile: filled in only by a taxpayer who earned income from selling standing forest — the expense amount related to forest regeneration, applying a 25% expense norm against gross income (column 2). Mutually exclusive with column 4 (timber-sale expense norm) and column 5 (documented expenses) on the same row: per the regulation's own para. 17.5, column 5 is filled in only if neither column 3 nor column 4 is filled for that row.",
      "sourceRef": "Annex D1¹, row 7, column 3. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry7TimberSaleExpenseNorm",
      "label": "Izdevumu norma – 50% (kokmateriālu pārdošana) (7. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 7 of Annex D1¹'s excluded-income table, column 4. aile: filled in only by a taxpayer who earned income from selling timber — the expense amount related to preparing and selling the timber, applying a 50% expense norm against gross income (column 2). Mutually exclusive with column 3 (forest-sale expense norm) and column 5 (documented expenses) on the same row: per the regulation's own para. 17.5, column 5 is filled in only if neither column 3 nor column 4 is filled for that row.",
      "sourceRef": "Annex D1¹, row 7, column 4. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry7DocumentedExpenses",
      "label": "Izdevumi, kas saistīti ar ienākumu gūšanu (7. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 7 of Annex D1¹'s excluded-income table, column 5. aile: documented expenses related to earning the income, filled in only if neither column 3 (forest-sale expense norm) nor column 4 (timber-sale expense norm) is filled for the same row (regulation's own para. 17.5).",
      "sourceRef": "Annex D1¹, row 7, column 5. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry7TaxableIncome",
      "label": "Apliekamie ienākumi (7. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 7 of Annex D1¹'s excluded-income table, column 6. aile: taxable income, computed as gross income (column 2) minus whichever expense figure applies for the row — the forest-sale norm (column 3), the timber-sale norm (column 4), or documented expenses (column 5) — per the regulation's own column header, \"2. – 3. vai 4., vai 5. aile\". Not enforced as a crossFieldValidation arithmetic rule, since the vocabulary has no way to express a subtraction against whichever one of three mutually-exclusive alternative fields is populated (see VERIFICATION.md).",
      "sourceRef": "Annex D1¹, row 7, column 6. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry7TaxRate",
      "label": "Nodokļa likme (7. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 7 of Annex D1¹'s excluded-income table, column 7. aile: the personal income tax rate applicable to the income, in the tax year. Per the regulation's own para. 17.7, a taxpayer who is the lender's employee, board member, or council member on the date the loan was issued adds the additional rate under Section 15(11) of the law \"Par iedzīvotāju ienākuma nodokli\" when the row declares an income-equated loan. Modelled as a decimal fraction (0-1), not a 0-100 percentage, for the same reason as this document's existing Annex D2 and Annex D2¹ tax-rate columns: the printed column-8 formula (\"6. x 7. aile\") multiplies this column directly against column 6 with no separate /100 conversion term, so column 7 must already be expressed as a fraction for the arithmetic to balance — disclosed here since the printed form does not state the convention explicitly.",
      "sourceRef": "Annex D1¹, row 7, column 7. aile",
      "validation": {
        "minimum": 0,
        "maximum": 1
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry7TaxAmount",
      "label": "Aprēķinātais nodoklis (7. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 7 of Annex D1¹'s excluded-income table, column 8. aile: the computed tax amount, printed formula \"6. x 7. aile\" — taxable income (column 6) multiplied by the tax rate (column 7, a 0-1 fraction).",
      "sourceRef": "Annex D1¹, row 7, column 8. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry7AdvancePaidOrWithheldTax",
      "label": "Avansā samaksātais (ieturētais) nodoklis (7. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 7 of Annex D1¹'s excluded-income table, column 9. aile: personal income tax paid in advance or withheld for the income declared on this row. Per the regulation's own para. 17.9, this column also includes foreign tax paid, capped at the computed tax amount in column 8 — encoded as a crossFieldValidation rule against this row's own TaxAmount field (see VERIFICATION.md).",
      "sourceRef": "Annex D1¹, row 7, column 9. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeEntry7PayableOrOverpaidTax",
      "label": "Maksājamais vai pārmaksātais nodoklis (7. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 7 of Annex D1¹'s excluded-income table, column 10. aile: the personal income tax payable or overpaid, computed as the computed tax (column 8) minus the advance-paid/withheld tax (column 9). Per the regulation's own para. 17.10, an overpayment is entered with a minus sign prefixed before the number — modelled with no minimum/maximum bound (unlike this table's other numeric columns) so a negative overpayment value can be recorded directly.",
      "sourceRef": "Annex D1¹, row 7, column 10. aile",
      "validation": {}
    },
    {
      "name": "reliefsExcludedIncomeTotalGrossIncome",
      "label": "Bruto ieņēmumi (Kopā)",
      "type": "number",
      "required": false,
      "description": "Annex D1¹'s \"Kopā\" (Total) row, column 2. aile: the sum of gross income (column 2) across all rows.",
      "sourceRef": "Annex D1¹, Kopā row, column 2. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeTotalDocumentedExpenses",
      "label": "Izdevumi, kas saistīti ar ienākumu gūšanu (Kopā)",
      "type": "number",
      "required": false,
      "description": "Annex D1¹'s \"Kopā\" (Total) row, column 5. aile: the sum of documented expenses (column 5) across all rows. Unlike columns 3 and 4 (the 25%/50% expense norms, marked \"X\" — not applicable — on the printed Kopā row), column 5 does have its own total box.",
      "sourceRef": "Annex D1¹, Kopā row, column 5. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeTotalTaxableIncome",
      "label": "Apliekamie ienākumi (Kopā)",
      "type": "number",
      "required": false,
      "description": "Annex D1¹'s \"Kopā\" (Total) row, column 6. aile: the sum of taxable income (column 6) across all rows.",
      "sourceRef": "Annex D1¹, Kopā row, column 6. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeTotalTaxAmount",
      "label": "Aprēķinātais nodoklis (Kopā)",
      "type": "number",
      "required": false,
      "description": "Annex D1¹'s \"Kopā\" (Total) row, column 8. aile: the sum of computed tax (column 8) across all rows. Column 7 (tax rate) has no corresponding total box — marked \"X\" (not applicable) on the printed Kopā row, since tax rates are not additive across rows.",
      "sourceRef": "Annex D1¹, Kopā row, column 8. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeTotalAdvancePaidOrWithheldTax",
      "label": "Avansā samaksātais (ieturētais) nodoklis (Kopā)",
      "type": "number",
      "required": false,
      "description": "Annex D1¹'s \"Kopā\" (Total) row, column 9. aile: the sum of advance-paid/withheld tax (column 9) across all rows.",
      "sourceRef": "Annex D1¹, Kopā row, column 9. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "reliefsExcludedIncomeTotalPayableOrOverpaidTax",
      "label": "Maksājamais vai pārmaksātais nodoklis (Kopā)",
      "type": "number",
      "required": false,
      "description": "Annex D1¹'s \"Kopā\" (Total) row, column 10. aile: the sum of payable/overpaid tax (column 10) across all rows. Per para. 17.10, an overpayment is entered with a minus sign prefixed before the number — modelled with no minimum/maximum bound so a negative total can be recorded directly.",
      "sourceRef": "Annex D1¹, Kopā row, column 10. aile",
      "validation": {}
    },
    {
      "name": "deductibleExpenseEntry1DocumentDate",
      "label": "Attaisnojuma dokumenta datums (1. rinda)",
      "type": "date",
      "required": false,
      "description": "Row 1 of Annex D4's deductible-expenses table, column 1. aile: the issue date (day, month, year) of the supporting/payment document for the tax-year expense being claimed (e.g. a receipt, invoice, payment order, or credit-institution account statement).",
      "sourceRef": "Annex D4, row 1, column 1. aile",
      "validation": {}
    },
    {
      "name": "deductibleExpenseEntry1DocumentNumber",
      "label": "Attaisnojuma dokumenta numurs (1. rinda)",
      "type": "string",
      "required": false,
      "description": "Row 1 of Annex D4's deductible-expenses table, column 2. aile: the payment/supporting document's number.",
      "sourceRef": "Annex D4, row 1, column 2. aile",
      "validation": {}
    },
    {
      "name": "deductibleExpenseEntry1ProviderRegistrationNumberOrPersonalCode",
      "label": "Pakalpojuma sniedzēja/ienākuma saņēmēja reģistrācijas numurs vai personas kods (1. rinda)",
      "type": "string",
      "required": false,
      "description": "Row 1 of Annex D4's deductible-expenses table, column 3. aile: the service provider's or income recipient's identifying number — a legal person's taxpayer registration number, or a natural person's personal code, or a medical practitioner's identifier.",
      "sourceRef": "Annex D4, row 1, column 3. aile",
      "validation": {}
    },
    {
      "name": "deductibleExpenseEntry1ProviderName",
      "label": "Pakalpojuma sniedzēja/ienākuma saņēmēja nosaukums vai vārds, uzvārds (1. rinda)",
      "type": "string",
      "required": false,
      "description": "Row 1 of Annex D4's deductible-expenses table, column 4. aile: the legal person's name, or the natural person's given name and surname.",
      "sourceRef": "Annex D4, row 1, column 4. aile",
      "validation": {}
    },
    {
      "name": "deductibleExpenseEntry1EducationExpenses",
      "label": "Attaisnotie izdevumi par izglītību (1. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 1 of Annex D4's deductible-expenses table, column 5. aile: the tax-year education expenses stated in the payment document.",
      "sourceRef": "Annex D4, row 1, column 5. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "deductibleExpenseEntry1MedicalExpenses",
      "label": "Attaisnotie izdevumi par ārstnieciskajiem pakalpojumiem (1. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 1 of Annex D4's deductible-expenses table, column 6. aile: the amount stated in the supporting document for a medical service. Per the regulation's own para. 33.6, if an insurer has reimbursed part of the medical expense to the taxpayer, only the insurer's non-reimbursed portion is entered here.",
      "sourceRef": "Annex D4, row 1, column 6. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "deductibleExpenseEntry1DonationsExpenses",
      "label": "Attaisnotie izdevumi par ziedojumiem un dāvinājumiem (1. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 1 of Annex D4's deductible-expenses table, column 8. aile: the amount stated in the supporting document for donations and gifts, excluding donations and gifts to a political party or an association of political parties (see column 9. aile for that case).",
      "sourceRef": "Annex D4, row 1, column 8. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "deductibleExpenseEntry1PoliticalPartyDonationsExpenses",
      "label": "Attaisnotie izdevumi par ziedojumiem un dāvinājumiem politiskajai partijai (1. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 1 of Annex D4's deductible-expenses table, column 9. aile: the amount stated in the supporting document for donations and gifts to a political party or an association of political parties.",
      "sourceRef": "Annex D4, row 1, column 9. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "deductibleExpenseEntry2DocumentDate",
      "label": "Attaisnojuma dokumenta datums (2. rinda)",
      "type": "date",
      "required": false,
      "description": "Row 2 of Annex D4's deductible-expenses table, column 1. aile: the issue date (day, month, year) of the supporting/payment document for the tax-year expense being claimed (e.g. a receipt, invoice, payment order, or credit-institution account statement).",
      "sourceRef": "Annex D4, row 2, column 1. aile",
      "validation": {}
    },
    {
      "name": "deductibleExpenseEntry2DocumentNumber",
      "label": "Attaisnojuma dokumenta numurs (2. rinda)",
      "type": "string",
      "required": false,
      "description": "Row 2 of Annex D4's deductible-expenses table, column 2. aile: the payment/supporting document's number.",
      "sourceRef": "Annex D4, row 2, column 2. aile",
      "validation": {}
    },
    {
      "name": "deductibleExpenseEntry2ProviderRegistrationNumberOrPersonalCode",
      "label": "Pakalpojuma sniedzēja/ienākuma saņēmēja reģistrācijas numurs vai personas kods (2. rinda)",
      "type": "string",
      "required": false,
      "description": "Row 2 of Annex D4's deductible-expenses table, column 3. aile: the service provider's or income recipient's identifying number — a legal person's taxpayer registration number, or a natural person's personal code, or a medical practitioner's identifier.",
      "sourceRef": "Annex D4, row 2, column 3. aile",
      "validation": {}
    },
    {
      "name": "deductibleExpenseEntry2ProviderName",
      "label": "Pakalpojuma sniedzēja/ienākuma saņēmēja nosaukums vai vārds, uzvārds (2. rinda)",
      "type": "string",
      "required": false,
      "description": "Row 2 of Annex D4's deductible-expenses table, column 4. aile: the legal person's name, or the natural person's given name and surname.",
      "sourceRef": "Annex D4, row 2, column 4. aile",
      "validation": {}
    },
    {
      "name": "deductibleExpenseEntry2EducationExpenses",
      "label": "Attaisnotie izdevumi par izglītību (2. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 2 of Annex D4's deductible-expenses table, column 5. aile: the tax-year education expenses stated in the payment document.",
      "sourceRef": "Annex D4, row 2, column 5. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "deductibleExpenseEntry2MedicalExpenses",
      "label": "Attaisnotie izdevumi par ārstnieciskajiem pakalpojumiem (2. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 2 of Annex D4's deductible-expenses table, column 6. aile: the amount stated in the supporting document for a medical service. Per the regulation's own para. 33.6, if an insurer has reimbursed part of the medical expense to the taxpayer, only the insurer's non-reimbursed portion is entered here.",
      "sourceRef": "Annex D4, row 2, column 6. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "deductibleExpenseEntry2DonationsExpenses",
      "label": "Attaisnotie izdevumi par ziedojumiem un dāvinājumiem (2. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 2 of Annex D4's deductible-expenses table, column 8. aile: the amount stated in the supporting document for donations and gifts, excluding donations and gifts to a political party or an association of political parties (see column 9. aile for that case).",
      "sourceRef": "Annex D4, row 2, column 8. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "deductibleExpenseEntry2PoliticalPartyDonationsExpenses",
      "label": "Attaisnotie izdevumi par ziedojumiem un dāvinājumiem politiskajai partijai (2. rinda)",
      "type": "number",
      "required": false,
      "description": "Row 2 of Annex D4's deductible-expenses table, column 9. aile: the amount stated in the supporting document for donations and gifts to a political party or an association of political parties.",
      "sourceRef": "Annex D4, row 2, column 9. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "deductibleExpenseTotalEducationExpenses",
      "label": "Attaisnotie izdevumi par izglītību (Taksācijas gada kopā)",
      "type": "number",
      "required": false,
      "description": "Annex D4's \"Taksācijas gada attaisnotie izdevumi kopā\" row, column 5. aile: the tax year's total education expenses, summed across all entry rows.",
      "sourceRef": "Annex D4, \"Taksācijas gada attaisnotie izdevumi kopā\" row, column 5. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "deductibleExpenseTotalMedicalExpenses",
      "label": "Attaisnotie izdevumi par ārstnieciskajiem pakalpojumiem (Taksācijas gada kopā)",
      "type": "number",
      "required": false,
      "description": "Annex D4's \"Taksācijas gada attaisnotie izdevumi kopā\" row, column 6. aile: the tax year's total medical-service expenses, summed across all entry rows.",
      "sourceRef": "Annex D4, \"Taksācijas gada attaisnotie izdevumi kopā\" row, column 6. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "deductibleExpenseTotalExpenses",
      "label": "Attaisnotie izdevumi kopā (Taksācijas gada kopā)",
      "type": "number",
      "required": false,
      "description": "Annex D4's \"Taksācijas gada attaisnotie izdevumi kopā\" row, column 7. aile (\"Attaisnotie izdevumi kopā (taksācijas gadā attaisnoto izdevumu 5. + 6. ailes kopsumma; pirmstaksācijas gadā uz nākamajiem taksācijas gadiem attiecināmie izdevumi)\"): per the regulation's own para. 33.9.3, the sum of this row's own column 5 and column 6 totals.",
      "sourceRef": "Annex D4, \"Taksācijas gada attaisnotie izdevumi kopā\" row, column 7. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "deductibleExpenseTotalDonationsExpenses",
      "label": "Attaisnotie izdevumi par ziedojumiem un dāvinājumiem (Taksācijas gada kopā)",
      "type": "number",
      "required": false,
      "description": "Annex D4's \"Taksācijas gada attaisnotie izdevumi kopā\" row, column 8. aile: the tax year's total donations/gifts expenses (excluding political party donations), summed across all entry rows.",
      "sourceRef": "Annex D4, \"Taksācijas gada attaisnotie izdevumi kopā\" row, column 8. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "deductibleExpenseTotalPoliticalPartyDonationsExpenses",
      "label": "Attaisnotie izdevumi par ziedojumiem un dāvinājumiem politiskajai partijai (Taksācijas gada kopā)",
      "type": "number",
      "required": false,
      "description": "Annex D4's \"Taksācijas gada attaisnotie izdevumi kopā\" row, column 9. aile: the tax year's total political-party donations/gifts expenses, summed across all entry rows.",
      "sourceRef": "Annex D4, \"Taksācijas gada attaisnotie izdevumi kopā\" row, column 9. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "deductibleExpenseTotalDonationsCappedAtLimit",
      "label": "Attaisnotie izdevumi kopā, bet ne vairāk par noteiktajiem ierobežojumiem par ziedojumiem un dāvinājumiem, tai skaitā politiskajai partijai (Taksācijas gada kopā)",
      "type": "number",
      "required": false,
      "description": "Annex D4's \"Taksācijas gada attaisnotie izdevumi kopā\" row, column 10. aile: per the regulation's own para. 33.9.6, the sum of this row's own column 8 and column 9 totals, capped at the limit set by Section 10(1.3) of the law \"Par iedzīvotāju ienākuma nodokli\" (a combined 600-euro annual ceiling on donations/gifts, including to a political party, per para. 34.1 — the regulation itself does not restate the euro figure in this annex's own text, only cross-references the law's Section 10(1.3); disclosed here since the amount is not printed on the form).",
      "sourceRef": "Annex D4, \"Taksācijas gada attaisnotie izdevumi kopā\" row, column 10. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "deductibleExpenseTotalEducationMedicalCappedAtLimit",
      "label": "Attaisnotie izdevumi kopā, bet ne vairāk par noteiktajiem ierobežojumiem par izglītību un ārstnieciskajiem pakalpojumiem (Taksācijas gada kopā)",
      "type": "number",
      "required": false,
      "description": "Annex D4's \"Taksācijas gada attaisnotie izdevumi kopā\" row, column 11. aile: per the regulation's own para. 33.9.7, this row's own column 7 total, capped at the limit set by a separate Cabinet Regulation on education/medical deductible-expense norms and by Section 10(1.3) of the law \"Par iedzīvotāju ienākuma nodokli\" (also subject to the 50%-of-taxable-income ceiling described in para. 34.3) — neither limiting regulation's own figure is restated in this annex's text, only cross-referenced; disclosed here since the amounts are not printed on the form.",
      "sourceRef": "Annex D4, \"Taksācijas gada attaisnotie izdevumi kopā\" row, column 11. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "deductibleExpenseTotalCarryForwardToNextYears",
      "label": "Uz nākamajiem taksācijas gadiem attiecināmie attaisnotie izdevumi (Taksācijas gada kopā)",
      "type": "number",
      "required": false,
      "description": "Annex D4's \"Taksācijas gada attaisnotie izdevumi kopā\" row, column 12. aile: per the regulation's own para. 33.9.8, the difference between this row's own column 7 and column 11 totals — the portion of this tax year's education/medical expenses that exceeded the applicable limit and carries forward to a future tax year's declaration.",
      "sourceRef": "Annex D4, \"Taksācijas gada attaisnotie izdevumi kopā\" row, column 12. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "deductibleExpenseCarryForwardEntry1PriorYear",
      "label": "Pirmstaksācijas gads (1. rinda, pārceltie izdevumi)",
      "type": "integer",
      "required": false,
      "description": "Row 1 of Annex D4's \"Attaisnotie izdevumi, kas pārcelti no iepriekšējiem gadiem\" (expenses carried forward from prior years) sub-table, column 1. aile: per the regulation's own para. 35.1, the pre-tax year in which the excess of deductible education/medical expenses over the applicable norm arose.",
      "sourceRef": "Annex D4, prior-years-carried-forward sub-table, row 1, column 1. aile",
      "validation": {
        "minimum": 2000,
        "maximum": 2100
      }
    },
    {
      "name": "deductibleExpenseCarryForwardEntry1TotalExpenses",
      "label": "Attaisnotie izdevumi kopā (1. rinda, pārceltie izdevumi)",
      "type": "number",
      "required": false,
      "description": "Row 1 of Annex D4's prior-years-carried-forward sub-table, column 7. aile: per the regulation's own para. 35.2, when completing a specific tax year's declaration, the amount stated in the prior year's own Annex D4 column 12. aile (\"Uz nākamajiem taksācijas gadiem attiecināmie attaisnotie izdevumi\").",
      "sourceRef": "Annex D4, prior-years-carried-forward sub-table, row 1, column 7. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "deductibleExpenseCarryForwardEntry1EducationMedicalCappedAtLimit",
      "label": "Attaisnotie izdevumi kopā, bet ne vairāk par noteiktajiem ierobežojumiem par izglītību un ārstnieciskajiem pakalpojumiem (1. rinda, pārceltie izdevumi)",
      "type": "number",
      "required": false,
      "description": "Row 1 of Annex D4's prior-years-carried-forward sub-table, column 11. aile: per the regulation's own para. 35.3, filled in only if the tax year's own education/medical/donations expenses did not already exceed the applicable norm — the carried amount (column 7) that, combined with the tax year's own expenses, still does not exceed the norm.",
      "sourceRef": "Annex D4, prior-years-carried-forward sub-table, row 1, column 11. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "deductibleExpenseCarryForwardEntry2PriorYear",
      "label": "Pirmstaksācijas gads (2. rinda, pārceltie izdevumi)",
      "type": "integer",
      "required": false,
      "description": "Row 2 of Annex D4's \"Attaisnotie izdevumi, kas pārcelti no iepriekšējiem gadiem\" (expenses carried forward from prior years) sub-table, column 1. aile: per the regulation's own para. 35.1, the pre-tax year in which the excess of deductible education/medical expenses over the applicable norm arose.",
      "sourceRef": "Annex D4, prior-years-carried-forward sub-table, row 2, column 1. aile",
      "validation": {
        "minimum": 2000,
        "maximum": 2100
      }
    },
    {
      "name": "deductibleExpenseCarryForwardEntry2TotalExpenses",
      "label": "Attaisnotie izdevumi kopā (2. rinda, pārceltie izdevumi)",
      "type": "number",
      "required": false,
      "description": "Row 2 of Annex D4's prior-years-carried-forward sub-table, column 7. aile: per the regulation's own para. 35.2, when completing a specific tax year's declaration, the amount stated in the prior year's own Annex D4 column 12. aile (\"Uz nākamajiem taksācijas gadiem attiecināmie attaisnotie izdevumi\").",
      "sourceRef": "Annex D4, prior-years-carried-forward sub-table, row 2, column 7. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "deductibleExpenseCarryForwardEntry2EducationMedicalCappedAtLimit",
      "label": "Attaisnotie izdevumi kopā, bet ne vairāk par noteiktajiem ierobežojumiem par izglītību un ārstnieciskajiem pakalpojumiem (2. rinda, pārceltie izdevumi)",
      "type": "number",
      "required": false,
      "description": "Row 2 of Annex D4's prior-years-carried-forward sub-table, column 11. aile: per the regulation's own para. 35.3, filled in only if the tax year's own education/medical/donations expenses did not already exceed the applicable norm — the carried amount (column 7) that, combined with the tax year's own expenses, still does not exceed the norm.",
      "sourceRef": "Annex D4, prior-years-carried-forward sub-table, row 2, column 11. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "deductibleExpenseCarryForwardEntry3PriorYear",
      "label": "Pirmstaksācijas gads (3. rinda, pārceltie izdevumi)",
      "type": "integer",
      "required": false,
      "description": "Row 3 of Annex D4's \"Attaisnotie izdevumi, kas pārcelti no iepriekšējiem gadiem\" (expenses carried forward from prior years) sub-table, column 1. aile: per the regulation's own para. 35.1, the pre-tax year in which the excess of deductible education/medical expenses over the applicable norm arose.",
      "sourceRef": "Annex D4, prior-years-carried-forward sub-table, row 3, column 1. aile",
      "validation": {
        "minimum": 2000,
        "maximum": 2100
      }
    },
    {
      "name": "deductibleExpenseCarryForwardEntry3TotalExpenses",
      "label": "Attaisnotie izdevumi kopā (3. rinda, pārceltie izdevumi)",
      "type": "number",
      "required": false,
      "description": "Row 3 of Annex D4's prior-years-carried-forward sub-table, column 7. aile: per the regulation's own para. 35.2, when completing a specific tax year's declaration, the amount stated in the prior year's own Annex D4 column 12. aile (\"Uz nākamajiem taksācijas gadiem attiecināmie attaisnotie izdevumi\").",
      "sourceRef": "Annex D4, prior-years-carried-forward sub-table, row 3, column 7. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "deductibleExpenseCarryForwardEntry3EducationMedicalCappedAtLimit",
      "label": "Attaisnotie izdevumi kopā, bet ne vairāk par noteiktajiem ierobežojumiem par izglītību un ārstnieciskajiem pakalpojumiem (3. rinda, pārceltie izdevumi)",
      "type": "number",
      "required": false,
      "description": "Row 3 of Annex D4's prior-years-carried-forward sub-table, column 11. aile: per the regulation's own para. 35.3, filled in only if the tax year's own education/medical/donations expenses did not already exceed the applicable norm — the carried amount (column 7) that, combined with the tax year's own expenses, still does not exceed the norm.",
      "sourceRef": "Annex D4, prior-years-carried-forward sub-table, row 3, column 11. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "deductibleExpenseGrandTotalDonationsCappedAtLimit",
      "label": "Attaisnotie izdevumi kopā, bet ne vairāk par noteiktajiem ierobežojumiem par ziedojumiem un dāvinājumiem, tai skaitā politiskajai partijai (Kopā)",
      "type": "number",
      "required": false,
      "description": "Annex D4's \"Kopā\" (grand total) row, column 10. aile: per the regulation's own para. 36, the donations/gifts limit does not carry forward across tax years, so this equals the \"Taksācijas gada attaisnotie izdevumi kopā\" row's own column 10 total (the prior-years-carried-forward sub-table has no column 10 entry).",
      "sourceRef": "Annex D4, \"Kopā\" row, column 10. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "deductibleExpenseGrandTotalEducationMedicalCappedAtLimit",
      "label": "Attaisnotie izdevumi kopā, bet ne vairāk par noteiktajiem ierobežojumiem par izglītību un ārstnieciskajiem pakalpojumiem (Kopā)",
      "type": "number",
      "required": false,
      "description": "Annex D4's \"Kopā\" (grand total) row, column 11. aile: per the regulation's own para. 36, the sum of the \"Taksācijas gada attaisnotie izdevumi kopā\" row's own column 11 total and the prior-years-carried-forward sub-table's column 11 total (summed across its own rows). Feeds Declaration D's own row 8, \"Attaisnotie izdevumi – par izglītību, ārstnieciskajiem pakalpojumiem, ziedojumiem un dāvinājumiem\" (field educationHealthDonationsDeduction, already modelled at v1.0.0), together with this annex's own column-10 grand total.",
      "sourceRef": "Annex D4, \"Kopā\" row, column 11. aile",
      "validation": {
        "minimum": 0
      }
    },
    {
      "name": "deductibleExpenseFamilyMemberFullName",
      "label": "Nodokļa maksātāja ģimenes locekļa dati — Vārds, uzvārds",
      "type": "string",
      "required": false,
      "description": "Annex D4's \"Nodokļa maksātāja ģimenes locekļa dati\" (taxpayer's family member data) section: the family member's given name and surname. Per the regulation's own para. 37, this section is filled in only if the taxpayer is declaring a family member's own education/medical deductible expenses to reduce the taxpayer's taxable income — para. 32's own second sentence requires a separate Annex D4 to be filed per family member, and para. 32's third sentence restricts a family member's included expenses to education and medical services only (not donations/gifts).",
      "sourceRef": "Annex D4, \"Nodokļa maksātāja ģimenes locekļa dati\" section, \"Vārds, uzvārds\"",
      "validation": {}
    },
    {
      "name": "deductibleExpenseFamilyMemberPersonalCode",
      "label": "Nodokļa maksātāja ģimenes locekļa dati — Personas kods",
      "type": "string",
      "required": false,
      "classification": "sensitive-pii",
      "description": "Annex D4's \"Nodokļa maksātāja ģimenes locekļa dati\" section: the family member's Latvian personal code, printed with the same 6-digit/dash/5-digit box layout as this document's own applicantPersonalCode field. Filled in only under the same condition as deductibleExpenseFamilyMemberFullName.",
      "sourceRef": "Annex D4, \"Nodokļa maksātāja ģimenes locekļa dati\" section, \"Personas kods\"",
      "validation": {
        "pattern": "^[0-9]{6}-[0-9]{5}$"
      }
    },
    {
      "name": "deductibleExpenseFamilyMemberRelationshipDegree",
      "label": "Nodokļa maksātāja ģimenes locekļa dati — Radniecības pakāpe",
      "type": "string",
      "required": false,
      "description": "Annex D4's \"Nodokļa maksātāja ģimenes locekļa dati\" section: the family member's degree of kinship to the taxpayer (e.g. child, spouse, parent). Filled in only under the same condition as deductibleExpenseFamilyMemberFullName.",
      "sourceRef": "Annex D4, \"Nodokļa maksātāja ģimenes locekļa dati\" section, \"Radniecības pakāpe\"",
      "validation": {}
    }
  ],
  "documents": [
    {
      "id": "completenessAttestation",
      "label": "Attestation that the declared information is complete and true",
      "category": "attestation",
      "required": true,
      "belongsTo": "applicant",
      "statement": "Apliecinu, ka deklarācijā norādītās ziņas ir pilnīgas un patiesas.",
      "sourceRef": "Form D, filing section, closing attestation line"
    }
  ],
  "crossFieldValidation": [
    {
      "id": "reliefsExcludedIncomeEntry1ForestNormExcludesOthers",
      "when": {
        "field": "reliefsExcludedIncomeEntry1ForestSaleExpenseNorm",
        "greaterThan": 0
      },
      "requireAbsent": [
        "reliefsExcludedIncomeEntry1TimberSaleExpenseNorm",
        "reliefsExcludedIncomeEntry1DocumentedExpenses"
      ]
    },
    {
      "id": "reliefsExcludedIncomeEntry1TimberNormExcludesOthers",
      "when": {
        "field": "reliefsExcludedIncomeEntry1TimberSaleExpenseNorm",
        "greaterThan": 0
      },
      "requireAbsent": [
        "reliefsExcludedIncomeEntry1ForestSaleExpenseNorm",
        "reliefsExcludedIncomeEntry1DocumentedExpenses"
      ]
    },
    {
      "id": "reliefsExcludedIncomeEntry1DocumentedExpensesExcludesNorms",
      "when": {
        "field": "reliefsExcludedIncomeEntry1DocumentedExpenses",
        "greaterThan": 0
      },
      "requireAbsent": [
        "reliefsExcludedIncomeEntry1ForestSaleExpenseNorm",
        "reliefsExcludedIncomeEntry1TimberSaleExpenseNorm"
      ]
    },
    {
      "id": "reliefsExcludedIncomeEntry1AdvanceTaxWithinComputedTax",
      "compare": {
        "field": "reliefsExcludedIncomeEntry1AdvancePaidOrWithheldTax",
        "operator": "lessThanOrEqual",
        "compareTo": "reliefsExcludedIncomeEntry1TaxAmount"
      }
    },
    {
      "id": "reliefsExcludedIncomeEntry2ForestNormExcludesOthers",
      "when": {
        "field": "reliefsExcludedIncomeEntry2ForestSaleExpenseNorm",
        "greaterThan": 0
      },
      "requireAbsent": [
        "reliefsExcludedIncomeEntry2TimberSaleExpenseNorm",
        "reliefsExcludedIncomeEntry2DocumentedExpenses"
      ]
    },
    {
      "id": "reliefsExcludedIncomeEntry2TimberNormExcludesOthers",
      "when": {
        "field": "reliefsExcludedIncomeEntry2TimberSaleExpenseNorm",
        "greaterThan": 0
      },
      "requireAbsent": [
        "reliefsExcludedIncomeEntry2ForestSaleExpenseNorm",
        "reliefsExcludedIncomeEntry2DocumentedExpenses"
      ]
    },
    {
      "id": "reliefsExcludedIncomeEntry2DocumentedExpensesExcludesNorms",
      "when": {
        "field": "reliefsExcludedIncomeEntry2DocumentedExpenses",
        "greaterThan": 0
      },
      "requireAbsent": [
        "reliefsExcludedIncomeEntry2ForestSaleExpenseNorm",
        "reliefsExcludedIncomeEntry2TimberSaleExpenseNorm"
      ]
    },
    {
      "id": "reliefsExcludedIncomeEntry2AdvanceTaxWithinComputedTax",
      "compare": {
        "field": "reliefsExcludedIncomeEntry2AdvancePaidOrWithheldTax",
        "operator": "lessThanOrEqual",
        "compareTo": "reliefsExcludedIncomeEntry2TaxAmount"
      }
    },
    {
      "id": "reliefsExcludedIncomeEntry3ForestNormExcludesOthers",
      "when": {
        "field": "reliefsExcludedIncomeEntry3ForestSaleExpenseNorm",
        "greaterThan": 0
      },
      "requireAbsent": [
        "reliefsExcludedIncomeEntry3TimberSaleExpenseNorm",
        "reliefsExcludedIncomeEntry3DocumentedExpenses"
      ]
    },
    {
      "id": "reliefsExcludedIncomeEntry3TimberNormExcludesOthers",
      "when": {
        "field": "reliefsExcludedIncomeEntry3TimberSaleExpenseNorm",
        "greaterThan": 0
      },
      "requireAbsent": [
        "reliefsExcludedIncomeEntry3ForestSaleExpenseNorm",
        "reliefsExcludedIncomeEntry3DocumentedExpenses"
      ]
    },
    {
      "id": "reliefsExcludedIncomeEntry3DocumentedExpensesExcludesNorms",
      "when": {
        "field": "reliefsExcludedIncomeEntry3DocumentedExpenses",
        "greaterThan": 0
      },
      "requireAbsent": [
        "reliefsExcludedIncomeEntry3ForestSaleExpenseNorm",
        "reliefsExcludedIncomeEntry3TimberSaleExpenseNorm"
      ]
    },
    {
      "id": "reliefsExcludedIncomeEntry3AdvanceTaxWithinComputedTax",
      "compare": {
        "field": "reliefsExcludedIncomeEntry3AdvancePaidOrWithheldTax",
        "operator": "lessThanOrEqual",
        "compareTo": "reliefsExcludedIncomeEntry3TaxAmount"
      }
    },
    {
      "id": "reliefsExcludedIncomeEntry4ForestNormExcludesOthers",
      "when": {
        "field": "reliefsExcludedIncomeEntry4ForestSaleExpenseNorm",
        "greaterThan": 0
      },
      "requireAbsent": [
        "reliefsExcludedIncomeEntry4TimberSaleExpenseNorm",
        "reliefsExcludedIncomeEntry4DocumentedExpenses"
      ]
    },
    {
      "id": "reliefsExcludedIncomeEntry4TimberNormExcludesOthers",
      "when": {
        "field": "reliefsExcludedIncomeEntry4TimberSaleExpenseNorm",
        "greaterThan": 0
      },
      "requireAbsent": [
        "reliefsExcludedIncomeEntry4ForestSaleExpenseNorm",
        "reliefsExcludedIncomeEntry4DocumentedExpenses"
      ]
    },
    {
      "id": "reliefsExcludedIncomeEntry4DocumentedExpensesExcludesNorms",
      "when": {
        "field": "reliefsExcludedIncomeEntry4DocumentedExpenses",
        "greaterThan": 0
      },
      "requireAbsent": [
        "reliefsExcludedIncomeEntry4ForestSaleExpenseNorm",
        "reliefsExcludedIncomeEntry4TimberSaleExpenseNorm"
      ]
    },
    {
      "id": "reliefsExcludedIncomeEntry4AdvanceTaxWithinComputedTax",
      "compare": {
        "field": "reliefsExcludedIncomeEntry4AdvancePaidOrWithheldTax",
        "operator": "lessThanOrEqual",
        "compareTo": "reliefsExcludedIncomeEntry4TaxAmount"
      }
    },
    {
      "id": "reliefsExcludedIncomeEntry5ForestNormExcludesOthers",
      "when": {
        "field": "reliefsExcludedIncomeEntry5ForestSaleExpenseNorm",
        "greaterThan": 0
      },
      "requireAbsent": [
        "reliefsExcludedIncomeEntry5TimberSaleExpenseNorm",
        "reliefsExcludedIncomeEntry5DocumentedExpenses"
      ]
    },
    {
      "id": "reliefsExcludedIncomeEntry5TimberNormExcludesOthers",
      "when": {
        "field": "reliefsExcludedIncomeEntry5TimberSaleExpenseNorm",
        "greaterThan": 0
      },
      "requireAbsent": [
        "reliefsExcludedIncomeEntry5ForestSaleExpenseNorm",
        "reliefsExcludedIncomeEntry5DocumentedExpenses"
      ]
    },
    {
      "id": "reliefsExcludedIncomeEntry5DocumentedExpensesExcludesNorms",
      "when": {
        "field": "reliefsExcludedIncomeEntry5DocumentedExpenses",
        "greaterThan": 0
      },
      "requireAbsent": [
        "reliefsExcludedIncomeEntry5ForestSaleExpenseNorm",
        "reliefsExcludedIncomeEntry5TimberSaleExpenseNorm"
      ]
    },
    {
      "id": "reliefsExcludedIncomeEntry5AdvanceTaxWithinComputedTax",
      "compare": {
        "field": "reliefsExcludedIncomeEntry5AdvancePaidOrWithheldTax",
        "operator": "lessThanOrEqual",
        "compareTo": "reliefsExcludedIncomeEntry5TaxAmount"
      }
    },
    {
      "id": "reliefsExcludedIncomeEntry6ForestNormExcludesOthers",
      "when": {
        "field": "reliefsExcludedIncomeEntry6ForestSaleExpenseNorm",
        "greaterThan": 0
      },
      "requireAbsent": [
        "reliefsExcludedIncomeEntry6TimberSaleExpenseNorm",
        "reliefsExcludedIncomeEntry6DocumentedExpenses"
      ]
    },
    {
      "id": "reliefsExcludedIncomeEntry6TimberNormExcludesOthers",
      "when": {
        "field": "reliefsExcludedIncomeEntry6TimberSaleExpenseNorm",
        "greaterThan": 0
      },
      "requireAbsent": [
        "reliefsExcludedIncomeEntry6ForestSaleExpenseNorm",
        "reliefsExcludedIncomeEntry6DocumentedExpenses"
      ]
    },
    {
      "id": "reliefsExcludedIncomeEntry6DocumentedExpensesExcludesNorms",
      "when": {
        "field": "reliefsExcludedIncomeEntry6DocumentedExpenses",
        "greaterThan": 0
      },
      "requireAbsent": [
        "reliefsExcludedIncomeEntry6ForestSaleExpenseNorm",
        "reliefsExcludedIncomeEntry6TimberSaleExpenseNorm"
      ]
    },
    {
      "id": "reliefsExcludedIncomeEntry6AdvanceTaxWithinComputedTax",
      "compare": {
        "field": "reliefsExcludedIncomeEntry6AdvancePaidOrWithheldTax",
        "operator": "lessThanOrEqual",
        "compareTo": "reliefsExcludedIncomeEntry6TaxAmount"
      }
    },
    {
      "id": "reliefsExcludedIncomeEntry7ForestNormExcludesOthers",
      "when": {
        "field": "reliefsExcludedIncomeEntry7ForestSaleExpenseNorm",
        "greaterThan": 0
      },
      "requireAbsent": [
        "reliefsExcludedIncomeEntry7TimberSaleExpenseNorm",
        "reliefsExcludedIncomeEntry7DocumentedExpenses"
      ]
    },
    {
      "id": "reliefsExcludedIncomeEntry7TimberNormExcludesOthers",
      "when": {
        "field": "reliefsExcludedIncomeEntry7TimberSaleExpenseNorm",
        "greaterThan": 0
      },
      "requireAbsent": [
        "reliefsExcludedIncomeEntry7ForestSaleExpenseNorm",
        "reliefsExcludedIncomeEntry7DocumentedExpenses"
      ]
    },
    {
      "id": "reliefsExcludedIncomeEntry7DocumentedExpensesExcludesNorms",
      "when": {
        "field": "reliefsExcludedIncomeEntry7DocumentedExpenses",
        "greaterThan": 0
      },
      "requireAbsent": [
        "reliefsExcludedIncomeEntry7ForestSaleExpenseNorm",
        "reliefsExcludedIncomeEntry7TimberSaleExpenseNorm"
      ]
    },
    {
      "id": "reliefsExcludedIncomeEntry7AdvanceTaxWithinComputedTax",
      "compare": {
        "field": "reliefsExcludedIncomeEntry7AdvancePaidOrWithheldTax",
        "operator": "lessThanOrEqual",
        "compareTo": "reliefsExcludedIncomeEntry7TaxAmount"
      }
    },
    {
      "id": "deductibleExpenseTotalEducationMedicalCappedWithinTotalExpenses",
      "compare": {
        "field": "deductibleExpenseTotalEducationMedicalCappedAtLimit",
        "operator": "lessThanOrEqual",
        "compareTo": "deductibleExpenseTotalExpenses"
      }
    },
    {
      "id": "deductibleExpenseTotalCarryForwardWithinTotalExpenses",
      "compare": {
        "field": "deductibleExpenseTotalCarryForwardToNextYears",
        "operator": "lessThanOrEqual",
        "compareTo": "deductibleExpenseTotalExpenses"
      }
    },
    {
      "id": "deductibleExpenseCarryForwardEntry1CappedWithinTotalExpenses",
      "compare": {
        "field": "deductibleExpenseCarryForwardEntry1EducationMedicalCappedAtLimit",
        "operator": "lessThanOrEqual",
        "compareTo": "deductibleExpenseCarryForwardEntry1TotalExpenses"
      }
    },
    {
      "id": "deductibleExpenseCarryForwardEntry2CappedWithinTotalExpenses",
      "compare": {
        "field": "deductibleExpenseCarryForwardEntry2EducationMedicalCappedAtLimit",
        "operator": "lessThanOrEqual",
        "compareTo": "deductibleExpenseCarryForwardEntry2TotalExpenses"
      }
    },
    {
      "id": "deductibleExpenseCarryForwardEntry3CappedWithinTotalExpenses",
      "compare": {
        "field": "deductibleExpenseCarryForwardEntry3EducationMedicalCappedAtLimit",
        "operator": "lessThanOrEqual",
        "compareTo": "deductibleExpenseCarryForwardEntry3TotalExpenses"
      }
    }
  ]
}