---
title: "DocumentAttachmentFiles (Exact Online)"
description: "Vedlegg til dokumenter"
language: nb
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/nb/datamodels/exactonline/ExactOnlineREST.Documents.DocumentAttachmentFiles
original: https://documentation.invantive.eu/en/datamodels/exactonline/ExactOnlineREST.Documents.DocumentAttachmentFiles
updated: 2026-12-05T18:12:55Z
license: https://documentation.invantive.eu/nb/
---

# DocumentAttachmentFiles: Exact Online Document Attachment Files

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

- Katalog: `ExactOnlineREST`
- Skjema: `Documents`
- Primærnøkler: `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 tabellen er partisjonert per verdi av `Division` kolonnen.

Du kan hente og endre data ved hjelp av `insert` og `delete`.

## Sammendrag

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.

Endringer kommer inn via webhook-emnet `DocumentAttachments` på `Document`.

## API-kilde

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

## Ytelsesegenskaper

| Karakteristisk | Verdi |
|---|---:|
| Gjennomsnittlig tilgangsforsinkelse (ms) | 5 |
| Antall rader per minutt ved full skanning | 7,200 |
| Antall rader i punkt-Query-forespørsler per minutt | 300 |
| Skriv rader per minutt | 300 |

Resultatet kan lagres i hurtigbufferen på klienten.

## Tabellkolonner

Kolonnene i tabellen `DocumentAttachmentFiles` vises nedenfor. Hver kolonne har en SQL-datatype. En ny ikke-nullverdi må oppgis for hver nødvendig kolonne til enhver tid under innsetting og oppdatering.

| Navn | Datatype | Etikett | Nødvendig | Karakterer | Dokumentasjon |
|---|---|---|:---:|---|---|
| `Attachment` | `blob` | Vedlegg | [ ] | writable | Contains the attachment. |
| `AttachmentFromUrl` | `blob` | Vedlegg 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` | Bedrifts-ID | [x] |  | Unique number of the Exact Online division. |
| `DivisionCompanyCoCNumber` | `varchar2(60)` | Divisjonens handelskammer-nummer | [ ] | writable | Chamber of commerce number of the Exact Online division. |
| `DivisionCompanyIBANNumber` | `varchar2(50)` | Divisjonens IBAN-nummer | [ ] | writable | IBAN number of the Exact Online division. |
| `DivisionCompanyName` | `varchar2(50)` | Divisjon Selskapets navn | [x] | writable | Company name of the Exact Online division. |
| `DivisionCompanyRSINNumber` | `varchar2(9)` | Divisjon RSIN-nummer | [ ] | writable | RSIN number of the Exact Online division. |
| `DivisionCompanyVATNumber` | `varchar2(35)` | Avdelingens MVA-nummer | [ ] | writable | VAT number of the Exact Online division. |
| `DivisionCompanyWageTaxNumber` | `varchar2(60)` | Divisjonsnummer for lønnsskatt | [ ] | writable | Wage tax number of the Exact Online division. |
| `DivisionLabel` | `varchar2(128)` | Divisjonsbetegnelse | [x] | writable | Label of the Exact Online division. |
| `DivisionName` | `varchar2(50)` | Administrasjonsnavn | [x] | writable | Name of the Exact Online division. |
| `DivisionOwnerCompanyName` | `varchar2(50)` | Navn på abonnent | [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` | Kortnavn på avdeling | [x] | writable | Short name of the Exact Online division. |
| `Document` | `guid` | Dokument | [x] | filtre i plattformen, skrivbar | Reference to the Document. |
| `FileExtension` | `varchar2` | Utvidelse | [ ] | writable | Extension of the file name. |
| `FileName` | `varchar2` | Filnavn | [ ] | filtre i plattformen, skrivbar | Filename of the attachment. |
| `FileSize` | `double` | Filstørrelse | [x] | filtre i plattformen, skrivbar | File size. |
| `ID` | `guid` | ID | [x] | filtre i plattformen, 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økler

| Nøkkel | Spalte | Betegner | Vennlig | Beskrivelse |
|---|---|---|---|---|
| `DocumentAttachmentFiles_Document_Documents_fk` | `Document` | [Documents](ExactOnlineREST.Documents.Documents)`.ID` | Nøkkel |  |


## Utgivelsesmerknader

Hva som har endret seg fra versjon til versjon når det gjelder tabeller, kolonner, attributter og funksjonalitet i driveren:

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