Avalara Developer Network Developer communications

Chapter 5.4.4 - TS Pair Data

TS Pair Data

The TSPairData object contains a list of transaction/service pair (T/S Pair) information:

Key Value
TransactionType [int] Transaction Type ID
ServiceType [int] Service Type ID
MarketType [int] Market Type ID
  • 1: Long Distance
  • 2: Wireless
  • 3: Local
  • 4: Sales & Use
  • 5: International
  • 6: Core
  • 7: VoIP
  • 8: TV
  • 9: Natural Gas
  • 10: Satellite
InterfaceType [int] Interface ID
  • 1: Telecom
  • 2: SAU
  • 3: Both (Telecom and SAU)
InputType [int] Input Type ID
The Input Type ID defines the input fields (charge, lines, locations, and minutes) required when using the transaction/service pair.
  • 0: None. Tax is based per invoice per account per billing cycle. Taxable amount or numbers of lines are irrelevant for the transaction/service pair.
  • 1: Charge (chg)
  • 2: Lines (line)
  • 4: Locations (loc)
  • 8: Minutes (min)
  • 9: Charge and Minutes (chg and min)
  • 11: Charge, Lines, and Minutes (chg, line, and min)
  • 15: Charge, Lines, Locations, and Minutes (chg, line, loc, and min)
IsBundle [bool] Bundled Transaction/Service Pair
Indicates if the transaction/service pair is part of a bundle file
  • true: T/S Pair is included in the client profile bundle file
  • false: T/S Pair is not a bundled T/S Pair
TransactionDescription [string] Transaction Type Description
ServiceDescription [string] Service Type Description
TSPairDescription [string] Transaction/Service Type Description


Example

[
  {
    "TransactionType": 1,
    "ServiceType": 1,
    "MarketType": 1,
    "InterfaceType": 1,
    "InputType": 9,
    "IsBundle": false,
    "TransactionDescription": "Interstate",
    "ServiceDescription": "Toll",
    "TSPairDescription": "Interstate/Toll"
  }
]