Receipting amount in bank against an invoice

Just wondering how do i go about receipting money against a existing invoice.
I have imported my bank statement and have an amount of $100 which relates to an invoice I raised for $100.
If I “Receive Money” for an invoice using Sales Invoices > Invoice > Receive Money, it creates a duplicate record in my bank statement and my bank is out $100.
Is there a way to assign a payment in my bank account to pay off an invoice without creating a duplicate?

Thanks in advance.

1 Like

Doing both 1) importing bank statement and 2) Receive Money would duplicate the deposit.

Use the imported bank statement item only, click on Edit next to that item - then 1) change the account to Accounts Receivable and then select the Invoice, or 2) change the account to Customer Credits and then select the Customer