Initial commit with Email Import Wizard and Task Processor updates

This commit is contained in:
2026-05-04 08:02:11 +02:00
commit effdc5d59f
170 changed files with 67739 additions and 0 deletions
@@ -0,0 +1,10 @@
const KNOWN_NAMES = [
'factur-x.xml',
'zugferd-invoice.xml',
'xrechnung.xml',
];
export function isERechnung(pdfBuffer: Buffer): boolean {
const asText = pdfBuffer.toString('latin1').toLowerCase();
return KNOWN_NAMES.some((n) => asText.includes(n));
}