/** * @example * { * invoiceId: "invoice_id", * version: 0 * } */ export interface CancelInvoiceRequest { /** The ID of the [invoice](entity:Invoice) to cancel. */ invoiceId: string; /** * The version of the [invoice](entity:Invoice) to cancel. * If you do not know the version, you can call * [GetInvoice](api-endpoint:Invoices-GetInvoice) or [ListInvoices](api-endpoint:Invoices-ListInvoices). */ version: number; }