{
  "schemaVersion": 1,
  "datasetId": "federal-roth-transaction-treatment",
  "datasetVersion": "2026.v1",
  "contractVersion": "federal-roth-transaction-treatment.v1",
  "publishedAt": "2026-09-05T03:10:53Z",
  "effectiveTaxYears": [
    2026
  ],
  "publisher": {
    "canonicalPublicEvidencePublisher": "TheTrustedAdvisor.com",
    "role": "The canonical public and editorial tax-evidence publisher for AdvisorWorld tax lookup tools under the active owner-approved portfolio handoff."
  },
  "scope": {
    "jurisdiction": "US-federal",
    "purpose": "Classify four Roth transaction types, federal gross-income treatment, Form 1099-R reporting, and transfer or rollover treatment.",
    "doesNotCalculate": [
      "federal tax liability",
      "state tax",
      "penalties",
      "Roth IRA contribution, conversion, and earnings ordering"
    ],
    "disclaimer": "Federal information only; this is not tax advice and does not calculate state tax or final tax liability."
  },
  "auditedImplementation": {
    "repository": "aw-dev-0/AW-main",
    "mergeCommit": "35d67b00e8e498925d0985e00892b64f6de4c98c",
    "sourcePath": "backend/src/services/rothConversionService.ts",
    "sourceFileSha256": "913f6ad14ee19133cbc75008509ad974455f6f7b6e71d45760014b01f3ae0ec8",
    "testPath": "backend/tests/services/rothTransactionTreatment.test.ts",
    "testFileSha256": "de8cec594b7c42b2f258898d66a60cbe6084e3f184644776665d30e8200b5c6b",
    "auditedHead": "e6370c90a7e915a107426ab6044dd9f05965ef71",
    "auditLedgerUrl": "https://github.com/aw-dev-0/AW-main/blob/52ef0fcf5cd58c7712c3bb2ecfa069c48f0b80a5/audits/pr-5743/e6370c90a7e915a107426ab6044dd9f05965ef71.md"
  },
  "sourceReceipts": [
    {
      "id": "irs-1099r-instructions-2026",
      "url": "https://www.irs.gov/instructions/i1099r",
      "supports": [
        "Form 1099-R reporting",
        "distribution codes",
        "direct rollovers",
        "IRA conversions"
      ]
    },
    {
      "id": "irs-form-8606-instructions",
      "url": "https://www.irs.gov/instructions/i8606",
      "supports": [
        "traditional IRA to Roth conversion return reporting",
        "Form 8606 Part II"
      ]
    },
    {
      "id": "irs-publication-590a-2025",
      "url": "https://www.irs.gov/publications/p590a",
      "supports": [
        "trustee-to-trustee transfers",
        "traditional IRA to Roth conversions"
      ]
    },
    {
      "id": "irs-publication-590b-2025",
      "url": "https://www.irs.gov/publications/p590b",
      "supports": [
        "Roth IRA qualified distributions",
        "five-tax-year period",
        "distribution ordering"
      ]
    },
    {
      "id": "irs-form-1040-instructions-2025",
      "url": "https://www.irs.gov/instructions/i1040gi",
      "supports": [
        "Form 1040 reporting of direct workplace-plan rollovers"
      ]
    }
  ],
  "decisionRules": {
    "fiveTaxYearPeriodYears": 5,
    "ageThreshold": {
      "years": 59,
      "months": 6,
      "calculationAssumption": "For deterministic date arithmetic only, clamp a missing target day to the final day of the target month; this implementation assumption is not an IRS tax rule."
    },
    "earliestRothIraContributionYear": 1998,
    "qualifiedFirstHomeLifetimeLimitDollars": 10000,
    "reportingCodeRules": [
      {
        "code": "H",
        "appliesWhen": "A designated Roth workplace account is directly rolled over to a Roth IRA.",
        "taxabilitySeparation": "The tax-free direct rollover remains reportable on Form 1099-R.",
        "evidenceIds": [
          "i1099r-code-h",
          "i1099r-designated-roth-rollover"
        ]
      },
      {
        "code": "Q",
        "appliesWhen": "The Roth IRA five-tax-year period and an age-59-and-a-half, disability, or death event are satisfied and the payer knows the five-year requirement is satisfied.",
        "taxabilitySeparation": "A qualified, non-includible Roth IRA distribution remains reportable on Form 1099-R.",
        "evidenceIds": [
          "i1099r-code-q",
          "p590b-qualified-not-includible"
        ]
      },
      {
        "code": "T",
        "appliesWhen": "An age-59-and-a-half, disability, or death exception applies and the payer explicitly lacks knowledge that the five-year requirement is satisfied.",
        "taxabilitySeparation": "Payer code T does not by itself decide the taxpayer's final gross-income inclusion.",
        "evidenceIds": [
          "i1099r-code-t",
          "i1099r-roth-distribution-reporting"
        ]
      },
      {
        "code": "J",
        "appliesWhen": "The qualified-first-home event is the sole qualifying event, or an early Roth IRA distribution has no independently established age, disability, or death exception.",
        "taxabilitySeparation": "Payer code J does not mean the entire distribution is taxable; ordering and basis facts remain required for a nonqualified distribution.",
        "evidenceIds": [
          "i1099r-code-j",
          "p590b-nonqualified-ordering"
        ]
      }
    ],
    "evidenceIds": {
      "fiveTaxYearPeriodYears": [
        "p590b-qualified-five-year"
      ],
      "ageThreshold": [
        "p590b-qualified-age"
      ],
      "earliestRothIraContributionYear": [
        "i8606-roth-contribution-1998"
      ],
      "qualifiedFirstHomeLifetimeLimitDollars": [
        "p590b-first-home-cap"
      ]
    }
  },
  "transactionTypes": [
    {
      "id": "roth_ira_trustee_transfer_to_roth_ira",
      "label": "Roth IRA trustee-to-trustee transfer",
      "kind": "fixed",
      "summary": "A genuine direct trustee-to-trustee transfer between Roth IRAs is not a distribution or rollover contribution.",
      "sourceReceiptIds": [
        "irs-1099r-instructions-2026",
        "irs-publication-590a-2025"
      ],
      "fixedTreatment": {
        "qualificationStatus": "not_applicable",
        "federalTaxabilityStatus": "not_includible",
        "form1099RStatus": "not_expected",
        "form1099RDistributionCode": null,
        "form1099RDistributionCodeStatus": "not_applicable",
        "taxableAmountTreatment": "not_reported",
        "federalReturnStatus": "generally_not_reported",
        "federalReturnForms": [],
        "transferOrRolloverStatus": "tax_free_transfer"
      },
      "decisionFacts": [],
      "invariants": [
        "FORM_1099_R_NOT_EXPECTED",
        "TRUSTEE_TRANSFER_NOT_IN_GROSS_INCOME"
      ],
      "evidenceIds": [
        "i1099r-trustee-transfer-not-reported",
        "p590a-trustee-transfer-tax-free"
      ]
    },
    {
      "id": "designated_roth_plan_direct_rollover_to_roth_ira",
      "label": "Designated Roth plan direct rollover to Roth IRA",
      "kind": "fixed",
      "summary": "The direct rollover is not currently includible in gross income but remains a Form 1099-R reporting event with code H.",
      "sourceReceiptIds": [
        "irs-1099r-instructions-2026",
        "irs-form-1040-instructions-2025"
      ],
      "fixedTreatment": {
        "qualificationStatus": "not_applicable",
        "federalTaxabilityStatus": "not_includible",
        "form1099RStatus": "expected",
        "form1099RDistributionCode": "H",
        "form1099RDistributionCodeStatus": "determined",
        "taxableAmountTreatment": "zero",
        "federalReturnStatus": "reportable",
        "federalReturnForms": [
          "Form 1040"
        ],
        "transferOrRolloverStatus": "tax_free_direct_rollover"
      },
      "decisionFacts": [],
      "invariants": [
        "TAX_FREE_BUT_REPORTABLE",
        "FORM_1099_R_CODE_H"
      ],
      "evidenceIds": [
        "i1099r-designated-roth-rollover",
        "i1099r-code-h",
        "i1040-direct-rollover-reporting"
      ]
    },
    {
      "id": "traditional_ira_to_roth_conversion",
      "label": "Traditional IRA to Roth conversion",
      "kind": "conditional",
      "summary": "The conversion is reportable and enters gross income only to the extent the converted amount has not already been taxed.",
      "sourceReceiptIds": [
        "irs-1099r-instructions-2026",
        "irs-form-8606-instructions",
        "irs-publication-590a-2025"
      ],
      "fixedTreatment": null,
      "decisionFacts": [
        "birthDate",
        "distributionDate",
        "aggregateTraditionalIraBasisAndYearEndValue",
        "filingAndIncomeFactsForExactTaxLiability"
      ],
      "invariants": [
        "ROTH_CONVERSION_REPORTABLE",
        "CONVERSION_TAXABLE_TO_EXTENT_UNTAXED",
        "DISTRIBUTION_CODE_2_BEFORE_AGE_59_AND_HALF",
        "DISTRIBUTION_CODE_7_AT_OR_AFTER_AGE_59_AND_HALF",
        "FORM_8606_PART_II"
      ],
      "evidenceIds": [
        "i1099r-conversion-reporting",
        "p590a-conversion-income",
        "i8606-conversion-part-ii"
      ]
    },
    {
      "id": "roth_ira_distribution",
      "label": "Roth IRA distribution",
      "kind": "conditional",
      "summary": "Qualification, gross-income inclusion, and payer reporting are separate conclusions; missing facts fail closed.",
      "sourceReceiptIds": [
        "irs-1099r-instructions-2026",
        "irs-publication-590b-2025"
      ],
      "fixedTreatment": null,
      "decisionFacts": [
        "firstRothIraContributionYear",
        "birthDate",
        "distributionDate",
        "qualificationEvent",
        "payerKnowsFiveYearSatisfied",
        "qualifiedFirstHomeAmount",
        "distributionGrossAmount",
        "priorQualifiedFirstHomeDistributions",
        "RothIraContributionConversionAndEarningsBasis"
      ],
      "invariants": [
        "FIVE_TAX_YEAR_PERIOD_REQUIRED",
        "AGE_59_AND_HALF_DISABILITY_DEATH_OR_QUALIFIED_FIRST_HOME_EVENT_REQUIRED",
        "QUALIFIED_FIRST_HOME_LIFETIME_LIMIT_10000",
        "QUALIFIED_DISTRIBUTION_NOT_INCLUDIBLE_BUT_FORM_1099_R_EXPECTED",
        "PAYER_KNOWLEDGE_DISTINGUISHES_CODE_Q_FROM_CODE_T",
        "FIRST_HOME_SOLE_QUALIFYING_EVENT_USES_PAYER_CODE_J",
        "NONQUALIFIED_DISTRIBUTION_REQUIRES_ORDERING_AND_BASIS_FACTS"
      ],
      "evidenceIds": [
        "p590b-qualified-five-year",
        "p590b-qualified-age",
        "p590b-first-home-cap",
        "p590b-qualified-not-includible",
        "i1099r-roth-distribution-reporting",
        "p590b-nonqualified-ordering"
      ]
    }
  ]
}
