增值税税号验证

openerp-base-vat的Python项目详细描述


安装此模块后,在合作伙伴的VAT字段中输入的值将 对所有支持的国家进行验证。这个国家是根据 以增值税编号为前缀的两个字母的国家代码,例如BE0477472701 将使用比利时规则进行验证。

有两种不同级别的增值税税号验证:

  • By default, a simple off-line check is performed using the known validation rules for the country, usually a simple check digit. This is quick and always available, but allows numbers that are perhaps not truly allocated, or not valid anymore.
  • When the “VAT VIES Check” option is enabled (in the configuration of the user’s Company), VAT numbers will be instead submitted to the online EU VIES database, which will truly verify that the number is valid and currently allocated to a EU company. This is a little bit slower than the simple off-line check, requires an Internet connection, and may not be available all the time. If the service is not available or does not support the requested country (e.g. for non-EU countries), a simple check will be performed instead.

目前支持的国家包括欧盟国家和一些非欧盟国家 比如智利、哥伦比亚、墨西哥、挪威或俄罗斯。对于没有支持的国家, 仅验证国家代码

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
JAXB可以将ArrayList作为逗号分隔的值输出吗?   java使用bcel将一个内部类移动到另一个外部类   java无法识别Lucene MoreLikeThis中的错误   安卓如何在Frida中将动态类转换为json或java文件   java如何使用Struts2在blob类型的列中保存我的sql中的图像?   使用mavenreleaseplugin将java maven发布到nexus 3.0.1失败   java这是正确的方法吗?   Windows上的java Runner不工作   找不到java Hibernate+Spring xml映射   java如何访问WMI查询的数据(通过JNA)SAFEARRAY结果   java如何在本地导入库而不使用Maven中的Nexus?   java渐变本地项目依赖项   使用URLFetchService/URL Google appengine for java