Get reference data
get_reference_dataReturns the allowed values for composing and reading documents: the VAT rates of a country, and the values with English labels of VAT categories, VAT exemption reasons, units, currencies, languages, countries, electronic address schemes, customer and company types, document types and statuses, item types, KSeF statuses, SEPA purpose codes, delivery modes and statuses, roles, permissions and document colour themes.
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_reference_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | For VAT_RATES: the date (YYYY-MM-DD) the rates apply on; today when not given. | |
| kind | Yes | VAT_RATES: the VAT rates (percentages) of a country; ENUMS: the allowed values of the lists given in enums, with English labels. | |
| enums | No | For ENUMS, required: the lists to return. | |
| country_code | No | ISO 3166-1 alpha-2 code of the country, required for VAT_RATES. |