I’m on v5.3.25 and just prepared two invoices to the same customer:
- prepped first invoice and saved as draft
- prepped second invoice and saved as draft
- pressed Email Invoice on the first invoice
- got a preview of the email to be sent (Initial Email) which had the amount correct, but
- the PDF preview was that of the second invoice
After some trying I got around this behavior by editing, saving, and sending first invoice, then editing, saving, and sending second invoice. Apparently Email Invoice always shows the PDF of the last saved invoice in the preview instead of the PDF for that invoice. I haven’t tried if it would also send the wrong PDF or if the email would have the correct PDF attached, as I didn’t want to bother my customer.