diff --git a/src/Core/CoreConstants.php b/src/Core/CoreConstants.php
index 4d120ab9..6cad870e 100644
--- a/src/Core/CoreConstants.php
+++ b/src/Core/CoreConstants.php
@@ -7,7 +7,7 @@
class CoreConstants
{
//Set the default minor version
- const DEFAULT_SDK_MINOR_VERSION = "62";
+ const DEFAULT_SDK_MINOR_VERSION = "63";
const DEFAULT_LOGGINGLOCATION = "/tmp/IdsLogs";
const PHP_CLASS_PREFIX = 'IPP';
@@ -297,7 +297,7 @@ class CoreConstants
* The Request source header value.
* @var string REQUESTSOURCEHEADER
*/
- const USERAGENT = "V3PHPSDK6.0.2";
+ const USERAGENT = "V3PHPSDK6.0.3";
public static function getType($string, $return=1)
{
diff --git a/src/Data/IPPEmployee.php b/src/Data/IPPEmployee.php
index 433e6bc3..3ea98336 100644
--- a/src/Data/IPPEmployee.php
+++ b/src/Data/IPPEmployee.php
@@ -170,6 +170,16 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE)
* @var com\intuit\schema\finance\v3\IPPIntuitAnyType
*/
public $EmployeeEx;
+ /**
+ * @Definition Hourly cost rate of the Employee. QBO only. QBD Unsupporetd field.
+
+ * @xmlType element
+ * @xmlNamespace http://schema.intuit.com/finance/v3
+ * @xmlMinOccurs 0
+ * @xmlName CostRate
+ * @var float
+ */
+ public $CostRate;
} // end class IPPEmployee
diff --git a/src/Data/IPPInventoryAdjustment.php b/src/Data/IPPInventoryAdjustment.php
new file mode 100644
index 00000000..bdd5679e
--- /dev/null
+++ b/src/Data/IPPInventoryAdjustment.php
@@ -0,0 +1,91 @@
+ $initPropVal)
+ {
+ if (property_exists('IPPInventoryAdjustment',$initPropName) || property_exists('QuickBooksOnline\API\Data\IPPInventoryAdjustment',$initPropName))
+ {
+ $this->{$initPropName} = $initPropVal;
+ }
+ else
+ {
+ if ($verbose)
+ echo "Property does not exist ($initPropName) in class (".get_class($this).")";
+ }
+ }
+ }
+
+
+ /**
+ * @Definition
+ Product: QBO
+ Description: When this property is set to true, the "Inventory Adjustment" is treated
+ as a notice-of-shipment or packing slip. This will cause the accounting engine to book
+ the revenue from the sale of the items. When this property is set, the SalesPrice property
+ must be provided. In order for correct accounting to occur SalesPrice (per item) amount
+ must match the sales amount on the sales transaction - but no validation of this occurs
+ within the accounting engine.
+
+ * @xmlType element
+ * @xmlNamespace http://schema.intuit.com/finance/v3
+ * @xmlMinOccurs 0
+ * @xmlName ShippingAdjustment
+ * @var boolean
+ */
+ public $ShippingAdjustment;
+ /**
+ * @Definition
+ Product: QBO
+ Description: Reference to the
+ Inventory Adjustment account used to adjust inventory.
+ This is an expense or opening balance equity account.
+ The inventory asset account is used from item's definition.
+
+ * @xmlType element
+ * @xmlNamespace http://schema.intuit.com/finance/v3
+ * @xmlMinOccurs 1
+ * @xmlMaxOccurs 1
+ * @xmlName AdjustAccountRef
+ * @var com\intuit\schema\finance\v3\IPPReferenceType
+ */
+ public $AdjustAccountRef;
+ /**
+ * @Definition
+ Product: QBO
+ Description: Customer Reference
+
+ * @xmlType element
+ * @xmlNamespace http://schema.intuit.com/finance/v3
+ * @xmlMinOccurs 0
+ * @xmlMaxOccurs 1
+ * @xmlName CustomerRef
+ * @var com\intuit\schema\finance\v3\IPPReferenceType
+ */
+ public $CustomerRef;
+
+
+} // end class IPPInventoryAdjustment
diff --git a/src/Data/IPPItemAdjustmentLineDetail.php b/src/Data/IPPItemAdjustmentLineDetail.php
new file mode 100644
index 00000000..1249189b
--- /dev/null
+++ b/src/Data/IPPItemAdjustmentLineDetail.php
@@ -0,0 +1,110 @@
+ $initPropVal)
+ {
+ if (property_exists('IPPItemAdjustmentLineDetail',$initPropName) || property_exists('QuickBooksOnline\API\Data\IPPItemAdjustmentLineDetail',$initPropName))
+ {
+ $this->{$initPropName} = $initPropVal;
+ }
+ else
+ {
+ if ($verbose)
+ echo "Property does not exist ($initPropName) in class (".get_class($this).")";
+ }
+ }
+ }
+
+
+ /**
+ * @Definition
+ Product: QBO
+ Description: Reference to an inventory item.
+
+ * @xmlType element
+ * @xmlNamespace http://schema.intuit.com/finance/v3
+ * @xmlMinOccurs 1
+ * @xmlMaxOccurs 1
+ * @xmlName ItemRef
+ * @var com\intuit\schema\finance\v3\IPPReferenceType
+ */
+ public $ItemRef;
+ /**
+ * @Definition
+ Product: QBO
+ Description: Specifies the Sales Price (per item) for which the items being disbursed were sold.
+
+ * @xmlType element
+ * @xmlNamespace http://schema.intuit.com/finance/v3
+ * @xmlMinOccurs 0
+ * @xmlName SalesPrice
+ * @var float
+ */
+ public $SalesPrice;
+ /**
+ * @Definition
+ Product: QBO
+ Description: Difference in quantity
+ it will have negative value for reducing quantity
+ positive value for increasing quantity.
+
+ * @xmlType element
+ * @xmlNamespace http://schema.intuit.com/finance/v3
+ * @xmlMinOccurs 0
+ * @xmlName QtyDiff
+ * @var float
+ */
+ public $QtyDiff;
+ /**
+ * @Definition
+ Product: QBO
+ Description: New quantity as of provided
+ transaction date.
+
+ * @xmlType element
+ * @xmlNamespace http://schema.intuit.com/finance/v3
+ * @xmlMinOccurs 0
+ * @xmlName NewQty
+ * @var float
+ */
+ public $NewQty;
+ /**
+ * @Definition
+ Product: QBO
+ Description: Class Reference
+
+ * @xmlType element
+ * @xmlNamespace http://schema.intuit.com/finance/v3
+ * @xmlMinOccurs 0
+ * @xmlMaxOccurs 1
+ * @xmlName ClassRef
+ * @var com\intuit\schema\finance\v3\IPPReferenceType
+ */
+ public $ClassRef;
+
+
+} // end class IPPItemAdjustmentLineDetail
diff --git a/src/Data/IPPLine.php b/src/Data/IPPLine.php
index 7793026d..a26d0c24 100644
--- a/src/Data/IPPLine.php
+++ b/src/Data/IPPLine.php
@@ -357,6 +357,18 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE)
* @var com\intuit\schema\finance\v3\IPPTDSLineDetail
*/
public $TDSLineDetail;
+ /**
+ * @Definition
+ Product: QBO
+ Description: Item adjustment line type for the
+ transaction.
+
+ * @xmlType element
+ * @xmlNamespace http://schema.intuit.com/finance/v3
+ * @xmlName ItemAdjustmentLineDetail
+ * @var com\intuit\schema\finance\v3\IPPItemAdjustmentLineDetail
+ */
+ public $ItemAdjustmentLineDetail;
/**
* @Definition
Product: QBW
diff --git a/src/Data/IPPSalesItemLineDetail.php b/src/Data/IPPSalesItemLineDetail.php
index 066af082..f39bc3d7 100644
--- a/src/Data/IPPSalesItemLineDetail.php
+++ b/src/Data/IPPSalesItemLineDetail.php
@@ -91,6 +91,24 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE)
* @var float
*/
public $DiscountAmt;
+ /**
+ * @Definition
+ Product: QBO
+ Description: Use the DeferredRevenue property to indicate that the goods/services sold
+ have not yet been delivered to the customer, and therefore not appropriate for the
+ accounting engine to book as Revenue for accounting. The most typical example would be
+ inventory items that have not yet been shipped. The accounting engine will credit a
+ liability account instead of revenue account. Later a follow on transaction must be
+ entered when the sale is fulfilled, and then the accounting engine will debit the
+ liability account and credit the revenue account.
+
+ * @xmlType element
+ * @xmlNamespace http://schema.intuit.com/finance/v3
+ * @xmlMinOccurs 0
+ * @xmlName DeferredRevenue
+ * @var boolean
+ */
+ public $DeferredRevenue;
/**
* @Definition
Product: ALL
diff --git a/src/Data/IPPTimeActivity.php b/src/Data/IPPTimeActivity.php
index 64a21969..639d0196 100644
--- a/src/Data/IPPTimeActivity.php
+++ b/src/Data/IPPTimeActivity.php
@@ -190,6 +190,17 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE)
* @var float
*/
public $HourlyRate;
+ /**
+ * @Definition Hourly cost rate of the employee or vendor for this
+ time activity.
+
+ * @xmlType element
+ * @xmlNamespace http://schema.intuit.com/finance/v3
+ * @xmlMinOccurs 0
+ * @xmlName CostRate
+ * @var float
+ */
+ public $CostRate;
/**
* @Definition Hours worked.
* @xmlType element
diff --git a/src/Data/IPPVendor.php b/src/Data/IPPVendor.php
index c579f247..b20e4a03 100644
--- a/src/Data/IPPVendor.php
+++ b/src/Data/IPPVendor.php
@@ -468,6 +468,16 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE)
* @var string
*/
public $Source;
+ /**
+ * @Definition Hourly cost rate of the Employee. QBO only. QBD Unsupporetd field.
+
+ * @xmlType element
+ * @xmlNamespace http://schema.intuit.com/finance/v3
+ * @xmlMinOccurs 0
+ * @xmlName CostRate
+ * @var float
+ */
+ public $CostRate;
} // end class IPPVendor
diff --git a/src/XSD/Finance.xjb b/src/XSD/Finance.xjb
new file mode 100644
index 00000000..4ba75689
--- /dev/null
+++ b/src/XSD/Finance.xjb
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/XSD/Finance.xsd b/src/XSD/Finance.xsd
index 65dc5beb..910fb8c0 100644
--- a/src/XSD/Finance.xsd
+++ b/src/XSD/Finance.xsd
@@ -214,6 +214,7 @@
+
@@ -6404,6 +6405,15 @@
+
+
+
+ Product: QBO
+ Description: Item adjustment line type for the
+ transaction.
+
+
+
@@ -7020,6 +7030,21 @@
+
+
+
+ Product: QBO
+ Description: Use the DeferredRevenue property to indicate that the goods/services sold
+ have not yet been delivered to the customer, and therefore not appropriate for the
+ accounting engine to book as Revenue for accounting. The most typical example would be
+ inventory items that have not yet been shipped. The accounting engine will credit a
+ liability account instead of revenue account. Later a follow on transaction must be
+ entered when the sale is fulfilled, and then the accounting engine will debit the
+ liability account and credit the revenue account.
+
+
+
@@ -9728,6 +9753,115 @@
+
+
+
+ Product: QBO
+ Description: Contains the line details of an inventory adjustment transaction.
+
+
+
+
+
+
+ Product: QBO
+ Description: Reference to an inventory item.
+
+
+
+
+
+
+ Product: QBO
+ Description: Specifies the Sales Price (per item) for which the items being disbursed were sold.
+
+
+
+
+
+
+
+ Product: QBO
+ Description: Difference in quantity
+ it will have negative value for reducing quantity
+ positive value for increasing quantity.
+
+
+
+
+
+
+ Product: QBO
+ Description: New quantity as of provided
+ transaction date.
+
+
+
+
+
+
+
+ Product: QBO
+ Description: Class Reference
+
+
+
+
+
+
+
+
+ Product: QBO
+ Description: The Inventory Adjustment request element
+
+
+
+
+
+
+
+
+ Product: QBO
+ Description: When this property is set to true, the "Inventory Adjustment" is treated
+ as a notice-of-shipment or packing slip. This will cause the accounting engine to book
+ the revenue from the sale of the items. When this property is set, the SalesPrice property
+ must be provided. In order for correct accounting to occur SalesPrice (per item) amount
+ must match the sales amount on the sales transaction - but no validation of this occurs
+ within the accounting engine.
+
+
+
+
+
+
+ Product: QBO
+ Description: Reference to the
+ Inventory Adjustment account used to adjust inventory.
+ This is an expense or opening balance equity account.
+ The inventory asset account is used from item's definition.
+
+
+
+
+
+
+ Product: QBO
+ Description: Customer Reference
+
+
+
+
+
+
+
@@ -11809,6 +11943,13 @@
+
+
+ Hourly cost rate of the employee or vendor for this
+ time activity.
+
+
+
Hours worked.
diff --git a/src/XSD/IntuitNamesTypes.xsd b/src/XSD/IntuitNamesTypes.xsd
index 3b238c00..48b1c166 100644
--- a/src/XSD/IntuitNamesTypes.xsd
+++ b/src/XSD/IntuitNamesTypes.xsd
@@ -1042,6 +1042,12 @@
+
+
+ Hourly cost rate of the Employee. QBO only. QBD Unsupporetd field.
+
+
+
@@ -1184,6 +1190,12 @@
Internal use only: extension place holder for Employee.
+
+
+ Hourly cost rate of the Employee. QBO only. QBD Unsupporetd field.
+
+
+
diff --git a/src/XSD/IntuitRestServiceDef.xsd b/src/XSD/IntuitRestServiceDef.xsd
index 557c8c9b..5715a2bd 100644
--- a/src/XSD/IntuitRestServiceDef.xsd
+++ b/src/XSD/IntuitRestServiceDef.xsd
@@ -56,6 +56,7 @@
+
overrideAsSingleNamespace = 'http://schema.intuit.com/finance/v3';
$xml->saveClasses('./Data', true);
echo "\n";