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