# List Vats/Surcharges Get all your vats/surcharges. Endpoint: POST /api/v1/vat-type/search Version: 1.0 ## Request fields (application/json): - `condition` (object) Condition to filter results - `condition.field` (string) Field name to apply the condition to Example: "name" - `condition.value` (object) Value to compare against the field Example: "Example Value" - `condition.type` (string) Relational operator for the condition Enum: "BETWEEN", "EQ", "LT", "LTE", "GT", "GTE", "NE", "LIKE", "START", "FINISH", "IN", "NIN", "NLIKE", "LENGTH" - `condition.endValue` (object) End value for range conditions Example: 100 - `condition.innerConditions` (array) Nested conditions for complex queries - `condition.conditionType` (string) Type of condition for combining multiple conditions Enum: "AND", "OR" - `condition.empty` (boolean) Indicates if the condition is empty - `condition.compareFields` (boolean) Indicates if comparing between fields - `sortCriteria` (array) List of sorting criteria to apply - `sortCriteria.sortField` (string) Field name to sort by Example: "name" - `sortCriteria.sortDirection` (string) Sort direction (ascending or descending) Enum: "ASC", "DESC" - `pageNumber` (integer, required) Page number to retrieve (0-based) - `pageSize` (integer, required) Number of items per page Example: 20 ## Response 200 fields (application/json): - `data` (array, required) List of data items for the current page - `data.id` (integer, required) Unique identifier of the entity Example: 1 - `data.customerVatType` (object, required) Customer VAT type details. See ApiCustomerVatTypeListReadDto for details. - `data.customerVatType.code` (string, required) VAT type code. Example: GENERAL, REDUCED, EXEMPT, etc. Example: "GENERAL" - `data.customerVatType.description` (string) Description of the VAT type. Example: "General VAT type" - `data.articleVatType` (object, required) Article VAT type details. See ApiArticleVatTypeListReadDto for details. - `data.articleVatType.id` (integer) Unique identifier of the VAT type Example: 1 - `data.articleVatType.code` (string) Code for the VAT type Example: "GENERAL" - `data.articleVatType.description` (string) Description of the VAT type Example: "General VAT type" - `data.vatPercentage` (number) VAT percentage applied to the transaction. Example: 21 - `data.rePercentage` (number) Surcharge percentage applied in addition to VAT. Example: 5.2 - `data.sellVatAccount` (string) Account code used for sales VAT registration. Example: 4770000000 - `data.sellRechargeAccount` (string) Account code used for sales surcharge registration. Example: 4771000000 - `data.buyVatAccount` (string) Account code used for purchases VAT registration. Example: 4720000000 - `data.buyRechargeAccount` (string) Account code used for purchases surcharge registration. Example: 4721000000 - `page` (integer, required) Current page number (0-based) - `total` (integer, required) Total number of items across all pages Example: 150 - `pages` (integer, required) Last page number (0-based) Example: 14 - `size` (integer, required) Number of items per page Example: 10