---
title: "DocumentAttachmentFiles (Exact Online)"
description: "Vedh\u00E6ftede filer"
language: da
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/da/datamodels/exactonline/ExactOnlineREST.Documents.DocumentAttachmentFiles
original: https://documentation.invantive.eu/en/datamodels/exactonline/ExactOnlineREST.Documents.DocumentAttachmentFiles
updated: 2026-12-05T12:23:10Z
license: https://documentation.invantive.eu/da/
---

# DocumentAttachmentFiles: Exact Online Document Attachment Files

`insert` `delete` `per partition` `webhook` `REST`

- Katalog: `ExactOnlineREST`
- Skema: `Documents`
- Primærnøgler: `ID`
- Label: Document Attachment Files

The files attached to documents, including their contents, read through the regular Exact Online REST API at 60 rows per call.

Dataene i denne tabel er partitioneret efter værdien af kolonnen `Division`.

Man kan hente og ændre data ved hjælp af `insert` og `delete`.

## Resumé

The same rows are available as DocumentAttachmentFilesBulk (the bulk API, 1,000 rows per call, read-only) and as DocumentAttachmentFilesIncremental (a local copy kept current through the sync API). To read more than a few rows, DocumentAttachmentFilesBulk needs far fewer API calls. DocumentAttachmentFiles is the one of them that can be written to.

Ændringer modtages via webhook-emnet `DocumentAttachments` på `Document`.

## API-kilde

- Endepunkt: `/api/v1/{division}/documents/DocumentAttachments`
- Metadata: `/api/v1/{division}/documents/$metadata`

## Ydeevneegenskaber

| Karakteristika | Værdi |
|---|---:|
| Gennemsnitlig adgangsforsinkelse (ms) | 5 |
| Antal rækker pr. minut ved fuld scanning | 7,200 |
| Antal Query-rækker pr. minut | 300 |
| Skriv rækker pr. minut | 300 |

Resultatet kan gemmes i cachen på klienten.

## Tabelkolonner

Tabellens kolonner `DocumentAttachmentFiles` er vist nedenfor. Hver kolonne har en SQL-datatype. Der skal til enhver tid angives en ny ikke-null-værdi for hver krævet kolonne under indsætning og opdatering.

| Navn | Datatype | Etiket | Krævet | Mærker | Dokumentation |
|---|---|---|:---:|---|---|
| `Attachment` | `blob` | Vedhæftet fil | [ ] | writable | Contains the attachment. |
| `AttachmentFromUrl` | `blob` | Vedhæftet fil fra URL | [ ] | writable | The binary attachment retrieved by downloading the URL.This is different from the Attachment, which is stored directly in the table. |
| `Division` | `int32` | Virksomheds-id | [x] |  | Unique number of the Exact Online division. |
| `DivisionCompanyCoCNumber` | `varchar2(60)` | Afdelingsnummer i Handelskammeret | [ ] | writable | Chamber of commerce number of the Exact Online division. |
| `DivisionCompanyIBANNumber` | `varchar2(50)` | Afdelingens IBAN-nummer | [ ] | writable | IBAN number of the Exact Online division. |
| `DivisionCompanyName` | `varchar2(50)` | Afdeling Virksomhedsnavn | [x] | writable | Company name of the Exact Online division. |
| `DivisionCompanyRSINNumber` | `varchar2(9)` | Afdeling RSIN-nummer | [ ] | writable | RSIN number of the Exact Online division. |
| `DivisionCompanyVATNumber` | `varchar2(35)` | Afdelingens momsregistreringsnummer | [ ] | writable | VAT number of the Exact Online division. |
| `DivisionCompanyWageTaxNumber` | `varchar2(60)` | Afdelingsnummer for lønskat | [ ] | writable | Wage tax number of the Exact Online division. |
| `DivisionLabel` | `varchar2(128)` | Afdelingsbetegnelse | [x] | writable | Label of the Exact Online division. |
| `DivisionName` | `varchar2(50)` | Administrationsnavn | [x] | writable | Name of the Exact Online division. |
| `DivisionOwnerCompanyName` | `varchar2(50)` | Abonnentens navn | [x] | writable | Name of the customer account in division 1 owning the Exact Online subscription to which this division belongs. |
| `DivisionOwnerCompanyNumber` | `varchar2(18)` | Abonnentnummer | [x] | writable | Number of the customer account in division 1 owning the Exact Online subscription to which this division belongs. |
| `DivisionShortName` | `int64` | Afdelingens korte navn | [x] | writable | Short name of the Exact Online division. |
| `Document` | `guid` | Dokument | [x] | filtre på platformen, skrivbar | Reference to the Document. |
| `FileExtension` | `varchar2` | Udvidelse | [ ] | writable | Extension of the file name. |
| `FileName` | `varchar2` | Filnavn | [ ] | filtre på platformen, skrivbar | Filename of the attachment. |
| `FileSize` | `double` | Filstørrelse | [x] | filtre på platformen, skrivbar | File size. |
| `ID` | `guid` | ID | [x] | filtre på platformen, skrivbar | Primary key. |
| `Url` | `varchar2` | URL | [ ] | writable | Url of the attachment.To get the file in its original format (xml, jpg, pdf, etc.) append &Download=1 to the url. |

## Nøgler

| Nøgle | Kolonne | Henviser til | Art | Beskrivelse |
|---|---|---|---|---|
| `DocumentAttachmentFiles_Document_Documents_fk` | `Document` | [Documents](ExactOnlineREST.Documents.Documents)`.ID` | Nøgle |  |


## Udgivelsesnoter

Hvilke ændringer der er sket i hver udgivelse med hensyn til driverens tabeller, kolonner, attributter og funktioner:

- [Exact Online](/da/release-notes/drivers/exact-online)
