The first picture shows the sync message exportDeclaration(id) waiting for a reply message download(file). The second picture, I used an async call as a response to the sync message exportDeclaration(id). I couldn't find anything to know which method is the right one.

