Organise information around the assignment
Treat the assignment as a connected sequence: enquiry, agreed work, delivery and invoice. Use an understandable description in the relevant documents. This helps you recognise a transaction later without relying entirely on a file name or an old message.