> ## Documentation Index
> Fetch the complete documentation index at: https://docs.maesn.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get supplier

## Field support per integration

> [accordion] BuchhaltungsButler
>
> Supported response fields:
>
> **id** `string`
>
> **contactType** `enum`
>
> Available options: `COMPANY`
>
> **companyName** `string`
>
> **contactPersons** `ContactPerson[]`
>
> **properties**
>
> **firstName** `string`
>
> **lastName** `string`
>
> **addresses** `Address[]`
>
> **properties**
>
> **addressLine1** `string`
>
> **addressLine2** `string`
>
> **postalCode** `string`
>
> **city** `string`
>
> **countryCode** `enum`
>
> The `countryCode` field supports **ISO 3166-1 alpha-2** (2-letter codes).
> For details visit the [`Standardized Data`](https://docs.maesn.com/standardization) section.
>
> **type** `enum`
>
> Available options: `BILLING`
>
> **emailAddresses** `EmailAddress[]`
>
> **properties**
>
> **email** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`
>
> **updatedDate** `string`

> [accordion] Business Central
>
> > [!NOTE]
> >
> > If you're not using the [Interactive Authentication Flow](https://docs.maesn.com/authentication.md#interactive-authentication-flow), make sure the query parameters `environmentName` and `companyId` are correctly populated.
> > You can obtain these values by using the `GET Environments` and `GET Companies` endpoints available under the Authentication section.
>
> Query parameters:
>
> **rawData** `boolean`
>
> Supported response fields:
>
> **id** `string`
>
> **contactType** `enum`
>
> Available options: `CONTACT_PERSON`, `COMPANY`
>
> **companyName** `string`
>
> **contactPersons** `ContactPerson[]`
>
> **properties**
>
> **firstName** `string`
>
> **lastName** `string`
>
> **emailAddresses** `EmailAddress[]`
>
> **properties**
>
> **email** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`
>
> **phoneNumbers** `PhoneNumber[]`
>
> **properties**
>
> **number** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`, `MOBILE`
>
> **addresses** `Address[]`
>
> **properties**
>
> **addressLine1** `string`
>
> **addressLine2** `string`
>
> **postalCode** `string`
>
> **city** `string`
>
> **countryCode** `enum`
>
> The `countryCode` field supports **ISO 3166-1 alpha-2** (2-letter codes).
> For details visit the [`Standardized Data`](https://docs.maesn.com/standardization) section.
>
> **type** `enum`
>
> Available options: `BILLING`
>
> **bankAccounts** `BankAccount[]`
>
> Needs the Maesn app to be installed in the Business Central environment. Without the app, `bankAccounts` is `null` and the response has a warning.
>
> **properties**
>
> **bic** `string`
>
> **iban** `string`
>
> **name** `string`
>
> **emailAddresses** `EmailAddress[]`
>
> **properties**
>
> **email** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`
>
> **number** `string`
>
> **phoneNumbers** `PhoneNumber[]`
>
> **properties**
>
> **number** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`, `MOBILE`
>
> **updatedDate** `string`

> [accordion] Exact Online
>
> > [!NOTE]
> >
> > If you're not using the [Interactive Authentication Flow](https://docs.maesn.com/authentication.md#interactive-authentication-flow), make sure the query parameter `companyId` is correctly populated.
> > You can obtain this value by using the `GET Companies` endpoint available under the Authentication section.
>
> > [!NOTE]
> >
> > Please note that only companies (accounts in Exact Online) can be retrieved and not contact persons (contacts in Exact Online) at the moment.',
>
> Query parameters:
>
> **rawData** `boolean`
>
> Supported response fields:
>
> **id** `string`
>
> **contactType** `enum`
>
> Available options: `COMPANY`
>
> **companyName** `string`
>
> **contactPersons** `ContactPerson[]`
>
> **properties**
>
> **salutation** `string`
>
> **firstName** `string`
>
> **lastName** `string`
>
> **emailAddresses** `EmailAddress[]`
>
> **properties**
>
> **email** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`, `PRIVATE`
>
> **phoneNumbers** `PhoneNumber[]`
>
> **properties**
>
> **number** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`
>
> **addresses** `Address[]`
>
> **properties**
>
> **addressLine1** `string`
>
> **addressLine2** `string`
>
> **postalCode** `string`
>
> **city** `string`
>
> **countryCode** `enum`
>
> The `countryCode` field supports **ISO 3166-1 alpha-2** (2-letter codes).
> For details visit the [`Standardized Data`](https://docs.maesn.com/standardization) section.
>
> **type** `enum`
>
> Available options: `BILLING`
>
> **emailAddresses** `EmailAddress[]`
>
> **properties**
>
> **email** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`
>
> **number** `string`
>
> **phoneNumbers** `PhoneNumber[]`
>
> **properties**
>
> **number** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`
>
> **updatedDate** `string`
>
> **vatId** `string`

> [accordion] fortnox
>
> Query parameters:
>
> **rawData** `boolean`
>
> Supported response fields:
>
> **id** `string`
>
> **contactType** `enum`
>
> Available options: `COMPANY`
>
> **companyName** `string`
>
> **addresses** `Address[]`
>
> **properties**
>
> **addressLine1** `string`
>
> **addressLine2** `string`
>
> **postalCode** `string`
>
> **city** `string`
>
> **countryCode** `enum`
>
> The `countryCode` field supports **ISO 3166-1 alpha-2** (2-letter codes).
> For details visit the [`Standardized Data`](https://docs.maesn.com/standardization) section.
>
> **type** `enum`
>
> Available options: `BILLING`
>
> **emailAddresses** `EmailAddress[]`
>
> **properties**
>
> **email** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`
>
> **number** `string`
>
> **phoneNumbers** `PhoneNumber[]`
>
> **properties**
>
> **number** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`, `FAX`
>
> **projectId** `string`

> [accordion] FreeAgent
>
> Query parameters:
>
> **rawData** `boolean`
>
> Supported response fields:
>
> **id** `string`
>
> **contactType** `enum`
>
> Available options: `CONTACT_PERSON`, `COMPANY`
>
> **companyName** `string`
>
> **contactPersons** `ContactPerson[]`
>
> **properties**
>
> **salutation** `string`
>
> **firstName** `string`
>
> **lastName** `string`
>
> **emailAddresses** `EmailAddress[]`
>
> **properties**
>
> **email** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`, `PAYMENT`
>
> **phoneNumbers** `PhoneNumber[]`
>
> **properties**
>
> **number** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`, `MOBILE`
>
> **addresses** `Address[]`
>
> **properties**
>
> **addressLine1** `string`
>
> **addressLine2** `string`
>
> **postalCode** `string`
>
> **city** `string`
>
> **countryCode** `enum`
>
> The `countryCode` field supports **ISO 3166-1 alpha-2** (2-letter codes).
> For details visit the [`Standardized Data`](https://docs.maesn.com/standardization) section.
>
> **type** `enum`
>
> Available options: `BILLING`
>
> **emailAddresses** `EmailAddress[]`
>
> **properties**
>
> **email** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`, `PAYMENT`
>
> **phoneNumbers** `PhoneNumber[]`
>
> **properties**
>
> **number** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`, `MOBILE`

> [accordion] FreshBooks
>
> > [!NOTE]
> >
> > Ensure that the query parameter `_companyId_` is correctly filled with the account ID associated with the contact.
> > This value can be retrieved by using the `GET Companies` endpoint in the Authentication section. Use the returned `id` as the value for `_companyId_`.
>
> Query parameters:
>
> **rawData** `boolean`
>
> Supported response fields:
>
> **id** `string`
>
> **contactType** `enum`
>
> Available options: `CONTACT_PERSON`, `COMPANY`
>
> **companyName** `string`
>
> **contactPersons** `ContactPerson[]`
>
> **properties**
>
> **firstName** `string`
>
> **lastName** `string`
>
> **emailAddresses** `EmailAddress[]`
>
> **properties**
>
> **email** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`
>
> **phoneNumbers** `PhoneNumber[]`
>
> **properties**
>
> **number** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`
>
> **addresses** `Address[]`
>
> **properties**
>
> **addressLine1** `string`
>
> **addressLine2** `string`
>
> **postalCode** `string`
>
> **city** `string`
>
> **countryCode** `enum`
>
> The `countryCode` field supports **ISO 3166-1 alpha-2** (2-letter codes).
> For details visit the [`Standardized Data`](https://docs.maesn.com/standardization) section.
>
> **type** `enum`
>
> Available options: `BILLING`
>
> **emailAddresses** `EmailAddress[]`
>
> **properties**
>
> **email** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`
>
> **phoneNumbers** `PhoneNumber[]`
>
> **properties**
>
> **number** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`

> [accordion] Holded
>
> Query parameters:
>
> **rawData** `boolean`
>
> Supported response fields:
>
> **id** `string`
>
> **contactType** `enum`
>
> Available options: `CONTACT_PERSON`, `COMPANY`
>
> **companyName** `string`
>
> **contactPersons** `ContactPerson[]`
>
> **properties**
>
> **firstName** `string`
>
> **lastName** `string`
>
> **emailAddresses** `EmailAddress[]`
>
> **properties**
>
> **email** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`
>
> **phoneNumbers** `PhoneNumber[]`
>
> **properties**
>
> **number** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`, `MOBILE`
>
> **addresses** `Address[]`
>
> **properties**
>
> **addressLine1** `string`
>
> **addressLine2** `string`
>
> **postalCode** `string`
>
> **city** `string`
>
> **countryCode** `enum`
>
> The `countryCode` field supports **ISO 3166-1 alpha-2** (2-letter codes).
> For details visit the [`Standardized Data`](https://docs.maesn.com/standardization) section.
>
> **type** `enum`
>
> Available options: `BILLING`, `DELIVERY`
>
> **emailAddresses** `EmailAddress[]`
>
> **properties**
>
> **email** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`
>
> **phoneNumbers** `PhoneNumber[]`
>
> **properties**
>
> **number** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`, `MOBILE`
>
> **vatId** `string`

> [accordion] Lexware Office
>
> Query parameters:
>
> **rawData** `boolean`
>
> Supported response fields:
>
> **id** `string`
>
> **addresses** `Address[]`
>
> **properties**
>
> **addressLine1** `string`
>
> **addressLine2** `string`
>
> **postalCode** `string`
>
> **city** `string`
>
> **countryCode** `enum`
>
> The `countryCode` field supports **ISO 3166-1 alpha-2** (2-letter codes).
> For details visit the [`Standardized Data`](https://docs.maesn.com/standardization) section.
>
> **type** `enum`
>
> Available options: `BILLING`, `DELIVERY`
>
> **companyName** `string`
>
> **contactPersons** `ContactPerson[]`
>
> **properties**
>
> **salutation** `string`
>
> **firstName** `string`
>
> **lastName** `string`
>
> **emailAddresses** `EmailAddress[]`
>
> **properties**
>
> **email** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`, `PRIVATE`, `OTHER`
>
> **phoneNumbers** `PhoneNumber[]`
>
> **properties**
>
> **number** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`,`PRIVATE`,`FAX`, `MOBILE`,  `OTHER`
>
> **contactType** `enum`
>
> Available options: `CONTACT_PERSON`, `COMPANY`
>
> **emailAddresses** `EmailAddress[]`
>
> **properties**
>
> **email** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`, `PRIVATE`, `OTHER`
>
> **number** `string`
>
> **phoneNumbers** `PhoneNumber[]`
>
> **properties**
>
> **number** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`,`PRIVATE`,`FAX`, `MOBILE`,  `OTHER`

> [accordion] Pennylane
>
> Query parameters:
>
> **rawData** `boolean`
>
> Supported response fields:
>
> **id** `string`
>
> **addresses** `Address[]`
>
> **properties**
>
> **addressLine1** `string`
>
> **postalCode** `string`
>
> **city** `string`
>
> **countryCode** `enum`
>
> The `countryCode` field supports **ISO 3166-1 alpha-2** (2-letter codes).
> For details visit the [`Standardized Data`](https://docs.maesn.com/standardization) section.
>
> **type** `enum`
>
> Available options: `DELIVERY`
>
> **companyName** `string`
>
> **contactType** `enum`
>
> Available options: `COMPANY`
>
> **emailAddresses** `EmailAddress[]`
>
> **properties**
>
> **email** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`
>
> **updatedDate** `string`
>
> **vatId** `string`

> [accordion] QuickBooks
>
> Query parameters:
>
> **rawData** `boolean`
>
> Supported response fields:
>
> **id** `string`
>
> **contactType** `enum`
>
> Available options: `CONTACT_PERSON`, `COMPANY`
>
> **companyName** `string`
>
> **contactPersons** `ContactPerson[]`
>
> **properties**
>
> **salutation** `string`
>
> **firstName** `string`
>
> **lastName** `string`
>
> **emailAddresses** `EmailAddress[]`
>
> **properties**
>
> **email** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`
>
> **phoneNumbers** `PhoneNumber[]`
>
> **properties**
>
> **number** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`,`FAX`, `MOBILE`,  `OTHER`
>
> **addresses** `Address[]`
>
> **properties**
>
> **addressLine1** `string`
>
> **addressLine2** `string`
>
> **postalCode** `string`
>
> **city** `string`
>
> **countryCode** `enum`
>
> The `countryCode` field supports **ISO 3166-1 alpha-2** (2-letter codes).
> For details visit the [`Standardized Data`](https://docs.maesn.com/standardization) section.
>
> **type** `enum`
>
> Available options: `BILLING`, `DELIVERY`
>
> **emailAddresses** `EmailAddress[]`
>
> **properties**
>
> **email** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`
>
> **phoneNumbers** `PhoneNumber[]`
>
> **properties**
>
> **number** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`,`FAX`, `MOBILE`,  `OTHER`
>
> **updatedDate** `string`

> [accordion] Sage Accounting
>
> > [!NOTE]
> >
> > This endpoint is available only for the following countries:
> > Accounting Plus: Canada, United Kingdom, Ireland \\
> >
> > Accounting Standard: United Kingdom, Ireland \\
> >
> > Accounting Start: Canada, United Kingdom, Ireland
>
> > [!NOTE]
> >
> > When handling a new connection in your integration, it is advisable to first determine which subscription your customer is using to ensure compatibility. To do this, you can use the `GET Companies` call to retrieve all businesses available for the user. The user will then select one of these businesses.
> > It is also a good practice to verify that the active property of the selected business is set to true before proceeding with the integration setup.
>
> Query parameters:
>
> **rawData** `boolean`
>
> Supported response fields:
>
> **id** `string`
>
> **contactType** `enum`
>
> Available options: `UNDEFINED`
>
> **companyName** `string`
>
> **contactPersons** `ContactPerson[]`
>
> **properties**
>
> **firstName** `string`
>
> **lastName** `string`
>
> **emailAddresses** `EmailAddress[]`
>
> **properties**
>
> **email** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`
>
> **phoneNumbers** `PhoneNumber[]`
>
> **properties**
>
> **number** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`, `MOBILE`
>
> **addresses** `Address[]`
>
> **properties**
>
> **addressLine1** `string`
>
> **addressLine2** `string`
>
> **postalCode** `string`
>
> **city** `string`
>
> **countryCode** `enum`
>
> The `countryCode` field supports **ISO 3166-1 alpha-2** (2-letter codes).
> For details visit the [`Standardized Data`](https://docs.maesn.com/standardization) section.
>
> **type** `enum`
>
> Available options: `BILLING`, `DELIVERY`

> [accordion] Sage Active
>
> > [!NOTE]
> >
> > If you're not using the [Interactive Authentication Flow](https://docs.maesn.com/authentication.md#interactive-authentication-flow), make sure the query parameter `companyId` is correctly populated.
> > You can obtain this value by using the `GET Companies` endpoint available under the Authentication section. Please use the id field as the companyId.
>
> Query parameters:
>
> **rawData** `boolean`
>
> Supported response fields:
>
> **id** `string`
>
> **contactType** `enum`
>
> Available options: `COMPANY`
>
> **companyName** `string`
>
> **contactPersons** `ContactPerson[]`
>
> **properties**
>
> **firstName** `string`
>
> **lastName** `string`
>
> **emailAddresses** `EmailAddress[]`
>
> **properties**
>
> **email** `string`
>
> **type** `enum`
>
> Available options: `INVOICE`, `PAYMENT`, `OTHER`
>
> **phoneNumbers** `PhoneNumber[]`
>
> **properties**
>
> **number** `string`
>
> **type** `enum`
>
> Available options: `MOBILE`, `LANDLINE`, `FAX`, `SKYPE`, `WHATSAPP`, `OTHER`
>
> **documentId type=**
>
> **addresses** `Address[]`
>
> **properties**
>
> **addressLine1** `string`
>
> **addressLine2** `string`
>
> **postalCode** `string`
>
> **city** `string`
>
> **countryCode** `enum`
>
> The `countryCode` field supports **ISO 3166-1 alpha-2** (2-letter codes).
> For details visit the [`Standardized Data`](https://docs.maesn.com/standardization) section.
>
> **type** `enum`
>
> Available options: `BILLING`, `DELIVERY`
>
> **number** `string`
>
> **vatId** `string`

> [accordion] sevdesk
>
> Query parameters:
>
> **rawData** `boolean`
>
> Supported response fields:
>
> **id** `string`
>
> **contactType** `enum`
>
> Available options: `CONTACT_PERSON`, `COMPANY`
>
> **companyName** `string`
>
> **contactPersons** `ContactPerson[]`
>
> **properties**
>
> **salutation** `string`
>
> **firstName** `string`
>
> **lastName** `string`
>
> **emailAddresses** `EmailAddress[]`
>
> **properties**
>
> **email** `string`
>
> **type** `enum`
>
> Available options: `OTHER`
>
> **phoneNumbers** `PhoneNumber[]`
>
> **properties**
>
> **number** `string`
>
> **type** `enum`
>
> Available options: `OTHER`
>
> **addresses** `Address[]`
>
> **properties**
>
> **addressLine1** `string`
>
> **addressLine2** `string`
>
> **postalCode** `string`
>
> **city** `string`
>
> **countryCode** `enum`
>
> The `countryCode` field supports **ISO 3166-1 alpha-2** (2-letter codes).
> For details visit the [`Standardized Data`](https://docs.maesn.com/standardization) section.
>
> **type** `enum`
>
> Available options: `BILLING`, `DELIVERY`, `EMPTY`, `PRIVATE`, `WORK`, `PICKUP`
>
> **emailAddresses** `EmailAddress[]`
>
> **properties**
>
> **email** `string`
>
> **type** `enum`
>
> Available options:`OTHER`
>
> **number** `string`
>
> **phoneNumbers** `PhoneNumber[]`
>
> **properties**
>
> **number** `string`
>
> **type** `enum`
>
> Available options: `OTHER`
>
> **updatedDate** `string`

> [accordion] Twinfield
>
> > [!NOTE]
> >
> > If you're not using the [Interactive Authentication Flow](https://docs.maesn.com/authentication.md#interactive-authentication-flow), make sure the query parameter `companyId` is correctly populated.
> > You can obtain this value by using the `GET Companies` endpoint available under the Authentication section.
>
> Query parameters:
>
> **rawData** `boolean`
>
> Supported response fields:
>
> **id** `string`
>
> **contactType** `enum`
>
> Available options: `COMPANY`
>
> **companyName** `string`
>
> **addresses** `Address[]`
>
> **properties**
>
> **addressLine1** `string`
>
> **addressLine2** `string`
>
> **postalCode** `string`
>
> **city** `string`
>
> **countryCode** `enum`
>
> The `countryCode` field supports **ISO 3166-1 alpha-2** (2-letter codes).
> For details visit the [`Standardized Data`](https://docs.maesn.com/standardization) section.
>
> **type** `enum`
>
> Available options: `BILLING`
>
> **emailAddresses** `EmailAddress[]`
>
> **properties**
>
> **email** `string`
>
> **type** `enum`
>
> Available options:`BUSINESS`
>
> **number** `string`
>
> **phoneNumbers** `PhoneNumber[]`
>
> **properties**
>
> **number** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`

> [accordion] Visma e-conomic
>
> Query parameters:
>
> **rawData** `boolean`
>
> Supported response fields:
>
> **id** `string`
>
> **contactType** `enum`
>
> Available options: `COMPANY`
>
> **companyName** `string`
>
> **contactPersons** `ContactPerson[]`
>
> **properties**
>
> **firstName** `string`
>
> **lastName** `string`
>
> **emailAddresses** `EmailAddress[]`
>
> **properties**
>
> **email** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`
>
> **phoneNumbers** `PhoneNumber[]`
>
> **properties**
>
> **number** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`, `MOBILE`
>
> **addresses** `Address[]`
>
> **properties**
>
> **addressLine1** `string`
>
> **addressLine2** `string`
>
> **postalCode** `string`
>
> **city** `string`
>
> **countryCode** `enum`
>
> The `countryCode` field supports **ISO 3166-1 alpha-2** (2-letter codes).
> For details visit the [`Standardized Data`](https://docs.maesn.com/standardization) section.
>
> **type** `enum`
>
> Available options: `BILLING`,
>
> **emailAddresses** `EmailAddress[]`
>
> **properties**
>
> **email** `string`
>
> **type** `enum`
>
> Available options:`BILLING`
>
> **number** `string`
>
> **phoneNumbers** `PhoneNumber[]`
>
> **properties**
>
> **number** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`, `MOBILE`
>
> **updatedDate** `string`

> [accordion] Visma eAccounting
>
> Query parameters:
>
> **rawData** `boolean`
>
> Supported response fields:
>
> **id** `string`
>
> **contactType** `enum`
>
> Available options: `COMPANY`
>
> **companyName** `string`
>
> **addresses** `Address[]`
>
> **properties**
>
> **addressLine1** `string`
>
> **postalCode** `string`
>
> **city** `string`
>
> **countryCode** `enum`
>
> The `countryCode` field supports **ISO 3166-1 alpha-2** (2-letter codes).
> For details visit the [`Standardized Data`](https://docs.maesn.com/standardization) section.
>
> **type** `enum`
>
> Available options: `BILLING`
>
> **emailAddresses** `EmailAddress[]`
>
> **properties**
>
> **email** `string`
>
> **type** `enum`
>
> Available options:`BUSINESS`
>
> **number** `string`
>
> **phoneNumbers** `PhoneNumber[]`
>
> **properties**
>
> **number** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`
>
> **updatedDate** `string`

> [accordion] weclapp
>
> Query parameters:
>
> **rawData** `boolean`
>
> Supported response fields:
>
> **id** `string`
>
> **contactType** `enum`
>
> Available options: `CONTACT_PERSON`, `COMPANY`
>
> **companyName** `string`
>
> **contactPersons** `ContactPerson[]`
>
> **properties**
>
> **salutation** `string`
>
> **firstName** `string`
>
> **lastName** `string`
>
> **emailAddresses** `EmailAddress[]`
>
> **properties**
>
> **email** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`
>
> **phoneNumbers** `PhoneNumber[]`
>
> **properties**
>
> **number** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`
>
> **addresses** `Address[]`
>
> **properties**
>
> **addressLine1** `string`
>
> **addressLine2** `string`
>
> **postalCode** `string`
>
> **city** `string`
>
> **countryCode** `enum`
>
> The `countryCode` field supports **ISO 3166-1 alpha-2** (2-letter codes).
> For details visit the [`Standardized Data`](https://docs.maesn.com/standardization) section.
>
> **type** `enum`
>
> Available options: `BILLING`, `DELIVERY`
>
> **updatedDate** `string`

> [accordion] Xentral
>
> Query parameters:
>
> **rawData** `boolean`
>
> Supported response fields:
>
> **id** `string`
>
> **contactType** `enum`
>
> Available options: `CONTACT_PERSON`, `COMPANY`
>
> **companyName** `string`
>
> **contactPersons** `ContactPerson[]`
>
> **properties**
>
> **salutation** `string`
>
> Supported values are `Frau`, `Herr`, `Sonstige` and `Firma`.
>
> **firstName** `string`
>
> **lastName** `string`
>
> **emailAddresses** `EmailAddress[]`
>
> **properties**
>
> **email** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`
>
> **phoneNumbers** `PhoneNumber[]`
>
> **properties**
>
> **number** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`, `FAX`, `MOBILE`
>
> **addresses** `Address[]`
>
> **properties**
>
> **addressLine1** `string`
>
> **addressLine2** `string`
>
> **postalCode** `string`
>
> **city** `string`
>
> **countryCode** `enum`
>
> The `countryCode` field supports **ISO 3166-1 alpha-2** (2-letter codes).
> For details visit the [`Standardized Data`](https://docs.maesn.com/standardization) section.
>
> **type** `enum`
>
> Available options: `BILLING`
>
> **emailAddresses** `EmailAddress[]`
>
> **properties**
>
> **email** `string`
>
> **type** `enum`
>
> Available options:`BUSINESS`
>
> **phoneNumbers** `PhoneNumber[]`
>
> **properties**
>
> **number** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`, `FAX`, `MOBILE`
>
> **projectId** `string`

> [accordion] Xero
>
> > [!NOTE]
> >
> > Xero allows up to six contact persons per company.
>
> Query parameters:
>
> **rawData** `boolean`
>
> Supported response fields:
>
> **id** `string`
>
> **contactType** `enum`
>
> Available options: `UNDEFINED`
>
> **companyName** `string`
>
> **contactPersons** `ContactPerson[]`
>
> **properties**
>
> **firstName** `string`
>
> **lastName** `string`
>
> **emailAddresses** `EmailAddress[]`
>
> **properties**
>
> **email** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`
>
> **addresses** `Address[]`
>
> **properties**
>
> **addressLine1** `string`
>
> **addressLine2** `string`
>
> **postalCode** `string`
>
> **city** `string`
>
> **countryCode** `enum`
>
> The `countryCode` field supports **ISO 3166-1 alpha-2** (2-letter codes).
> For details visit the [`Standardized Data`](https://docs.maesn.com/standardization) section.
>
> **type** `enum`
>
> Available options: `BILLING`, `DELIVERY`
>
> **phoneNumbers** `PhoneNumber[]`
>
> **properties**
>
> **number** `string`
>
> **type** `enum`
>
> Available options: `BUSINESS`, `FAX`, `MOBILE`, `OTHER`
>
> **updatedDate** `string`


## OpenAPI

````yaml get /accounting/suppliers/{contactId}
openapi: 3.0.0
info:
  title: Maesn unified API
  description: The Maesn unified API description
  version: '1.0'
  contact: {}
servers:
  - url: https://api.maesn.dev
security: []
tags:
  - name: maesn
    description: ''
paths:
  /accounting/suppliers/{contactId}:
    get:
      tags:
        - accounting
      operationId: getSupplier
      parameters:
        - name: contactId
          required: true
          in: path
          schema:
            type: string
        - name: companyId
          required: false
          in: query
          schema:
            type: string
        - name: environmentName
          in: query
          schema:
            type: string
          required: false
        - name: rawData
          required: false
          in: query
          schema:
            type: boolean
        - name: X-API-KEY
          description: API key
          in: header
          schema:
            type: string
          required: true
        - name: X-ACCOUNT-KEY
          description: Account key
          in: header
          schema:
            type: string
          required: true
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/BaseResponseDto'
                  - properties:
                      data:
                        $ref: '#/components/schemas/ContactResponseDto'
                        type: object
components:
  schemas:
    BaseResponseDto:
      type: object
      properties:
        meta:
          $ref: '#/components/schemas/MetaResponse'
        data:
          oneOf:
            - type: object
            - type: array
    ContactResponseDto:
      type: object
      properties:
        id:
          type: string
          example: 92c4f3a2-5b8e-4d1b-8a0c-9f6e7d2f3e4b
        addresses:
          type: array
          items:
            $ref: '#/components/schemas/ContactAddress'
        bankAccounts:
          type: array
          items:
            $ref: '#/components/schemas/BankAccount'
        companyName:
          type: string
          example: maesn
        contactType:
          type: string
          enum:
            - CONTACT_PERSON
            - COMPANY
          example: CONTACT_PERSON
        contactPersons:
          type: array
          items:
            $ref: '#/components/schemas/ContactPerson'
        documentId:
          type: string
          example: Z1248601M
        emailAddresses:
          type: array
          items:
            $ref: '#/components/schemas/ContactEmail'
        number:
          type: string
          example: '1042'
        phoneNumbers:
          type: array
          items:
            $ref: '#/components/schemas/ContactPhone'
        projectId:
          type: string
          example: '3'
        updatedDate:
          type: string
          example: '2018-01-01T13:00:00.000Z'
        vatId:
          type: string
          example: DE123456789
    MetaResponse:
      type: object
      properties:
        warnings:
          type: array
          items:
            type: string
            example: Field not used by target system
        pagination:
          $ref: '#/components/schemas/PaginationResponse'
        partialErrors:
          type: array
          description: >-
            Secondary operations that failed after the main operation succeeded.
            See [Partial Errors](/guides/partial-errors).
          items:
            type: object
            properties:
              code:
                type: string
                example: FILE_UPLOAD_FAILED
              message:
                type: string
                example: >-
                  Attachment invoice.pdf could not be uploaded to the target
                  system.
    ContactAddress:
      type: object
      properties:
        addressLine1:
          type: string
          example: Lucky street 1
        addressLine2:
          type: string
          example: 2nd floor
        city:
          type: string
          example: Berlin
        countryCode:
          type: string
          enum:
            - AD
            - AE
            - AF
            - AG
            - AI
            - AL
            - AM
            - AO
            - AQ
            - AR
            - AS
            - AT
            - AU
            - AW
            - AX
            - AZ
            - BA
            - BB
            - BD
            - BE
            - BF
            - BG
            - BH
            - BI
            - BJ
            - BL
            - BM
            - BN
            - BO
            - BQ
            - BR
            - BS
            - BT
            - BV
            - BW
            - BY
            - BZ
            - CA
            - CC
            - CD
            - CF
            - CG
            - CH
            - CI
            - CK
            - CL
            - CM
            - CN
            - CO
            - CR
            - CU
            - CV
            - CW
            - CX
            - CY
            - CZ
            - DE
            - DJ
            - DK
            - DM
            - DO
            - DZ
            - EC
            - EE
            - EG
            - EH
            - ER
            - ES
            - ET
            - FI
            - FJ
            - FK
            - FM
            - FO
            - FR
            - GA
            - GB
            - GD
            - GE
            - GF
            - GG
            - GH
            - GI
            - GL
            - GM
            - GN
            - GP
            - GQ
            - GR
            - GS
            - GT
            - GU
            - GW
            - GY
            - HK
            - HM
            - HN
            - HR
            - HT
            - HU
            - ID
            - IE
            - IL
            - IM
            - IN
            - IO
            - IQ
            - IR
            - IS
            - IT
            - JE
            - JM
            - JO
            - JP
            - KE
            - KG
            - KH
            - KI
            - KM
            - KN
            - KP
            - KR
            - KW
            - KY
            - KZ
            - LA
            - LB
            - LC
            - LI
            - LK
            - LR
            - LS
            - LT
            - LU
            - LV
            - LY
            - MA
            - MC
            - MD
            - ME
            - MF
            - MG
            - MH
            - MK
            - ML
            - MM
            - MN
            - MO
            - MP
            - MQ
            - MR
            - MS
            - MT
            - MU
            - MV
            - MW
            - MX
            - MY
            - MZ
            - NA
            - NC
            - NE
            - NF
            - NG
            - NI
            - NL
            - 'NO'
            - NP
            - NR
            - NU
            - NZ
            - OM
            - PA
            - PE
            - PF
            - PG
            - PH
            - PK
            - PL
            - PM
            - PN
            - PR
            - PT
            - PW
            - PY
            - QA
            - RE
            - RO
            - RS
            - RU
            - RW
            - SA
            - SB
            - SC
            - SD
            - SE
            - SG
            - SH
            - SI
            - SJ
            - SK
            - SL
            - SM
            - SN
            - SO
            - SR
            - SS
            - ST
            - SV
            - SX
            - SY
            - SZ
            - TC
            - TD
            - TF
            - TG
            - TH
            - TJ
            - TK
            - TL
            - TM
            - TN
            - TO
            - TR
            - TT
            - TV
            - TW
            - TZ
            - UA
            - UG
            - UM
            - US
            - UY
            - UZ
            - VA
            - VC
            - VE
            - VG
            - VI
            - VN
            - VU
            - WF
            - WS
            - YE
            - YT
            - ZA
            - ZM
            - ZW
          example: DE
        postalCode:
          type: string
          example: '10243'
        type:
          type: string
          enum:
            - BILLING
            - DELIVERY
            - EMPTY
            - PRIVATE
            - WORK
            - PICKUP
          example: BILLING
    BankAccount:
      type: object
      properties:
        bic:
          type: string
          example: COBADEFFXXX
        holder:
          type: string
          example: John Doe
        iban:
          type: string
          example: DE89370400440532013000
        isMainAccount:
          type: boolean
          example: true
        name:
          type: string
          example: Sparkasse
        sepa:
          type: boolean
          example: true
      required:
        - iban
        - bic
        - holder
        - sepa
    ContactPerson:
      type: object
      properties:
        emailAddresses:
          type: array
          items:
            $ref: '#/components/schemas/ContactEmail'
        firstName:
          type: string
          example: John
        lastName:
          type: string
          example: Doe
        phoneNumbers:
          type: array
          items:
            $ref: '#/components/schemas/ContactPhone'
        salutation:
          type: string
          example: Mr
    ContactEmail:
      type: object
      properties:
        email:
          type: string
          example: john.doe@company.com
        type:
          type: string
          enum:
            - BUSINESS
            - PRIVATE
            - OFFICE
            - INVOICE
            - PAYMENT
            - OTHER
          example: BUSINESS
    ContactPhone:
      type: object
      properties:
        number:
          type: string
          example: +49 7163307056
        type:
          type: string
          enum:
            - BUSINESS
            - MOBILE
            - FAX
            - LANDLINE
            - OFFICE
            - OTHER
            - PRIVATE
            - SKYPE
            - WHATSAPP
          example: MOBILE
    PaginationResponse:
      type: object
      properties:
        total:
          type: number
          example: 125
        perPage:
          type: number
          example: 50
        currentPage:
          type: number
          example: 1
        totalPages:
          type: number
          example: 3

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.