IssueCreditNoteInput
Input for issueCreditNote: credits an invoice in full, or in part when explicit lines are supplied.
Fields
TypeID (inv_…) of the invoice being credited. A credit note cannot itself be credited.
Human-facing number for the credit-note document. Required.
Why the credit is being issued. Stored as the credit note's notes.
Lines to credit, for a partial credit. When omitted or empty, every line of the original invoice is mirrored and the full invoice amount is credited.
Referenced by (1)
Exact type SDL
"""
Input for `issueCreditNote`: credits an invoice in full, or in part when explicit lines are supplied.
"""
input IssueCreditNoteInput {
"""
TypeID (`inv_…`) of the invoice being credited. A credit note cannot itself be credited.
"""
invoiceId: InvoiceID!
"""Human-facing number for the credit-note document. Required."""
creditNoteNumber: String!
"""Why the credit is being issued. Stored as the credit note's notes."""
reason: String
"""
Lines to credit, for a partial credit. When omitted or empty, every line of the original invoice is mirrored and the full invoice amount is credited.
"""
lines: [CreditNoteLineInput!]
}