get_master_data
Read an account's configured lists such as countries, payment conditions, posting categories, and print layouts. Use search to narrow hundreds of rows and find the IDs other actions need.
Instructions
Read one of the lists this account is configured with.
One API call. Countries and posting categories run into the hundreds,
so search is usually the difference between an answer and a wall of
rows.
The answer reports total, what the account holds, and shown, what
is in it. When those differ, narrow the search rather than raising
limit.
A posting category id is what create_voucher books against, and
type says whether a category takes money in or out.
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": {
"kind": "<kind>"
},
"name": "get_master_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Which list to read. 'posting-categories' holds the categories a bookkeeping voucher books against, 'countries' the codes an address takes. | |
| limit | No | How many rows to put in the answer. | |
| search | No | Narrow the list. Matched case-insensitively against every text a row carries, so 'income' keeps the categories of that type and 'Erloese' those named so. |