Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
6142 Ansichten

Hello,

I would insert the VAT code without the initial CC. I would do the same for Albania and EU countries.

Can you tell me what I need to edit in the file base_vat.py? 




Here is my Vat Validation function:

_ref_vat = {

'al': 'K12345678L' # Albania, contributed by Alban Ndoja

}



# VAT validation in Albania, contributed by # Alban Ndoja.

def check_vat_al(self, vat):

if re.match("[ABCDEFGHIJKLMNOPQRSTUVXYZ][\d]{8}[ABCDEFGHIJKLMNOPQRSTUVXYZ]", vat, flags=0):

return True

else:

return False



Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Dez. 15
5561
2
Mai 15
4532
0
März 25
1853
0
Jan. 25
4120
0
Aug. 23
1320