Skip to Content
Menu
This question has been flagged
566 Zobrazenia

We use Rule to match invoices/bills to match bank transactions with the invoice.


REGEX: (?i)^CHARGE\s*\|\s*invoice_id:\s+(#\d+)(?:\.\d+)?\s*\|


Bank statement line: CHARGE | invoice_id: #146114.2 | record_id: 0HT244XS96A9678090T | related_record_id: 8PG06326MEX595444T | original_record_id: 8PG06326MXE595444T | couterparty_account_id: LWYHQFU9BTWU2


The statement matches if I remove the ".2" from this invoice_id: #146114.2. So, this matches: CHARGE | invoice_id: #146114 | record_id:...


Any idea what is wrong with this statement? Testing it with regex101 seems to match correctly.

Thanks

Avatar
Zrušiť