Skip to content

Releases: BlueHatbRit/vatcode-validator

More VAT code support

02 Mar 09:54
Compare
Choose a tag to compare

Improvements

  • Added support for Swiss VAT codes - #3

vatcode-validator 1.0.3

04 Aug 12:06
Compare
Choose a tag to compare

Includes some new patterns, some corrected patterns, and some misc changes for maintaining the module.

Added patterns

  • BG codes

Corrected to patterns

  • FR codes don't allow O or I characters
  • GBGD codes only allow 0 to 499
  • GBHA codes only allow 500 to 999
  • RO codes can be 2-10 digits

Other module changes

  • Reorder patterns to be alphabetical so they're easier to audit manually.
  • Test failures are output in red so they're easier to see.
  • Test process has status code of 1 on failures (and still status of 0 on success).

vatcode-validator 1.0.2

02 Mar 09:26
Compare
Choose a tag to compare

Now accepting spaces in all VAT codes. This will hopefully make it better for front end use to validate a users VAT code syntax.

vatcode-validator 1.0.1

02 Mar 09:25
Compare
Choose a tag to compare

The first release of vatcode-validator, takes in a VAT code and validates its form. Works on any EU VAT code, checking it's syntax (not it's validity).