ReturnDetail and/or ReturnSummary must be set to true

Error Description

Either the ReturnDetail (dtl) flag, the ReturnSummary (summ) flag, or both flags need to be set to true on the Invoice.

The ReturnDetail and ReturnSummary flags define the level of detail you want to see in the CalcTaxes response.

Example

{
  "err": [
    {
      "code": -2000,
      "msg": "ReturnDetail and/or ReturnSummary must be set to true."
    }
  ]
}

How to Resolve

Set either the ReturnDetail (dtl) flag, the ReturnSummary (summ) flag, or both flags to be true on the Invoice in your CalcTaxes request.

For more information, see Displaying Tax Results.