From api2 when i get the list of the customers using this:
r = requests.get(
BASE_URL + "/customers",
headers=headers,
params={
"skip": skip,
"pageSize": page_size
}
)
some of my customers are a foreign currency and the api successfully returns the balance in that foreign currency.
‘accountsReceivable’: {‘value’: 100.0, ‘currency’: ‘USD’}
But when i get the individual transactions for that customer using this:
r = requests.get(
BASE_URL + "/transactions",
headers=headers,
params={
"term": customer_name,
"skip": skip,
"pageSize": page_size,
"sortBy": "Date",
"sortByDesc": False
}
)
i get it in the base currency
‘debit’: {‘value’: 153000.0, ‘currency’: ‘IQD’}
I need to get it in the customer’s currency. how and where to get it?