invoice2data
invoice2data copied to clipboard
Does it work for scanned PDF's ?
Unable to match all required fields. The required fields are: ['date', 'amount', 'invoice_number', 'issuer']. Output contains the following fields: ['date', 'currency', 'issuer'].
My template:
[InvoiceTemplate([('issuer', 'Honeywell Int. SDN. BHD'), ('keywords', ['Honeywell']), ('fields', OrderedDict([('date', 'DATE OF TASK\\n(\\d{2}-\\w{A-Z}\\d{2})')])), ('options', OrderedDict([('remove_whitespace', True)])), ('template_name', 'sing.gb.airline.yml'), ('exclude_keywords', [])])]
Could Anyone Please Help to fix my issue! Thank you.
can you share your input file and template?
Your template (YML file) contains regex for date
but that isn't enough. It's required to also extract amount
and invoice_number
.
Please edit your template (YML file) and add amount
and invoice_number
with correct RegEx-es.