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

export const accountPayableDocumentLifecycle = defineLifecycle({
    register: { from: ["DRAFT"], to: "REGISTERED" },
    cancelDraft: { from: ["DRAFT"], to: "CANCELLED" },
    post: { from: ["REGISTERED"], to: "POSTED" },
    cancelRegistered: { from: ["REGISTERED"], to: "CANCELLED" },
});

export type AccountPayableDocumentStatus = typeof accountPayableDocumentLifecycle.states[number];
