Centum v2 icon

Centum v2

Consumes Centum API

Actions76

Compras → GetOne

AI-generated

Summary

Fetches a purchase record by its ID from Centum ERP, optionally using a specified business-group division. The result can be returned with only selected top-level fields.

Inputs

  • purchaseId (required) — Purchase ID (Compra.IdCompra) to retrieve; defaults to 0.
  • divisionEmpresaGrupoEconomicoId — Business-group division ID; 0 uses the API user's default division.
  • simplifiedOutput — When enabled, returns only the operation's selected top-level fields.
  • debugSettings — Optional debug logging settings, including enabling logs, filtering by endpoint text, and including the request body.

Output shape

A single purchase record

The source pack shows a GetOne purchase-details handler. Simplified output may omit fields; exact response fields and any error envelope are not shown.

Links

Discussion