createCreditInvoice
Immediately creates a credit invoice for the full remaining invoice amount, or for selected line item amounts when creditLineItems are provided. Does not issue a refund.
Arguments
Argument
Description
input (CreateCreditInvoiceInput!)
Parameters for CreateCreditInvoice
CreateCreditInvoiceInput Arguments
Argument
Description
invoiceId (ID!)
ID of the invoice to create a credit invoice for.
note (String)
Description to put as credit invoice note.
creditLineItems ([CreditInvoiceLineItemInput!])
Line item amounts to partially credit. Omit to credit the remaining invoice amount.
Return fields
creditInvoice (Invoice)
errors ([ModelValidationError!]!)
invoice (Invoice)
Last updated
Was this helpful?