From 8cc077bfbd11fa6bda7d45deb6b0cd5609d2bf22 Mon Sep 17 00:00:00 2001 From: Hassan Syyid Date: Tue, 23 Mar 2021 14:31:33 -0400 Subject: [PATCH] Add Qty and UnitPrice fields to invoice_line --- setup.py | 2 +- tap_quickbooks/quickbooks/__init__.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 22b84f5..f8f0de3 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ def get_version(): readme = f.read() setup(name='tap-quickbooks', - version='1.4.30', + version='1.4.31', description='Singer.io tap for extracting data from the Quickbooks API', author='hotglue', url='http://hotglue.xyz/', diff --git a/tap_quickbooks/quickbooks/__init__.py b/tap_quickbooks/quickbooks/__init__.py index 6f82e48..fb6e464 100644 --- a/tap_quickbooks/quickbooks/__init__.py +++ b/tap_quickbooks/quickbooks/__init__.py @@ -141,7 +141,9 @@ def field_to_property_schema(field, mdata): # pylint:disable=too-many-branches "properties": { "ItemRef": qb_types["object_reference"], "ItemAccountRef": qb_types["object_reference"], - "TaxCodeRef": qb_types["object_reference"] + "TaxCodeRef": qb_types["object_reference"], + "Qty": number_type, + "UnitPrice": number_type } }, "SubTotalLineDetail": {