Skip to content

inventory.ajuste_masivo ​

Ajuste de inventario de uno o muchos productos con un mismo motivo. UNA póliza con N partidas, no N pólizas. Un renglón sin costo real NO entra en la póliza: se nombra en lineasSinCosto. Registrado en S827 (ver sale.cancelled).

Senders ​

  • caracol

Receivers ​

  • constanza

Data schema ​

Each field maps to a type hint. | null indicates an optional field.

json
{
  "tenantId": "string (optional)",
  "ajusteId": "string",
  "modo": "string — 'salida' | 'conteo'",
  "motivo": "string",
  "motivoEtiqueta": "string",
  "naturaleza": "string",
  "esperaRetorno": "boolean (optional)",
  "renglones": "array — por producto: movimientoId, productId, productName, añada, antes, despues, cantidad, faltante, sobrante, costo, costoFaltante, costoSobrante, precioUnitario, valorComercial"
}

Example payload ​

The following is a synthetic payload that matches the schema. Production payloads are signed with HMAC-SHA256 and delivered to each receiver's registered webhook endpoint.

json
{
  "tenantId": "example-tenantId",
  "ajusteId": "example-ajusteId",
  "modo": "example-modo",
  "motivo": "example-motivo",
  "motivoEtiqueta": "example-motivoEtiqueta",
  "naturaleza": "example-naturaleza",
  "esperaRetorno": true,
  "renglones": "example-renglones"
}

See also ​


Generated from ecosystem-sdk/packages/mcp-server/src/registry/events.json. Do not edit by hand.

Red Broom Software Ecosystem