@quinck/vat-validation
v0.1.3
Published
Utility to validate VAT numbers using vies api.
Downloads
18
Readme
vat-validation
Utility to validate VAT numbers using VIES api.
Installation
npm i @quinck/vat-validation
Usage
WIP
import { createVatValidationService } from '@quinck/vat-validation'
const vatValidationService = createVatValidationService()
vatValidationService.validateVat({
countryCode: 'IT', // ISO 3611 alpha-2
vatNumber: '01234567890' // Vat Number
})
.then(result => {
// do something with result
})
.catch(error => {
// handle errors
})
Contact
- Quinck: [email protected]
- Stefano Righini: [email protected]