This commit is contained in:
polyfloyd 2025-07-05 15:27:33 +02:00
parent 2a83bd0079
commit 3999ecdac3
10 changed files with 807 additions and 7 deletions

View file

@ -26,7 +26,7 @@ class MollieInvoiceImporter(Importer):
def tx_ref(self, filepath):
for line in pdf_lines(filepath):
if m := re.search(r"^Invoice reference (MOL-.+)$", line):
if m := re.search(r"^Invoice reference\s?(MOL-.+)$", line):
return m[1]
raise Exception("Mollie invoice reference not found")