---
title: "SalesOrderDocumentAttachments (Exact Online)"
description: "Sales Order Document Attachments"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/exactonline/ExactOnlineXML.XML.SalesOrderDocumentAttachments
original: https://documentation.invantive.eu/en/datamodels/exactonline/ExactOnlineXML.XML.SalesOrderDocumentAttachments
updated: 2026-11-01T17:55:09Z
license: https://documentation.invantive.eu/en/
---

# SalesOrderDocumentAttachments: Exact Online Sales Order Document Attachments

`insert` `update` `per partition` `XML`

- Catalog: `ExactOnlineXML`
- Schema: `XML`
- Label: Sales Order Document Attachments

The data in this table is partitioned per value of the `Division` column.

Can retrieve data and change data using `insert` and `update`.

## Summary

Additional where-clause columns supported:
- division
- downloadid
- code
- ordernumber_from
- ordernumber_to
- orderaccountcode
- invoiceaccountcode
- status
- documents (1 )

## API Source

- XML service: `SalesOrders`
- XML topic: `SalesOrders`
- XML path: `/Attachments/Attachment`

## Table Columns

The columns of the table `SalesOrderDocumentAttachments` 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 |
|---|---|---|:---:|---|---|
| `ATTACHMENTS_DOCUMENT_SALESORDERNUMBER_ATTR` | `varchar2` | itgen_eol_sales_orders_sales_order_document Sales Order Number | [ ] | `/eExact/SalesOrders/SalesOrder/Document/salesordernumber` | The sales order number can only be used once. If a sales order with this sales order number already exists, it will either 1) be recreated if the existing sales order status is Open, or 2) be ignored in the import if there is activity on the existing sales order. When no sales order number is supplied, a new sales order with the next available sales order number will be created. |
| `ATTACHMENTS_DOCUMENT_STATUS_ATTR` | `varchar2` | itgen_eol_sales_orders_sales_order_document Status | [ ] | `/eExact/SalesOrders/SalesOrder/Document/status` | 12=Open, 20=Partial, 21=Complete, 45=Canceled. Only used for export, imported sales orders status is always set to 12. |
| `DIVISION_CODE` | `varchar2` | Administration ID | [x] |  | Internal unique number of the Exact Online administration. |
| `DIVISION_HID` | `int64` | Administration | [x] |  | Number of the Exact Online administration. Not guaranteed to be unique. |
| `DIVISION_NAME` | `varchar2(240)` | Administration Name | [x] |  | Name of the Exact Online administration. Not guaranteed to be unique. |
| `INTERFACE_URL` | `varchar2(4000)` | Interface URL | [x] |  | URL used to interface this row with Exact Online. |
| `ROWNUM` | `int64` | Row Number | [x] |  | Number of the row within the results, starting at 1. |



## Release Notes

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

- [Exact Online](/en/release-notes/drivers?driver=exact-online)

