import hashlib


def receipt_data_hash(data):
    """
    Get the hash of some receipt data.

    Args:
        data:
            The receipt data to get the hash of.

    Returns:
        The SHA256 hash of the given data.
    """
    return hashlib.sha256(data.encode()).hexdigest()