yolk/valvat

Swiss (CH) VAT validation and lookup

Closed this issue · 2 comments

Hello!

First off, thanks for all the work put into this gem. Big fan!

I'm looking to do Swiss (CH) validations and lookups as well. Would you consider extending Valvat with that functionality?

I have already put some work into it and would be happy to make an effort and open a PR if you'd like.

yolk commented

Hi Jonas,

yes, this would be a good addition. But please take a look at the implementation of the UK HMRC Service. I guess I would deactivate the lookup by default and add an :ch option, just like the :uk one.

Looking forward to your PR!

Hey Sebastian!

Glad to hear that! Had a look at the UK HMRC Service as suggested and made the BFS lookup deactivated by default as per your suggestion.

Opened feat: support for CH VATs #131 now. A bit unsure where to place some things (regarding the checksum digits / getting rid of the suffixes MWST/IVA/TVA). Looking forward to your feedback!