But it does not work as VAT numbers of Canada do not start with the country code and the country code check is hardcoded in countriesVATDoesNotStartWithCountryCodehttps://github.com/mattickx/jsvat-next/blob/master/src/lib/jsvat.ts#L64 and cannot be overridden. It should be set as part of Country, then it would work.
I tried adding VAT validation for Canada following example: https://github.com/mattickx/jsvat-next?tab=readme-ov-file#extend-countries-list---add-your-own-country
But it does not work as VAT numbers of Canada do not start with the country code and the country code check is hardcoded in
countriesVATDoesNotStartWithCountryCode
https://github.com/mattickx/jsvat-next/blob/master/src/lib/jsvat.ts#L64 and cannot be overridden. It should be set as part ofCountry
, then it would work.