# SalesDocumentById: Simplicate Sales Document by ID Fetches a single document for sales by its id This is a read-only table function. The Simplicate API may not support modifying the data, or the Invantive UniversalSQL driver for Simplicate does not support it. In the latter case, use the table NativePlatformScalarRequests to upload data to the Simplicate API. - Catalog: `Simplicate` - Schema: `Sales` - Label: Sales Document by ID ## Parameters of Table Function | Name | Data Type | Required | Default Value | Documentation | |---|:---:|:---:|:---:|---| | `id` | `string` | ☑ | | The id of the template | ## Columns The columns of the table `SalesDocumentById` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `created_at` | `string` | Created On | ☐ | | | `created_by_amount` | `float` | | ☐ | | | `created_by_declarable` | `string` | | ☐ | | | `created_by_employee_id` | `string` | | ☐ | | | `created_by_id` | `string` | Created By ID | ☐ | | | `created_by_name` | `string` | | ☐ | | | `created_by_person_id` | `string` | | ☐ | Added in order to comply with the original sales/sales responsible_employee response | | `created_by_tariff` | `float` | | ☐ | | | `description` | `string` | Description | ☐ | | | `document_type_id` | `string` | Document Type ID | ☐ | | | `document_type_label` | `string` | Document Type Label | ☐ | | | `download_url` | `string` | Download URL | ☐ | | | `id` | `string` | ID | ☐ | | | `title` | `string` | Title | ☐ | | | `updated_at` | `string` | Updated On | ☐ | |