def has_receipt(item):
    """
    Verify if a item has a receipt.
    """
    pronac_id = str(item['idPronac'])
    item_id = str(item["idPlanilhaItens"])

    combined_id = f'{pronac_id}/{item_id}'

    return combined_id in data.receipt.index
Verify if a item has a receipt.