Open the client → tab Finance → click on the invoice and choose Mark as paid. Enter the payment date. The invoice disappears from "Outstanding" and appears under "Paid".
With a Stripe or Moneybird integration, this happens automatically as soon as the payment is in — manually marking is then rarely necessary.