---
title: "Invoice V3.1 · trackingcodeType"
canonical: "https://knowledge-hub.onetrail.com/space/docs/726204604/Invoice%20V3.1%20%C2%B7%20trackingcodeType"
format: markdown
---
**Complex type** in namespace `http://www.onetrail.net` · part of [Invoice V3.1](https://onetrail.atlassian.net/wiki/spaces/docs/pages/718701262)

## Diagram

![trackingcodeType diagram](media://7d0e3038-5480-4c64-aa1a-748c71d3575e)

## Content

Text content of type `xsd:string`, with the attributes below.

## Attributes

| Attribute | Type | Use | Description |
| --- | --- | --- | --- |
| **@origcode** | `xsd:string` | [required] | This attribute is used to hold a short carrier code. (TNT, UPS etc.) |

## Used by

- [trackingType](https://onetrail.atlassian.net/wiki/spaces/docs/pages/726859945) / **trackingcode**

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

```xml
<xsd:complexType name="trackingcodeType">
        <xsd:simpleContent>
            <xsd:extension base="xsd:string">
                <xsd:attribute name="origcode" type="xsd:string" use="required">
                    <xsd:annotation>
                        <xsd:documentation xml:lang="EN">This attribute is used to hold a short carrier code. (TNT, UPS etc.)</xsd:documentation>
                    </xsd:annotation>
                </xsd:attribute>
            </xsd:extension>
        </xsd:simpleContent>
    </xsd:complexType>

```
</details>