The check only recognized the English patterns "Invoice" and "Total:", so it compared nothing on German invoices and always passed. It now reports every key XML value (invoice number, net, VAT and gross total) that does not appear in the PDF text, tolerant of number notation and of columns running together in extracted text. Mismatches stay warnings. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>