invoicing_getStagedCreditsForPayment

READ

Get staged credits for payment.

Parameters

paymentIdstringrequired
sideenumrequired

Call it

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

call_tool
call_tool({
  "name": "invoicing_getStagedCreditsForPayment",
  "arguments": {
    "paymentId": "string",
    "side": "string"
  }
})

Input schema

The raw JSON Schema the tool validates its arguments against.

schema
{
  "type": "object",
  "properties": {
    "paymentId": {
      "type": "string"
    },
    "side": {
      "type": "string",
      "enum": [
        "sales",
        "purchase"
      ]
    }
  },
  "required": [
    "paymentId",
    "side"
  ]
}