Skip to main content
Glama

Lovie Company Formation

Get Profit And Loss

accounting_get_profit_and_loss
Read-only

GetProfitAndLoss returns the income statement for a period: revenue and expense accounts with activity, totals, and net income. Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
basisNo
endDateNo
byVendorNo
companyIdYesUUID value wrapper.
startDateNo
currencyCodeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
netIncomeNo
expenseRowsNo
revenueRowsNo
currencyCodeNo
totalRevenueNo
totalExpensesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / byVendor
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / expenseRows / items / properties / vendors
      Added value: +{
      +  "items": {
      +    "properties": {
      +      "amount": {
      +        "type": "string"
      +      },
      +      "vendor": {
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / revenueRows / items / properties / vendors
      Added value: +{
      +  "items": {
      +    "properties": {
      +      "amount": {
      +        "type": "string"
      +      },
      +      "vendor": {
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  2. Changed16 schema fields changed
    • addedOutput schema / properties / expenseRows / items / properties / glAccountId / anyOf
      Added value: +[
      +  {
      +    "description": "UUID value wrapper.",
      +    "properties": {
      +      "value": {
      +        "format": "uuid",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / expenseRows / items / properties / glAccountId / description
      Removed value: -"UUID value wrapper."
    • removedOutput schema / properties / expenseRows / items / properties / glAccountId / properties
      Removed value: -{
      -  "value": {
      -    "format": "uuid",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / expenseRows / items / properties / glAccountId / type
      Removed value: -"object"
    • addedOutput schema / properties / expenseRows / items / properties / parentId / anyOf
      Added value: +[
      +  {
      +    "description": "UUID value wrapper.",
      +    "properties": {
      +      "value": {
      +        "format": "uuid",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / expenseRows / items / properties / parentId / description
      Removed value: -"UUID value wrapper."
    • removedOutput schema / properties / expenseRows / items / properties / parentId / properties
      Removed value: -{
      -  "value": {
      -    "format": "uuid",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / expenseRows / items / properties / parentId / type
      Removed value: -"object"
    • addedOutput schema / properties / revenueRows / items / properties / glAccountId / anyOf
      Added value: +[
      +  {
      +    "description": "UUID value wrapper.",
      +    "properties": {
      +      "value": {
      +        "format": "uuid",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / revenueRows / items / properties / glAccountId / description
      Removed value: -"UUID value wrapper."
    • removedOutput schema / properties / revenueRows / items / properties / glAccountId / properties
      Removed value: -{
      -  "value": {
      -    "format": "uuid",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / revenueRows / items / properties / glAccountId / type
      Removed value: -"object"
    • addedOutput schema / properties / revenueRows / items / properties / parentId / anyOf
      Added value: +[
      +  {
      +    "description": "UUID value wrapper.",
      +    "properties": {
      +      "value": {
      +        "format": "uuid",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / revenueRows / items / properties / parentId / description
      Removed value: -"UUID value wrapper."
    • removedOutput schema / properties / revenueRows / items / properties / parentId / properties
      Removed value: -{
      -  "value": {
      -    "format": "uuid",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / revenueRows / items / properties / parentId / type
      Removed value: -"object"
  3. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.