Avalara Developer Network Developer communications

LineNumber cannot exceed 150 characters

Error Description

The Reference Code field (ref) on the line item (itms) contains more than the maximum 150 characters.


  "err": [
      "code": -2000,
      "msg": "LineNumber cannot exceed 150 characters."

How to Resolve

Limit the Reference Code field (ref) to 150 characters or less on the line item (itms) in your CalcTaxes request.