create_expense
Records a business expense in Bigcapital accounting by specifying payment date, account, payee, and category breakdown.
Instructions
Create an expense in Bigcapital. Assumption: categories follows the generated SDK string[] type.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"referenceNo": "<referenceNo>",
"paymentDate": "<paymentDate>",
"paymentAccountId": "<paymentAccountId>",
"description": "<description>",
"exchangeRate": "<exchangeRate>",
"currencyCode": "<currencyCode>",
"payeeId": "<payeeId>",
"branchId": "<branchId>",
"categories": "<categories>"
},
"name": "create_expense"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payeeId | Yes | ||
| publish | No | ||
| branchId | Yes | ||
| categories | Yes | SDK currently types categories as string[] | |
| attachments | No | ||
| description | Yes | ||
| paymentDate | Yes | ISO date or date-time string | |
| referenceNo | Yes | ||
| currencyCode | Yes | ||
| exchangeRate | Yes | ||
| paymentAccountId | Yes |