Skip to content

Instantly share code, notes, and snippets.

@zeugri
Forked from sstolz/tva_intracom_fr.sh
Created January 12, 2017 10:27
Show Gist options
  • Save zeugri/7105d996b75379a0c4cb58c44a7bd26b to your computer and use it in GitHub Desktop.
Save zeugri/7105d996b75379a0c4cb58c44a7bd26b to your computer and use it in GitHub Desktop.
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}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment