To attach any supporting documents while recording the payment against an invoice, you may click on record payment >> scroll down >> attach files (max 3 files) >> update payment.