Skip to content

Instantly share code, notes, and snippets.

View zeugri's full-sized avatar

Alex Arvinte zeugri

View GitHub Profile
@zeugri
zeugri / tva_intracom_fr.sh
Created January 12, 2017 10:27 — forked from sstolz/tva_intracom_fr.sh
TVA intracommunautaire FR
# Calcul GRATUIT et pour tous du numéro de TVA intracom français
# !! le contrôle de ces clés n'implique pas l'existence réelle du numéro de TVA intracommunautaire !!
# Source : https://fr.wikipedia.org/wiki/Code_Insee#Le_num.C3.A9ro_de_TVA_Intracommunautaire
SIREN=111222333 && echo "FR $(echo '(12 + (3*(${SIREN} % 97))) % 97' | bc) ${SIREN}"