Open artur-gajewski opened 6 years ago
By giving a country code and business id, a function could return a VAT ID formatted to international format.
Examples:
format('FI', '1234567-1') would return FI12345671 format('SE', '556697-6009') would return SE556697600901
I like this idea @artur-gajewski. Will take a while before I have time to take a stab at it though, PR's are welcome & appreciated!
By giving a country code and business id, a function could return a VAT ID formatted to international format.
Examples:
format('FI', '1234567-1') would return FI12345671 format('SE', '556697-6009') would return SE556697600901