aws-samples / aws-samples/amazon-textract-textractor
Textractor doesn't detect the INVOICE_RECEIPT_ID, but the AWS Textract Demo can
- Dominant language
- Jupyter Notebook
- Stars
- 493
- Forks
- 163
- PR merge metrics
- No merged PRs in 30d
Description
Hello, I'm having an issue with the amazon-textract-textractor library. It doesn't detect theINVOICE_RECEIPT_ID, but the AWS Textract Demo can detect it.
Here is the AWS Textract Demo:

amazon-textract-textractor:

Here is the sample code:from textractor import Textractor
extractor = Textractor(profile_name="")
document = extractor.analyze_expense(
file_source="test.jpg",
save_image=False,
)
expense_doc = document.expense_documents[0]
summary_fields = expense_doc.summary_fields
line_field = expense_doc.line_items_groups
print(summary_fields)
Sample Receipt:

Contributor guide
Assessment
This issue has not been assessed yet.