Cancel specified inventory records.

This API call is for technical maintenance and for resolving issues. It is meant only for internal use by Erply SREs and administrators. We do not make any guarantees that this API call is fit for fixing any particular issue, and we cannot help if usage of the call causes further problems or discrepancies.

Input parameters

Parameter name Description Possible value Required

Document type.

The accepted types are:

  • 1 - sales document
  • 2 - purchase document
  • 3 - Inventory Transfer
  • 4 - Inventory Write-Off
  • 5 - Inventory Transfer

Integer yes
referenceID Document ID Integer yes
referenceRowIDs Comma-separated list of document row IDs. String yes


Field name Type Description
result String Message describing the result of the operation.