GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com β€” GitHub - wtx-labs/vies-api-client-java: The VIES API Client for Java provides simple and efficient access to the VAT Information Exchange System (VIES) for validating EU VAT numbers. It enables seamless integration with the VIES service to verify VAT registration status across EU member states using a clean and easy-to-use interface.

BranchesTags
Open more actions menu

Latest commit

 

History

2 Commits
2 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
src/main/java/pl/wtx/vies
src/main/java/pl/wtx/vies
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 

Repository files navigation

VIES API Client for Java

License: MIT Java Version Maven Central

A lightweight Java client for the public VIES REST API that validates EU VAT numbers and reports the availability of national VAT systems. πŸš€

This client gives you type-safe access to the official VIES endpoints so you can:

  • Check VAT numbers for any EU member state
  • Exercise the built‑in VIES test service
  • Monitor the status of individual tax administrations

✨ Why choose this client?

  • πŸ’‘ Type-safe Java API – generated models and operations for each VIES REST endpoint
  • βš™οΈ Zero-auth configuration – VIES is a public API, so no credentials are required
  • πŸ“¦ OkHttp + Gson stack – customizable HTTP client with optional logging
  • ⚑ Compatible with API specification - based on official API specification

🎯 Currently implemented features

  • βœ… checkVatNumber
    • Validate a VAT number in a selected member state
    • Retrieve trader name/address and optional match indicators
  • βœ… checkVatTestService
    • Hit the official VIES sandbox without touching production data
    • Exercise request payloads used in certification
  • βœ… checkStatus
    • List availability per member state
    • Inspect VIES-wide operational status

🚨 Project status

⚠️ Note: This is the first public release focused on VIES REST endpoints.
Feedback and contributions are very welcome!

πŸ“¦ Version information

  • Current version: 1.0.0
  • Supported API: VIES REST (/rest-api)
  • Java compatibility: 8+

πŸ”“ License

MIT License

Use, modify, and distribute freely while keeping the original attribution.

πŸš€ Quick start guide

1️⃣ Installation

Clone and build from source:

git clone https://github.com/wtx-labs/vies-api-client-java.git
cd vies-api-client-java
mvn clean install

Add the artifact to your project:

<dependency>
    <groupId>pl.wtx.vies</groupId>
    <artifactId>vies-api-client</artifactId>
    <version>1.0.0</version>
</dependency>

2️⃣ Java integration example

package pl.wtx.vies;

import pl.wtx.vies.api.client.PublicApi;
import pl.wtx.vies.api.client.invoker.ApiException;
import pl.wtx.vies.api.client.model.CheckVatRequest;
import pl.wtx.vies.api.client.model.CheckVatResponse;

/**
 * The VIES (VAT Information Exchange System) API Client - Usage Demo
 * @author WTX Labs
 * @see https://github.com/wtx-labs/vies-api-client-java
 * @license MIT
 */
public class ViesApiClientUsageDemo {

    private static final String BASE_PATH = "https://ec.europa.eu/taxation_customs/vies/rest-api";

    public static void main(String[] args) {

        System.out.println(">>> Start running the ViesApiClientUsageDemo...");

        ViesApiClient apiClient = new ViesApiClient();
        apiClient.setBasePath(BASE_PATH);

        PublicApi publicApi = new PublicApi(apiClient);

        try {

            CheckVatRequest checkVatRequest = new CheckVatRequest();
            checkVatRequest.setCountryCode("PL");
            checkVatRequest.setVatNumber("1234567890");

            CheckVatResponse checkVatResponse = publicApi.checkVatNumber(checkVatRequest);

            System.out.println("Is VIES number valid: " + checkVatResponse.getValid());
            System.out.println("Name: " + checkVatResponse.getName());
            System.out.println("Address: " + checkVatResponse.getAddress());

        } catch (ApiException e) {
            System.err.println("API Error: " + e.getMessage());
        }

        System.out.println("<<< The <<< ViesApiClientUsageDemo has been finished.");

    }

}

πŸ”— Get involved

  • ✨ Track issues: https://github.com/wtx-labs/vies-api-client-java/issues
  • πŸ’‘ Have ideas? Open an issue or PR – community contributions are welcome!
  • 🌟 Star the repo if this saves you time

πŸ“Š Project statistics

  • πŸš€ Fresh VIES-focused client
  • πŸ”„ Continuous improvements driven by OpenAPI updates
  • πŸ‘₯ Maintained by WTX Labs

πŸ” Keywords

vies java client, eu vat validation java, vies rest api java, vat information exchange system java, vat number check java, vies api client library, vies sdk java

πŸš€ Happy coding! 😊
Your WTX Labs Team πŸš€

About

The VIES API Client for Java provides simple and efficient access to the VAT Information Exchange System (VIES) for validating EU VAT numbers. It enables seamless integration with the VIES service to verify VAT registration status across EU member states using a clean and easy-to-use interface.

Topics

apiapi-clientapi-resteuropean-unioneuropean-vat-numbersfinancialgovermentintegrationintegrationsjavarestrest-apivatvat-information-exchangevat-information-exchange-systemvat-numbervat-validationviesvies-api

Resources

Readme
MIT license
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Contributors

Languages

You are visitor 01402775 β€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Γ—600. No cookies required.