Skip to content

cfdi-failed

Source of truth: packages/notifications/src/translations.ts

DomainChannelsRecipients

No triggerWorkflow calls found in the scanned source paths.

interface CfdiFailedData {
/** SAT / FacturAPI rejection message, quoted verbatim (quoteBlock escapes it). */
detail: string;
billingUrl: string;
}

The caller invokes triggerWorkflow('cfdi-failed', recipientIds, data) where data is the CfdiFailedData shape above. The server pre-translates the payload via getTranslatedPayload('cfdi-failed', recipientLocale, data) from @repo/notifications before sending, producing { inAppBody, emailSubject, emailBody } for the dashboard templates to render.