# 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).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.neox.vn/docs/global/collections/integration/sftp-upload-document-file-of-collection-transaction.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
