> For the complete documentation index, see [llms.txt](https://docs.signius.eu/manuals/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.signius.eu/manuals/harmony-desktop-en/signing/xml-documents-xades-in-securedoc.md).

# XML Documents (XAdES in SECUREDOC)

1. Open SecureDoc app.
2. Choose XAdES fromat in the "Signing" tab.
3.

```
<figure><img src="/files/xRrY0rONtKq7rYMaoHpC" alt=""><figcaption></figcaption></figure>
```

4. To add a timestamp, go to "Settings" tab, click "Timestamp Settings" and enter a timestamp server address your username and password. Alternatively you cen select a variant without a timestamp.
5.

```
<figure><img src="/files/EH5l21ATb3e28NUDnFyz" alt=""><figcaption></figcaption></figure>
```

6.

```
<figure><img src="/files/b8olCOl8016Mh78ehaFi" alt=""><figcaption></figcaption></figure>
```

7. Add the file(s) by clicking "Add File" in the "Signing" Tab.
8.

```
<figure><img src="/files/ZY99kqnX2fbFyBRUy85o" alt=""><figcaption></figcaption></figure>
```

9. Select your file(s) and click "Sign files".
10.

```
<figure><img src="/files/5LK0c9YntYxlrYNAyX0A" alt=""><figcaption></figcaption></figure>
```

11. Click "Personal certificates", select your certificate and click OK. If you can't see uour certificate make sure, that Harmony Desktop is running and click "Refresh".&#x20;
12.

```
<figure><img src="/files/wMTdBUJM9TCEPtr6rk9i" alt=""><figcaption></figcaption></figure>
```

13. Enter your OTP code (SMS token). This might show up two times.
14.

```
<figure><img src="/files/8wVPwprjf6DRK2710nnz" alt=""><figcaption></figcaption></figure>
```

15. After that your document will be signed. On SIGNIUS Professional platform the amount of qulalified signatures will be reduced by the number of signed documents.
16.

```
<figure><img src="/files/7VmP6iav467GatvxgeBo" alt=""><figcaption></figcaption></figure>
```

17. If you click "Show document", it will open in the system's editor. Signature is located at the ent of the document.
18.

```
<figure><img src="/files/626fNsMWheF98TEXmBTE" alt=""><figcaption></figcaption></figure>
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.signius.eu/manuals/harmony-desktop-en/signing/xml-documents-xades-in-securedoc.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
