{
  "title": "DN Affiliate Cash and Credit Bridge — original method record",
  "version": 1,
  "commissionId": "N024",
  "articleUrl": "https://decentralised.news/affiliate-revenue-commission-cash-reconciliation-2027",
  "reviewedOn": "2026-11-29",
  "planningEdition": 2027,
  "creator": {
    "name": "Decentralised News",
    "url": "https://decentralised.news"
  },
  "dataClassification": "Original fictional teaching data; not observed merchant results.",
  "evidenceBoundary": "Official public documentation and original hypothetical arithmetic. No merchant account, paid transaction, referral earnings or production payout was tested.",
  "sources": [
    {
      "url": "https://www.tradingview.com/partner-rules/",
      "title": "TradingView Partner Program Rules",
      "checkedOn": "2026-11-29",
      "supportedClaims": [
        "Cash commission requires eligible attributed subscription purchase and programme compliance.",
        "Refunds and chargebacks reduce commissions; previously paid reversals may be offset or invoiced.",
        "Withdrawal verification and valid payout details are separate from reported commission."
      ]
    },
    {
      "url": "https://www.koyfin.com/help/referral/",
      "title": "Koyfin Referral Program",
      "checkedOn": "2026-11-29",
      "supportedClaims": [
        "The documented friend-referral reward is $20 of Koyfin account credit for a qualifying paid referral.",
        "Credits are applied after the stated refund window; refund/chargeback cancels rewards; credits are used for eligible future purchases."
      ]
    },
    {
      "url": "https://app.koyfin.com/terms-and-conditions",
      "title": "Koyfin Terms and Conditions, special programmes",
      "checkedOn": "2026-11-29",
      "supportedClaims": [
        "Terms distinguish friend-referral account credits from a separate affiliate programme."
      ]
    },
    {
      "url": "https://www.ftc.gov/business-guidance/resources/ftcs-endorsement-guides-what-people-are-asking",
      "title": "FTC Endorsement Guides: What People Are Asking",
      "checkedOn": "2026-11-29",
      "supportedClaims": [
        "US FTC guidance calls for clear and conspicuous disclosure of material affiliate relationships."
      ]
    }
  ],
  "inputDefinitions": [
    {
      "field": "opening",
      "label": "Opening approved cash balance (USD)"
    },
    {
      "field": "approved",
      "label": "New approved cash commissions (USD)"
    },
    {
      "field": "reversed",
      "label": "Documented commission reversals (USD)"
    },
    {
      "field": "paid",
      "label": "Gross payout settled against commissions (USD)"
    },
    {
      "field": "deductions",
      "label": "Documented deductions from that payout (USD)"
    },
    {
      "field": "received",
      "label": "Observed cash receipt (USD)"
    },
    {
      "field": "pending",
      "label": "Pending cash rewards, kept separate (USD)"
    },
    {
      "field": "credits",
      "label": "Account-credit rewards, kept separate (USD)"
    }
  ],
  "syntheticInputs": {
    "opening": "200.00",
    "approved": "300.00",
    "reversed": "80.00",
    "paid": "300.00",
    "deductions": "15.00",
    "received": "285.00",
    "pending": "180.00",
    "credits": "40.00"
  },
  "workedOutput": {
    "summary": "The entered cash receipt reconciles; pending rewards and account credits remain separate.",
    "metrics": [
      {
        "label": "Closing approved cash ledger",
        "value": "USD 120.00"
      },
      {
        "label": "Expected net cash receipt",
        "value": "USD 285.00"
      },
      {
        "label": "Observed less expected receipt",
        "value": "USD 0.00"
      },
      {
        "label": "Pending cash rewards excluded",
        "value": "USD 180.00"
      },
      {
        "label": "Account credits excluded from cash",
        "value": "USD 40.00"
      }
    ],
    "notes": [
      "Opening + newly approved − reversals − gross settled payout = closing approved cash ledger. A negative result needs evidence of offsets or repayment obligations.",
      "Cash and account credits are separate reward units. Approval, withdrawal eligibility and accounting revenue recognition are not established by this arithmetic.",
      "One programme/currency and one stated period. The model does not verify tracking, contracts, tax treatment or bank records."
    ]
  },
  "calculationRules": [
    "Closing approved cash ledger = opening + new approved commission − documented reversals − gross settled payout.",
    "Expected net receipt = gross settled payout − documented payout deductions.",
    "Receipt difference = observed receipt − expected receipt.",
    "Pending rewards and account credits remain outside both cash bridges."
  ],
  "knownAnswerAndValidationCases": [
    {
      "kind": "N024",
      "name": "cash versus credits",
      "input": {
        "opening": "200.00",
        "approved": "300.00",
        "reversed": "80.00",
        "paid": "300.00",
        "deductions": "15.00",
        "received": "285.00",
        "pending": "180.00",
        "credits": "40.00"
      },
      "expectedSummaryIncludes": "receipt reconciles",
      "expectedMetrics": {
        "Closing approved cash ledger": "USD 120.00",
        "Expected net cash receipt": "USD 285.00",
        "Observed less expected receipt": "USD 0.00",
        "Account credits excluded from cash": "USD 40.00"
      }
    },
    {
      "kind": "N024",
      "name": "negative ledger remains visible",
      "input": {
        "opening": "200.00",
        "approved": "300.00",
        "reversed": "250.00",
        "paid": "300.00",
        "deductions": "15.00",
        "received": "285.00",
        "pending": "180.00",
        "credits": "40.00"
      },
      "expectedSummaryIncludes": "net debit",
      "expectedMetrics": {
        "Closing approved cash ledger": "USD -50.00"
      }
    },
    {
      "kind": "N024",
      "name": "blank opening is unknown",
      "input": {
        "opening": "",
        "approved": "300.00",
        "reversed": "80.00",
        "paid": "300.00",
        "deductions": "15.00",
        "received": "285.00",
        "pending": "180.00",
        "credits": "40.00"
      },
      "expectError": "blank or unknown"
    },
    {
      "kind": "N024",
      "name": "deductions exceed payout",
      "input": {
        "opening": "200.00",
        "approved": "300.00",
        "reversed": "80.00",
        "paid": "300.00",
        "deductions": "301.00",
        "received": "285.00",
        "pending": "180.00",
        "credits": "40.00"
      },
      "expectError": "cannot exceed"
    }
  ],
  "limitations": [
    "Opening + newly approved − reversals − gross settled payout = closing approved cash ledger. A negative result needs evidence of offsets or repayment obligations.",
    "Cash and account credits are separate reward units. Approval, withdrawal eligibility and accounting revenue recognition are not established by this arithmetic.",
    "One programme/currency and one stated period. The model does not verify tracking, contracts, tax treatment or bank records."
  ],
  "notTested": [
    "Provider accounts",
    "Live customer or affiliate records",
    "Actual transfers or payouts",
    "Account eligibility",
    "Legal or accounting recognition",
    "Future provider rules"
  ],
  "privacy": "The embedded worksheet performs local arithmetic and does not connect to a provider account. Do not paste secrets or customer identities into teaching examples.",
  "calculationModule": "calculator.js"
}
