Combine Same item in Purchase invoice

I have created multiple Purchase Orders (POs) in ERPNext with the same item and same supplier. When I create an invoice and use the option ‘Get items from Purchase Order’ items are repeating in the child table. How can I combine these items into one?
Thanks in Advance

It is not possible because when you do “get item from purchase order” all the items will arrive, but the item is linked to the purchase invoice item level. So you can’t merge it. If it’s merging then you can’t track how many items have gone against the purchase order and there will be confusion.

Thanks for Reply, in my case one item can we manage via custom script for only specific item or group?

No … ! because when you get the purchase order item then it will link the purchase invoice item.

Thanks for Your Suggestion and support