Skip to content

constanza.poliza.reclassified

An accountant reclassified partidas in a póliza (journal entry) — Caracol mirrors the updated category metadata on the referenced sale so future margin and ROI metrics reflect the corrected classification. No inventory mutation downstream.

Senders

  • constanza

Receivers

  • caracol

Data schema

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

json
{
  "polizaId": "string",
  "sourceApp": "string (AppSlug — which app owns the source transaction, e.g. 'caracol')",
  "sourceRefId": "string | null (e.g. Caracol sale id)",
  "motivo": "string (accountant's reclassification reason)",
  "replacements": "{ partidaIndex: number, before: { cuenta: string, subcuenta?: string }, after: { cuenta: string, subcuenta?: string } }[]",
  "at": "string (ISO datetime) | undefined",
  "by": "string (accountant user id) | undefined"
}

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
{
  "polizaId": "example-polizaId",
  "sourceApp": "example-sourceApp",
  "sourceRefId": "example-sourceRefId",
  "motivo": "example-motivo",
  "replacements": [],
  "at": "2026-04-17T12:00:00.000Z",
  "by": "accountant user id"
}

See also


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

Red Broom Software Ecosystem