---
title: "Invoice V3.1 · valueType"
canonical: "https://knowledge-hub.onetrail.com/space/docs/726990959/Invoice%20V3.1%20%C2%B7%20valueType"
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

![valueType diagram](media://b477db40-50be-41c7-ac28-08c171b8aa38)

## Content

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

## Attributes

| Attribute | Type | Use | Description |
| --- | --- | --- | --- |
| **@type** | [paymentTermsValueType](https://onetrail.atlassian.net/wiki/spaces/docs/pages/718701262/XSD+documentation+invoice#XSDdocumentationinvoice-paymentTermsValueType)  
`Percentage` `Amount` | [required] | This attribute can have 2 values:<br>- 'Percentage'
- 'Amount' |

## Used by

- [valuesType](https://onetrail.atlassian.net/wiki/spaces/docs/pages/726761539) / **value**

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

```xml
<xsd:complexType name="valueType">
        <xsd:simpleContent>
            <xsd:extension base="xsd:string">
                <xsd:attribute name="type" type="paymentTermsValueType" use="required">
                    <xsd:annotation>
                        <xsd:documentation xml:lang="EN">This attribute can have 2 values:
- 'Percentage'
- 'Amount'</xsd:documentation>
                    </xsd:annotation>
                </xsd:attribute>
            </xsd:extension>
        </xsd:simpleContent>
    </xsd:complexType>

```
</details>