Releases: elliotblackburn/vatcode-validator
Releases · elliotblackburn/vatcode-validator
More VAT code support
Improvements
- Added support for Swiss VAT codes - #3
vatcode-validator 1.0.3
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
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
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).