---
url: /flow/guide/scripting-reference/classes/partner.md
---

# Partner

## Declaration

`Partner : TFloTradingPartner`

## Description

The Partner object provides access to the properties of a Trading Partner. This is useful for accessing values from the currently active Trading Partner. These values can be referenced during mapping.

You can access the Partner object by referencing `Partner`

### Usage

Among other things, the following tasks can be achieved by working with the Partner object:

::: details Get the unique ID for the current TradingPartner
You can retrieve a unique partner Id with Partner.Id
:::

::: details Get the partner name
You can retrieve the name the partner with Partner.CompanyName
:::

::: details Get the partner email address
You can retrieve the email address of the partner with Partner.Email
:::

Also see [Trading Partner Attributes](/flow/guide/administering-flow/configuring-flow/trading-community/trading-partner/trading-partner-attributes) for more object properties.
