diff --git a/invoice.py b/invoice.py index 7cce4bc..2298863 100644 --- a/invoice.py +++ b/invoice.py @@ -167,7 +167,7 @@ class Invoice: def _set_sii_keys(self): tax = None for t in self.taxes: - if t.tax.tax_used: + if t.tax.sii_book_key: tax = t.tax break if not tax: