dragos-constantin-stoica / euro-invoice.eu

Invoicing platform for EU companies
GNU General Public License v3.0
1 stars 0 forks source link

Trim spaces from NRN and VAT for Company and Clients #43

Closed dragos-constantin-stoica closed 11 months ago

dragos-constantin-stoica commented 11 months ago

Trim spaces and any other characters, also internal spaces for National Registration Number and VAT number for Companies and Clients.

https://www.oreilly.com/library/view/regular-expressions-cookbook/9781449327453/ch04s21.html https://en.wikipedia.org/wiki/VAT_identification_number https://itecnote.com/tecnote/r-check-vat-number-for-syntactical-correctness-with-regex-possible/

dragos-constantin-stoica commented 11 months ago

Not checking VAT against regular expression - not implemented since VIES check should be enough.