Skip to content

vendor.created

A vendor (supplier) was created in a source app. Constanza accumulates these for monthly SAT DIOT submission (Declaración Informativa de Operaciones con Terceros). PD-074 (S313) — replaces the broken Constanza→{caracol,hoja,cosmos-pet,colectiva} POST /api/ecosystem/diot/vendors pull (S271 BROKEN #7).

Senders

  • caracol
  • hoja

Receivers

  • constanza

Data schema

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

json
{
  "vendorId": "string (app-side vendor ID used for upsert dedup)",
  "vendorRFC": "string (Mexican RFC: 12-13 char alphanumeric; foreign: 'XEXX010101000')",
  "vendorName": "string (razón social / legal name)",
  "vendorType": "string ('nacional' | 'extranjero' | 'global')",
  "operationType": "string (optional, SAT DIOT operation code, default '85' Others)",
  "createdAt": "string (ISO datetime)",
  "ecosystemOrgId": "string (optional, rbsOrgId of the tenant who owns this vendor)"
}

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
{
  "vendorId": "example-vendorId",
  "vendorRFC": "example-vendorRFC",
  "vendorName": "example-vendorName",
  "vendorType": "'nacional'",
  "operationType": "example-operationType",
  "createdAt": "2026-04-17T12:00:00.000Z",
  "ecosystemOrgId": "example-ecosystemOrgId"
}

See also


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

Red Broom Software Ecosystem