Hello @Marcin Wloch , Thank you again for your time and patience throughout this issue.
I have reproduced the same and observed similar behavior when enabled key-value pair. Each call to prebuilt-invoice API shows doubled number of processed pages.
Here is the documentation to use the metrics dashboard in the Azure portal to view how many pages were processed by Azure AI Document Intelligence and estimate the cost of processing those pages using the Azure pricing calculator.
For confirmation on this billing concern, please raise a support request in the Azure portal.
I hope this helps.
Regards,
Vasavi
-Please kindly accept the answer and vote 'yes' if you feel helpful to support the community, thanks.