# List natures of transaction

`GET /client_api/v2/nature_of_transactions`

The customs codes for the kind of deal behind a declared item, such as a sale or a return.

## Returns

Returns a list of nature of transactions.

- `nature_of_transactions` (array of objects, required): Every nature of transaction.
  - `code` (enum, required): The two-digit customs code for the kind of deal. Possible enum values: `11`, `12`, `21`, `22`, `23`, `31`, `32`, `33`, `34`, `41`, `42`, `51`, `52`, `71`, `72`, `80`, `91`, `99`.
  - `description` (string, required): What the code means.
  - `label` (string, required): The code and its meaning together, for showing in a list.

## Errors

- `401 Unauthorized`: The token is missing, expired or invalid. Sign in again.

## Example request (curl)

```bash
curl -X GET "https://sandbox-api.vatit-stream.com/client_api/v2/nature_of_transactions" \
  -H "Authorization: Bearer $API_TOKEN"
```

## Example response (200)

```json
{
  "nature_of_transactions": [
    {
      "code": "11",
      "description": "Outright sale/purchase except direct trade with/by private consumers",
      "label": "11 - Outright sale/purchase except direct trade with/by private consumers"
    },
    {
      "code": "12",
      "description": "Direct trade with/by private consumers (incl. distance selling)",
      "label": "12 - Direct trade with/by private consumers (incl. distance selling)"
    },
    {
      "code": "21",
      "description": "Return of goods",
      "label": "21 - Return of goods"
    },
    {
      "code": "22",
      "description": "Replacement for returned goods",
      "label": "22 - Replacement for returned goods"
    },
    {
      "code": "23",
      "description": "Replacement for goods not being returned",
      "label": "23 - Replacement for goods not being returned"
    },
    {
      "code": "31",
      "description": "Movements to/from a warehouse (excluding call-off and consignment stock)",
      "label": "31 - Movements to/from a warehouse (excluding call-off and consignment stock)"
    },
    {
      "code": "32",
      "description": "Supply for sale on approval or after trial (incl. call-off and consignment stock)",
      "label": "32 - Supply for sale on approval or after trial (incl. call-off and consignment stock)"
    },
    {
      "code": "33",
      "description": "Financial leasing",
      "label": "33 - Financial leasing"
    },
    {
      "code": "34",
      "description": "Transactions involving transfer of ownership without financial compensation",
      "label": "34 - Transactions involving transfer of ownership without financial compensation"
    },
    {
      "code": "41",
      "description": "Goods expected to return to the initial country of export",
      "label": "41 - Goods expected to return to the initial country of export"
    },
    {
      "code": "42",
      "description": "Goods not expected to return to the initial country of export",
      "label": "42 - Goods not expected to return to the initial country of export"
    },
    {
      "code": "51",
      "description": "Goods returning to the initial country of export",
      "label": "51 - Goods returning to the initial country of export"
    },
    {
      "code": "52",
      "description": "Goods not returning to the initial country of export",
      "label": "52 - Goods not returning to the initial country of export"
    },
    {
      "code": "71",
      "description": "Release of goods for free circulation in a Member State with subsequent export to another Member State",
      "label": "71 - Release of goods for free circulation in a Member State with subsequent export to another Member State"
    },
    {
      "code": "72",
      "description": "Transportation of goods from one Member State to another to place them under the export procedure",
      "label": "72 - Transportation of goods from one Member State to another to place them under the export procedure"
    },
    {
      "code": "80",
      "description": "Transactions involving the supply of building materials and equipment under a general construction or civil engineering contract",
      "label": "80 - Transactions involving the supply of building materials and equipment under a general construction or civil engineering contract"
    },
    {
      "code": "91",
      "description": "Hire, loan and operational leasing longer than 24 months",
      "label": "91 - Hire, loan and operational leasing longer than 24 months"
    },
    {
      "code": "99",
      "description": "Other transactions which cannot be classified under other codes",
      "label": "99 - Other transactions which cannot be classified under other codes"
    }
  ]
}
```
