# Cerrency type transfer issue - API requirements request

**URL:** <https://community.hubspot.com/t/cerrency-type-transfer-issue-api-requirements-request/27294>\
**Category:** APIs & Integrations\
**Tags:** object\
**Created:** [October 28, 2020, 9:15am UTC](https://community.hubspot.com/t/cerrency-type-transfer-issue-api-requirements-request/27294 "2020-10-28T09:15:19Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![DEAR\_BA](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dear_ba/32/44503_2.png) [@DEAR\_BA](https://community.hubspot.com/u/DEAR_BA)\
**Post date:** [October 28, 2020, 9:15am UTC](https://community.hubspot.com/t/cerrency-type-transfer-issue-api-requirements-request/27294/1 "2020-10-28T09:15:19Z")

</div>

Hi!

We need to know what are the requirements of API v1:

1. field names ?
2. field types ?
3. naming according ISO?

for proper currency type transfer when trying to export deals to HubSpot from our DEAR Inventory application.

The issue is: currency type is not properly transferred when client exports the deals from DEAR accounts with different currencies to his HubSpot account - in which multi-currencies feature is turned on and properly set.

Thanx!

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [October 28, 2020, 8:51pm UTC](https://community.hubspot.com/t/cerrency-type-transfer-issue-api-requirements-request/27294/2 "2020-10-28T20:51:36Z")

</div>

Hello [@DEAR\_BA](https://community.hubspot.com/t5/user/viewprofilepage/user-id/149351)

Welcome to the Community!

I want to make sure that I understand this correctly --

- You export deals from external system (is the currency type also in that export?)
- Using the Deals API, you are adding to your HubSpot portal, but the correct currency is not being pulled in

@lynton , @HenryCipolla have either of you dealt with this?

---

<div class="post-metadata">

**Author:** ![DEAR\_BA](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dear_ba/32/44503_2.png) [@DEAR\_BA](https://community.hubspot.com/u/DEAR_BA)\
**Post date:** [October 29, 2020, 5:38am UTC](https://community.hubspot.com/t/cerrency-type-transfer-issue-api-requirements-request/27294/3 "2020-10-29T05:38:20Z")

</div>

Hi, Dennis!

Yes, we do export our sales from external systems, with currency amounts, in 4 different currencies, to deals in Hubspot.

We do add them using Deals API to Hubspot portal, and they are displayed not in original currencies but in AUD, which is Company currency, and are not recalculated according exchange rates which are set in multi-currencies tab in Hubspot.

We believe the currency type export is an issue so could you please clarify how to do its export properly according API v1?

BR,

Seva

---

<div class="post-metadata">

**Author:** ![WendyGoh](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/wendygoh/32/42320_2.png) [@WendyGoh](https://community.hubspot.com/u/WendyGoh)\
**Post date:** [November 3, 2020, 5:01am UTC](https://community.hubspot.com/t/cerrency-type-transfer-issue-api-requirements-request/27294/4 "2020-11-03T05:01:16Z")

</div>

Hey [@DEAR\_BA](https://community.hubspot.com/t5/user/viewprofilepage/user-id/149351) ,

Just to clarify here, are you looking to retrieve deals with the currency and amount via the HubSpot [Get all deals endpoint](https://legacydocs.hubspot.com/docs/methods/deals/get-all-deals)?

If so, you can look at these two properties: _deal\_currency\_code_ and _amount_.

In which the _deal\_currency\_code_ property would return the currency the deal amount is set on and the deal amount would return the deal amount set on the deal.

Let me know if this answers your query and/or if there’s any further queries on this 🙂

---

<div class="post-metadata">

**Author:** ![DEAR\_BA](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dear_ba/32/44503_2.png) [@DEAR\_BA](https://community.hubspot.com/u/DEAR_BA)\
**Post date:** [November 3, 2020, 6:07am UTC](https://community.hubspot.com/t/cerrency-type-transfer-issue-api-requirements-request/27294/5 "2020-11-03T06:07:37Z")

</div>

Hi, WendyGoh!

Yes, you’re right, we retrieve deals info using those legacy endpoints.

But if _amount_ property is mentioned there, _deal\_currency\_code_ is absent on those API description pages.

Could you please clarify what’s the field type should be used for _deal\_currency\_code?_

And what should be the currency names for it? like ISO 4217?

Thanks in advance!

BR,

Seva

---

<div class="post-metadata">

**Author:** ![WendyGoh](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/wendygoh/32/42320_2.png) [@WendyGoh](https://community.hubspot.com/u/WendyGoh)\
**Post date:** [November 4, 2020, 7:09am UTC](https://community.hubspot.com/t/cerrency-type-transfer-issue-api-requirements-request/27294/6 "2020-11-04T07:09:00Z")

</div>

Hey [@DEAR\_BA](https://community.hubspot.com/t5/user/viewprofilepage/user-id/149351),

The endpoint documentation [here](https://legacydocs.hubspot.com/docs/methods/deals/get-all-deals) may not have included all the properties. When looking to get all the properties, you can use this endpoint here: [Get all deal properties | Deal Properties API](https://legacydocs.hubspot.com/docs/methods/deals/get_deal_properties).

Using the get all deal properties endpoint, we can note that the field type used for _deal\_currency\_code_ is enumeration select.

In regards to your second question, I’m able to confirm that the _deal\_currency\_code_ property contain values tht mirror the [ISO\_4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes).

---

<div class="post-metadata">

**Author:** ![DEAR\_BA](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dear_ba/32/44503_2.png) [@DEAR\_BA](https://community.hubspot.com/u/DEAR_BA)\
**Post date:** [November 5, 2020, 7:40am UTC](https://community.hubspot.com/t/cerrency-type-transfer-issue-api-requirements-request/27294/7 "2020-11-05T07:40:09Z")

</div>

Dear WendyGoh!

Thanks a lot! It looks to be clear now. We will test our endpoints usage accordingly!

BR,

Seva
