def METHOD_NAME(gstin, transaction_date=None, is_request_from_ui=0):
    if is_request_from_ui:
        return create_or_update_gstin_status(gstin)
    frappe.enqueue(
        create_or_update_gstin_status,
        enqueue_after_commit=True,
        queue="short",
        gstin=gstin,
        transaction_date=transaction_date,
        callback=_validate_gstin_info,
    )