# IssueDebitNoteInput

input type

Issue-input for issueDebitNote.

## Fields

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `caption` | [String](/types/#scalars) | no | Optional: when omitted the default is 'debit note of <invoice sysId>'; when supplied it must be non-blank. |
| `invoiceId` | [ID](/types/#scalars) `ID!` | yes | The superseded Invoice — same-group; ∈ {issued, closed} (a voided invoice refuses). |
| `reason` | [String](/types/#scalars) `String!` | yes | The REQUIRED audit reason. |
| `lines` | [NoteDeltaLineInput](/types/NoteDeltaLineInput/) `[NoteDeltaLineInput!]!` | yes | The positive delta magnitudes, one per corrected invoice line (≥ 1, distinct invoiceLineNos). |

## Used by

- [issueDebitNote](/reference/refunds-and-payment-corrections/issueDebitNote/)
