Money in, invoice unknown: a credit on the MT940 that matches nothing
Trigger: A credit on Asha's MT940 matches no open invoice, and its reference field says nothing useful.
What operations sees first: The cash is in the account and the receivable is still open. Nobody can say which invoice the money pays.