> For the complete documentation index, see [llms.txt](https://docs.neox.vn/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.neox.vn/docs/collections/integration/sftp-upload-document-file-of-collection-transaction.md).

# 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="/files/1mjnbAolxb9eu75mHwC0" 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).
