Create a company
create_companyCreates a company on a country pack: its chart of accounts, its journals and its taxes are copied in, its first financial year is opened on the month that country opens one on, and you become its first member. Creating a company is an instance-level act — it needs an instance administrator, and being one is not the same as being on anybody’s books. Ask the user for the country rather than guessing: the wrong answer is a whole chart of accounts.
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": {
"name": "<name>",
"country": "<country>"
},
"name": "create_company"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| country | Yes | Which country pack: its chart of accounts, its taxes and its declaration form. list_companies shows what the installation already uses. | |
| language | No | Language the books are kept in — it decides the labels of the chart. Left out, the country pack's. | |
| chart_code | No | Which chart, where the country offers several. | |
| fiscal_year | No | Calendar year the first financial year opens in. Default this year. | |
| currency_code | No | Left out, the country pack's. | |
| fiscal_year_start | No | First day of it. Left out, the month the country pack opens a year on — and a pack that names none is a refusal, not a January. |