vies 0.0.1 copy "vies: ^0.0.1" to clipboard
vies: ^0.0.1 copied to clipboard

outdated

This dart lib is basically calling web service provided by VIES for check VAT validity

example/vies_example.dart

import 'package:vies/vies.dart';

void main() async {
  // Check VAT Number validity and get relative informations
  try {
    final ViesValidationResponse res = await ViesProvider.validateVat(
        countryCode: 'BE', vatNumber: '0123456789');
    print(res.toString());
  } on ViesClientError catch (e) {
    print(e.toString());
  } on ViesServerError catch (e) {
    print(e.toString());
  } catch (e) {
    print(e.toString());
  }
}
4
likes
0
points
84
downloads

Publisher

verified publishercomapps.be

Weekly Downloads

This dart lib is basically calling web service provided by VIES for check VAT validity

Homepage
Repository (GitLab)
View/report issues

License

unknown (license)

Dependencies

html_unescape, http

More

Packages that depend on vies