Skip to main content

UpdateCreditNoteInput

Changes to a credit note. Omitted fields stay as they are. A note whose lines follow a return's inspection cannot have its lines changed.

input UpdateCreditNoteInput {
adjustments: Float
amount: Float!
currency: String!
expiryDate: DateTime
internalNotes: String
items: [UpdateCreditNoteItemInput!]!
notes: String
originalInvoiceId: String
partnerId: String!
reason: String!
returnId: String
taxAmount: Float
type: String!
}

Fields​

UpdateCreditNoteInput.adjustments ● Float scalar​

A signed adjustment to the total, such as rounding.

UpdateCreditNoteInput.amount ● Float! non-null scalar​

The note amount before tax.

UpdateCreditNoteInput.currency ● String! non-null scalar​

ISO 4217 currency code.

UpdateCreditNoteInput.expiryDate ● DateTime scalar​

The date after which the credit can no longer be applied.

UpdateCreditNoteInput.internalNotes ● String scalar​

Notes for staff only. They are not shown to the customer or supplier.

UpdateCreditNoteInput.items ● [UpdateCreditNoteItemInput!]! non-null input​

The credit lines.

UpdateCreditNoteInput.notes ● String scalar​

Notes shown on the note.

UpdateCreditNoteInput.originalInvoiceId ● String scalar​

The ID of the invoice the note is raised against.

UpdateCreditNoteInput.partnerId ● String! non-null scalar​

The ID of the partner.

UpdateCreditNoteInput.reason ● String! non-null scalar​

Why the note is raised.

UpdateCreditNoteInput.returnId ● String scalar​

The ID of the return the note comes from.

UpdateCreditNoteInput.taxAmount ● Float scalar​

The tax on the note.

UpdateCreditNoteInput.type ● String! non-null scalar​

What the note is for: SALES_RETURN, PURCHASE_RETURN, PRICE_ADJUSTMENT, GOODWILL or OTHER.

Member Of​

updateCreditNote mutation