Hi Velen,
1. Go to Financial >> Setup >> Financial >> Multicurrency
2. Make sure the "Currency Translation default table ID is setup for all the currency "
3. login to all the company and do the 2nd step for all the company.
4. Try your integration again, if still getting error please let me know.