Skip to content

Commit

Permalink
fix: remove discouraged header info
Browse files Browse the repository at this point in the history
  • Loading branch information
barredterra committed Nov 16, 2024
1 parent 4813ea4 commit 4ad12e3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions eu_einvoice/european_e_invoice/custom/sales_invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,9 @@ def get_xml(invoice, company, seller_address=None, customer_address=None):
# Document/message claiming payment for goods or services supplied under
# conditions agreed between seller and buyer.
doc.header.type_code = "380"

doc.header.name = "RECHNUNG"
doc.header.issue_date_time = invoice.posting_date
if invoice.language:
doc.header.languages.add(invoice.language)

doc.trade.settlement.payee.name = invoice.customer_name
doc.trade.settlement.invoicee.name = invoice.customer_name

doc.trade.settlement.currency_code = invoice.currency
doc.trade.settlement.payment_means.type_code = payment_means_codes.get(
[("Payment Terms Template", invoice.payment_terms_template)]
Expand Down

0 comments on commit 4ad12e3

Please sign in to comment.