You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's slightly cumbersome to import the countries. Have you considered adjusting the interface to something like this:
import{lookup}from'jsvat';letresponse=lookup('BE0411905847');// where response would be the current response object
Perhaps there could be a property for groups of countries in the response, e.g. blocs: ['eu'], so one could quickly check if a VAT number is within the EU VAT scheme. Could add more relevant blocks in the future if needed.
Happy to hear your thoughts!
The text was updated successfully, but these errors were encountered:
Thanks for a great library!
Two thoughts:
blocs: ['eu']
, so one could quickly check if a VAT number is within the EU VAT scheme. Could add more relevant blocks in the future if needed.Happy to hear your thoughts!
The text was updated successfully, but these errors were encountered: