TOTVS RM icon

TOTVS RM

Interact with TOTVS ERP Linha RM — DataServer REST, native REST APIs, and automatic JWT authentication

Invoice (Stock) → Cancel Invoice

AI-generated

Summary

Cancel stock invoices in the TOTVS RM ERP system by sending a cancellation request with optional parameters.

Inputs

  • Company Code Override — Number to override the company code from credentials. Use 0 to default to credential's company code.
  • Request Body (JSON) (required) — JSON payload for the cancellation request. Required fields vary per DataServer and must include cancellation specifics.
  • RM Context — Optional RM context string (e.g. 'CODSISTEMA=S;CODUSUARIO=admin;CODFILIAL=1'). Defaults to credential's context if empty.

Output shape

a list of JSON objects representing the cancellation response from TOTVS RM for each input item

The response is parsed from the RM API and may contain success confirmation or error details. Each input item produces one or more output JSON objects. Errors can be passed through or cause node failure depending on node settings.

Links

Discussion