---
title: "Declaration"
description: "Reference for eqty_sdk.Declaration."
source: "Integrity Python SDK"
---
**Functions:**

- [**add_attachment_cid**](#eqty_sdkdeclarationadd_attachment_cid) – Appends the CID to the attachment cid list of the declaration.
- [**add_control_cid**](#eqty_sdkdeclarationadd_control_cid) – Appends the CID to the control cid list of the declaration.
- [**add_extra**](#eqty_sdkdeclarationadd_extra) – Adds or Overwrites the key/value in the extra field of the declaration.
- [**to_dict**](#eqty_sdkdeclarationto_dict) – Convert to dictionary, omitting empty/None values.
- [**to_json**](#eqty_sdkdeclarationto_json) – Convert to JSON string.

## `eqty_sdk.Declaration.add_attachment_cid`

```python
add_attachment_cid(cid: str) -> Declaration
```

Appends the CID to the attachment cid list of the declaration.

## `eqty_sdk.Declaration.add_control_cid`

```python
add_control_cid(cid: str) -> Declaration
```

Appends the CID to the control cid list of the declaration.

## `eqty_sdk.Declaration.add_extra`

```python
add_extra(key: str, val: str) -> Declaration
```

Adds or Overwrites the key/value in the extra field of the declaration.

## `eqty_sdk.Declaration.to_dict`

```python
to_dict() -> Dict[str, Any]
```

Convert to dictionary, omitting empty/None values.

## `eqty_sdk.Declaration.to_json`

```python
to_json() -> str
```

Convert to JSON string.