Generate multiple invoices type when order is placed

Created on 10 February 2023, over 1 year ago

Problem/Motivation

Thank you for the great work.
For a project, I need to generate multiple invoices at the same time. One for the customer and one for the website commerce manager.
Both needs to be generated when an order is placed and have their own twig template.
It's OK when an invoice is automatically generate and a credit memo (for test purpose) is generate manually, but how to generate both in response of the same event ?
For exemple, is it possible to generate an invoice and a credit memo at the same time ?
I try to use the invoiceGenerator service but how do I specify the invoice type ?
Thanks,

πŸ’¬ Support request
Status

Active

Component

Code

Created by

πŸ‡«πŸ‡·France moonparade

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024