Skip to content

Commit

Permalink
Add support for Purchases and Time Activity
Browse files Browse the repository at this point in the history
  • Loading branch information
hsyyid committed Mar 19, 2021
1 parent 9f0dd84 commit 3064c26
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ def get_version():
readme = f.read()

setup(name='tap-quickbooks',
version='1.4.29',
version='1.4.30',
description='Singer.io tap for extracting data from the Quickbooks API',
author='HotGlue',
author='hotglue',
url='http://hotglue.xyz/',
classifiers=['Programming Language :: Python :: 3 :: Only'],
py_modules=['tap_quickbooks'],
Expand Down
36 changes: 36 additions & 0 deletions tap_quickbooks/quickbooks/schemas/object_definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,42 @@
{"name": "ExchangeRate", "type": "number"},
{"name": "Line", "type": "array", "child_type": "journal_entry_line"}
],
"Purchase": [
{"name": "PrivateNote", "type": "string"},
{"name": "PaymentType", "type": "string"},
{"name": "MetaData", "type": "string"},
{"name": "RemitToAddr", "type": "string"},
{"name": "CurrencyRef", "type": "string"},
{"name": "ExchangeRate", "type": "number"},
{"name": "TotalAmt", "type": "number"},
{"name": "PrintStatus", "type": "string"},
{"name": "AccountRef", "type": "string"},
{"name": "Id", "type": "string"},
{"name": "EntityRef", "type": "string"},
{"name": "TxnDate", "type": "datetime"},
{"name": "domain", "type": "string"},
{"name": "Credit", "type": "boolean"},
{"name": "DocNumber", "type": "string"},
{"name": "Line", "type": "string"},
{"name": "PurchaseEx", "type": "string"}
],
"TimeActivity": [
{"name": "HourlyRate", "type": "number"},
{"name":"CustomerRef", "type": "string"},
{"name": "Taxable", "type": "boolean"},
{"name":"Description", "type": "string"},
{"name":"Minutes", "type": "number"},
{"name":"MetaData", "type": "string"},
{"name":"ItemRef", "type": "string"},
{"name":"Id", "type": "string"},
{"name":"domain", "type": "string"},
{"name": "TxnDate", "type": "datetime"},
{"name":"EmployeeRef", "type": "string"},
{"name":"BillableStatus", "type": "string"},
{"name":"NameOf", "type": "string"},
{"name":"ClassRef", "type": "string"},
{"name":"Hours", "type": "number"}
],
"ProfitAndLossDetailReport": [
{"name": "Date", "type": "string"},
{"name": "TransactionType", "type": "string"},
Expand Down

0 comments on commit 3064c26

Please sign in to comment.