简体   繁体   English

使用QBO API获取公司主要货币的最佳方法是什么?

[英]What's the best way to get the main currency for a company using the QBO API?

Using the QBO API how do I determine what currency the company is using in their QuickBooks file or overall as a company? 如何使用QBO API确定公司在其QuickBooks文件中或公司整体中使用的货币? Thanks! 谢谢!

Okay, chalk this up to not reading a little more into the docs, you can easily find this under the Company Preferences under "HomeCurrency", using the QBO api v3 you can find it under this url: 好的,您可以将其归纳为不多读一些文档,您可以在QHome api v3的“公司偏好”下的“公司偏好设置”下轻松找到它,您可以在以下URL下找到它:

https://qb.sbfinance.intuit.com/v3/company/realm_id_goes_here/preferences

And should see some json like this: 并且应该看到这样的json:

...
 "CurrencyPrefs": {
      "MultiCurrencyEnabled": false,
      "HomeCurrency": {
        "value": "USD"
      }
    },
....

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM