Group Name |
Description |
Required |
InvoiceID |
Invoice number matching the ERP. Unique within the DBID for AR, unique within the Vendor for AP, |
Yes |
VendorID |
ID of the vendor matching the ERP. |
Yes (only for AP) |
ExtraInfo (optional) |
Captures any additional information that is used to differentiate between different versions or documents associated with the same invoice. |
No |
Ext |
Captures the file extension. |
Yes |
DBID (optional) |
Advanced feature that extracts the DBID from the file name dynamically, ignoring the configured DBID for the row. |
No |
Description |
Example Structure |
RegEx |
AP Invoices from Timberscan which start with VendNo then the VendorID followed by InvNo and the InvoiceID |
I:\APInvoices\COMPANY1\VendNo V001 InvNo 100091.tif |
\\VendNo (?<VendorID>[\w\d]+) InvNo (?<InvoiceID>.*)\.(?<Ext>\w+)$ |
AP Invoices with alphanumeric VendorID parent folders and numeric InvoiceID |
I:\APInvoices\COMPANY1\V001\100091.pdf
I:\APInvoices\COMPANY1\V001\100091 ExtraInfo.pdf
|
\\(?<VendorID>\w+)\\(?<InvoiceID>\d+)[ ]{0,1}(?<ExtraInfo>.*)\.(?<Ext>\w+)$ |
AP Invoices with numeric VendorID parent folders and alphanumeric InvoiceID |
I:\APInvoices\COMPANY1\001\ABC091.pdf
I:\APInvoices\COMPANY1\001\ABC091 ExtraInfo.pdf
|
\\(?<VendorID>\d+)\\(?<InvoiceID>\w+)[ ]{0,1}(?<ExtraInfo>.*)\.(?<Ext>\w+)$ |
AR Invoices starting with numeric Invoice ID followed by a space and then extra info |
I:\ARInvoices\COMPANY1\9801 INV - Check.pdf
I:\ARInvoices\COMPANY1\9801 INV-ExtraInfo.pdf
|
(?<InvoiceID>\d+)[ ]{0,1}INV[ ]{0,1}-[ ]{0,1}(?<ExtraInfo>.*)\.(?<Ext>\w+)$ |
AR Invoices starting with characters that don't need to be captured followed by a numeric InvoiceID and optional extra info |
I:\ARInvoices\COMPANY1\Unused 39458 ExtraInfo.pdf
I:\ARInvoices\COMPANY1\Unused 39458.pdf
|
.*\\[\d\w]+ (?<InvoiceID>\d+)[ ]*(?<ExtraInfo>.*)\.(?<Ext>.*)$ |