Closed unho closed 4 years ago
@arthurdejong Ready for review.
I would rather have the module have the same signature as other validation modules (having compact()
, validate()
and is_valid()
functions.
For an example, see the stdnum.eu.vat module. You can also use the get_cc_module()
from stdnum.util to avoid the extra external dependency.
Hi @unho, I've created ff188bd based on your PR with some changes as described earlier. Thanks!
Thanks @arthurdejong I am sorry I didn't had time to do it myself.
No worries, so much to do, so little time ;)
This effectively mimics vatnumber's
check_vat
function, so people can easily replace the outdatedvatnumber
library withstdnum
.