> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Document API options

> Working with documents via SuperOffice APIs.

In this section, the focus will be on how to create, as well as edit, and upload a modified document.

## Available samples

### RESTful REST and HTTP RPC Agent APIs

* [Add document template][4]
* [Generate document][5]

### Services88 DocumentAgent

* [Create a new document][1]
* [Download an existing document][2]
* [Configuring document access][3]

## Documents vs. other entities

When working with documents, data will often intersect with the following entities:

* [company][17] (contact table)
* [contact][18] (person table)
* [follow-up][19] (appointment table)
* [project][11]
* [sale][10]

[1]: ./services-create

[2]: ./services-update

[3]: ./services-configure-access

[4]: ./rest-add-document-template

[5]: ./rest-generate-document

[10]: ../../../../sale/index

[11]: ../../../../project/index

[17]: ../../../../company/index

[18]: ../../../../contact/index

[19]: ../../../../diary/index


## Related topics

- [Create a quote document](/en/sale/learn/quote/create-quote-document.md)
- [SuperOffice.WebApi.Agents.DocumentAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.DocumentAgent.md)
- [SuperOffice.WebApi.Agents.DocumentMigrationAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.DocumentMigrationAgent.md)
- [SuperOffice.WebApi.Agents.IDocumentAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IDocumentAgent.md)
- [SuperOffice.WebApi.Agents.IDocumentMigrationAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IDocumentMigrationAgent.md)
- [Documents](/en/api/reference/restful/rest/person/documents.md)
