INVOICE_CREATE_FAILED
500api_errorThe invoice could not be constructed.
Cause
One of the computed invoice fields failed a domain invariant before anything was persisted.
How to fix it
Not retryable as-is. Contact support with the request_id; nothing was written and no Stripe invoice exists.
Example response
500 INVOICE_CREATE_FAILED
JSON
{
"error_code": "INVOICE_CREATE_FAILED",
"error_type": "api_error",
"error_message": "The invoice could not be constructed.",
"hint": "Not retryable as-is. Contact support with the request_id; nothing was written and no Stripe invoice exists.",
"docs_url": "https://docs.billerapi.com/errors/INVOICE_CREATE_FAILED",
"request_id": "d94f5e2a-8c3b-4f1e-9a7d-6b2c1e0f8a34"
}Related
- Error handling — the error envelope shape and how to parse it
- Error code reference — every stable error code
Canonical docs URL: https://docs.billerapi.com/errors/INVOICE_CREATE_FAILED
Was this page helpful?