Add extra fields to all VAT queries
authorMagnus Hagander <magnus@hagander.net>
Mon, 14 May 2018 13:12:49 +0000 (15:12 +0200)
committerMagnus Hagander <magnus@hagander.net>
Mon, 14 May 2018 13:15:48 +0000 (15:15 +0200)
commit59061825b8b2760348cf845b2c6017abf3092806
tree355abd2ea8418bd97d826b16ad4d0b01919c0c9b
parent95a9c6cbacccf62be39f5f381489f60d0cf50ee9
Add extra fields to all VAT queries

It seems some countries, such as Spain, will fail in VAT validation if a
set of extra fields are not included. These fields can be set to blank
and it works -- and it seems to work fine to include them for other
countries as well, so let's include them in all requests and set them to empty.
postgresqleu/confsponsor/vatutil.py