duangan4070 2015-07-16 12:05
浏览 83
已采纳

Quickbooks多币种发票

Before raising question I had searched it over stackoverflow and google but could not find any reference.

I have been using the keith palmar's Php SDK from almost a year. I have QB 2012 pro version which is linked to my website using webconnector. I am pulling my invoices from my website(using php sdk QBXML provided to push into queue) and push it to QB using web connector. Everything work great.

Recently I have a scenario where I am allowing end user to pay invoices in different currency USD, CAD etc. That is, a user can buy a product in USD currency and another product in CAD currency. This is not currency switch but actually buying a product in base currency CAD and USD. So the customer is same but his transaction behavior can be in CAD or USD.

Now, Since the invoice generated hold information about the currency too and I want to pass this currency information to invoice in QB when pulled using QB web connector. I have searched OSR but I could not find currency reference to be set as USD or CAD for a invoice(1 invoice with 1 currency). However I found some references when I googled that it is doable using

<CurrencyRef name="Canadian Dollar">CAD</CurrencyRef>

I tried it but it did not worked and OSR also does not have any such reference mentioned. Please let me know if some one has faced similar scenario or know how to set currency ref in invoice XML.

I have read comment(from QB PHP SDK guru) here in below link and that means it is doable but how as I verified receive payment add method as well as there also I could not find currency ref to set.

https://stackoverflow.com/questions/4293 … 08#4316208

Thanks, Amit

  • 写回答

1条回答 默认 最新

  • dongpi0658 2015-07-16 14:08
    关注

    QuickBooks for Windows sets the currency at the customer level. All invoices/payments for that customer use the currency the customer is set to.

    You can not have a single customer with more than one currency, or with invoices or payments of more than a single currency.

    If you look in the QuickBooks OSR, you'll see this as part of your CustomerAdd request:

    <CurrencyRef> <!-- optional -->
    <ListID >IDTYPE</ListID> <!-- optional -->
    <FullName >STRTYPE</FullName> <!-- optional -->
    </CurrencyRef>
    

    You won't find this in CustomerMod, because QuickBooks does not allow you to change the currency a customer has assigned to it.

    You do not set a currency on an invoice, because it just uses the currency from the customer.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 如何让企业微信机器人实现消息汇总整合
  • ¥50 关于#ui#的问题:做yolov8的ui界面出现的问题
  • ¥15 如何用Python爬取各高校教师公开的教育和工作经历
  • ¥15 TLE9879QXA40 电机驱动
  • ¥20 对于工程问题的非线性数学模型进行线性化
  • ¥15 Mirare PLUS 进行密钥认证?(详解)
  • ¥15 物体双站RCS和其组成阵列后的双站RCS关系验证
  • ¥20 想用ollama做一个自己的AI数据库
  • ¥15 关于qualoth编辑及缝合服装领子的问题解决方案探寻
  • ¥15 请问怎么才能复现这样的图呀