accounting_upsertPaymentTerm

WRITE

Upsert payment term.

Parameters

namestringrequired
calculationMethodstringrequired
idstringoptional
daysDuenumberoptional
daysDiscountnumberoptional
discountPercentagenumberoptional

Call it

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

call_tool
call_tool({
  "name": "accounting_upsertPaymentTerm",
  "arguments": {
    "name": "string",
    "calculationMethod": "string"
  }
})

Input schema

The raw JSON Schema the tool validates its arguments against.

schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "daysDue": {
      "type": "number"
    },
    "daysDiscount": {
      "type": "number"
    },
    "discountPercentage": {
      "type": "number"
    },
    "calculationMethod": {
      "type": "string"
    }
  },
  "required": [
    "name",
    "calculationMethod"
  ]
}