2025-06
This commit is contained in:
parent
2a83bd0079
commit
3999ecdac3
10 changed files with 807 additions and 7 deletions
|
@ -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")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue