Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include order invoice date in transactional order email to comply with EU regulation #39378

Open
bamboekeizer opened this issue Nov 18, 2024 · 1 comment

Comments

@bamboekeizer
Copy link

Description

Add the order invoice issued date variable to be used in the transactional order invoice email

Expected behavior

The behavior of the invoice date inclusion in the transactional email template related to orders invoicing should be similar to the order date. Here the template for the order creation email template:

        <h1>{{trans 'Your Order <span class="no-link">#%increment_id</span>' increment_id=$order.increment_id |raw}}</h1>
        <p>{{trans 'Placed on <span class="no-link">%created_at</span>' created_at=$created_at_formatted |raw}}</p>

Here is the current template for the order invoice, where you can see it is lacking the invoice creation date:

{{trans "Your Invoice #%invoice_id for Order #%order_id" invoice_id=$invoice.increment_id order_id=$order.increment_id}}


Here is the expected template for the order invoice:

{{trans "Your Invoice #%invoice_id for Order #%order_id" invoice_id=$invoice.increment_id order_id=$order.increment_id}}


{{trans 'Create on %created_at' created_at=$created_at_formatted |raw}}

Benefits

Now the order invoice emails comply with the requirements for information on an invoice according to EU regulation:
https://taxation-customs.ec.europa.eu/taxation/vat/vat-businesses/vat-invoicing_en
image

Additional information

No response

Release note

No response

Copy link

m2-assistant bot commented Nov 18, 2024

Hi @bamboekeizer. Thank you for your report.
To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce.


Join Magento Community Engineering Slack and ask your questions in #github channel.
⚠️ According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting.
🕙 You can find the schedule on the Magento Community Calendar page.
📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant