Skip to content

Commit

Permalink
fix: ensure vatex reason code is in upper case (#56) (#57)
Browse files Browse the repository at this point in the history
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
  • Loading branch information
mergify[bot] and barredterra authored Jan 10, 2025
1 parent 2695743 commit c449f31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eu_einvoice/european_e_invoice/custom/sales_invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ def _add_line_item(self, item: SalesInvoiceItem):
("Tax Category", self.invoice.tax_category),
("Sales Taxes and Charges Template", self.invoice.taxes_and_charges),
]
)
).upper()

li.settlement.monetary_summation.total_amount = item.amount
self.doc.trade.items.add(li)
Expand Down Expand Up @@ -515,7 +515,7 @@ def _add_empty_tax(self):
("Tax Category", self.invoice.tax_category),
("Sales Taxes and Charges Template", self.invoice.taxes_and_charges),
]
)
).upper()
self.doc.trade.settlement.trade_tax.add(trade_tax)

def _add_payment_terms(self):
Expand Down

0 comments on commit c449f31

Please sign in to comment.