R |
Populate the transaction data. See the AvaTax for Comms documentation for description of fields and how they should be set. |
One of the following is required:
- CalcTaxesWithPCode: Populate transaction data structure with appropriate data. Parse returned TaxData data structure for results. In this instance, populate OriginationPcode and TerminationPCode in Transaction strcuture, with PCode returned from either EZgeo (separate service) or from a separate call to one of the utility functions: FipsToPCode, ZipToPCode, or NpaNxxToPCode.
- CalcTaxesWithNpaNxx: Populate transaction data structure with appropriate data. Parse returned TaxData data structure for results. In this instance, populate OriginationNpaNxx and TerminationNapNxx fields in the Transaction structure with NPANXX.
- CalcTaxesWithZipAddress: Populate transaction data structure with appropriate data. Parse returned TaxData data structure for results. In this instance, populate OriginationAddress and TerminationAddress in the Transaction structure.
- CalcTaxesWithFipsCode: Populate transaction data structure with appropriate data. Parse returned TaxData data structure for results. In this instance, populate OriginationFipsCode and TerminationFIpsCode with FIPS code.
|