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

![levyTotalType diagram](media://12a2c1f7-9a5f-474d-ac44-3f727c458fce)

## Elements

| # | Element | Type | Occurs | Description |
| --- | --- | --- | --- | --- |
| 1 | **monetaryAmount** [required] | [monetaryAmountType](https://onetrail.atlassian.net/wiki/spaces/docs/pages/726794344) | 1..1 |  |
| 2 | **tax** | [taxType](https://onetrail.atlassian.net/wiki/spaces/docs/pages/726138937) | 0..1 |  |

## Attributes

| Attribute | Type | Use | Description |
| --- | --- | --- | --- |
| **@type** | `xsd:string` | optional | [V3.1] Levies contain additional fees in specific countries, like copyright fee or environmental fee. The type is mostly initiated by the government of the country in which the Seller resides. Levies are country specific. Onetrail will try to use the official names or abbreviations used in the specific countries. A list of codes is available on Onetrail TPN™. |
| **@origcode** | `xsd:string` | [required] | Original code of the levy. (if code is supplied in original invoice) |

## Used by

- [leviesTotalType](https://onetrail.atlassian.net/wiki/spaces/docs/pages/725483625) / **levy**

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

```xml
<xsd:complexType name="levyTotalType">
        <xsd:sequence>
            <xsd:element name="monetaryAmount" type="monetaryAmountType"/>
            <xsd:element name="tax" type="taxType" minOccurs="0"/>
        </xsd:sequence>
        <xsd:attribute name="type" type="xsd:string" use="optional">
            <xsd:annotation>
                <xsd:documentation xml:lang="EN" source="V3.1">Levies contain additional fees in specific countries, like copyright fee or environmental fee.
The type is mostly initiated by the government of the country in which the Seller resides.
Levies are country specific. Onetrail will try to use the official names or abbreviations used in the specific countries.
A list of codes is available on Onetrail TPN™.</xsd:documentation>
            </xsd:annotation>
        </xsd:attribute>
        <xsd:attribute name="origcode" type="xsd:string" use="required">
            <xsd:annotation>
                <xsd:documentation xml:lang="EN">Original code of the levy. (if code is supplied in original invoice)</xsd:documentation>
            </xsd:annotation>
        </xsd:attribute>
    </xsd:complexType>

```
</details>