Create file metadata input

Hello everyone,

i need to create a meta file input to attach file.

how can i do it?

for example: i want to create i invoice object then add the proof of payment as attachment, some one can tell me what is the best practices in M Files to do it ?