Hi, Vendor – Payment Receipt (411) is the one you want, not the account detail report. It's made for this — each payment with the invoices applied to it, document no, description and the applied amount per line.
External invoice number is where it stops. The payment's External Document No. is in the dataset, but not the one from each applied invoice, so that field needs adding through a report extension and then into the layout. Small job for a developer, no way around it from setup.
I'd test it with a foreign currency vendor first. There is an old issue on 411 where the not allocated amount comes out wrong when the invoice and the payment are in different currencies, I don't know if it's fully fixed in every version.
Glad to help - follow up if anything is unclear.
► If this solved it, marking it verified helps others too.
Regards,
Grigorios Mavrogeorgis
Business Central Consultant & AL Developer
Work: Gmsoft Limited
Blog: insidebusinesscentral
LinkedIn: linkedin.com/in/gregorymavrogeorgis