How do i link an imported estimate to an imported invoice.

How do i link an imported estimate to an imported invoice.

Hi, 

I'm looking to find a way to link the imported estimate to the imported invoice. When i import the invoice, i need to import the same amount as "payment invoice" and then the invoice become "payed". But the estimate stays as a draft. Is there a solution for this ? 

Kind regards, 
Sidney