Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 19 Next »

Overview


This structure represents the unique key fields associated with identifying a Tax Type. Tax Types can 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


PwsTaxTypeRef
  • PwsTaxTypeRef
    • TaxTypeCode: String
    • TaxTypeId: Int32
    • TaxTypeUid: Int64

Elements


Element

Data Type

Required?

Default

Description

Sample Data

TaxTypeCode

String



The Tax Type Code is a unique identifier for a Tax Type.

VAT

TaxTypeId

Int32



The Tax Type Id is a unique identifier for a Tax Type. For internal use only.

21282

TaxTypeUid

Int64



The Tax Type Uid is a unique and immutable identifier for a Tax Type.

1152921504606868258


Usage Examples


Example 01
                    <TaxType1Identity>
                        <TaxTypeCode>VAT</TaxTypeCode>
                        <TaxTypeId i:nil="true"/>
                        <TaxTypeUid>1152921504606868258</TaxTypeUid>
                     </TaxType1Identity>
  • No labels