Skip to content

java package to retrieve vat rates from the "Taxes in Europe" database by the EU (soap service)

License

Notifications You must be signed in to change notification settings

ifcore/eu-vat-rates-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SETUP

this package is currently not published to maven central. to use it, you have to clone this repo and run

./mvnw install

Then you can add the dependency to your project:

<dependency>
    <groupId>de.ifcore.commons</groupId>
    <artifactId>eu-vat-rates-api</artifactId>
    <version>1.0.0</version>
</dependency>

Sample usage

@Service
class YourService {
    @Autowired
    private EuVatRatesClient euVatRatesClient;

    @Test
    void testRequest() {
        LocalDate date = LocalDate.of(2021, 1, 1);
        List<String> isoCodes = Arrays.asList("DE", "AT");
        RetrieveVatRatesRespType vatRates = euVatRatesClient.getVatRates(isoCodes, date);
        System.out.println(vatRates);
    }
}

see also the official TEDB - "Taxes in Europe" SOAP web service documentation

About

java package to retrieve vat rates from the "Taxes in Europe" database by the EU (soap service)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages