Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
5792 Vizualizări

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



Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
dec. 15
5169
2
mai 15
4205
0
mar. 25
1420
0
ian. 25
3498
0
aug. 23
1094