Sha256: 68ac629922b1572c6c33cbec1f0f2af2cb17d1030712b5b51ba50fd720e49a03

Contents?: true

Size: 1.67 KB

Versions: 8

Compression:

Stored size: 1.67 KB

Contents

# CloudmersiveValidateApiClient::VatApi

All URIs are relative to *https://api.cloudmersive.com*

Method | HTTP request | Description
------------- | ------------- | -------------
[**vat_vat_lookup**](VatApi.md#vat_vat_lookup) | **POST** /validate/vat/lookup | Lookup a VAT code


# **vat_vat_lookup**
> VatLookupResponse vat_vat_lookup(input)

Lookup a VAT code

Checks if a VAT code is valid, and if it is, returns more information about it

### Example
```ruby
# load the gem
require 'cloudmersive-validate-api-client'
# setup authorization
CloudmersiveValidateApiClient.configure do |config|
  # Configure API key authorization: Apikey
  config.api_key['Apikey'] = 'YOUR API KEY'
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
  #config.api_key_prefix['Apikey'] = 'Bearer'
end

api_instance = CloudmersiveValidateApiClient::VatApi.new

input = CloudmersiveValidateApiClient::VatLookupRequest.new # VatLookupRequest | Input VAT code


begin
  #Lookup a VAT code
  result = api_instance.vat_vat_lookup(input)
  p result
rescue CloudmersiveValidateApiClient::ApiError => e
  puts "Exception when calling VatApi->vat_vat_lookup: #{e}"
end
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **input** | [**VatLookupRequest**](VatLookupRequest.md)| Input VAT code | 

### Return type

[**VatLookupResponse**](VatLookupResponse.md)

### Authorization

[Apikey](../README.md#Apikey)

### HTTP request headers

 - **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
 - **Accept**: application/json, text/json, application/xml, text/xml



Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
cloudmersive-validate-api-client-1.3.7 ./docs/VatApi.md
cloudmersive-validate-api-client-1.3.6 ./docs/VatApi.md
cloudmersive-validate-api-client-1.3.5 ./docs/VatApi.md
cloudmersive-validate-api-client-1.3.4 ./docs/VatApi.md
cloudmersive-validate-api-client-1.3.3 ./docs/VatApi.md
cloudmersive-validate-api-client-1.3.2 ./docs/VatApi.md
cloudmersive-validate-api-client-1.3.1 ./docs/VatApi.md
cloudmersive-validate-api-client-1.2.9 ./docs/VatApi.md