async def METHOD_NAME(self):
    path_to_sample_forms = os.path.abspath(os.path.join(os.path.abspath(__file__), "..", "..", "..", "./sample_forms/receipt/contoso-allinone.jpg"))
    from azure.core.credentials import AzureKeyCredential
    from azure.ai.formrecognizer.aio import FormRecognizerClient
    endpoint = os.environ["AZURE_FORM_RECOGNIZER_ENDPOINT"]
    key = os.environ["AZURE_FORM_RECOGNIZER_KEY"]
    async with FormRecognizerClient(
        endpoint=endpoint, credential=AzureKeyCredential(key)
    ) as form_recognizer_client:
        with open(path_to_sample_forms, "rb") as f:
            poller = await form_recognizer_client.begin_recognize_receipts(receipt=f)
        receipts = await poller.result()
    for receipt in receipts:
        my_receipt = Receipt(receipt)
        print("Receipt Type: {} has confidence: {}".format(my_receipt.receipt_type.value, my_receipt.receipt_type.confidence))
        print("Merchant Name: {} has confidence: {}".format(my_receipt.merchant_name.value, my_receipt.merchant_name.confidence))
        print("Transaction Date: {} has confidence: {}".format(my_receipt.transaction_date.value, my_receipt.transaction_date.confidence))
        print("Receipt items:")
        for item in my_receipt.receipt_items:
            print("...Item Name: {} has confidence: {}".format(item.name.value, item.name.confidence))
            print("...Item Quantity: {} has confidence: {}".format(item.quantity.value, item.quantity.confidence))
            print("...Individual Item Price: {} has confidence: {}".format(item.price.value, item.price.confidence))
            print("...Total Item Price: {} has confidence: {}".format(item.total_price.value, item.total_price.confidence))
        print("Subtotal: {} has confidence: {}".format(my_receipt.subtotal.value, my_receipt.subtotal.confidence))
        print("Tax: {} has confidence: {}".format(my_receipt.tax.value, my_receipt.tax.confidence))
        print("Tip: {} has confidence: {}".format(my_receipt.tip.value, my_receipt.tip.confidence))
        print("Total: {} has confidence: {}".format(my_receipt.total.value, my_receipt.total.confidence))