IPPTxnTaxDetail.phpView Source

Show: PublicProtectedPrivateinherited
Table of Contents
Package
Default  

\IPPTxnTaxDetail

Package: Default
IPPTxnTaxDetail
\IPPTxnTaxDetail

XmlDefinition
Product: ALL Description: Details of taxes charged on the transaction as a whole. For US versions of QuickBooks, tax rates used in the detail section must not be used in any tax line appearing in the main transaction body. For international versions of QuickBooks, the TxnTaxDetail should provide the details of all taxes (sales or purchase) calculated for the transaction based on the tax codes referenced by the transaction. This can be calculated by QuickBooks business logic or you may supply it when adding a transaction. For US versions of QuickBooks you need only supply the tax code for the customer and the tax code (in the case of multiple rates) or tax rate (for a single rate) to apply for the transaction as a whole.[br]See [a href="http://ipp.developer.intuit.com/0010_Intuit_Partner_Platform/0060_Financial_Management_Services_(v3)/01100_Global_Tax_Model"]Global Tax Model[/a].  
XmlName
IPPTxnTaxDetail  
XmlNamespace
http://schema.intuit.com/finance/v3  
XmlType
 

Properties

>VPropertypublic\com\intuit\schema\finance\v3\IPPReferenceType $DefaultTaxCodeRef
Details
Type
\com\intuit\schema\finance\v3\IPPReferenceType
Definition
Product: QBW Description: Reference to the default tax code that applies to the transaction as a whole. In Quickbooks desktop, this maps to CustomerTaxCode in Invoice and VendorTaxCode in Bill. [span style="display: none"] I18n: US [/span]  
XmlMinOccurs
0  
XmlName
DefaultTaxCodeRef  
XmlNamespace
http://schema.intuit.com/finance/v3  
XmlType
element  
>VPropertypublic\com\intuit\schema\finance\v3\IPPLine $TaxLine
Details
Type
\com\intuit\schema\finance\v3\IPPLine
Definition
Product: ALL Description: This must be a Line whose LineDetailType is TaxLineDetail.  
XmlMaxOccurs
unbounded  
XmlMinOccurs
0  
XmlName
TaxLine  
XmlNamespace
http://schema.intuit.com/finance/v3  
XmlType
element  
>VPropertypublicfloat $TotalTax
Details
Type
float
Definition
Product: ALL Description: Total tax calculated for the transaction, excluding any embedded tax lines.  
XmlMinOccurs
0  
XmlName
TotalTax  
XmlNamespace
http://schema.intuit.com/finance/v3  
XmlType
element  
>VPropertypublic\com\intuit\schema\finance\v3\IPPReferenceType $TxnTaxCodeRef
Details
Type
\com\intuit\schema\finance\v3\IPPReferenceType
Definition
Product: All Description: Reference to the transaction tax code. For US editions only. Note that the US tax model can have just a single tax code for the entire transaction.  
XmlMinOccurs
0  
XmlName
TxnTaxCodeRef  
XmlNamespace
http://schema.intuit.com/finance/v3  
XmlType
element  

Methods

methodpublic__construct(\dictionary $keyValInitializers = array(), boolean $verbose = FALSE) : void

Initializes this object, optionally with pre-defined property values

Initializes this object and it's property members, using the dictionary of key/value pairs passed as an optional argument.
Parameters
NameTypeDescription
$keyValInitializers\dictionary

key/value pairs to be populated into object's properties

$verboseboolean

specifies whether object should echo warnings

Documentation was generated by phpDocumentor 2.8.5.