createCreditInvoice
Create a draft credit invoice for a finalized invoice. The draft copies the invoice's client, currency, price list, discount, related records and lines, with every line quantity negated so the totals reverse the original. Edit it for a partial credit, then issue it with finalizeInvoice. If the invoice already has a draft credit invoice the caller can see, that draft is returned instead. Requires permission to void and credit invoices and edit rights on the invoice.
createCreditInvoice(
id: ID!
): Invoice!
Arguments
createCreditInvoice.id ● ID! non-null scalar
Type
Invoice object
Represents information about an invoice.