{
  "tool": "llm-corporate-environmental--mining-law.solvency_liquidity",
  "name": "Solvency and liquidity test (CDU-LAW-CEM-900)",
  "answers": "Would the company still satisfy the solvency and liquidity test immediately after this distribution, and what is the most it could distribute?",
  "degree": {
    "id": "competency:llm-corporate-environmental--mining-law",
    "code": "CDU-LAW-CEM-900",
    "name": "LLM Corporate, Environmental & Mining Law",
    "version": "1.0.0"
  },
  "reference": "Companies Act 71 of 2008 s4(1)(a) (assets ≥ liabilities, fairly valued) and s4(1)(b) (able to pay debts as they become due for 12 months); s46(1)(b) (applied immediately after the distribution)",
  "endpoint": "/faculty/llm-corporate-environmental--mining-law/solvency_liquidity",
  "feeSt": 1,
  "inputSchema": {
    "type": "object",
    "required": [
      "pan",
      "assetsFairValue",
      "liabilitiesFairValue",
      "distribution",
      "cashOnHand",
      "inflowsNext12Months",
      "debtsDueNext12Months"
    ],
    "properties": {
      "pan": {
        "type": "string",
        "description": "The student PAN — the degree must be held in one of its five slots",
        "pattern": "^[0-9 ]{16,19}$"
      },
      "assetsFairValue": {
        "type": "number",
        "description": "Total assets, fairly valued",
        "minimum": 0
      },
      "liabilitiesFairValue": {
        "type": "number",
        "description": "Total liabilities, fairly valued",
        "minimum": 0
      },
      "distribution": {
        "type": "number",
        "description": "The proposed distribution",
        "minimum": 0
      },
      "cashOnHand": {
        "type": "number",
        "description": "Cash and liquid resources now",
        "minimum": 0
      },
      "inflowsNext12Months": {
        "type": "number",
        "description": "Reasonably foreseeable inflows over 12 months",
        "minimum": 0
      },
      "debtsDueNext12Months": {
        "type": "number",
        "description": "Debts falling due in the ordinary course over 12 months",
        "minimum": 0
      }
    },
    "additionalProperties": false
  },
  "outputSchema": {
    "type": "object",
    "required": [
      "solventAfter",
      "liquidAfter",
      "passes",
      "maximumDistribution"
    ],
    "properties": {
      "solventAfter": {
        "type": "boolean",
        "description": "Assets − distribution ≥ liabilities"
      },
      "liquidAfter": {
        "type": "boolean",
        "description": "Cash − distribution + inflows ≥ debts due"
      },
      "passes": {
        "type": "boolean",
        "description": "Both limbs satisfied"
      },
      "maximumDistribution": {
        "type": "number",
        "description": "The larger distribution both limbs would still allow"
      }
    },
    "additionalProperties": false
  },
  "example": {
    "assetsFairValue": 50000000,
    "liabilitiesFairValue": 32000000,
    "distribution": 5000000,
    "cashOnHand": 6000000,
    "inflowsNext12Months": 40000000,
    "debtsDueNext12Months": 39000000
  }
}