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

# PurchaseOrderDocumentAttachmentsEx: Exact Online Purchase Order Document Attachments

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

- Catalog: `ExactOnlineXML`
- Schema: `XML`
- Label: Purchase 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
- ordernumber_from
- ordernumber_to
- accountcode
- status
- document (1 )

## API Source

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

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `division` | `int32` | [ ] |  | Company code. |
| `Params_AccountCode` | `varchar2` | [ ] |  | Customer code. |
| `Params_Details` | `boolean` | [ ] |  |  |
| `Params_Document` | `boolean` | [ ] |  | Including documents. |
| `Params_DownloadID` | `varchar2` | [ ] |  | Data subscription token. |
| `Params_OrderNumber_From` | `int32` | [ ] |  | Order number (from). |
| `Params_OrderNumber_To` | `int32` | [ ] |  | Order number (through). |
| `Params_Status` | `varchar2` | [ ] |  | Multi-select; 10: open, 20: partial, 30: complete, 40: cancelled. |

## Table Columns

The columns of the table `PurchaseOrderDocumentAttachmentsEx` 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_ORDERNUMBER_ATTR` | `varchar2` | itgen_eol_purchase_orders_purchase_order_document Order Number | [ ] | `/eExact/PurchaseOrders/PurchaseOrder/Document/ordernumber` | The order number can be used multiple times. If a purchase order with this order number already exists, a new purchase order with the same order number will be created. When no order number is supplied, a new purchase order with the next available order number will be created. |
| `ATTACHMENTS_DOCUMENT_STATUS_ATTR` | `varchar2` | itgen_eol_purchase_orders_purchase_order_document Status | [ ] | `/eExact/PurchaseOrders/PurchaseOrder/Document/status` | 10=Open, 20=Partial, 30=Complete, 40=Canceled. Only used for export, imported purchase orders always get status 10. |
| `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)

