Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[formrecognizer] Adding line items to invoice samples #17682

Merged
merged 1 commit into from
Mar 31, 2021

Conversation

catalinaperalta
Copy link
Member

Fixes #17158

print("......Unit Price: {} has confidence: {}".format(unit_price.value, unit_price.confidence))
product_code = item.value.get("ProductCode")
if product_code:
print("......Product Code: {} has confidence: {}".format(product_code.value, product_code.confidence))
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that some of these arent actually printed with this sample because the sample doesnt include all fo this information.

@catalinaperalta catalinaperalta marked this pull request as ready for review March 30, 2021 22:20
@catalinaperalta catalinaperalta merged commit c9db468 into Azure:master Mar 31, 2021
@catalinaperalta catalinaperalta deleted the updateInvoiceSamples branch March 31, 2021 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[formrecognizer] Add line items to invoice sample
2 participants