finalizeInvoice
Finalize the draft invoice. A normal invoice becomes UNPAID. A credit invoice becomes ISSUED once its total is negative and within the amount left to credit on the invoice it credits; issuing it requires permission to void and credit invoices and edit rights on that invoice. When nothing is left to credit afterwards, the credited invoice becomes CREDITED.
finalizeInvoice(
id: ID!
): Invoice
Arguments
finalizeInvoice.id ● ID! non-null scalar
Type
Invoice object
Represents information about an invoice.