Skip to content

Commit

Permalink
fix: allow zero-amount tax rows
Browse files Browse the repository at this point in the history
resolves #40
  • Loading branch information
barredterra committed Feb 5, 2025
1 parent 4bc1edb commit 2bbe60f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions eu_einvoice/european_e_invoice/custom/sales_invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,9 +408,6 @@ def _add_line_item(self, item: SalesInvoiceItem):
def _add_taxes_and_charges(self):
tax_added = False
for i, tax in enumerate(self.invoice.taxes):
if not tax.tax_amount:
continue

if tax.charge_type == "Actual" and self.profile >= EInvoiceProfile.EXTENDED:
service_charge = LogisticsServiceCharge()
service_charge.description = tax.description
Expand Down

0 comments on commit 2bbe60f

Please sign in to comment.