---
id: SCR-ACC-TRX-013
title: Write-off record
route: '/console/{tenantId}/accounting/writeOffs/{writeOffId}'
surface: console
product_area: accounting
module: transactions
revision: 1
status: draft
design_intent: proposed
implementation_evidence: observed
inference: []
source_sha:
  services-accounting: f47cb263875bbc0c5640fba7dae6785ec32695f8
  react-console: baf6dae382d6f41dce976c7f848667ccc37e076f
purpose: Inspect abandoned debt and perform eligible restoration or batch reassignment.
supports:
  - CAP-ACC-TRX-004
  - CAP-ACC-TRX-015
permission: accounting.write-offs.read; actions accounting.write-offs.update
entry_from:
  - '/console/{tenantId}/accounting/invoices/{invoiceId}'
exits_to:
  - '/console/{tenantId}/accounting/invoices/{invoiceId}'
  - '/console/{tenantId}/accounting/writeOffs/{writeOffId}'
displays:
  - field: >-
      Associated billing, abandoned lines, accounting scope, method, explanation
      and posting details.
    source: getWriteOff (DOM-ACC-TRX-001 write-offs)
actions:
  - label: Reverse
    operation_id: reverseWriteOff
    permission: accounting.write-offs.update
    confirm: true
  - label: Reassign batch
    operation_id: reassignWriteOffBatch
    permission: accounting.write-offs.update
    confirm: true
states:
  - loading
  - error
  - read-only
  - inactive
validation:
  - BR-CAP-ACC-TRX-004-05
  - BR-CAP-ACC-TRX-004-08
patterns:
  - Transaction header and status badge
  - LifecycleActionMenu
  - 'Overview, Related and Activity tabs'
  - Action-specific confirmation dialogs
  - Currency-aware money formatting
  - Write-off reversal dialog with batch select
component: >-
  components/accounting/write-offs/write-off-detail-screen.tsx
  (WriteOffDetailScreen)
evidence:
  - >-
    react-console at baf6dae3:
    components/accounting/write-offs/write-off-detail-screen.tsx,
    reverse-write-off-dialog.tsx, write-off-dialog.tsx;
    lib/accounting/transactions/http/write-offs.ts.
controls: [TC-IAM-001, TC-IAM-002, TC-IAM-004, TC-IAM-005, TC-AZ-001, TC-AZ-002, TC-AZ-003, TC-AZ-004, TC-AZ-006, TC-TEN-001, TC-TEN-002, TC-TEN-003, TC-DAT-001, TC-DAT-002, TC-DAT-003, TC-LOG-004, TC-LOG-005, TC-PI-001, TC-PI-003, TC-PI-005, TC-PRV-001, TC-PRV-002]
---
# Write-off record

## What the Screen Is For

Inspect abandoned debt and perform eligible restoration or batch reassignment.

## What It Shows and Lets People Do

Restoration uses a reason and batch dialog and creates a separate opposite write-off. The screen offers batch reassignment where eligible and does not render detail editing.

## States and Errors

An original already restored, or its opposite document, cannot initiate another restoration. Permission checks explain an unavailable Reverse action.

## Patterns It Must Respect

The component uses the listed header, tabs and dialogs without a page-layout wrapper. No Standard layout is asserted for this route. The contract records the current console behavior without declaring an approved visual baseline.
