---
title: "DocumentAttachmentFiles (Exact Online)"
description: "\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB"
language: ja
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/ja/datamodels/exactonline/ExactOnlineREST.Documents.DocumentAttachmentFiles
original: https://documentation.invantive.eu/en/datamodels/exactonline/ExactOnlineREST.Documents.DocumentAttachmentFiles
updated: 2026-12-05T17:15:38Z
license: https://documentation.invantive.eu/ja/
---

# DocumentAttachmentFiles: Exact Online Document Attachment Files

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

- カタログ：`ExactOnlineREST`
- スキーマ: `Documents`
- 主キー：`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.

この表のデータは、`Division` 列の値ごとにパーティション分けされています。

`insert` および `delete` を使用して、データの取得や変更を行うことができます。

## 概要

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.

Changes arrive through the webhook topic `DocumentAttachments` on `Document`.

## APIソース

- エンドポイント: `/api/v1/{division}/documents/DocumentAttachments`
- メタデータ：`/api/v1/{division}/documents/$metadata`

## 性能特性

| 特徴 | 値 |
|---|---:|
| 平均アクセス遅延（ms） | 5 |
| 全件スキャンの毎分行数 | 7,200 |
| ポイントクエリの毎分行数 | 300 |
| 書き込みの毎分行数 | 300 |

結果はクライアント側でキャッシュすることができます。

## 表の列

テーブル `DocumentAttachmentFiles` の列は以下のとおりです。 各列には、SQLのデータ型が設定されています。 INSERT文およびUPDATE文の実行中は、常にすべての必須列に対して、null以外の新しい値を指定する必要があります。

| 名前 | データ型 | ラベル | 必須 | マーク | ドキュメント |
|---|---|---|:---:|---|---|
| `Attachment` | `blob` | 添付ファイル | [ ] | writable | Contains the attachment. |
| `AttachmentFromUrl` | `blob` | 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` | 会社ID | [x] |  | Unique number of the Exact Online division. |
| `DivisionCompanyCoCNumber` | `varchar2(60)` | 部門商工会議所番号 | [ ] | writable | Exact Online部門の商工会議所番号。 |
| `DivisionCompanyIBANNumber` | `varchar2(50)` | 部門 IBAN番号 | [ ] | writable | Exact Online部門のIBAN番号。 |
| `DivisionCompanyName` | `varchar2(50)` | 部門名・会社名 | [x] | writable | Exact Online部門の会社名。 |
| `DivisionCompanyRSINNumber` | `varchar2(9)` | 部門 RSIN番号 | [ ] | writable | Exact Online部門のRSIN番号。 |
| `DivisionCompanyVATNumber` | `varchar2(35)` | 部門のVAT番号 | [ ] | writable | Exact Online部門の付加価値税番号。 |
| `DivisionCompanyWageTaxNumber` | `varchar2(60)` | 部門別給与税番号 | [ ] | writable | Exact Online部門の源泉徴収税番号。 |
| `DivisionLabel` | `varchar2(128)` | 部門ラベル | [x] | writable | Exact Online部門のラベル。 |
| `DivisionName` | `varchar2(50)` | 管理名 | [x] | writable | Exact Online部門の名前。 |
| `DivisionOwnerCompanyName` | `varchar2(50)` | 契約者名 | [x] | writable | この部門が属するExact Onlineサブスクリプションを所有する、部門1の顧客アカウント名。 |
| `DivisionOwnerCompanyNumber` | `varchar2(18)` | 契約者番号 | [x] | writable | この部門が属するExact Onlineサブスクリプションを所有する、部門1の顧客アカウント番号。 |
| `DivisionShortName` | `int64` | 部門の略称 | [x] | writable | Exact Online部門の短い名前。 |
| `Document` | `guid` | 書類 | [x] | プラットフォーム上でフィルタ可能、書き込み可能 | Reference to the Document. |
| `FileExtension` | `varchar2` | 拡張機能 | [ ] | writable | Extension of the file name. |
| `FileName` | `varchar2` | ファイル名 | [ ] | プラットフォーム上でフィルタ可能、書き込み可能 | Filename of the attachment. |
| `FileSize` | `double` | ファイルサイズ | [x] | プラットフォーム上でフィルタ可能、書き込み可能 | File size. |
| `ID` | `guid` | ID | [x] | プラットフォーム上でフィルタ可能、書き込み可能 | 主キー。 |
| `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. |

## キー

| キー | コラム | 「～を指す」 | 種類 | 説明 |
|---|---|---|---|---|
| `DocumentAttachmentFiles_Document_Documents_fk` | `Document` | [Documents](ExactOnlineREST.Documents.Documents)`.ID` | キー |  |


## リリース情報

各リリースごとに、ドライバのテーブル、列、属性、および機能にどのような変更があったか：

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