---
id: SCR-ACC-TRX-006
title: Reverse invoice lines
route: '/console/{tenantId}/accounting/invoices/{invoiceId}/reverse'
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: >-
  Review cancellation of selected billed value, including fees and the treatment
  of released money.
supports:
  - JNY-ACC-TRX-005
  - CAP-ACC-TRX-014
permission: >-
  accounting.reversals.preview to preview; accounting.reversals.create to
  reverse
entry_from:
  - '/console/{tenantId}/accounting/invoices/{invoiceId}'
exits_to:
  - '/console/{tenantId}/accounting/reversals/{reversalId}'
  - '/console/{tenantId}/accounting/invoices/{invoiceId}'
displays:
  - field: Eligible billed lines and the value remaining available for cancellation.
    source: getInvoice (DOM-ACC-TRX-001)
  - field: >-
      Previewed reduction, funded credit, receivable change, resulting debt and
      receipt-specific returns.
    source: previewReversal
actions:
  - label: Preview
    operation_id: previewReversal
    permission: accounting.reversals.preview
    confirm: false
  - label: Reverse
    operation_id: reverseBilling
    permission: accounting.reversals.create
    confirm: true
states:
  - loading
  - error
validation:
  - BR-CAP-ACC-TRX-014-01
  - BR-CAP-ACC-TRX-014-06
patterns:
  - Full PageLayout
  - PageHeader
  - 'Stepper for charges, fee, money and reason, and review'
  - Fee product picker
  - Inline ReviewStep
component: >-
  components/accounting/invoices/reverse-invoice-screen.tsx
  (ReverseInvoiceScreen)
evidence:
  - >-
    react-console at baf6dae3:
    components/accounting/invoices/reverse-invoice-screen.tsx,
    reverse-invoice-model.ts; lib/accounting/transactions/http/reversals.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]
---
# Reverse invoice lines

## What the Screen Is For

Review cancellation of selected billed value, including fees and the treatment of released money.

## What It Shows and Lets People Do

Staff select line treatment, an optional cancellation fee, money-return treatment and an explanation through four steps. Inline review shows the preview before submitting the coordinated operation.

## States and Errors

Service refusal identifies the affected financial condition. A later return may leave the resulting cancellation pending or complete with an explicit exception.

## Patterns It Must Respect

The frontmatter names the components and layout actually used. Confirmation behavior is action-specific, including inline review and direct submission where implemented. The contract records the current console behavior without declaring an approved visual baseline.
