get_master_data
Lists an account's countries, payment conditions, posting categories, or print layouts in one API call, with search to narrow large result sets and compare total versus shown rows.
Instructions
List the account's countries, payment conditions, posting categories or print layouts.
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. |