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

# Validates a LegacyVatRule

`POST /LegacyVatRule/_validate`

Validates an instance of LegacyVatRule

## Request body

- LegacyVatRuleData
  - `$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

## 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/revisions/67a8cf169a01/schema)
