diff --git a/workflow/prompts/steuerbescheid-extract-de.xml b/workflow/prompts/steuerbescheid-extract-de.xml
index 0a978d4..9ff930b 100644
--- a/workflow/prompts/steuerbescheid-extract-de.xml
+++ b/workflow/prompts/steuerbescheid-extract-de.xml
@@ -20,6 +20,7 @@
Den Anmelder findest du im Absatz 'Anmelder'. Hier ist nur der Firmenname interessant und nicht die Steuernummer und Adresse.
+Der Anmelder ist nicht der Verkäufer. Es ist alos nicht die 'Alexander Global Logistics GmbH'.
Die Tabelle mit den Positionsnummern enthält einen oder mehrere Buchungsschlüssel (key) mit Detailinformationen.
Eine einzelne Positionszeile beginnt entweder mit dem Buchungsschlüssel 'A....' oder 'B....' und enthält optional ein Fälligkeitsdatum (duedate).
diff --git a/workflow/steuerbescheid-de-1.0.7.bpmn b/workflow/steuerbescheid-de-1.0.7.bpmn
new file mode 100644
index 0000000..04a1334
--- /dev/null
+++ b/workflow/steuerbescheid-de-1.0.7.bpmn
@@ -0,0 +1,1388 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ true
+
+
+
+
+
+
+
+$workflowstatus
+
+]]>
+
+
+
+]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ StartEvent_1
+ Task_1
+ IntermediateCatchEvent_3
+ Task_4
+ EndEvent_3
+
+ DataObject_2
+ event_XJbC5A
+ textAnnotation_HwSKqQ
+ event_9fS4uw
+ event_mPDOzA
+ gateway_u86UTw
+ gateway_5riVig
+ event_0j5Tyg
+ gateway_4Jce4w
+ task_Xtwzqw
+ textAnnotation_SkyWAQ
+ task_O06T6Q
+ event_uYUtGg
+ event_SXqpPw
+ gateway_yONKfQ
+ gateway_XuJUAw
+ event_CGDJnQ
+ event_q0jrHA
+ event_bQtvJQ
+ event_gskJ4Q
+ task_OLIdnQ
+ event_x7R5Sw
+ event_ZEDh4Q
+ task_Em0QgQ
+ dataObject_P0BaVA
+
+
+
+
+ sequenceFlow_ikwt6g
+
+
+ SequenceFlow_19
+
+
+
+
+
+ invoice.number invoice.booking_text invoice.atc.number vom invoice.date ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | Abteilung | Belegdatum | Summe Zoll/EUSt | Saldo |
+
+
+ | space.name |
+ invoice.date |
+ invoice.total.net |
+ invoice.saldo |
+
+]]>
+
+
+ $workflowgroup - $workflowstatus]]>
+ sequenceFlow_EzmiPA
+ sequenceFlow_rbVgQA
+ sequenceFlow_KOaBSw
+ sequenceFlow_tpBldQ
+
+
+
+
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ invoice.number invoice.booking_text invoice.atc.number vom invoice.date ]]>
+
+
+
+
+ | Abteilung | Belegdatum | Summe Zoll/EUSt | Saldo |
+
+
+ | space.name |
+ invoice.date |
+ invoice.total.net |
+ invoice.saldo |
+
+]]>
+
+
+ $workflowgroup - $workflowstatus]]>
+ SequenceFlow_19
+ sequenceFlow_d60CVg
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Mahnwesen]]>
+
+
+
+ sequenceFlow_ikwt6g
+ sequenceFlow_60LKZw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ sequenceFlow_hLkSLA
+ sequenceFlow_oRy3qw
+ sequenceFlow_UW18Jw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ sequenceFlow_rbVgQA
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ sequenceFlow_tpBldQ
+ sequenceFlow_lrR0DQ
+ sequenceFlow_GmmBvA
+
+
+
+ sequenceFlow_lrR0DQ
+ sequenceFlow_KOaBSw
+ sequenceFlow_hLkSLA
+
+
+
+ sequenceFlow_EzmiPA
+ sequenceFlow_omVTTA
+ sequenceFlow_r7sdOg
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ home]]>
+
+
+
+
+
+
+ sequenceFlow_hLkSLA
+ sequenceFlow_aaLOTA
+ sequenceFlow_r7sdOg
+ sequenceFlow_HWrJ6A
+
+
+
+ sequenceFlow_oRy3qw
+ sequenceFlow_d60CVg
+ sequenceFlow_aaLOTA
+
+
+
+
+
+
+
+
+
+
+ invoice.number invoice.booking_text invoice.atc.number vom invoice.date ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | Abteilung | Belegdatum | Summe Zoll/EUSt | Saldo |
+
+
+ | space.name |
+ invoice.date |
+ invoice.total.net |
+ invoice.saldo |
+
+]]>
+
+
+ $workflowgroup - $workflowstatus]]>
+ sequenceFlow_J0GjVg
+ sequenceFlow_60LKZw
+ sequenceFlow_n9vw7A
+ Association_3
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ invoice.number invoice.booking_text invoice.atc.number vom invoice.date ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | Abteilung | Belegdatum | Summe Zoll/EUSt | Saldo |
+
+
+ | space.name |
+ invoice.date |
+ invoice.total.net |
+ invoice.saldo |
+
+]]>
+
+
+ $workflowgroup - $workflowstatus]]>
+ sequenceFlow_KOaBSw
+ sequenceFlow_HvXbYg
+ sequenceFlow_HWrJ6A
+ sequenceFlow_FTi0cA
+ sequenceFlow_QxNNCQ
+ sequenceFlow_QxaZJA
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Html-Header
+Mahnung
+Html-Footer]]>
+
+
+
+
+
+
+
+
+
+
+
+ invoice.atc.number wurde noch nicht abgerechnet!]]>
+
+
+ $lasteventdate
+-
+
[reminder]
+ @weekly
+ ]]>
+
+
+
+
+
+
+
+
+
+
+ sequenceFlow_n9vw7A
+ sequenceFlow_omVTTA
+ sequenceFlow_o6glqQ
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ sequenceFlow_n9vw7A
+ sequenceFlow_HvXbYg
+ sequenceFlow_0AEnAQ
+
+
+
+
+
+
+ sequenceFlow_hLkSLA
+ sequenceFlow_0AEnAQ
+ sequenceFlow_sNhh5g
+ sequenceFlow_UW18Jw
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ sequenceFlow_o6glqQ
+ sequenceFlow_FTi0cA
+ sequenceFlow_sNhh5g
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ sequenceFlow_QxNNCQ
+
+
+
+
+
+
+
+
+
+
+ Html-Header
+Mahnung
+Html-Footer]]>
+
+
+
+
+
+
+
+
+
+
+
+ invoice.atc.number wurde wiederholt noch nicht abgerechnet!]]>
+
+
+
+ [reminder]
+ @weekly
+]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ sequenceFlow_QxaZJA
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+X-Tika-OCRLanguage=deu
+X-Tika-PDFocrStrategy=OCR_ONLY
+(PDF|pdf)$
+10
+]]>
+
+
+
+ sequenceFlow_n9vw7A
+ sequenceFlow_Kw58EQ
+ sequenceFlow_lwTFxw
+
+
+
+
+
+ 1000
+
+ sequenceFlow_Kw58EQ
+
+
+
+
+
+
+
+ invoice.number invoice.booking_text invoice.atc.number vom invoice.date ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | Abteilung | Belegdatum | Summe Zoll/EUSt | Saldo |
+
+
+ | space.name |
+ invoice.date |
+ invoice.total.net |
+ invoice.saldo |
+
+]]>
+
+
+ $workflowgroup - $workflowstatus]]>
+ sequenceFlow_J0GjVg
+ Association_3
+ sequenceFlow_lwTFxw
+ sequenceFlow_PMoo7w
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+
+ https://llama.cpp.imixs.com/
+ XML
+ false
+]]>
+
+
+
+ sequenceFlow_Kw58EQ
+ sequenceFlow_PMoo7w
+ sequenceFlow_2NTSsQ
+ sequenceFlow_8NjTWw
+
+
+
+
+
+
+
+
+ sequenceFlow_2NTSsQ
+
+
+
+
+
+
+
+ invoice.number invoice.booking_text invoice.atc.number vom invoice.date ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | Abteilung | Belegdatum | Summe Zoll/EUSt | Saldo |
+
+
+ | space.name |
+ invoice.date |
+ invoice.total.net |
+ invoice.saldo |
+
+]]>
+
+
+ $workflowgroup - $workflowstatus]]>
+ sequenceFlow_J0GjVg
+ Association_3
+ sequenceFlow_8NjTWw
+ sequenceFlow_GmmBvA
+
+
+
+
+
+
+
+
+
+
+ {"n_predict": 4096, "temperature": 0 }
+ ^.+\.([pP][dD][fF])$
+
+[INST] Übertrage die Informationen aus dem Steuerbescheid in eine XML Struktur:
+
+
+ ....
+
+ ...
+
+
+
+ ...
+
+
+
+
+Den Anmelder findest du im Absatz 'Anmelder'. Hier ist nur der Firmenname interessant und nicht die Steuernummer und Adresse.
+Der Anmelder ist nicht der Verkäufer. Es ist alos nicht die 'Alexander Global Logistics GmbH'.
+Die Tabelle mit den Positionsnummern enthält einen oder mehrere Buchungsschlüssel (key) mit Detailinformationen.
+Eine einzelne Positionszeile beginnt entweder mit dem Buchungsschlüssel 'A....' oder 'B....' und enthält optional ein Fälligkeitsdatum (duedate).
+
+Beachte: Füge keine Erklärungen oder Kommentare hinzu. Formatiere Datumswerte im ISO 8601-Format (YYYY-MM-DD).
+
+[/INST]
+
+]]]]>
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ Hallo,
+
+folgender Steuerbescheid wurde bisher noch nicht abgerechnet. Bitte prüfen Sie diesen Vorgang:
+
+
+application.urlpages/workitems/workitem.jsf?id=$uniqueid
+
+
+Nachdem Sie die Rechnung erstellt haben, wird dieser Vorgang automatisch abgeschlossen.
+
+
+Einen Überblick über alle überflälligen noch offenen Steuerbescheide finden Sie
+hier
+
+([^\s]+(\.(?i)(pdf))$)]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+