TOTVS RM icon

TOTVS RM

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

Accounts Payable/Receivable → Get Entry

AI-generated

Summary

Retrieve a specific financial entry record from the TOTVS RM Accounts Payable/Receivable resource by applying an optional SQL filter and selecting desired fields.

Inputs

  • SQL Filter — A SQL-style filter string to specify conditions on the financial entries, e.g., filtering by company code or status.
  • Select Fields — A comma-separated list of fields to include in the returned financial entry. Leave empty to return all fields.
  • Company Code Override — If provided and greater than 0, overrides the company code used from the credential settings for the request.
  • RM Context — Additional RM context string, such as system code, user code, and branch code. Defaults to credential settings if left empty.

Output shape

a list containing one object representing the financial entry matching the filter criteria

The operation returns one or multiple financial entry records as JSON objects in an array, depending on the filter. If the filter does not uniquely identify a single entry, multiple entries can be returned. If no filter is provided, all entries are returned (though this is uncommon for a 'Get Entry' operation). Errors are thrown for request failures unless the node is configured to continue on failure, in which errors appear inline as error messages.

Examples

Example 1: Retrieve a financial entry

Set resource to 'Accounts Payable/Receivable', operation to 'Get Entry', provide a SQL filter like 'ID=1234' to identify a specific entry, optionally specify select fields to limit returned data, and execute to receive the financial entry matching criteria.

Links

Discussion