Documentation

INVOICE_STRIPE_DRAFT_FAILED

503upstream

Stripe would not create the draft invoice.

Cause

The upstream Stripe call failed before anything billable existed (a draft with no line items is never charged and never sent).

How to fix it

Retry with backoff. If Stripe is degraded, the monthly run redrives automatically.

Example response

503 INVOICE_STRIPE_DRAFT_FAILED
JSON
{
  "error_code": "INVOICE_STRIPE_DRAFT_FAILED",
  "error_type": "upstream",
  "error_message": "Stripe would not create the draft invoice.",
  "hint": "Retry with backoff. If Stripe is degraded, the monthly run redrives automatically.",
  "docs_url": "https://docs.billerapi.com/errors/INVOICE_STRIPE_DRAFT_FAILED",
  "request_id": "d94f5e2a-8c3b-4f1e-9a7d-6b2c1e0f8a34"
}

Related

Canonical docs URL: https://docs.billerapi.com/errors/INVOICE_STRIPE_DRAFT_FAILED

Was this page helpful?