---
title: "Order response V3.2 · Pip3A4PurchaseOrderConfirmationType"
canonical: "https://knowledge-hub.onetrail.com/space/docs/726827103/Order%20response%20V3.2%20%C2%B7%20Pip3A4PurchaseOrderConfirmationType"
format: markdown
---
**Complex type** in namespace `http://www.onetrail.net` · part of [Purchase Order Confirmation V3.2](https://onetrail.atlassian.net/wiki/spaces/docs/pages/718701244)

## Elements

| # | Element | Type | Occurs | Description |
| --- | --- | --- | --- | --- |
| 1 | **fromRole** [required] | [roleType](https://onetrail.atlassian.net/wiki/spaces/docs/pages/725549065) | 1..1 | In general, the fromRole identifies the sender of the message, for the Purchase Order Confirmation, the fromRole identifies the seller. |
| 2 | **GlobalDocumentFunctionCode** [required] | [GlobalDocumentFunctionCodeType](https://onetrail.atlassian.net/wiki/spaces/docs/pages/718701244/XSD+documentation+order+response#XSDdocumentationorderresponse-GlobalDocumentFunctionCodeType)  
`Response` | 1..1 | Fixed value = 'Response'. |
| 3 | **PurchaseOrder** [required] | [PurchaseOrderType](https://onetrail.atlassian.net/wiki/spaces/docs/pages/725516324) | 1..1 |  |
| 4 | **requestingDocumentDateTime** [required] | [DateTimeType](https://onetrail.atlassian.net/wiki/spaces/docs/pages/725450832) | 1..1 | Date/time from original purchase order. |
| 5 | **requestingDocumentIdentifier** [required] | [ProprietaryDocumentIdentifierType](https://onetrail.atlassian.net/wiki/spaces/docs/pages/727121964) | 1..1 | Buyer's purchase order number. |
| 6 | **thisDocumentGenerationDateTime** [required] | [DateTimeType](https://onetrail.atlassian.net/wiki/spaces/docs/pages/725450832) | 1..1 | Generation date/time of this Purchase Order Confirmation document. |
| 7 | **thisDocumentIdentifier** [required] | [ProprietaryDocumentIdentifierType](https://onetrail.atlassian.net/wiki/spaces/docs/pages/727121964) | 1..1 | Seller assigned unique reference for this Purchase Order Confirmation. |
| 8 | **toRole** [required] | [roleType](https://onetrail.atlassian.net/wiki/spaces/docs/pages/725549065) | 1..1 | In general, the toRole identifies the recipient of the message, for the Purchase Order Confirmation, the toRole identifies the buyer. |

## Used by

- Root element **Pip3A4PurchaseOrderConfirmation** ([Purchase Order Confirmation V3.2](https://onetrail.atlassian.net/wiki/spaces/docs/pages/718701244))

<details>
<summary>XSD source</summary>

```xml
<xsd:complexType name="Pip3A4PurchaseOrderConfirmationType">
        <xsd:sequence>
            <xsd:element name="fromRole" type="roleType">
                <xsd:annotation>
                    <xsd:documentation xml:lang="EN">In general, the fromRole identifies the sender of the message, for the Purchase Order Confirmation, the fromRole identifies the seller.</xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="GlobalDocumentFunctionCode" type="GlobalDocumentFunctionCodeType">
                <xsd:annotation>
                    <xsd:documentation xml:lang="EN">Fixed value = 'Response'.</xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="PurchaseOrder" type="PurchaseOrderType"/>
            <xsd:element name="requestingDocumentDateTime" type="DateTimeType">
                <xsd:annotation>
                    <xsd:documentation xml:lang="EN">Date/time from original purchase order.</xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="requestingDocumentIdentifier" type="ProprietaryDocumentIdentifierType">
                <xsd:annotation>
                    <xsd:documentation xml:lang="EN">Buyer's purchase order number.</xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="thisDocumentGenerationDateTime" type="DateTimeType">
                <xsd:annotation>
                    <xsd:documentation xml:lang="EN">Generation date/time of this Purchase Order Confirmation document.</xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="thisDocumentIdentifier" type="ProprietaryDocumentIdentifierType">
                <xsd:annotation>
                    <xsd:documentation xml:lang="EN">Seller assigned unique reference for this Purchase Order Confirmation.</xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="toRole" type="roleType">
                <xsd:annotation>
                    <xsd:documentation xml:lang="EN">In general, the toRole identifies the recipient of the message, for the Purchase Order Confirmation, the toRole identifies the buyer.</xsd:documentation>
                </xsd:annotation>
            </xsd:element>
        </xsd:sequence>
    </xsd:complexType>

```
</details>