Avalara Developer Network Developer communications

Invoice cannot be null or empty

Error Description

The Invoice (inv) object is missing or incomplete in your CalcTaxes request.

Example

{
  "err": [
    {
      "code": -2000,
      "msg": "Invoice cannot be null or empty."
    }
  ]
}

How to Resolve

  • Confirm that at least one instance of Invoice (inv) is included in your CalcTaxes request
  • Verify that the format of the JSON within Invoice to ensure all required fields are populated in your request
  • Verify the structure of the JSON within Invoice is complete (for example, no missing braces or commas)