Overview
This structure represents all of the unique identifying key fields associated with identifying a Tax Type. Tax Types allow you to define the different sales taxes that local or national governments require you to charge clients on sales. Projector uses Tax Types to determine default tax percentages as well as to what accounts taxes payable should be routedcan be identified by TaxTypeCode or TaxTypeUid. When specifying a PwsTaxTypeRef as an input to a web service, you may specify one or both the TaxTypeCode and/or TaxTypeUid. However, if you do specify both, they must both refer to the same Tax Type or the Tax Type reference will not be considered valid. When a PwsTaxTypeRef is returned in the response to a web service, both the TaxTypeCode and TaxTypeUid will be populated, and guaranteed to refer to a single Tax Type.
Format
Panel | ||
---|---|---|
| ||
|
Elements
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
TaxTypeCode | String |
|
Tax Type Code | VAT | |||
TaxTypeId | Int32 |
|
This is a unique Id associated with the |
Tax Type. For internal use only. | 21282 | |||
TaxTypeUid | Int64 |
|
This is a unique and immutable Id associated with the |
Tax Type. | 1152921504606868258 |
Usage Examples
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<TaxType1Identity> <TaxTypeCode>VAT</TaxTypeCode> <TaxTypeId i:nil="true"/> <TaxTypeUid>1152921504606868258</TaxTypeUid> </TaxType1Identity> |