Get invoice by reference

Is it possible to get the invoice in Freeagent from the reference name/ID,
to put this in context I’m trying to mark payments to invoices from my bank
transaction feed, but I only have the reference ID to go on from my API
code.

I need to have a method to call upon “paid_invoice” from
bank_transaction_explanations https://api.freeagent.com/v2/invoices/:reference_here

I’m importing my Stripe feed into freeagent, and the Stripe feed has the
invoice reference number in the transaction description, so if I could
automatically mark the invoice as paid with the transaction - it would save
days of manual accountancy work.

Many thanks for your help in advance