You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to assign a default value to a specific field parser for an instance where a field fails to be be parsed? I am using a standardized template for a project and some of the fields don't exist on all of the invoices. I can obviously check this in the python code but was wondering if there was a way that I could get a defaulted value out from the templates?
At the moment I get WARNING:invoice2data.extract.invoice_template: Failed to parse field field with parser regex and the field basically doesn't exist in the returned dictionary which leads to errors down the line.
The text was updated successfully, but these errors were encountered:
Is there a way to assign a default value to a specific field parser for an instance where a field fails to be be parsed? I am using a standardized template for a project and some of the fields don't exist on all of the invoices. I can obviously check this in the python code but was wondering if there was a way that I could get a defaulted value out from the templates?
At the moment I get
WARNING:invoice2data.extract.invoice_template: Failed to parse field field with parser regex
and the field basically doesn't exist in the returned dictionary which leads to errors down the line.The text was updated successfully, but these errors were encountered: