Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

stdnum

Package Overview
Dependencies
Maintainers
1
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stdnum

Standard Number Validation

  • 0.0.8
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3.2K
decreased by-62.15%
Maintainers
1
Weekly downloads
 
Created
Source

Country Standard Numbers

Build

JavaScript (TypeScript) package to validate most all national numbers, with a focus on VAT, Person and Tax identifiers.

Supported Countries and Numbers

CountryCodeNameGroupMeaning
AndorraADNRTTaxTax Identifier (Número de Registre Tributari)
AlbaniaALNIPTVatVat Identifier (Numri i Identifikimit për Personin e Tatueshëm)
ArgentinaARCBUBankBank Account (Clave Bancaria Uniforme)
ArgentinaARCUITTaxTax Identity (Código Único de Identificación Tributaria)
ArgentinaARDNIPersonNational Identity (Documento Nacional de Identidad)
AustriaATBusinessidBusinessAustrian Company Register Numbers
AustriaATTINTaxAustrian tax identification number (Abgabenkontonummer)
AustriaATUIDVATAustrian VAT number (Umsatzsteuer-Identifikationsnummer)
AustriaATVNRPersonAustrian social security number(Versicherungsnummer)
BrazilBRCPFPersonBrazilian identity number (Cadastro de Pessoas Físicas)
BrazilBRCNPJCompanyBrazilian company number (Cadastro Nacional da Pessoa Jurídica)
ChileCLRUTTaxTax Identifier (Rol Unico Tributario) [RUN]
ColumbiaCONITTaxTax Identifier (Número de Identificación Tributaria)
EcuadorECCIPersonEcuadorian person identifier (Cédula de identidad)
EcuadorECRUCTax/VatEcuadorian company tax number (Registro Único de Contribuyentes)
SpainESCIFTax/VatTax Identifier (Código de Identificación Fiscal)
SpainESDNIPersonIdentity code (Documento Nacional de Identidad)
SpainESNIEPersonIdentity code foreigner (Número de Identificación de Extranjero)
SpainESNIFTaxTax Identifier (Número de Identificación Fiscal)
MexicoMXRFCTax/VatTax Identifier (Registro Federal de Contribuyentes)
MexicoMXCURPPersonIndividual Identifier (Clave Única de Registro de Población)
MexicoMXCLABEBankBank Account (Clave Bancaria Estandarizada)
ParaguayPYRUCTax/VatTax Identifier (Registro Único de Contribuyentes)
RussiaRUINNTax/VatTax Identifier (Идентификационный номер налогоплательщика)

Examples

TODO -- Usage examples

Credits

Thanks to python-stdnum for providing the inspiration and many of the checksum algorithm sources

References

https://wiki.scn.sap.com/wiki/display/CRM/Country+Tax+Category+check

FAQs

Package last updated on 22 Nov 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc