Skip to content

Commit bb45d64

Browse files
author
Edgar Sherman
committed
Merge branch 'master' of https://github.com/intuit/QuickBooks-V3-PHP-SDK into fix/php8deprecations
2 parents c212f6d + 92ed303 commit bb45d64

File tree

7 files changed

+137
-3
lines changed

7 files changed

+137
-3
lines changed

src/Core/CoreConstants.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ class CoreConstants
297297
* The Request source header value.
298298
* @var string REQUESTSOURCEHEADER
299299
*/
300-
const USERAGENT = "V3PHPSDK6.0.5";
300+
const USERAGENT = "V3PHPSDK6.0.6";
301301

302302
public static function getType($string, $return=1)
303303
{

src/Data/IPPAccountSubTypeEnum.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* @var IPPAccountSubTypeEnum
99
* @xmlDefinition
1010
Product: QBO
11-
Description: Use Tax Roundoff Gain or Loss to track gains or losses that occur as a result of Tax filing roundoff.
11+
Description: Use Other Debtors to group Accounts Receivable other than those from customers.
1212

1313
* @xmlb Share Application Money Pending Allotment
1414
*/

src/Data/IPPCustomer.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -606,6 +606,19 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE)
606606
* @var string
607607
*/
608608
public $Source;
609+
/**
610+
* @Definition
611+
Product: QBO
612+
Description: Tax regime of a customer which is required by CFDI4.0 in Mexico.
613+
Visit http://omawww.sat.gob.mx/tramitesyservicios/Paginas/anexo_20_version3-3.htm and find the catalogues that contain the accepted values of TaxRegime.
614+
615+
* @xmlType element
616+
* @xmlNamespace http://schema.intuit.com/finance/v3
617+
* @xmlMinOccurs 0
618+
* @xmlName TaxRegime
619+
* @var string
620+
*/
621+
public $TaxRegime;
609622

610623

611624
} // end class IPPCustomer

src/Data/IPPIntuitEntity.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE)
122122

123123
* @xmlType attribute
124124
* @xmlName status
125-
* @var EntityStatusEnum[]
125+
* @var EntityStatusEnum[unbounded]
126126
*/
127127
public $status;
128128
/**

src/Data/IPPInvoice.php

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,44 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE)
181181
* @var string
182182
*/
183183
public $ECloudStatusTimeStamp;
184+
/**
185+
* @Definition
186+
Product: QBO
187+
Description: Use of Invoice of a transaction which is required by CFDI4.0 in Mexico.
188+
Visit http://omawww.sat.gob.mx/tramitesyservicios/Paginas/anexo_20_version3-3.htm and find the catalogues that contain the accepted values of cfdiUse.
189+
190+
* @xmlType element
191+
* @xmlNamespace http://schema.intuit.com/finance/v3
192+
* @xmlMinOccurs 0
193+
* @xmlName CfdiUse
194+
* @var integer
195+
*/
196+
public $CfdiUse;
197+
/**
198+
* @Definition
199+
Product: QBO
200+
Description: Exportation type of a transaction which is required by CFDI4.0 in Mexico.
201+
Visit http://omawww.sat.gob.mx/tramitesyservicios/Paginas/anexo_20_version3-3.htm and find the catalogues that contain the accepted values of Exportation.
202+
203+
* @xmlType element
204+
* @xmlNamespace http://schema.intuit.com/finance/v3
205+
* @xmlMinOccurs 0
206+
* @xmlName Exportation
207+
* @var string
208+
*/
209+
public $Exportation;
210+
/**
211+
* @Definition
212+
Product: QBO
213+
Description: Global invoice data of a transaction which is required by CFDI4.0 in Mexico.
214+
215+
* @xmlType element
216+
* @xmlNamespace http://schema.intuit.com/finance/v3
217+
* @xmlMinOccurs 0
218+
* @xmlName GlobalInfo
219+
* @var com\intuit\schema\finance\v3\IPPMXGlobalInfo
220+
*/
221+
public $GlobalInfo;
184222
/**
185223
* @Definition
186224
Product: QBO

src/XSD/Finance.xsd

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2928,6 +2928,14 @@
29282928
</xs:documentation>
29292929
</xs:annotation>
29302930
</xs:enumeration>
2931+
<xs:enumeration value="OtherDebtors">
2932+
<xs:annotation>
2933+
<xs:documentation>
2934+
Product: QBO
2935+
Description: Use Other Debtors to group Accounts Receivable other than those from customers.
2936+
</xs:documentation>
2937+
</xs:annotation>
2938+
</xs:enumeration>
29312939
</xs:restriction>
29322940
</xs:simpleType>
29332941
<xs:simpleType name="APCreditCardOperationEnum">
@@ -5754,6 +5762,35 @@
57545762
</xs:documentation>
57555763
</xs:annotation>
57565764
</xs:element>
5765+
<xs:element name="CfdiUse" type="xs:int"
5766+
minOccurs="0">
5767+
<xs:annotation>
5768+
<xs:documentation>
5769+
Product: QBO
5770+
Description: Use of Invoice of a transaction which is required by CFDI4.0 in Mexico.
5771+
Visit http://omawww.sat.gob.mx/tramitesyservicios/Paginas/anexo_20_version3-3.htm and find the catalogues that contain the accepted values of cfdiUse.
5772+
</xs:documentation>
5773+
</xs:annotation>
5774+
</xs:element>
5775+
<xs:element name="Exportation" type="xs:string"
5776+
minOccurs="0">
5777+
<xs:annotation>
5778+
<xs:documentation>
5779+
Product: QBO
5780+
Description: Exportation type of a transaction which is required by CFDI4.0 in Mexico.
5781+
Visit http://omawww.sat.gob.mx/tramitesyservicios/Paginas/anexo_20_version3-3.htm and find the catalogues that contain the accepted values of Exportation.
5782+
</xs:documentation>
5783+
</xs:annotation>
5784+
</xs:element>
5785+
<xs:element name="GlobalInfo" type="MXGlobalInfo"
5786+
minOccurs="0">
5787+
<xs:annotation>
5788+
<xs:documentation>
5789+
Product: QBO
5790+
Description: Global invoice data of a transaction which is required by CFDI4.0 in Mexico.
5791+
</xs:documentation>
5792+
</xs:annotation>
5793+
</xs:element>
57575794
<xs:element name="invoiceStatus" type="xs:string" minOccurs="0">
57585795
<xs:annotation>
57595796
<xs:documentation>
@@ -5894,6 +5931,43 @@
58945931
</xs:extension>
58955932
</xs:complexContent>
58965933
</xs:complexType>
5934+
5935+
<xs:complexType name="MXGlobalInfo">
5936+
<xs:annotation>
5937+
<xs:documentation>
5938+
Product: QBO
5939+
Description: Global invoice data of a transaction which is required by CFDI4.0 in Mexico.
5940+
Visit http://omawww.sat.gob.mx/tramitesyservicios/Paginas/anexo_20_version3-3.htm and find the catalogues that contain the accepted values of Exportation, Periodicity, and Year.
5941+
</xs:documentation>
5942+
</xs:annotation>
5943+
<xs:sequence>
5944+
<xs:element name="Periodicity" type="xs:string" minOccurs="0">
5945+
<xs:annotation>
5946+
<xs:documentation>
5947+
Product: QBO
5948+
Description: Periodicity of global invoice data which is required by CFDI4.0 in Mexico.
5949+
</xs:documentation>
5950+
</xs:annotation>
5951+
</xs:element>
5952+
<xs:element name="Month" type="xs:string" minOccurs="0">
5953+
<xs:annotation>
5954+
<xs:documentation>
5955+
Product: QBO
5956+
Description: Month of global invoice data which is required by CFDI4.0 in Mexico.
5957+
</xs:documentation>
5958+
</xs:annotation>
5959+
</xs:element>
5960+
<xs:element name="Year" type="xs:string" minOccurs="0">
5961+
<xs:annotation>
5962+
<xs:documentation>
5963+
Product: QBO
5964+
Description: Year of global invoice data which is required by CFDI4.0 in Mexico.
5965+
</xs:documentation>
5966+
</xs:annotation>
5967+
</xs:element>
5968+
</xs:sequence>
5969+
</xs:complexType>
5970+
58975971
<xs:complexType name="ConvenienceFeeDetail">
58985972
<xs:annotation>
58995973
<xs:documentation>

src/XSD/IntuitNamesTypes.xsd

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -720,6 +720,15 @@
720720
</xs:documentation>
721721
</xs:annotation>
722722
</xs:element>
723+
<xs:element name="TaxRegime" type="xs:string" minOccurs="0">
724+
<xs:annotation>
725+
<xs:documentation>
726+
Product: QBO
727+
Description: Tax regime of a customer which is required by CFDI4.0 in Mexico.
728+
Visit http://omawww.sat.gob.mx/tramitesyservicios/Paginas/anexo_20_version3-3.htm and find the catalogues that contain the accepted values of TaxRegime.
729+
</xs:documentation>
730+
</xs:annotation>
731+
</xs:element>
723732
</xs:sequence>
724733
</xs:extension>
725734
</xs:complexContent>

0 commit comments

Comments
 (0)