For some customers I have multiple contacts.
I tick only one contact when writing an invoice.
In the PDF the correct contact (first name and last name) is shown using “$contact.first_name $contact.last_name” in a custom design.
But for an e-invoice always the first contact from the customer is put into ram:DefinedTradeContact<ram:PersonName of the xml.
It seems that the first contact is the default one because it is chosen from the beginning and also when unticking all.
I tried this with ZUGFeRD (XInvoice_3.0).
Any ideas?
Thanks.