All URIs are relative to http://localhost, except if the operation defines another base path.
| Method | HTTP request | Description |
|---|---|---|
| checkStatus() | GET /check-status | Check the status of each member states |
| checkVatNumber() | POST /check-vat-number | Check a Vat Number for a specific country |
| checkVatTestService() | POST /check-vat-test-service | Test the check vat service |
checkStatus(): \Cone\Vies\Model\StatusInformationResponseCheck the status of each member states
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Cone\Vies\Api\PublicApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
try {
$result = $apiInstance->checkStatus();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PublicApi->checkStatus: ', $e->getMessage(), PHP_EOL;
}This endpoint does not need any parameter.
\Cone\Vies\Model\StatusInformationResponse
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
checkVatNumber($body): \Cone\Vies\Model\CheckVatResponseCheck a Vat Number for a specific country
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Cone\Vies\Api\PublicApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$body = new \Cone\Vies\Model\CheckVatRequest(); // \Cone\Vies\Model\CheckVatRequest | The request body
try {
$result = $apiInstance->checkVatNumber($body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PublicApi->checkVatNumber: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| body | \Cone\Vies\Model\CheckVatRequest | The request body |
\Cone\Vies\Model\CheckVatResponse
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
checkVatTestService($body): \Cone\Vies\Model\CheckVatResponseTest the check vat service
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Cone\Vies\Api\PublicApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$body = new \Cone\Vies\Model\CheckVatRequest(); // \Cone\Vies\Model\CheckVatRequest | The request body
try {
$result = $apiInstance->checkVatTestService($body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PublicApi->checkVatTestService: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| body | \Cone\Vies\Model\CheckVatRequest | The request body |
\Cone\Vies\Model\CheckVatResponse
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]