// @generated — do not edit
import { defineLifecycle } from "@tailor-platform/erp-kit/core";

export const salesInvoiceLifecycle = defineLifecycle({
    issue: { from: ["DRAFT"], to: "ISSUED" },
    send: { from: ["ISSUED"], to: "SENT" },
    cancel: { from: ["DRAFT", "ISSUED"], to: "CANCELLED" },
});

export type SalesInvoiceStatus = typeof salesInvoiceLifecycle.states[number];
