TOTVS RM icon

TOTVS RM

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

Invoice (Stock) → Create Invoice

AI-generated

Summary

Create a new stock invoice record in the TOTVS RM ERP system by sending a JSON payload to the FisNfData DataServer.

Inputs

  • Company Code Override — Optionally override the company code by providing a number; leave as 0 to use the company code configured in the credential.
  • Request Body (JSON) (required) — Provide the JSON payload representing the invoice data to create; required fields depend on the DataServer schema (FisNfData).
  • RM Context — Optional RM context string (e.g., CODSISTEMA=S;CODUSUARIO=admin;CODFILIAL=1); if empty, uses credential defaults.

Output shape

a list of JSON objects representing the response(s) from the server after creating the invoice record

The response is parsed JSON returned by the FisNfData create endpoint; each item input results in one or more items output with the raw response JSON under the json key. Errors are returned or thrown depending on node error settings.

Links

Discussion