Skip to content
HALOWERK

Finopswerk

nol legacy modern deduction ledger

Reconstructs an NOL carryforward deduction bridge for a US standalone ordinary C corporation over three tax periods with nonnegative income. The legacy pre-2018 carry offsets the taxable base first, without the 80% haircut; the post-2017 modern carry then deducts min(remaining modern, 80% of the rest base after legacy). Returns 24 exact scalars: per period the deductions, taxable income after NOL and closing carries. No tax rate, payment or DTA estimate.

POST https://finops.halowerk.com/v1/nol-legacy-modern-deduction-ledger

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
legacy_carry_nintegerYes
modern_carry_nintegerYes
taxable_income_narrayYes
capture_indexintegerYes
captured_income_domain_narrayYes
amount_denominatorintegerYes
reportobjectYes
Show full input schema
{
  "type": "object",
  "properties": {
    "legacy_carry_n": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1000000
    },
    "modern_carry_n": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1000000
    },
    "taxable_income_n": {
      "type": "array",
      "minItems": 3,
      "maxItems": 3,
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 1000000
      }
    },
    "capture_index": {
      "type": "integer",
      "minimum": 0,
      "maximum": 2
    },
    "captured_income_domain_n": {
      "type": "array",
      "minItems": 1,
      "maxItems": 2,
      "uniqueItems": true,
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 1000000
      }
    },
    "amount_denominator": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1000
    },
    "report": {
      "type": "object",
      "minProperties": 24,
      "maxProperties": 24,
      "propertyNames": {
        "enum": [
          "legacy_deduction_0",
          "legacy_deduction_1",
          "legacy_deduction_2",
          "modern_limit_0",
          "modern_limit_1",
          "modern_limit_2",
          "modern_deduction_0",
          "modern_deduction_1",
          "modern_deduction_2",
          "total_deduction_0",
          "total_deduction_1",
          "total_deduction_2",
          "taxable_after_nol_0",
          "taxable_after_nol_1",
          "taxable_after_nol_2",
          "closing_legacy_carry_0",
          "closing_legacy_carry_1",
          "closing_legacy_carry_2",
          "closing_modern_carry_0",
          "closing_modern_carry_1",
          "closing_modern_carry_2",
          "carry_bridge_gap_0",
          "carry_bridge_gap_1",
          "carry_bridge_gap_2"
        ]
      },
      "additionalProperties": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "n",
          "d"
        ],
        "properties": {
          "n": {
            "type": [
              "string",
              "null"
            ],
            "minLength": 1,
            "maxLength": 64
          },
          "d": {
            "type": [
              "string",
              "null"
            ],
            "minLength": 1,
            "maxLength": 64
          }
        }
      }
    }
  },
  "required": [
    "legacy_carry_n",
    "modern_carry_n",
    "taxable_income_n",
    "capture_index",
    "captured_income_domain_n",
    "amount_denominator",
    "report"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "legacy_carry_n": 3,
  "modern_carry_n": 11,
  "taxable_income_n": [
    7,
    8,
    9
  ],
  "capture_index": 1,
  "captured_income_domain_n": [
    8
  ],
  "amount_denominator": 3,
  "report": {
    "legacy_deduction_0": {
      "n": "1",
      "d": "1"
    },
    "legacy_deduction_1": {
      "n": "0",
      "d": "1"
    },
    "legacy_deduction_2": {
      "n": "0",
      "d": "1"
    },
    "modern_limit_0": {
      "n": "16",
      "d": "15"
    },
    "modern_limit_1": {
      "n": "32",
      "d": "15"
    },
    "modern_limit_2": {
      "n": "12",
      "d": "5"
    },
    "modern_deduction_0": {
      "n": "16",
      "d": "15"
    },
    "modern_deduction_1": {
      "n": "32",
      "d": "15"
    },
    "modern_deduction_2": {
      "n": "7",
      "d": "15"
    },
    "total_deduction_0": {
      "n": "31",
      "d": "15"
    },
    "total_deduction_1": {
      "n": "32",
      "d": "15"
    },
    "total_deduction_2": {
      "n": "7",
      "d": "15"
    },
    "taxable_after_nol_0": {
      "n": "4",
      "d": "15"
    },
    "taxable_after_nol_1": {
      "n": "8",
      "d": "15"
    },
    "taxable_after_nol_2": {
      "n": "38",
      "d": "15"
    },
    "closing_legacy_carry_0": {
      "n": "0",
      "d": "1"
    },
    "closing_legacy_carry_1": {
      "n": "0",
      "d": "1"
    },
    "closing_legacy_carry_2": {
      "n": "0",
      "d": "1"
    },
    "closing_modern_carry_0": {
      "n": "13",
      "d": "5"
    },
    "closing_modern_carry_1": {
      "n": "7",
      "d": "15"
    },
    "closing_modern_carry_2": {
      "n": "0",
      "d": "1"
    },
    "carry_bridge_gap_0": {
      "n": "0",
      "d": "1"
    },
    "carry_bridge_gap_1": {
      "n": "0",
      "d": "1"
    },
    "carry_bridge_gap_2": {
      "n": "0",
      "d": "1"
    }
  }
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub โ†’