vat

package
v0.0.0-...-c5bcced Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

The check/vat package checks the validity of a VAT number in the UK/EU.

var lib = require('check/vat');
var res = lib.check('GB 982 1503 23');
console.log(res);

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(orb *orbit.Orbit) interface{}

Types

type Module

type Module struct {
	// contains filtered or unexported fields
}

func (*Module) Check

func (this *Module) Check(number string) bool

Check validates the format and existence of a European VAT number, for all European member states.

var vat = require('validate/vat');
vat.Check("GB 982 1503 23");

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL