> For the complete documentation index, see [llms.txt](https://support.docstudio.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.docstudio.com/user/sign-and-download-envelopes/how-to-sign-an-envelope-qualified-electronic-signature.md).

# How to Sign an Envelope (Qualified Electronic Signature)

{% hint style="info" %}
To sign a document, the envelope must contain at least one signature field.
{% endhint %}

### How to sign an envelope using QES

1. In the **Required signatures** block:
   * Click the **QES signature** button.
   * Or click the **Pencil** icon, open the target field, and select the **QES signature** field.

<figure><img src="/files/oInvkesMzLOhfd7EG8o9" alt=""><figcaption></figcaption></figure>

2. In the **Sign the documents** window, open the signature type list and select an available QES method.

<figure><img src="/files/E3JwO0QNA6CrHAYJDQ9a" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Available signing methods depend on the configured signature providers. The verification and signing flow may differ for file-based keys, USB tokens, cloud signatures, and QR-based signatures.
{% endhint %}

3. Scan the QR code and confirm the verification operation in Vchasno.QES. After confirmation, return to this page.

<figure><img src="/files/HgWPdYLb0x3CCW4j0tFc" alt="" width="563"><figcaption></figcaption></figure>

4. Review the certificate details and click **Next**.

<figure><img src="/files/OrjcVSbqeHKDye1pwFXC" alt="" width="563"><figcaption></figcaption></figure>

5. Review the list of documents you are going to sign. Keep **Sign all documents** selected to sign all available XML and PDF versions, then click **Sign**.

<figure><img src="/files/YAbTihrrLN3eAi7zWFVs" alt="" width="563"><figcaption></figcaption></figure>

The document list includes:

* A human-readable PDF version.
* An XML version with structured document data.

6. Scan the QR code and confirm the signing operation in Vchasno.QES. Return to this page and wait until the signing process is completed.

<figure><img src="/files/N4y4fYSavTt8AbEkYnBM" alt="" width="563"><figcaption></figcaption></figure>

7. After the signing window closes, review the updated signature status in the **Required signatures** block.
8. Click a signed field to view who signed the document and when.
9. Sign all documents assigned to your role. Then click **Send** to complete the signing flow.

{% hint style="info" %}
If needed, you can also apply a stamp. Use **I want to choose stamp** on the second signing step.
{% endhint %}

### How to sign all documents in an envelope

You can sign all eligible documents in one flow.

1. Follow the signing flow until you reach the documents list.
2. If more than one document is available, select **Sign all documents**.
3. Review the full list of documents available for signing.
4. Continue the signing flow to sign all documents from the list.

<figure><img src="/files/4Mqk57dBOI63T5TXaIHj" alt="" width="563"><figcaption></figcaption></figure>

{% hint style="warning" %}
Click **Send** after the last signing step. Otherwise, the signing action is not saved.
{% endhint %}

### How to download signed documents

You can download signed documents only after all participants with the **Signer** role complete their steps.

1. Make sure the envelope is completed.
2. Open the envelope.
3. Click the **Download** button in the header to download the full envelope archive.
4. Or click the **Download** button next to a document name to download that document with its signatures.

After you click the download button, the archive downloads automatically.

{% columns %}
{% column %}

<figure><img src="/files/2F329mqmUrrX2yIPiA8K" alt=""><figcaption></figcaption></figure>
{% endcolumn %}

{% column %}

<figure><img src="/files/7vky3EmqoxaNPgwM8CWa" alt=""><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

### How to check signature validity

To validate the signature:

1. Download the archive with the signed document and signature files.
2. Open [the CZO verification service](https://czo.gov.ua/verify).
3. Select the `.p7s` file and the signed document.
4. Click **Check**.

{% hint style="info" %}
After validation is complete, review the result.
{% endhint %}
