---
title: "Validates a LegacyVatRuleSet"
method: POST
path: "/LegacyVatRuleSet/_validate"
tags: ["LegacyVatRuleSet"]
---

# Validates a LegacyVatRuleSet

`POST /LegacyVatRuleSet/_validate`

Validates an instance of LegacyVatRuleSet

## Request body

- LegacyVatRuleSetData
  - `$type` 'Asi.Soa.Commerce.DataContracts.LegacyVatRuleSetData, Asi.Contracts', required — The DataType must be "Asi.Soa.Commerce.DataContracts.LegacyVatRuleSetData, Asi.Contracts"
  - `Description` string
  - `Rules` LegacyVatRuleDataCollection
    - `$type` 'Asi.Soa.Commerce.DataContracts.LegacyVatRuleDataCollection, Asi.Contracts', required — The DataType must be "Asi.Soa.Commerce.DataContracts.LegacyVatRuleDataCollection, Asi.Contracts"
    - `$values` LegacyVatRuleData[], required — The values for the collection
      - `$type` 'Asi.Soa.Commerce.DataContracts.LegacyVatRuleData, Asi.Contracts', required — The DataType must be "Asi.Soa.Commerce.DataContracts.LegacyVatRuleData, Asi.Contracts"
      - `RegistrantCompanyApplication` 'NotApplicable' | 'IsCompany' | 'IsNotCompany'
      - `RegistrantCountryApplication` 'NotApplicable' | 'IsSameAsSupplier' | 'IsOtherEuCountry' | 'IsOutsideOfEu'
      - `RegistrantVatRegistrationApplication` 'NotApplicable' | 'IsVatRegistered' | 'IsNotVatRegistered'
      - `RuleId` string
      - `Sort` string, byte
      - `SubstituteTaxCode` string
  - `RuleSetId` string

## Response `200`

The request was successful.

## Other responses

- `201` — The resource was successfully created.
- `202` — The resource was asynchronously created.

---

[API](https://skmtc.net/imis/apis/accounting.md) · [All operations](https://skmtc.net/imis/apis/accounting/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/imis/accounting/versions/67a8cf169a01/schema)
