Skip to main content
March 15, 2023
Question

We're using QuickBooks API to charge cards in a different currency however, the API call fails when it's a different currency besides USD. Does anyone have any insight?

  • March 15, 2023
  • 1 reply
  • 0 views
We're using QuickBooks API to charge cards in a different currency however, the API call fails when it's a different currency besides USD. Does anyone have any insight?

1 reply

Angelyn_T
March 15, 2023

Hi there, @scott-cloudhire-. Let me give you insights about multiple currency entries with QuickBooks API. This way, you'll be able to take charges in different currencies.

  

When using multicurrency with the QuickBooks API:

 

  • Only one currency can be assigned to a given name, list, object, or account.
  • A currency can be assigned to customers, vendors/suppliers, price levels, bank accounts, credit card accounts, and accounts receivable/accounts payable accounts. Other account types, like income and expense accounts, always use the company’s home currency.
  • The multi-currency menu items are in the Company Settings menu under Manage Currency in the QuickBooks Online UI.
  • Multicurrency is enabled from the QuickBooks Online UI, only. It cannot be enabled via the API.

 

Generally, you can use the following attributes to track multicurrency transactions with the QuickBooks Online API. 

 

  • Exchange Rate
  • Currency Ref
  • Home Total Amount
  • Total Amount

 

I'm adding this link for more information about this feature: Manage multiple currencies. The same material will also show you a visual representation of how these currency attributes in an invoice transaction relate to the representation of the invoice in the UI.

 

On the other hand, you can always consult with our API experts for more details about multicurrency support on an individual entity basis.

 

If you have other questions, let me know by leaving a comment below. I'm more than happy to provide additional assistance. Have a good one!

March 15, 2023

Hi @Angelyn_T ,

 

Thanks for getting back to me.

 

The issue is specifically with creating a charge while passing in a currency other than USD, e. g. CAD. That results in an error saying it's not supported / allowed.

 

Do we have to do anything before we can create charges in a different currency?

 

Here the link to the relevant endpoint in the payments api:
https://developer.intuit.com/app/developer/qbpayments/docs/api/resources/all-entities/charges#create-a-charge