# SFTP upload document file of collection transaction

* NeoX will build an SFTP server for the merchant to upload the document file of the collection transaction.
* The format of file name:  *DSTH\_\[Merchant Code]\_\[Transaction Code]\_\[version upload].*
  * \[Merchant Code]: is obtained on the Merchant portal, in the *“My Profile”* menu.
  * \[Transaction Code]: is obtained on the Merchant portal, in the *“Collection management”* menu → *“Transactions management”* menu.
* The SFTP server information will be provided to the merchant upon actual connection.
* Sequence Diagram:

<figure><img src="https://content.gitbook.com/content/uIGO9I55gtHjY6deHGwV/blobs/u11hebDPj6h3zYfxSeZ8/Picture1.png" alt=""><figcaption></figcaption></figure>

* The merchant uploads the document file of the transaction via the SFTP protocol (Step1), before NeoX do the settlement (Step 3).
