Invalid transaction/service pair

Error Description

Either the Transaction Type field (tran) or the Service Type field (serv) is not a valid value in the LineItem (itms).

Example

{
  "err": [
    {
      "code": -28,
      "msg": "Invalid transaction/service pair."
    }
  ]
}

How to Resolve

Ensure that the Transaction Type (tran) and Service Type (serv) fields on the LineItem (itms) in your CalcTaxes request are set to valid values.

Use the /api/v2/afc/tspairs endpoint to get a list of valid Transaction/Service pairs.