Document code has been locked

Error Description

The CalcTaxes transactions with the Document Code field (doc) specified in the Commit request have been pulled into Compliance. The Document Code (doc) is now locked and cannot be modified.

Example

{
  "err": [
    {
      "code": -2000,
      "msg": "Document code has been locked."
    }
  ]
}

How to Resolve

The reporting cycle has ended and the Document Code (doc) supplied in the Commit request has been committed. The results have been reported on the appropriate Compliance Report. If data needs to be modified, run adjustment transactions to offset the totals for the Document Code (doc).

For more information, see Commit Request.