Upload File to Case Instanced

Hi,

I need to send via API url a file (example .xls) to a variable inside an instantiated case. I want to send it to a variable document I created.

Because I need my first task of the process is Service Task and during the process I take the data from this spreadsheet and put it in a Table in BDM.

Can anyone help me or do you have any documentation?