My customer pay directly my supplier how to make entry for it
One way of doing it via journal entry.
But would i be able to link invoice via genral entry
Yes, you can be able to like with Invoices later using Payment Reconciliation.
You can refer the doc: Payment Reconciliation (erpnext.com)
Thankyou soo much