{
  "schema_version": "1.0",
  "organization": "p2-data-lab",
  "portal": "p2-global-corptax-wht-calc",
  "live_meta_url": "https://p2-global-corptax-wht-calc.pages.dev/data/meta.json",
  "openapi_url": "https://p2-global-corptax-wht-calc.pages.dev/openapi.json",
  "public_datasets": [
    "https://p2-global-corptax-wht-calc.pages.dev/data/corporate-tax-180.json",
    "https://p2-global-corptax-wht-calc.pages.dev/data/pillar-two-rd-wht.json"
  ],
  "calculator_inputs_schema": {
    "subsidiary_country": {
      "label": "Operating / IP Subsidiary Jurisdiction (180+ Indexed Countries)",
      "type": "select",
      "default": "IE"
    },
    "parent_hq_country": {
      "label": "Ultimate Parent Entity (UPE) Jurisdiction",
      "type": "select",
      "default": "US"
    },
    "reporting_currency": {
      "label": "Group Reporting Currency",
      "type": "select",
      "default": "USD",
      "options": [
        "USD",
        "EUR",
        "GBP",
        "CHF",
        "SGD",
        "JPY",
        "CAD"
      ]
    },
    "consolidated_group_revenue_ccy": {
      "label": "Consolidated MNE Group Revenue (checked vs €750M Pillar Two threshold at live FX)",
      "type": "number",
      "default": 920000000,
      "min": 1000000,
      "max": 100000000000
    },
    "subsidiary_pretax_profit_ccy": {
      "label": "Subsidiary Pre-Tax GloBE Profit (EBT)",
      "type": "number",
      "default": 45000000,
      "min": 100000,
      "max": 5000000000
    },
    "patent_box_or_incentive_rate_pct": {
      "label": "Applicable Local IP Box / Pioneer Incentive Tax Rate (%, or use Live Statutory CIT)",
      "type": "number",
      "default": 12.5,
      "min": 0,
      "max": 40
    },
    "qualifying_rd_spend_ccy": {
      "label": "Qualifying Local R&D Engineering Expenditure",
      "type": "number",
      "default": 12000000,
      "min": 0,
      "max": 2000000000
    },
    "rd_credit_design": {
      "label": "R&D Tax Incentive Classification under OECD GloBE Rules",
      "type": "select",
      "default": "QRTC_QUALIFIED_REFUNDABLE",
      "options": [
        "QRTC_QUALIFIED_REFUNDABLE",
        "NON_QUALIFIED_NON_REFUNDABLE",
        "NONE"
      ]
    },
    "rd_credit_rate_pct": {
      "label": "Local R&D Tax Credit Rate (% of qualifying R&D)",
      "type": "number",
      "default": 30,
      "min": 0,
      "max": 50
    },
    "eligible_local_payroll_ccy": {
      "label": "Subsidiary Eligible Tangible Payroll Costs (for Pillar Two SBIE Carve-Out)",
      "type": "number",
      "default": 18000000,
      "min": 0,
      "max": 2000000000
    },
    "eligible_tangible_assets_ccy": {
      "label": "Subsidiary Carrying Value of Eligible Tangible Assets (for SBIE Carve-Out)",
      "type": "number",
      "default": 8000000,
      "min": 0,
      "max": 5000000000
    },
    "repatriation_channel_wht_pct": {
      "label": "Treaty / EU Parent-Subsidiary Dividend or Royalty Withholding Tax Rate (%)",
      "type": "number",
      "default": 0,
      "min": 0,
      "max": 35
    }
  },
  "formulas_summary": {
    "in_pillar_two_scope": "In_Scope = (consolidated_group_revenue_ccy / FX_ccy_per_EUR) >= 750000000",
    "rd_credit_value": "C_RD = qualifying_rd_spend_ccy * (rd_credit_rate_pct / 100)",
    "local_cash_cit_before_topup": "Tax_Local = max(0, subsidiary_pretax_profit_ccy * (effective_local_rate / 100) - C_RD) (or negative cash refund if QRTC exceeds tax)",
    "globe_adjusted_income_and_covered_tax": "If QRTC: GloBE_Income = EBT + C_RD, Covered_Tax = EBT * (effective_local_rate / 100); If Non-QRTC: GloBE_Income = EBT, Covered_Tax = max(0, EBT * (effective_local_rate / 100) - C_RD)",
    "globe_etr": "ETR_GloBE = Covered_Tax / GloBE_Income",
    "sbie_substance_carveout_2026": "SBIE = 0.092_transitional_2026_payroll * eligible_local_payroll_ccy + 0.072_transitional_2026_assets * eligible_tangible_assets_ccy",
    "pillar_two_topup_tax": "TopUp_Tax = (max(0, 0.15 - ETR_GloBE) * max(0, GloBE_Income - SBIE)) if In_Scope else 0",
    "repatriation_wht_and_net_cash": "Distributable = EBT - (subsidiary_pretax_profit_ccy * (effective_local_rate / 100) - C_RD) - TopUp_Tax; WHT_Cost = max(0, Distributable) * (repatriation_channel_wht_pct / 100); Total_Effective_Cash_Tax_Rate = ((EBT + C_RD_cash_treatment - Net_Repatriated) / EBT) * 100"
  },
  "pro_api_endpoint": "https://p2-core-api.evsmtoken.workers.dev/v1/pro/p2-global-corptax-wht-calc/dataset",
  "auth_header": "Authorization: Bearer <POLAR_LICENSE_KEY>",
  "purchase_tiers": [
    {
      "sku_key": "global_cit_pillar2_dataset",
      "product_id": "591ddc49-6b43-4e1c-81d8-ecdf5d7f87b8",
      "name": "180-Country Corporate Tax, R&D & Pillar Two Dataset (CSV/JSON)",
      "price_usd": 39,
      "billing": "one_time",
      "checkout_url": "https://buy.polar.sh/polar_cl_qB39riusgIrAigwRdHhPCcyXyZShfIPJCHnnj3IOe9d"
    },
    {
      "sku_key": "multinational_tax_pro_license",
      "product_id": "5b71eb34-3257-478b-9abc-48d0b1428dbe",
      "name": "Pro Pillar Two CbCR Safe-Harbor & Cash-Tax API License Key",
      "price_usd": 34,
      "billing": "month",
      "checkout_url": "https://buy.polar.sh/polar_cl_1KSADC7rLFUtC6ZpXxcrLQK1nIHCMTvCOTwzf0OWkCG"
    },
    {
      "sku_key": "cfo_pillar_two_ip_structuring_pack",
      "product_id": "991652eb-2bd7-4f37-b395-09bb379bfe35",
      "name": "VP Tax & CFO Workbook: Pillar Two QDMTT & IP Repatriation Pack",
      "price_usd": 109,
      "billing": "one_time",
      "checkout_url": "https://buy.polar.sh/polar_cl_XxXy8AXFjxpBI8lAOrnDcHPpydHZfJAcHLhzM0hyf2N"
    }
  ],
  "master_all_portals_pass": {
    "master_all_portals_pro_monthly": {
      "product_id": "18e0b844-b764-41f0-9c3d-186362784997",
      "name": "All-Portals Master Pro API & Batch CSV License Key (Monthly)",
      "price_usd": 79,
      "billing": "monthly",
      "checkout_url": "https://buy.polar.sh/polar_cl_0P1axu2nXEDXECK8Z0k7I3sMndeo3hsdqpepv1LUcJT"
    },
    "enterprise_annual_data_pass": {
      "product_id": "8a5266eb-3aaf-4fb3-9aef-0e5bbfd17dc3",
      "name": "Annual Enterprise FinOps & Compliance Data Pass (All Portals)",
      "price_usd": 499,
      "billing": "yearly",
      "checkout_url": "https://buy.polar.sh/polar_cl_SPWfsAxuQAVHif3soxwqbq5zPAdNZFkN5CtQK3cZRft"
    }
  }
}