baul.creditnote.issued
Baúl credit note stamped — Constanza posts contra-revenue/contra-COGS pólizas (S458)
Senders
baul
Receivers
constanza
Data schema
Each field maps to a type hint. | null indicates an optional field.
json
{
"creditNoteUuid": "string",
"creditNoteId": "string",
"parentInvoiceUuid": "string",
"parentInvoiceId": "string",
"creditNoteType": "'devolution' | 'adjustment'",
"operatorEcosystemOrgId": "string",
"totals": "{ subtotal_mxn: number, tax_mxn: number, total_mxn: number }",
"items": "BaulCreditNoteItem[] — { sku, product_name, quantity, unit_cost_mxn, unit_price_mxn, returns_to: 'inventory'|'merma' }",
"is_demo": "boolean (optional, default false)"
}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
{
"creditNoteUuid": "example-creditNoteUuid",
"creditNoteId": "example-creditNoteId",
"parentInvoiceUuid": "example-parentInvoiceUuid",
"parentInvoiceId": "example-parentInvoiceId",
"creditNoteType": "example-creditNoteType",
"operatorEcosystemOrgId": "example-operatorEcosystemOrgId",
"totals": "example-totals",
"items": [],
"is_demo": true
}See also
Generated from ecosystem-sdk/packages/mcp-server/src/registry/events.json. Do not edit by hand.