The JSON you sent with your request was invalid.


  "code": "JsonFormatError",
  "target": "Unknown",
  "details": [
      "code": "JsonFormatError",
      "number": 47,
      "message": "The request body did not contain valid JSON.",
      "description": "At line -1- position -2-: -0-",
      "faultCode": "Client",
      "helpLink": "http://developer.avalara.com/avatax/errors/JsonFormatError",
      "severity": "Error"


JSON is a standardized data format documented by RFC 7159.

AvaTax REST supports only JSON encoded data; no other data encoding formats are allowed.

The document you uploaded did not meet the JSON standards. Some common troubleshooting steps:

  • Compare your JSON object to the example objects provided in the online documentation
  • Check your data types - did you format a date or number incorrectly?
  • If you are writing your JSON by hand, consider instead using the built-in JSON serialization functions in your programming language.
  • Look for an online JSON validator for more detailed help