invoice_upload_failed

Fired when an invoice declared through the API never received a usable PDF.

When: an invoice declared through the API (which returns a pre-signed upload URL) did not end up with a usable PDF. A cron checks every minute; the invoice is deleted right after the event.

FieldTypeDescription
invoiceIdstringId returned when the invoice was declared. It no longer exists.
subscriptionIdstring | nullOrder the invoice was declared for.
invoiceNumberstring | null
reason"PDF_NOT_UPLOADED" | "DUPLICATE_PDF"PDF_NOT_UPLOADED: nothing uploaded within 5 minutes. DUPLICATE_PDF: the uploaded PDF is identical to an invoice already on file.
createdAtstringWhen the invoice was declared.
{
  "invoiceId": "1e8d…",
  "subscriptionId": "5b0f7c1e-2d7a-4a59-9d6b-3c1f0e0c9a11",
  "invoiceNumber": "FAC-2026-0042",
  "reason": "PDF_NOT_UPLOADED",
  "createdAt": "2026-04-20T10:00:00.000Z"
}