diff --git a/addons/account_edi_ubl_cii/models/account_edi_common.py b/addons/account_edi_ubl_cii/models/account_edi_common.py index 4760963c15c..b5352db4ee7 100644 --- a/addons/account_edi_ubl_cii/models/account_edi_common.py +++ b/addons/account_edi_ubl_cii/models/account_edi_common.py @@ -177,7 +177,7 @@ class AccountEdiCommon(models.AbstractModel): else: return create_dict(tax_category_code='S') # standard VAT - if supplier.country_id.code in european_economic_area: + if supplier.country_id.code in european_economic_area and supplier.vat: if tax.amount != 0: # otherwise, the validator will complain because G and K code should be used with 0% tax return create_dict(tax_category_code='S')