Mark Invoice Uncollectible
Mark an invoice as uncollectible (write-off).
Previously the backend supported this transition (used internally
by the dunning end-behavior flow) but the route was not exposed for
manual write-offs. This endpoint surfaces it for AR cleanup, IRS-compliant
bad-debt write-offs, and customer-specific concessions.
Allowed source states: OPEN, PAST_DUE. Other states return 422.
Requirements:
- Invoice must be in OPEN or PAST_DUE state.
- DRAFT / PARTIALLY_PAID / PAID / VOID / UNCOLLECTIBLE invoices are rejected.
Returns:
- The invoice with UNCOLLECTIBLE status.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
external_id
account_id
Response
Successful Response
id
customer_id
status
currency
ISO 4217 currency codes.
subtotal_amount_atom
tax_amount_atom
total_amount_atom
due_amount_atom
paid_amount_atom
remaining_amount_atom
issued_at
due_date
description
metadata
created_at
updated_at
applied_balance_amount_atom
total_discount_amount_atom
period_start
period_end
collection_method
custom_fields
Custom field values. Only included when expand=custom_fields is specified.
items
invoice_number
billing_reason
subscription_id
payment_method_id
invoice_pdf_url
receipt_pdf_url
hosted_invoice_url
show_payment_link
Errors
422
Unprocessable Entity Error