Can the QBO API indicate the account is using the US or international version? - quickbooks-online

Our system is dealing with QBO users from the states and other countries. Does the API support to indicate the account is using US or international edition? It is essential as the tax model is very different on the 2 versions.

If you query for CompanyInfo with a query like this:
SELECT * FROM CompanyInfo;
You'll get back a response with a Country field like this:
<IntuitResponse xmlns="" time="2013-07-11T08:30:10.953-07:00">
<QueryResponse maxResults="1">
<CompanyInfo domain="QBO" sparse="false">
<LegalName>n57GbLegal Corp.</LegalName>
Reference these docs:


The createdFrom field on NetSuite Invoice is not populating when using SOAP Web Services via Workato

I am using Workato for my Salesforce to NetSuite integration and everything works perfectly with the exception of populating the createdFrom field on the Invoice record. Has anyone been successful in linking the NetSuite Invoice to its associated Sales Order using Web Services? This is critical as the linkage ensures that Revenue Arrangements are not duplicated in NetSuite.
I do not have first hand experience with SOAP Web Services but have seen via SuiteScript 2.x that one cannot simply create the record and try to fill in the createdFrom field. You must rather "transform" a Sales Order into an Invoice for example. The "transformation" is what links the two. Looks like for SOAP the operation is named "initialize / initializeList". The SOAP web services initialize operation emulates the UI workflow by prepopulating fields on transaction line items with values from a related record. Reference Suite Answer 10771 for more information. Suite Answer 91358 also has some sample code.
yes I have created invoices from Sales Order using SOAP Webservices. I am using minimum number of required fields to create the invoice.
Here is the endpoint URL that I used : https://(insert your account Id here)
Note 1: You need to make sure that the version is consistent through out your SOAP request (in my case it's 2020_1)
Note 2: You can see that I am passing createdFrom tag as second last tag and I am passing Sales order's internal ID there. That means that invoice is being generated from that particular sales order and it carries over rest of the fields from sales order
Note 3: I am passing externalid of the invoice at the end which will the unique id of this newly created invoice across different systems
Please let me know how this goes!
<soap:Envelope soap:encodingStyle="" xmlns:messages="" xmlns:accountingLists="" xmlns:employeesLists="" xmlns:soap="" xmlns:employeesTransactionsTypes="" xmlns:demandplanningTransactions="" xmlns:common="" xmlns:commonTypes="" xmlns:accountingListsTypes="" xmlns:customizationSetup="" xmlns:inventoryTransactionsTypes="" xmlns:supportLists="" xmlns:filecabinetDocuments="" xmlns:bankTransactionsTypes="" xmlns:communicationGeneralTypes="" xmlns:customizationSetupTypes="" xmlns:supplychainListsTypes="" xmlns:core="" xmlns:coreTypes="" xmlns:soapenc="" xmlns:supplychainLists="" xmlns:demandplanningTransactionsTypes="" xmlns:websiteLists="" xmlns:salesTransactions="" xmlns:salesTransactionsTypes="" xmlns:relationshipsLists="" xmlns:inventoryTransactions="" xmlns:employeesListsTypes="" xmlns:xsi="" xmlns:customersTransactions="" xmlns:schedulingActivitiesTypes="" xmlns:financialTransactions="" xmlns:xsd="" xmlns:relationshipsListsTypes="" xmlns:employeesTransactions="" xmlns:faults="" xmlns:marketingListsTypes="" xmlns:communicationGeneral="" xmlns:faultsTypes="" xmlns:supportListsTypes="" xmlns:websiteListsTypes="" xmlns:purchasesTransactions="" xmlns:financialTransactionsTypes="" xmlns:schedulingActivities="" xmlns:bankTransactions="" xmlns:marketingLists="" xmlns:customersTransactionsTypes="" xmlns:purchasesTransactionsTypes="" xmlns:generalTransactions="" xmlns:filecabinetDocumentsTypes="">
<urn:tokenPassport xmlns:urn="">
<ns8:account xmlns:ns8="">XXX</ns8:account>
<ns8:consumerKey xmlns:ns8="">XXX</ns8:consumerKey>
<ns8:token xmlns:ns8="">XXX</ns8:token>
<ns8:nonce xmlns:ns8="">XXX</ns8:nonce>
<ns8:timestamp xmlns:ns8="">XXX</ns8:timestamp>
<ns8:signature xmlns:ns8="" algorithm="HMAC_SHA256">XXX</ns8:signature>
<preferences xmlns=""/>
<record xmlns:salesTransactions="" xmlns:xsi="" xsi:type="salesTransactions:Invoice">
<item xsi:type="salesTransactions:InvoiceItem">
<orderLine xsi:type="salesTransactions:long">1</orderLine>
<quantity xsi:type="salesTransactions:double">1</quantity>
<rate xsi:type="salesTransactions:string">30000</rate>
<description xsi:type="salesTransactions:string">Annuity test</description>
<tranDate xsi:type="salesTransactions:dateTime">2020-09-09T00:00:00.000</tranDate>
<createdFrom xmlns:core="" xsi:type="core:RecordRef" internalId="33202933"/>
<externalId xmlns:core="" xsi:type="core:RecordRef">INV000089099</externalId>

How to save Salesforce Query Results to MySql database

I want to query Salesforce and save the results in a database. The first problem is that I find my payload is a ConsumerIterator. How can I process these results to store in a database?
<flow name="process.accounts" processingStrategy="synchronous">
<sfdc:select config-ref="MySQLDB" doc:name="Select Contact by Email">
<sfdc:parameterized-query><![CDATA[SELECT first_name,last_name,email
FROM Contact WHERE email=#[]]]></db:parameterized-
<flow name="" >
<vm:inbound-endpoint exchange-pattern="one-way" path="contact-audit"/>
<db:insert config-ref="Generic_Database_Configuration" doc:name="Save
<db:parameterized-query><![CDATA[insert into user_audit v
mulesoft exchange provides many common integration patterns such as the one you seek.
use that template to quickly understand the how

how to get synonym value from entities ibm watson conversation

i have work-space in
in this work-space i have an entity of automotive_and_vehicles
in this entity have a value of vehicle brand
this value have many synonyms like opel isuzu bmw ford bently ... (30 synonyms)
like it showed in this two pic
entities+vehicle brand,synonyms
I succeed to get the entity and value in java code but when i want to get the synonym value i can't
this is the output script=>
script+output pic
You can use .literal property to get the exact text that was recognized as the detected entity. E.g. <?#automotive_and_vehicles.literal?> in your example.

Where is the data saved, from the Datatable-items, in ECM eRoom-database?

I am trying to retrieve data out of the ECM eRoom Database (which isn't documented, as I know of).
I have an eRoom with an custom "Database", some Fields.
When I query the objects table I find the "Database" row
select * from[dbo].[Objects] where internalId = 1234567
and the Rows for the entries
select top 10 * from[dbo].[Objects] where parentInternalId = 1234567
but I don't find any field with the values of the entries, only an Column with NonSearchableProperties., that is only full with Hex Data.
My Question(s),
how could i retrieve the values?
Is it possible to retrieve them with mere SQL?
What is the simplest way?
This is not the silver bullet, but it is okay for my usecase
After long goolging and alot of test scripts, i found some answers, but probably due to the fact the the system is soon end-of-life and that the documentation is not easy to read, here are my finding.
Is it possible to retrieve them with mere SQL?
As far as I could find out, no! (please correct me If I'm wrong)
how could i retrieve the values?
With the eRoom API(on the Server there are some Sample programms to query the data/objects <installation-path>\eRoom Server\Toolkit\Samples, with c++, vb, vbscript, ... all a bit to much overhead), or with the eRoom XML Query Language(exql) over soap calls.
What is the simplest way?
After alot of tests, searching in forums and many tests with soap ui. I found out that queries with exql seem to be the simplest way to retrieve Data, if you understand the structure.
Here some ressource that were helpful:
(very) Basic info of exql from the manufacturer
(disclaimer: I didn't find it helpful, but it shows at least some basics)
short 9 page Developer guide (the last example on page 8, helped me understand how to setup the query, with alot of fantasy)
But for this to work, don't forget, to activate Allow XML queries and commands from external applications in the Site Settings
TIP 1:
you always can go go deeper you just need to know the right xml-element under. <Database>, <Cells> and <DBCell> can help you go deeper
TIP 2:
don't query to much data since this query likely run into timeouts
Update 1:
Just to save time for anyone who is looking, this "query" returns all rows (properties) for a Database(s) created in an eRoom Root.
(don't forget to set facility and room in the Url ex. http://server/eroomxml/facilities/TEST/Rooms/TestRoom, although it could be set in the query)
<soapenv:Envelope xmlns:soapenv="" xmlns:er="">
<er:command er:select="HomePage/Items">

Retrieve list of places lang/lat in country

I want to retrieve a list containing hospital names, long/lat from mapping services like Google map..
Can you help me?
The google geocode API is the way to do this:
to get a list i.e. for all hospitals in Oregon, USA you can use the following request:,oregon,usa&sensor=false
This results in a long response with all information about a dozen hospitals.
There a various ways to modify the results.