Hello Bogdan Pechounov
Thanks for reaching out to us, Azure Document Intelligence support bytes source - https://learn.microsoft.com/en-us/python/api/azure-ai-documentintelligence/azure.ai.documentintelligence.models.analyzedocumentrequest?view=azure-python-preview
Please refer to the sample from the sample repo - https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/documentintelligence/azure-ai-documentintelligence/samples/async_samples/sample_analyze_invoices_from_bytes_source_async.py
Please take a look and have a try. I hope it helps.
Regards,
Yutong
-Please kindly accept the answer if you feel helpful to support the community, thanks a lot.