---
title: "AttachmentsByEntityType (Fortnox)"
description: "Attachments by Entity Type"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/fortnox/Fortnox.FileAttachments.AttachmentsByEntityType
original: https://documentation.invantive.eu/en/datamodels/fortnox/Fortnox.FileAttachments.AttachmentsByEntityType
updated: 2026-11-01T16:13:15Z
license: https://documentation.invantive.eu/en/
---

# AttachmentsByEntityType: Fortnox Attachments by Entity Type

`read only` `REST`

- Catalog: `Fortnox`
- Schema: `FileAttachments`
- Label: Attachments by Entity Type

Get attached files on an entity

Can only retrieve data.

## API Source

- Endpoint: `/api/fileattachments/attachments-v1`
- Operation: `get /api/fileattachments/attachments-v1`

## Performance Characteristics

| Characteristic | Value |
|---|---:|
| Average access latency (ms) | 356 |
| Full scan rows per minute | 85,000 |
| Point query rows per minute | 168 |

The result can be cached on the client.

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `entitytype` | `` | [x] |  | type of the entities whose attachments should be fetched (Values: OF, O, F, C, LGR_IO, LGR_IG) |
| `financialyear` | `` | [ ] |  | Selects what financial year that should be used (does not work on every table). |
| `financialyeardate` | `` | [ ] |  | Selects by date, what financial year that should be used (does not work on every table). |
| `fromdate` | `` | [ ] |  | Defines a selection based on a start date. Only available for invoices, orders, offers, vouchers and supplierinvoices (does not work on every table). |
| `lastmodified` | `` | [ ] |  | Retrieves all records since the provided timestamp (does not work on every table). |
| `todate` | `` | [ ] |  | Defines a selection based on an end date. Only available for invoices, orders, offers, vouchers and supplierinvoices (does not work on every table). |

## Table Columns

The columns of the table `AttachmentsByEntityType` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `entityId` | `int64` | Entity ID | [ ] | filters on the platform, writable, `entityId` |  |
| `entityType` | `varchar2` | Entity Type | [ ] | filters on the platform, writable, `entityType` |  |
| `fileId` | `varchar2` | Fileid | [ ] | filters on the platform, writable, `fileId` |  |
| `id` | `guid` | ID | [ ] | filters on the platform, writable, `id` |  |
| `includeOnSend` | `char` | Include on Send | [ ] | filters on the platform, writable, `includeOnSend` |  |



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

- [Fortnox](/en/release-notes/drivers?driver=fortnox)

