jennifer registry

@deckyard/vies

EU VAT number validation through the European Commission's VIES service

vatvieseutaxinvoicing

Depend on it

[decks]
"@deckyard/vies" = "^0.4.0"

Versions

VersionStatusKindPinRequiresEnginesCapabilities
0.4.0livegit1cd64d634434-jennifer >=0.27.0net
0.3.0livegit08cd28d8211e-jennifer >=0.26.0net
0.2.0livegit8d906dc9895e-jennifer >=0.26.0net
0.1.0livegitd580d573ffea-jennifer >=0.26.0net

License

LGPL-3.0-only

Source

Released from
0.4.0
Published under
@deckyard mplx
Repository owner
deckyard

Resolutions

Times 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.

Readme

@deckyard/vies

test Documentation release

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".

Documentation

Install

jvc add @deckyard/vies

This vendors the deck to vendor/<scope>/vies/. Without jvc, unpack the src/ subtree of a release archive (<scope>-vies-<version>.tar.gz) there.

Usage

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.

Requirements

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.

Development

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 archive

Licence

LGPL-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.

Trademarks

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.

This deck as JSON