Skip to content

Commit

Permalink
Merge pull request #465 from intuit/release/v6.0.6
Browse files Browse the repository at this point in the history
PHP release v6.0.6
  • Loading branch information
sujitharamadass authored Nov 15, 2022
2 parents a2cc235 + feb353e commit 92ed303
Show file tree
Hide file tree
Showing 7 changed files with 137 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Core/CoreConstants.php
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ class CoreConstants
* The Request source header value.
* @var string REQUESTSOURCEHEADER
*/
const USERAGENT = "V3PHPSDK6.0.5";
const USERAGENT = "V3PHPSDK6.0.6";

public static function getType($string, $return=1)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Data/IPPAccountSubTypeEnum.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* @var IPPAccountSubTypeEnum
* @xmlDefinition
Product: QBO
Description: Use Tax Roundoff Gain or Loss to track gains or losses that occur as a result of Tax filing roundoff.
Description: Use Other Debtors to group Accounts Receivable other than those from customers.
* @xmlb Share Application Money Pending Allotment
*/
Expand Down
13 changes: 13 additions & 0 deletions src/Data/IPPCustomer.php
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,19 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE)
* @var string
*/
public $Source;
/**
* @Definition
Product: QBO
Description: Tax regime of a customer which is required by CFDI4.0 in Mexico.
Visit http://omawww.sat.gob.mx/tramitesyservicios/Paginas/anexo_20_version3-3.htm and find the catalogues that contain the accepted values of TaxRegime.
* @xmlType element
* @xmlNamespace http://schema.intuit.com/finance/v3
* @xmlMinOccurs 0
* @xmlName TaxRegime
* @var string
*/
public $TaxRegime;


} // end class IPPCustomer
2 changes: 1 addition & 1 deletion src/Data/IPPIntuitEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE)
* @xmlType attribute
* @xmlName status
* @var EntityStatusEnum[]
* @var EntityStatusEnum[unbounded]
*/
public $status;
/**
Expand Down
38 changes: 38 additions & 0 deletions src/Data/IPPInvoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,44 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE)
* @var string
*/
public $ECloudStatusTimeStamp;
/**
* @Definition
Product: QBO
Description: Use of Invoice of a transaction which is required by CFDI4.0 in Mexico.
Visit http://omawww.sat.gob.mx/tramitesyservicios/Paginas/anexo_20_version3-3.htm and find the catalogues that contain the accepted values of cfdiUse.
* @xmlType element
* @xmlNamespace http://schema.intuit.com/finance/v3
* @xmlMinOccurs 0
* @xmlName CfdiUse
* @var integer
*/
public $CfdiUse;
/**
* @Definition
Product: QBO
Description: Exportation type of a transaction which is required by CFDI4.0 in Mexico.
Visit http://omawww.sat.gob.mx/tramitesyservicios/Paginas/anexo_20_version3-3.htm and find the catalogues that contain the accepted values of Exportation.
* @xmlType element
* @xmlNamespace http://schema.intuit.com/finance/v3
* @xmlMinOccurs 0
* @xmlName Exportation
* @var string
*/
public $Exportation;
/**
* @Definition
Product: QBO
Description: Global invoice data of a transaction which is required by CFDI4.0 in Mexico.
* @xmlType element
* @xmlNamespace http://schema.intuit.com/finance/v3
* @xmlMinOccurs 0
* @xmlName GlobalInfo
* @var com\intuit\schema\finance\v3\IPPMXGlobalInfo
*/
public $GlobalInfo;
/**
* @Definition
Product: QBO
Expand Down
74 changes: 74 additions & 0 deletions src/XSD/Finance.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -2928,6 +2928,14 @@
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="OtherDebtors">
<xs:annotation>
<xs:documentation>
Product: QBO
Description: Use Other Debtors to group Accounts Receivable other than those from customers.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="APCreditCardOperationEnum">
Expand Down Expand Up @@ -5754,6 +5762,35 @@
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CfdiUse" type="xs:int"
minOccurs="0">
<xs:annotation>
<xs:documentation>
Product: QBO
Description: Use of Invoice of a transaction which is required by CFDI4.0 in Mexico.
Visit http://omawww.sat.gob.mx/tramitesyservicios/Paginas/anexo_20_version3-3.htm and find the catalogues that contain the accepted values of cfdiUse.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Exportation" type="xs:string"
minOccurs="0">
<xs:annotation>
<xs:documentation>
Product: QBO
Description: Exportation type of a transaction which is required by CFDI4.0 in Mexico.
Visit http://omawww.sat.gob.mx/tramitesyservicios/Paginas/anexo_20_version3-3.htm and find the catalogues that contain the accepted values of Exportation.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="GlobalInfo" type="MXGlobalInfo"
minOccurs="0">
<xs:annotation>
<xs:documentation>
Product: QBO
Description: Global invoice data of a transaction which is required by CFDI4.0 in Mexico.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="invoiceStatus" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>
Expand Down Expand Up @@ -5894,6 +5931,43 @@
</xs:extension>
</xs:complexContent>
</xs:complexType>

<xs:complexType name="MXGlobalInfo">
<xs:annotation>
<xs:documentation>
Product: QBO
Description: Global invoice data of a transaction which is required by CFDI4.0 in Mexico.
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.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Periodicity" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>
Product: QBO
Description: Periodicity of global invoice data which is required by CFDI4.0 in Mexico.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Month" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>
Product: QBO
Description: Month of global invoice data which is required by CFDI4.0 in Mexico.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Year" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>
Product: QBO
Description: Year of global invoice data which is required by CFDI4.0 in Mexico.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>

<xs:complexType name="ConvenienceFeeDetail">
<xs:annotation>
<xs:documentation>
Expand Down
9 changes: 9 additions & 0 deletions src/XSD/IntuitNamesTypes.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -720,6 +720,15 @@
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TaxRegime" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>
Product: QBO
Description: Tax regime of a customer which is required by CFDI4.0 in Mexico.
Visit http://omawww.sat.gob.mx/tramitesyservicios/Paginas/anexo_20_version3-3.htm and find the catalogues that contain the accepted values of TaxRegime.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
Expand Down

0 comments on commit 92ed303

Please sign in to comment.