---
title: "DocumentAttachmentFiles (Exact Online)"
description: "Bilagor"
language: sv
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/sv/datamodels/exactonline/ExactOnlineREST.Documents.DocumentAttachmentFiles
original: https://documentation.invantive.eu/en/datamodels/exactonline/ExactOnlineREST.Documents.DocumentAttachmentFiles
updated: 2026-12-05T20:29:44Z
license: https://documentation.invantive.eu/sv/
---

# DocumentAttachmentFiles: Exact Online Document Attachment Files

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

- Katalog: `ExactOnlineREST`
- Schema: `Documents`
- Primärnycklar: `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.

Uppgifterna i denna tabell är uppdelade efter värdena i kolumnen `Division`.

Man kan hämta och ändra data med hjälp av `insert` och `delete`.

## Sammanfattning

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.

Ändringar skickas via webhook-ämnet `DocumentAttachments` på `Document`.

## API-källa

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

## Prestandakarakteristika

| Egenskap | Värde |
|---|---:|
| Genomsnittlig åtkomstfördröjning (ms) | 5 |
| Antal rader per minut vid fullskanning | 7,200 |
| Antal rader per minut i punktfrågor | 300 |
| Skriv rader per minut | 300 |

Resultatet kan lagras i cache på klientsidan.

## Tabellkolumner

Tabellens kolumner `DocumentAttachmentFiles` visas nedan. Varje kolumn har en SQL-datatyp. Ett nytt värde som inte är null måste alltid anges för varje obligatorisk kolumn vid insättning och uppdatering.

| Namn | Datatyp | Etikett | Nödvändigt | Betyg | Dokumentation |
|---|---|---|:---:|---|---|
| `Attachment` | `blob` | Bilaga | [ ] | writable | Contains the attachment. |
| `AttachmentFromUrl` | `blob` | Bilaga från 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` | Företags ID | [x] |  | Unique number of the Exact Online division. |
| `DivisionCompanyCoCNumber` | `varchar2(60)` | Avdelningens handelskammarnummer | [ ] | writable | Handelsregisternummer för Exact Online-divisionen. |
| `DivisionCompanyIBANNumber` | `varchar2(50)` | Avdelningens IBAN-nummer | [ ] | writable | IBAN-nummer för Exact Online-divisionen. |
| `DivisionCompanyName` | `varchar2(50)` | Avdelning Företagsnamn | [x] | writable | Företagsnamn för Exact Online-divisionen. |
| `DivisionCompanyRSINNumber` | `varchar2(9)` | Avdelning RSIN-nummer | [ ] | writable | RSIN-nummer för Exact Online-divisionen. |
| `DivisionCompanyVATNumber` | `varchar2(35)` | Avdelningens momsregistreringsnummer | [ ] | writable | Momsnummer för Exact Online-divisionen. |
| `DivisionCompanyWageTaxNumber` | `varchar2(60)` | Avdelningsnummer för löneskatt | [ ] | writable | Löneskattenummer för Exact Online-divisionen. |
| `DivisionLabel` | `varchar2(128)` | Avdelningsetikett | [x] | writable | Etikett för Exact Online-divisionen. |
| `DivisionName` | `varchar2(50)` | Administrationsnamn | [x] | writable | Namn på Exact Online-divisionen. |
| `DivisionOwnerCompanyName` | `varchar2(50)` | Abonnentens namn | [x] | writable | Namnet på kundkontot i division 1 som äger Exact Online-abonnemanget som denna division tillhör. |
| `DivisionOwnerCompanyNumber` | `varchar2(18)` | Abonnentnummer | [x] | writable | Numret på kundkontot i division 1 som äger Exact Online-abonnemanget som denna division tillhör. |
| `DivisionShortName` | `int64` | Avdelningens kortnamn | [x] | writable | Kortnamn för Exact Online-divisionen. |
| `Document` | `guid` | Dokument | [x] | filtreras på plattformen, skrivbar | Reference to the Document. |
| `FileExtension` | `varchar2` | Förlängning | [ ] | writable | Extension of the file name. |
| `FileName` | `varchar2` | Filnamn | [ ] | filtreras på plattformen, skrivbar | Filename of the attachment. |
| `FileSize` | `double` | Filstorlek | [x] | filtreras på plattformen, skrivbar | File size. |
| `ID` | `guid` | ID | [x] | filtreras på plattformen, skrivbar | Primärnyckel. |
| `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. |

## Nycklar

| Nyckel | Kolumn | Avser för referens | Typ | Beskrivning |
|---|---|---|---|---|
| `DocumentAttachmentFiles_Document_Documents_fk` | `Document` | [Documents](ExactOnlineREST.Documents.Documents)`.ID` | Nyckel |  |


## Anteckningar om utgivning

Vilka ändringar har skett i tabeller, kolumner, attribut och funktioner i drivrutinen för varje version:

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