set_default_currency
Set the company default currency using a global currency ID. Creates a new company currency if needed, but fails if invoices exist in that currency.
Instructions
Set the company default currency. POST /currencies/default. Required: currencyId (global currency ID). Creates company currency if needed. Fails if there are invoices with that currency.
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": {
"currencyId": "<currencyId>"
},
"name": "set_default_currency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| currencyId | Yes | Global currency ID (required) |