Skip to content

Commit

Permalink
fix: allow zero-amount tax rows (#90) (#92)
Browse files Browse the repository at this point in the history
resolves #40

(cherry picked from commit b383b31)

Co-authored-by: Raffael Meyer <[email protected]>
  • Loading branch information
mergify[bot] and barredterra authored Feb 5, 2025
1 parent a9e8978 commit 9591ccf
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 9591ccf

Please sign in to comment.