cfdi_global.stamped
Monthly factura global (CFDI Público en General) successfully stamped by the monthly-cfdi-publico cron. Distinct from caracol.invoice.stamped (per-sale) — carries batch context (period, salesIds) for downstream fiscal reconciliation. ⚠️ S1068: EMISOR CONSTRUIDO, SIN DESTINATARIOS — hoy no sale hacia nadie. caracol lo enviaba a camino (200 handled:false) y a constanza (422 unsupported_event) sin que ninguno tuviera handler; desde S1068 DESTINOS_CFDI_GLOBAL_STAMPED (caracol/src/lib/server/services/ecosystem-events.service.ts) está vacía y el cron sigue llamando al productor. senders conserva a caracol porque el emisor existe en su código (lo que check_consistency compara); receivers vacío es la verdad del cable. Intención viva: conciliación fiscal del lote en Constanza (S508, fuga #5 — decisión de diseño de Brillo; Constanza ya conoce el timbre porque es quien timbra, el evento le añadiría los salesIds). Para encenderlo: handler en el receptor → declararlo aquí y en apps.json → añadir el destinatario en caracol.
Senders
caracol
Receivers
None declared.
Data schema
Each field maps to a type hint. | null indicates an optional field.
{
"tenantId": "string",
"invoiceId": "string (Firestore doc ID at tenants/{tenantId}/invoices/{invoiceId})",
"type": "string (literal 'global')",
"period": {
"year": "number",
"month": "number (1-based)",
"periodString": "string (YYYY-MM)"
},
"uuid": "string (SAT fiscal folio UUID)",
"total": "number (monetary total, MXN)",
"salesIds": "string[] (sale doc IDs included in this global invoice)"
}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.
{
"tenantId": "example-tenantId",
"invoiceId": "example-invoiceId",
"type": "example-type",
"period": "example-period",
"uuid": "00000000-0000-0000-0000-000000000000",
"total": 0,
"salesIds": [
"example-salesIds"
]
}See also
Generated from ecosystem-sdk/packages/mcp-server/src/registry/events.json. Do not edit by hand.