Centum v2 icon

Centum v2

Consumes Centum API

Actions76

Órdenes Compra → GetOne

AI-generated

Summary

Retrieve detailed information for a single purchase order from the Centum ERP system using its unique purchase ID.

Inputs

  • purchaseId (required) — The unique identifier (IDCompra) of the purchase order to retrieve.
  • simplifiedOutput — Optionally return only the most useful top-level fields, simplifying the output data structure.
  • debugSettings — Optional advanced debug settings including enabling debug logging, filtering debug logs by endpoint substring, and including request body data in debug logs.

Output shape

a single JSON object representing the purchase order details

The output structure depends on the 'simplifiedOutput' flag: if true, only key top-level fields are returned; if false, the full detailed purchase order data is returned. Debug logs can be enabled to trace request metadata but do not affect output shape.

Examples

Example 1: Retrieve purchase order with ID 12345 with full detail

Set purchaseId = 12345; simplifiedOutput = false (default); debugSettings disabled

Example 2: Retrieve purchase order with ID 12345 with simplified output

Set purchaseId = 12345; simplifiedOutput = true; debugSettings disabled

Links

Discussion