AP Retainage Invoices

Can we connect a retainage AP invoice to the original invoice that the retainage was being held from to clear out the balance?

For example: Invoice # 1234 is for $1000 with a $200 retainage. We write a check to the vendor for $800. The vendor sends us a bill later, invoice # 5678, for that $200. How do we show that invoice # 1234 is paid in full?