---
title: "OTRN V3.2 · PhysicalAddressType"
canonical: "https://knowledge-hub.onetrail.com/space/docs/727384094/OTRN%20V3.2%20%C2%B7%20PhysicalAddressType"
format: markdown
---
**Complex type** in namespace `(none)` · part of [OTRN Library V3.2](https://onetrail.atlassian.net/wiki/spaces/docs/pages/727023656)

## Diagram

![PhysicalAddressType diagram](media://8c9c8f6e-2f5c-4b23-bf14-ca6fa1ff8016)

## Elements

| # | Element | Type | Occurs | Description |
| --- | --- | --- | --- | --- |
| 1 | **addressLine1** | [FreeFormTextType](https://onetrail.atlassian.net/wiki/spaces/docs/pages/727351303) | 0..1 |  |
| 2 | **addressLine2** | [FreeFormTextType](https://onetrail.atlassian.net/wiki/spaces/docs/pages/727351303) | 0..1 |  |
| 3 | **addressLine3** | [FreeFormTextType](https://onetrail.atlassian.net/wiki/spaces/docs/pages/727351303) | 0..1 |  |
| 4 | **cityName** | [FreeFormTextType](https://onetrail.atlassian.net/wiki/spaces/docs/pages/727351303) | 0..1 |  |
| 5 | **GlobalCountryCode** | `xsd:string` | 0..1 | [Reference](http://nl.wikipedia.org/wiki/ISO_3166-1): Please use ISO 3166-1, 2-letter country codes in capitals. |
| 6 | **GlobalLocationIdentifier** | `xsd:string` | 0..1 | For future use. |
| 7 | **NationalPostalCode** | `xsd:string` | 0..1 |  |
| 8 | **postOfficeBoxIdentifier** | [FreeFormTextType](https://onetrail.atlassian.net/wiki/spaces/docs/pages/727351303) | 0..1 | This field can be used to specify a post office box instead of a physical address. In this case the 'NationalPostalCode' and 'cityName' need to reflect the address of the post office box. |
| 9 | **regionName** | [FreeFormTextType](https://onetrail.atlassian.net/wiki/spaces/docs/pages/727351303) | 0..1 | Country region, state or province. |

## Used by

- [LicencePartyDescriptionType](https://onetrail.atlassian.net/wiki/spaces/docs/pages/727351346) / **PhysicalAddress**
- [PurchaseOrderType](https://onetrail.atlassian.net/wiki/spaces/docs/pages/725516324) / **PhysicalAddress** [Purchase Order Confirmation V3.2]
- [shipToType](https://onetrail.atlassian.net/wiki/spaces/docs/pages/726728724) / **PhysicalAddress** [Advance Shipment Notification V3.2]

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

```xml
<xsd:complexType name="PhysicalAddressType">
        <xsd:sequence>
            <xsd:element name="addressLine1" minOccurs="0" type="FreeFormTextType"/>
            <xsd:element name="addressLine2" minOccurs="0" type="FreeFormTextType"/>
            <xsd:element name="addressLine3" minOccurs="0" type="FreeFormTextType"/>
            <xsd:element name="cityName" minOccurs="0" type="FreeFormTextType"/>
            <xsd:element name="GlobalCountryCode" minOccurs="0" type="xsd:string">
                <xsd:annotation>
                    <xsd:documentation xml:lang="EN" source="http://nl.wikipedia.org/wiki/ISO_3166-1">Please use ISO 3166-1, 2-letter country codes in capitals.</xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="GlobalLocationIdentifier" minOccurs="0" type="xsd:string">
                <xsd:annotation>
                    <xsd:documentation xml:lang="EN">For future use.</xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="NationalPostalCode" minOccurs="0" type="xsd:string"/>
            <xsd:element name="postOfficeBoxIdentifier" minOccurs="0" type="FreeFormTextType">
                <xsd:annotation>
                    <xsd:documentation xml:lang="EN">This field can be used to specify a post office box instead of a physical address. 
                        In this case the 'NationalPostalCode' and 'cityName' need to reflect the address of the post office box.</xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="regionName" minOccurs="0" type="FreeFormTextType">
                <xsd:annotation>
                    <xsd:documentation xml:lang="EN">Country region, state or province.</xsd:documentation>
                </xsd:annotation>
            </xsd:element>
        </xsd:sequence>
    </xsd:complexType>

```
</details>