Actions41
- ── Framework ── Actions
- DataServer (Generic) Actions
- Employees (HR) Actions
- Payroll Actions
- Invoice (Stock) Actions
- Stock Movement Actions
- Accounts Payable/Receivable Actions
- Accounting Entry Actions
- Customers / Suppliers Actions
- Users Actions
- Companies Actions
- Enrollment (Education) Actions
Invoice (Stock) → Cancel Invoice
AI-generatedSummary
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.
