pemedina/checkvat

A simple php wrapper to check foreign VAT IDs using SOAP via http://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl

Installs: 7

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/pemedina/checkvat

dev-master 2022-03-21 21:34 UTC

This package is auto-updated.

Last update: 2025-09-22 05:10:28 UTC


README

Introduction

A simple client for VIES.

Requirements

  • PHP >= 7.4 (with soap support)

Getting started

Composer

$ composer require pemedina/checkvat

Usage

The library can be included & used on any PHP application.

Examples

<?php

use CheckVat\checkVat as Vat;
use CheckVat\checkVatService;

require __DIR__ . '/vendor/autoload.php';

$service = new checkVatService();

$param = new Vat;

$param->countryCode='ES';
$param->vatNumber='B78917457';
$result = $service->checkVat( $param);

var_dump ( $result);

Feedback and questions

Found a bug or missing a feature? Don't hesitate to create a new issue here on GitHub.