{
  "tool_id": "freelancer_invoice_gap",
  "slug": "freelancer-invoice-payment-gap-calculator",
  "path": "/freelancer-invoice-payment-gap-calculator/",
  "mode": "url_api",
  "api_usage": "GET https://aifinhub.io/api/freelancer-invoice-payment-gap-calculator/?<params>",
  "sample_input": {
    "tool": "freelancer_invoice_payment_gap_calculator",
    "monthly_revenue": "8000",
    "payment_terms_days": "30",
    "monthly_expenses": "5000",
    "current_cash_buffer": "10000",
    "percent_clients_late": "20"
  },
  "input_schema": {
    "type": "object",
    "properties": {
      "monthly_revenue": {
        "type": "number",
        "minimum": 0
      },
      "payment_terms_days": {
        "type": "number",
        "minimum": 1,
        "maximum": 120
      },
      "monthly_expenses": {
        "type": "number",
        "minimum": 0
      },
      "current_cash_buffer": {
        "type": "number",
        "minimum": 0
      },
      "percent_clients_late": {
        "type": "number",
        "minimum": 0,
        "maximum": 100
      }
    },
    "required": [
      "monthly_revenue",
      "payment_terms_days",
      "monthly_expenses",
      "current_cash_buffer",
      "percent_clients_late"
    ]
  },
  "output_schema": {
    "type": "object",
    "properties": {
      "primaryLabel": {
        "type": "string"
      },
      "primaryValue": {
        "type": "number"
      },
      "primaryFormat": {
        "type": "string"
      },
      "summary": {
        "type": "string"
      },
      "metrics": {
        "type": "array"
      },
      "warnings": {
        "type": "array"
      }
    }
  }
}
