EU VAT number validation through the European Commission's VIES service
[decks]
"@deckyard/vies" = "^0.4.0"| Version | Status | Kind | Pin | Requires | Engines | Capabilities |
|---|---|---|---|---|---|---|
| 0.4.0 | live | git | 1cd64d634434 | - | jennifer >=0.27.0 | net |
| 0.3.0 | live | git | 08cd28d8211e | - | jennifer >=0.26.0 | net |
| 0.2.0 | live | git | 8d906dc9895e | - | jennifer >=0.26.0 | net |
| 0.1.0 | live | git | d580d573ffea | - | jennifer >=0.26.0 | net |
LGPL-3.0-only
0.4.0Times a client asked this registry where to find this deck. Not downloads: the registry only stores metadata, and the code is fetched from its repository directly, so we never see an install and cannot count one. Repeated builds inflate these numbers; installs from an existing lockfile do not appear at all. Counted in UTC.
EU VAT number validation through VIES™, the European Commission's VAT Information Exchange System, for Jennifer programs: check a customer's VAT number before invoicing without VAT (reverse charge), with the trader's name and address, and get a consultation number as proof of the check. Numbers are normalised and checked against their country's syntax offline; VIES's faults keep "the member state is down, try later" apart from "the number is wrong".
jvc add @deckyard/viesThis vendors the deck to vendor/<scope>/vies/. Without jvc, unpack the src/ subtree of a release archive (<scope>-vies-<version>.tar.gz) there.
import "@deckyard/vies/" as vies;
def r as vies.Result init vies.check(vies.client(), "IE", "IE 6388047V");
io.printf("%s %s\n", $r.valid, $r.name);vies.status(c) reports which member states VIES can reach now. examples/check.j checks the numbers given as arguments, or asks the Commission's test service (vies.sandboxClient()) without them.
Jennifer 0.27.0 or newer, with the net capability: the checks are SOAP requests to the Commission's VIES service, over the bundled soap module, and status a GET over the bundled http module.
tools/check-all.sh # the full gate, as CI runs it
jennifer test src/vies_test.j # the test overlay
tools/check-docs.sh # docs against the code
tools/pack.sh dist # build the release archiveLGPL-3.0-only, see LICENSE. Copyright (C) 2026 mplx <[email protected]>.
tools/check-headers.sh checks every source file's SPDX header against deck.toml.
VIES™ and other product and company names may be trademarks of their respective owners. They are used only to identify the products this deck works with. This deck is an independent project, not affiliated with, sponsored or endorsed by the European Commission.