Skip to content

Commit f880975

Browse files
fix: not able to submit sales invoice for italy
1 parent 723ed07 commit f880975

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

erpnext/regional/italy/utils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,7 @@ def prepare_invoice(invoice, progressive_number):
8080
invoice.stamp_duty = stamp_duty_charge_row.tax_amount
8181

8282
for item in invoice.e_invoice_items:
83-
if (item.tax_rate == 0.0 and item.tax_amount == 0.0
84-
and item.charge_type != 'Actual' and tax_data.get("0.0")):
83+
if item.tax_rate == 0.0 and item.tax_amount == 0.0 and tax_data.get("0.0"):
8584
item.tax_exemption_reason = tax_data["0.0"]["tax_exemption_reason"]
8685

8786
customer_po_data = {}

0 commit comments

Comments
 (0)