DocumentCode cannot exceed 150 characters

Error Description

The Document Code field (doc) on the invoice (inv) contains more than the maximum 150 characters.

Example

{
  "err": [
    {
      "code": -2000,
      "msg": "DocumentCode cannot exceed 150 characters."
    }
  ]
}

How to Resolve

Limit the Document Code field (doc) to 150 characters or less in the invoice (inv) in your CalcTaxes request.

For more information, see Commit.