def METHOD_NAME(data):
    transactions = data.setdefault("transactions", [])
    reference_section = next(
        (row for row in transactions if row.get("label") == "Reference"), None
    )
    if reference_section is None:
        reference_section = {"label": "Reference", "items": []}
        transactions.append(reference_section)
    reference_section["items"].append("Bill of Entry")
    update_dashboard_with_gst_logs(
        "Purchase Invoice", data, "e-Waybill Log", "Integration Request"
    )
    return data