Prepare expense coding
corpay_prepare_expense_codingDry-run expense coding changes (GL account, labels) to preview updates and get an operation hash for safe commitment.
Instructions
Dry-run update of an expense’s coding — category (GL account) and labels (project, cost type, ...). Returns an operationHash to commit. Does not call Corpay One until committed.
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": {
"expenseId": "<expenseId>",
"body": "<body>",
"reason": "<reason>"
},
"name": "corpay_prepare_expense_coding"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| reason | Yes | ||
| expenseId | Yes |