ruckus / quickeebooks

ABANDONED !!!! Quickbooks + Ruby using the Quickbooks Online v2 Data Services REST API
MIT License
79 stars 67 forks source link

SubAccounts #135

Open jimiguru opened 10 years ago

jimiguru commented 10 years ago

I can't seem to ferret out how to list SubAccounts.

I would have thought that the Account service would list all accounts, but it only seems to list Parent accounts.

ruckus commented 10 years ago

Is this for Online or Desktop?

ruckus commented 10 years ago

On my Desktop sample company I am not seeing this. I made a dummy SubAccount, synced and can now see it when I retrieve all Accounts with quickeebooks:

<Account>
  <Id idDomain="QB">40</Id>
  <SyncToken>1</SyncToken>
  <MetaData>
    <CreatedBy>app</CreatedBy>
    <CreatedById>1</CreatedById>
    <CreateTime>2014-05-11T07:24:56.0Z</CreateTime>
    <LastModifiedBy>app</LastModifiedBy>
    <LastModifiedById>1</LastModifiedById>
    <LastUpdatedTime>2014-05-11T07:24:56.0Z</LastUpdatedTime>
  </MetaData>
  <ExternalKey idDomain="QB">40</ExternalKey>
  <Synchronized>true</Synchronized>
  <Name>CodyTestSubAccount2</Name>
  <AccountParentId idDomain="QB">6</AccountParentId>
  <AccountParentName>Consulting Income</AccountParentName>
  <Active>true</Active>
  <Type>Revenue</Type>
  <Subtype>Income</Subtype>
  <CurrentBalance>0</CurrentBalance>
</Account>