spfx – Pass parameter to List web part (modern)

I have a SP2019 on-premises environment where I need to develop a workflow process for accepting invoices. Basically, people are adding by hand all positions of the invoice on a form, and then pass it to first level of acceptance. So my idea is that the each invoice would have it’s positions stored as items in folders on a list. Below custom SPFx webpart there would be a list web part, which would display items from a folder associated with given invoice (some sort of ID). Now, the problem is that list web part (modern) allows me to specify the folder on a list only in properties pane – and I would like to pass it dynamically, to open the specific folder when each task is opened. Is it possible? If yes, how?