{"ref":{"kind":"component","id":"corporate_receivable_sale","key":"sha256:e2bbe975c6094e3c89574f954c287af919323d1fae7ceba2e82e4613d652f1e2"},"label":"Receivable sale measurement","description":"Separate removed carrying value, noncash interests, sale gain and net cash settlement.","inputs":[{"label":"Allowance","name":"allowance","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Costs","name":"costs","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Gross","name":"gross","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Proceeds","name":"proceeds","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Recognized Assets","name":"recognized_assets","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Recognized Liabilities","name":"recognized_liabilities","valueType":{"axes":[],"dtype":"f64","unit":"$"}}],"outputs":[{"label":"Consideration","name":"consideration","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Gain","name":"gain","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Invalid Terms","name":"invalid_terms","valueType":{"axes":[],"dtype":"f64","unit":"1"}},{"label":"Net Carrying","name":"net_carrying","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Net Cash","name":"net_cash","valueType":{"axes":[],"dtype":"f64","unit":"$"}}],"dependencies":[],"libraries":["credit_receivables"],"notes":{"conventions":["The caller establishes sale qualification, derecognition scope and initial recognition measurements before using this rule; a secured borrowing does not qualify merely because cash changed hands.","Gross carrying amount and its attached positive allowance refer to the same derecognized claims. Their difference is the removed net asset, not cash proceeds.","Proceeds are cash received. Recognized assets and liabilities are independently measured noncash interests arising in the sale, including retained interests or servicing obligations where applicable.","Costs are transaction costs expensed and paid in cash in this period. Other cost recognition or settlement policies require separate schedules.","Gain equals cash proceeds plus recognized assets less recognized liabilities, removed net carrying value and costs. Signed gain and net cash are never capped.","All inputs are nonnegative amounts in one currency and scale; allowance cannot exceed gross carrying value. Invalid terms remain visible.","Gross claims and allowance movements, statement classification, taxes and subsequent retained-interest valuation belong to the caller. Do not recognize a second allowance-release profit."]},"calculation":{"nodes":[{"id":"input-allowance","label":"Allowance","kind":"input"},{"id":"input-costs","label":"Costs","kind":"input"},{"id":"input-gross","label":"Gross","kind":"input"},{"id":"input-proceeds","label":"Proceeds","kind":"input"},{"id":"input-recognized_assets","label":"Recognized Assets","kind":"input"},{"id":"input-recognized_liabilities","label":"Recognized Liabilities","kind":"input"},{"id":"step-net_carrying","label":"Net Carrying","kind":"step","rule":"(Gross − Allowance)","sources":[{"node":"input-gross"},{"node":"input-allowance"}]},{"id":"output-net_cash","kind":"output","label":"Net Cash","rule":"(Proceeds − Costs)","sources":[{"node":"input-proceeds"},{"node":"input-costs"}]},{"id":"step-consideration","label":"Consideration","kind":"step","rule":"((Proceeds + Recognized Assets) − Recognized Liabilities)","sources":[{"node":"input-proceeds"},{"node":"input-recognized_assets"},{"node":"input-recognized_liabilities"}]},{"id":"output-invalid_terms","kind":"output","label":"Invalid Terms","rule":"if if if if if if if (Gross ≥ 0), then if (Allowance ≥ 0), then true, otherwise false, otherwise false, then if (Allowance ≤ Gross), then true, otherwise false, otherwise false, then if (Proceeds ≥ 0), then true, otherwise false, otherwise false, then if (Recognized Assets ≥ 0), then true, otherwise false, otherwise false, then if (Recognized Liabilities ≥ 0), then true, otherwise false, otherwise false, then if (Costs ≥ 0), then true, otherwise false, otherwise false, then 0, otherwise 1","sources":[{"node":"input-gross"},{"node":"input-allowance"},{"node":"input-proceeds"},{"node":"input-recognized_assets"},{"node":"input-recognized_liabilities"},{"node":"input-costs"}]},{"id":"output-net_carrying","kind":"output","label":"Net Carrying","rule":"Net Carrying","sources":[{"node":"step-net_carrying"}]},{"id":"output-consideration","kind":"output","label":"Consideration","rule":"Consideration","sources":[{"node":"step-consideration"}]},{"id":"output-gain","kind":"output","label":"Gain","rule":"((Consideration − Net Carrying) − Costs)","sources":[{"node":"step-consideration"},{"node":"step-net_carrying"},{"node":"input-costs"}]}],"topics":[{"label":"Receivable sale measurement","results":["output-consideration","output-gain","output-invalid_terms","output-net_carrying","output-net_cash"]}]},"usedBy":[]}
