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

siren2tva

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

siren2tva

NodeJS module to manipulate French SIREN / SIRET or VAT Number in either way. This module will also retrieve legals informations such as legal form, company name, capital and adress from valid SIRET, SIREN or VAT numbers using French State OpenData Api.

  • 1.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

siren2tva siren2tva last commit licence Doc

NodeJS module to manipulate French SIREN / SIRET or VAT Number in either way. This module will also retrieve legals informations such as legal form, company name, capital and adress from valid SIRET, SIREN or VAT numbers using French State OpenData Api.

Features included :

  • Convert SIRET to VAT number
  • Convert SIREN to VAT number
  • Convert VAT number to SIREN
  • Clean SIRET / Siret or VAT number form space between numbers
  • Check if a number is a valid SIRET
  • Check if a number is a valid SIREN
  • Check if a number is a valid VAT number
  • Return legals informations about the company coresponding to a given SIREN / SIRET or VAT number
  • Return the name of the company coresponding to a given SIREN / SIRET or VAT number
  • Return the adress of the company coresponding to a given SIREN / SIRET or VAT number
  • Return the capital amount of the company coresponding to a given SIREN / SIRET or VAT number
  • Return the legal form of the company coresponding to a given SIREN / SIRET or VAT number
  • Return the last update recorded for the company coresponding to a given SIREN / SIRET or VAT number

Installation

npm install siren2tva --save

Usage example

var siren2tva = require('siren2tva');
siren2tva({ longCode: true });
console.log(siren2tva.siret2tva('44997052400038'));
// Return FR26449970524

Documentation

You can find example of all siren2tva function like siren2tva, tva2siren, check.isSIRET, check.isSIREN, check.isTVA, getInfoNom , getInfoAdress, getInfoCapital, getInfoLegal, getInfoLastUpdate, getInfo in the siren2tva full documentation.

Troubleshooting

If you run into difficulties installing or running siren2tva, you can create an issue.

Built With

Contributing

Read the contributing guide for details on our code of conduct, and the process for submitting pull requests to us.

Authors

This project is mainly developped by the startx dev team. You can see the complete list of contributors who participated in this project by reading CONTRIBUTORS.md.

License

This project is licensed under the Apache License Version 2.0 - see the LICENSE file for details

Keywords

FAQs

Package last updated on 02 Nov 2022

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