Skip to content

inventory.salida_sin_venta ​

Salió mercancía del almacén sin venta de por medio (muestra, cortesía, consigna, degustación, merma de surtido, bonificación). Constanza asienta el COSTO. El productor manda el MOTIVO, nunca la cuenta: qué cuenta toca es dominio de Constanza. Registrado en S827 (ver sale.cancelled).

Senders ​

  • caracol
  • hoja

Receivers ​

  • constanza

Data schema ​

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

json
{
  "tenantId": "string (optional)",
  "movimientoId": "string",
  "productId": "string",
  "productName": "string",
  "branchId": "string",
  "motivo": "string — un motivo sin mapear NO se asienta, se deja la fila de auditoría",
  "motivoEtiqueta": "string (optional)",
  "naturaleza": "string — 'promocion'|'perdida'|'neutro'|'reversa'",
  "esperaRetorno": "boolean (optional)",
  "cantidad": "number",
  "signo": "number — -1 | 1",
  "totalCost": "number (optional)",
  "valorComercial": "number (optional) — valor de mercado para la pregunta fiscal; NO entra en la póliza",
  "precioUnitario": "number (optional)",
  "contraparte": "string | null (optional)",
  "nota": "string | null (optional)",
  "lotes": "array (optional)",
  "ts": "string (ISO datetime)"
}

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",
  "movimientoId": "example-movimientoId",
  "productId": "example-productId",
  "productName": "example-productName",
  "branchId": "example-branchId",
  "motivo": "example-motivo",
  "motivoEtiqueta": "example-motivoEtiqueta",
  "naturaleza": "example-naturaleza",
  "esperaRetorno": true,
  "cantidad": 0,
  "signo": 0,
  "totalCost": 0,
  "valorComercial": 0,
  "precioUnitario": 0,
  "contraparte": "example-contraparte",
  "nota": "example-nota",
  "lotes": "example-lotes",
  "ts": "2026-04-17T12:00:00.000Z"
}

See also ​


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

Red Broom Software Ecosystem