Skip to content
vocapable.Docs

invoice_write_off_not_permitted

billing.invoice.write_off invoked against an invoice whose tenant's commercial_status is comped or internal. mark_uncollectible books to Bad debt, which says cash was expected and the customer failed us; a comp says no cash was ever expected and the customer is in good standing.

Problem shape

Every non-2xx response is an RFC 9457 application/problem+json body. The type URI below is stable and machine-matchable, so branch on the final path segment (the code) and treat the status as redundant confirmation. See the error-handling guide.

{
  "type": "https://docs.vocapable.com/errors/invoice_write_off_not_permitted",
  "title": "…",
  "status": 409,
  "detail": "…",
  "instance": "/v1/…"
}

← Back to the error registry