Magidoc

invoiceCancel
Mutation

Cancels an invoice.

Arguments

#

id

ID !
Non-null

ID of an invoice to cancel. This converts 'is_valid' flag to False which prevents sending the invoice to customer

Response

#

Returns InvoiceCancel .

Example

#