There are a couple ways I can think of to do this. One would be to first create the transaction in draft mode without your document. This would give you your packageId. From there, you can add the document to the transaction. If you give the document a custom ID, you won’t have to search for the ID that eSignLive assigns to it, you’ll already know what will be used. So, from here, you can use document injection to inject a value into the acro-field in your PDF.