accounting_saveJournalEntryWithLines

WRITE

Save journal entry with lines.

Parameters

journalEntryIdstringrequired
postingDatestringrequired
descriptionstringoptional
lines: Array<{ accountId: string; descriptionanyoptional

Call it

Invoke it through the call_tool meta-tool with its arguments:

call_tool
call_tool({
  "name": "accounting_saveJournalEntryWithLines",
  "arguments": {
    "journalEntryId": "string",
    "postingDate": "string"
  }
})

Input schema

The raw JSON Schema the tool validates its arguments against.

schema
{
  "type": "object",
  "properties": {
    "journalEntryId": {
      "type": "string"
    },
    "postingDate": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "lines: Array<{\n      accountId: string;\n      description": {}
  },
  "required": [
    "journalEntryId",
    "postingDate"
  ]
}