diff --git a/reports/sepa/result_sepa01.xml b/reports/sepa/result_sepa01.xml index d710033..7521325 100644 --- a/reports/sepa/result_sepa01.xml +++ b/reports/sepa/result_sepa01.xml @@ -6,7 +6,7 @@ bf073e72asdf512c4d60af7740872036 - 2024-07-30T16:29:44 + 2024-07-31T13:01:16 3 655.90 @@ -23,7 +23,7 @@ SEPA - 2024-07-30 + 2024-07-31 Targo Bank diff --git a/reports/sepa/result_sepa02.xml b/reports/sepa/result_sepa02.xml index a625e61..cf62a55 100644 --- a/reports/sepa/result_sepa02.xml +++ b/reports/sepa/result_sepa02.xml @@ -6,7 +6,7 @@ bf073e72asdf512c4d60af7740872036 - 2024-07-30T16:29:44 + 2024-07-31T13:01:16 3 655.90 @@ -23,7 +23,7 @@ SEPA - 2024-07-30 + 2024-07-31 Targo Bank diff --git a/workflow/dwc/posteingang-dwc-1.0.0.bpmn b/workflow/dwc/posteingang-dwc-1.0.0.bpmn deleted file mode 100644 index 16dda3d..0000000 --- a/workflow/dwc/posteingang-dwc-1.0.0.bpmn +++ /dev/null @@ -1,950 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - For the OCR Adapter the following minimal options should be set: - - * X-Tika-PDFocrStrategy=OCR_AND_TEXT_EXTRACTION - * X-Tika-OCRLanguage=eng+deu - -These options allow OCR and text extraction suporting English and German language. - -Additional Tika Options can be set but are NOT needed in most cases: - - * X-Tika-PDFOcrImageType=RGB (setting the RGB color mode) - * X-Tika-PDFOcrDPI=400 (setting DPI) - -Setting the OcrDPI is only recommended if the DPI is know! - -Possible ImageTypes are: - - * ARGB Alpha, Red, Green, Blue - * BINARY Black or white. - * GRAY Shades of gray - * RGB Red, Green, Blue - - - - - - - - Task_4 - ExclusiveGateway_2 - Task_1 - ExclusiveGateway_1 - StartEvent_1 - EndEvent_1 - IntermediateCatchEvent_2 - Task_2 - IntermediateCatchEvent_3 - IntermediateCatchEvent_4 - IntermediateCatchEvent_5 - BoundaryEvent_1 - IntermediateCatchEvent_6 - IntermediateCatchEvent_1 - Task_3 - IntermediateCatchEvent_7 - - - - - - - - - - - - - - - - - - - - - - true - - - - - - - - $workflowgroup - $workflowstatus]]> - SequenceFlow_13 - SequenceFlow_3 - - - SequenceFlow_3 - SequenceFlow_1 - - - - - - - - - - - - _subject]]> - - - - - - - - - _amount (Brutto € _amount_brutto) -_description]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - home -Front Desk]]> - - - - - - - - - - - - false - - - - SequenceFlow_1 - SequenceFlow_4 - - - - - - - - - SequenceFlow_13 - - - - - - - - - - - - - - - true - - - - - - - - Rechnungseingangskontrolle -

Der Workflow 'Rechnungseingang' beschreibt beispielhaft einen Ablauf zur Prüfung von Eingangsrechnungen.

- -

    -
  • Nach Erhalt einer Rechnung (z.B. Post, E-Mail, Fax,...) wird diese in das Workflowsystem übertragen und der Prozess Rechnungseingang gestartet.
  • - -
  • Die Rechnung wird wahlweise eingescannt und über den Abschnitt 'Dokumente' an den Vorgang hinzugefügt.
  • - -
  • In diesem Beispiel wird die Rechnung einem zuvor ausgewählten Mitarbeiter zur Prüfung vorgelegt.
  • - -
  • Nach positiver Prüfung werden die Rechnungsdaten (Zahlungsziel, Bankverbindung) vom Controlling im System erfasst und auf das Zahlungsziel gewartet.
  • - -
  • Nach Erreichen des Zahlungsziels wird der Vorgang automatisch dem Controlling erneut zur abschließenden Bearbeitung vorgelegt.
  • - -
-

Der Workflow

- -

Eingangsrechnungen können über eine E-Mailschnittstelle oder das Filesystem automatisch eingelesen werden. Eine Eingangsrechnung wird in diesem Beispiel vom zugewiesenen Mitarbeiter sowie den Prozessverantworltichen (Controlling) bearbeitet.

]]>
- SequenceFlow_4 - SequenceFlow_5 - SequenceFlow_9 - SequenceFlow_8 - SequenceFlow_16 -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -X-Tika-OCRLanguage=eng+deu -X-Tika-PDFocrStrategy=OCR_ONLY -(PDF|pdf)$ -10 -]]> - - - - - - - - - - - - false - - - - SequenceFlow_9 - SequenceFlow_2 - SequenceFlow_6 - - - DataOutput_1 - - - DataOutput_1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - invoice-de-0.2.0 -min_losses=0.1&retrain_rate=25 -((PDF|pdf)$) - - invoice.total - currency - - - invoice.number - text - - - invoice.date - date - - - cdtr.name - text - - - cdtr.iban - text - - - cdtr.bic - text - - - - invoice.date - text - (3[01]|[12][0-9]|0?[1-9])\.(1[012]|0?[1-9])\.(((?:19|20)\d{2})|\d{2}) - - - cdtr.iban - text - ([A-Z]{2}\d{2} ?[A-Z]{4} ?\d{4} ?\d{4} ?\d{4} ?\d{4} ?\d{4} ?[A-Z]{0,3})|([A-Z]{2}\d{2} ?\d{4} ?\d{4} ?\d{4} ?\d{4} ?[\d]{0,2})|([A-Z]{2}\d{2} ?[A-Z]{4} ?\d{4} ?\d{4} ?\d{4} ?\d{2}) - - - cdtr.bic - text - [A-Z0-9]{4}[A-Z]{2}[A-Z0-9]{2}(?:[A-Z0-9]{3})? - - - - - -]]> - - - - - - - - - - - - false - - - - SequenceFlow_6 - SequenceFlow_7 - - - DataOutput_2 - - - DataOutput_2 - - - - - - - - - - - rechnungseingang-dwc-1.0 - 5000 - 990 -]]> - - - - - - SequenceFlow_7 - SequenceFlow_17 - SequenceFlow_10 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - - - - - - - - - - - - - - $workflowgroup - $workflowstatus]]> - SequenceFlow_11 - SequenceFlow_12 - - - SequenceFlow_10 - SequenceFlow_11 - - - - - - - - - - SequenceFlow_12 - SequenceFlow_15 - - - - - - - - - - SequenceFlow_2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SequenceFlow_5 - - - - - - - - - - - - - - - - - - - - - - - - true - - - - - - - - - - - - - - $workflowgroup - $workflowstatus]]> - SequenceFlow_14 - SequenceFlow_15 - - - - - - - - - SequenceFlow_8 - SequenceFlow_14 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SequenceFlow_16 - SequenceFlow_17 - - - - - - - - - - - min_losses = 1.0 - 22.12.2021 geändert auf 0.001 -retrain_rate=25 -filename.pattern = (PDF|pdf)$ - - - - - - - scann pdf files only (PDF|pdf)$ - -X-Tika-PDFocrStrategy=OCR_ONLY - -Max 10 PDF Pages will be scanned - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
diff --git a/workflow/dwc/posteingang-dwc-2.0.0.bpmn b/workflow/dwc/posteingang-dwc-2.0.0.bpmn deleted file mode 100644 index b8ba352..0000000 --- a/workflow/dwc/posteingang-dwc-2.0.0.bpmn +++ /dev/null @@ -1,1498 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - - - - - - - - - For the OCR Adapter the following minimal options should be set: - - * X-Tika-PDFocrStrategy=OCR_AND_TEXT_EXTRACTION - * X-Tika-OCRLanguage=eng+deu - -These options allow OCR and text extraction suporting English and German language. - -Additional Tika Options can be set but are NOT needed in most cases: - - * X-Tika-PDFOcrImageType=RGB (setting the RGB color mode) - * X-Tika-PDFOcrDPI=400 (setting DPI) - -Setting the OcrDPI is only recommended if the DPI is know! - -Possible ImageTypes are: - - * ARGB Alpha, Red, Green, Blue - * BINARY Black or white. - * GRAY Shades of gray - * RGB Red, Green, Blue - - - - - - - - BoundaryEvent_1 - Task_4 - IntermediateCatchEvent_2 - Task_2 - IntermediateCatchEvent_3 - StartEvent_1 - EndEvent_1 - - dataObject_FS1r0Q - task_uB6BGQ - textAnnotation_CtU05A - task_PsBytg - dataObject_CRa7xA - event_bYlo0w - event_za0KnA - event_Zxhr0w - dataObject_vVKXIg - event_yQLmNA - task_0YaQ2w - dataObject_HHM58Q - event_xOeBKg - event_pDFoXg - dataObject_ZhBiZg - event_4DNGzg - dataObject_KPUiiw - event_wmNwPA - event_tFxV0w - event_88sCAA - event_T901Jg - event_7rbeVA - - - - - - - - - - - - _subject]]> - - - - - - - - - _amount (Brutto € _amount_brutto) -_description]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - home -]]> - - - - - - - - - - - - false - - - - sequenceFlow_fRPOrw - sequenceFlow_4gpPgw - - - - sequenceFlow_fRPOrw - - - - - - - - - - - - - - - - - true - - - - - - - - Rechnungseingangskontrolle -

Der Workflow 'Rechnungseingang' beschreibt beispielhaft einen Ablauf zur Prüfung von Eingangsrechnungen.

- -

    -
  • Nach Erhalt einer Rechnung (z.B. Post, E-Mail, Fax,...) wird diese in das Workflowsystem übertragen und der Prozess Rechnungseingang gestartet.
  • - -
  • Die Rechnung wird wahlweise eingescannt und über den Abschnitt 'Dokumente' an den Vorgang hinzugefügt.
  • - -
  • In diesem Beispiel wird die Rechnung einem zuvor ausgewählten Mitarbeiter zur Prüfung vorgelegt.
  • - -
  • Nach positiver Prüfung werden die Rechnungsdaten (Zahlungsziel, Bankverbindung) vom Controlling im System erfasst und auf das Zahlungsziel gewartet.
  • - -
  • Nach Erreichen des Zahlungsziels wird der Vorgang automatisch dem Controlling erneut zur abschließenden Bearbeitung vorgelegt.
  • - -
-

Der Workflow

- -

Eingangsrechnungen können über eine E-Mailschnittstelle oder das Filesystem automatisch eingelesen werden. Eine Eingangsrechnung wird in diesem Beispiel vom zugewiesenen Mitarbeiter sowie den Prozessverantworltichen (Controlling) bearbeitet.

]]>
- SequenceFlow_9 - sequenceFlow_4gpPgw -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -X-Tika-OCRLanguage=eng+deu -X-Tika-PDFocrStrategy=OCR_ONLY -(PDF|pdf)$ -10]]> - - - - - - - - - - - - false - - - - SequenceFlow_9 - SequenceFlow_2 - - - DataOutput_1 - - - DataOutput_1 - - - sequenceFlow_VlPVJg - - - - - - - - txtlastcomment]]> - - - - - - - - - - - - - - - - - - - - - - - - cdtr.name (invoice.language)]]> - - - $workflowgroup - $workflowstatus]]> - SequenceFlow_12 - sequenceFlow_gXJm0w - - - SequenceFlow_12 - - - - - - - SequenceFlow_2 - - 1000 - - - - - - - - - - -]]> - - - - - - - - - - - - - - - - - true - - - - - - - - - sequenceFlow_VlPVJg - sequenceFlow_0N8cOQ - sequenceFlow_fN22Gg - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - cdtr.name (invoice.language)]]> - - - true - - - - - - - - document.type
-Company: document.company
]]>
-
-
- - sequenceFlow_JpNUKg - sequenceFlow_lmU9IA - sequenceFlow_naZnAA - sequenceFlow_8SpIiA -
- - - - - - - - - - - - -]]> - - - - - - - - - - - - - - _subject]]> - - - - - - - - - _amount (Brutto € _amount_brutto) -_description]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - home]]> - - - - - - - - - - - - false - - - - sequenceFlow_lmU9IA - sequenceFlow_Od65ZQ - - - - - sequenceFlow_Od65ZQ - - - - sequenceFlow_0N8cOQ - - - - - - - - - - - - - - - - - - -]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - false - - - - https://llama.cpp.imixs.com/ - XML - true - - - cdtr.name,invoice.number,invoice.date,invoice.total,payment.date,cdtr.iban,cdtr.bic,total - ON - -false - -]]> - - - - - - DataOutput_2 - - - DataOutput_2 - - - sequenceFlow_aC0skQ - sequenceFlow_YMtfiw - sequenceFlow_PWXjog - - - - - - - - - - - - - - cdtr.name (invoice.language)]]> - - - true - - - - - - - - - sequenceFlow_JpNUKg - sequenceFlow_lmU9IA - sequenceFlow_aC0skQ - sequenceFlow_A62nqQ - sequenceFlow_z8jotQ - - - - - - - - - - - {"max_tokens": 4096, "temperature": 0 } - invoice.summary - -[INST]Transfer the invoice data into an XML object with the following structure: - - - ... - ... - 2024-12-31 - 2024-12-31 - 1234.00 - ... - ... - - -Create only the XML object. Use only the XML structure specified in this example and do not create any other XML tags. Don't create explanations or comments. -Format date values (invoice.date, payment.date) into the ISO 8601 format (YYYY-MM-DD). -Format numbers and amounts (type="double") according to ISO 4217. - -Transfer the individual invoice data to the XML tags, taking into account the following suggestions for mapping: - - - Company name ==> "cdtr.name" - - - Invoice number ==> "invoice.number" - - Invoice Date ==> "invoice.date" - - Total ==> "invoice.total" (in EUR or if not available in USD or PLN) - - - IBAN ==> "cdtr.iban" - - BIC or SWIFT ==> "cdtr.bic" - - Payment date / Due date ==> "payment.date" - -<> - -[/INST] - -]]]]> - - ]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - false - - - - rechnungseingang-dwc-1.0 - 5000 - 990 - -]]> - - - - - - DataOutput_2 - - - DataOutput_2 - - sequenceFlow_YMtfiw - sequenceFlow_gXJm0w - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - false - - - false - - https://llama.cpp.imixs.com/ - XML - - - -]]> - - - - - - DataOutput_2 - - - DataOutput_2 - - - sequenceFlow_fN22Gg - sequenceFlow_naZnAA - sequenceFlow_PgyOMw - - - - - {"n_predict": 2048, "temperature": 0 } - ^.+\.([pP][dD][fF])$ - -[INST] Assign the invoice to one of the following categories: - -- Cargo-Invoice - in case the invoice is about cargo and logistic services -- Credit - in case of a credit note -- Invoice - in all other cases - -Extract also the company name and the language the invoice is written in. - -Note: The company name is the name of the company that issued the invoice document, not the recipient. The company name is usually at the beginning or end of the invoice document. - -Output the infromation as an XML object that has the following structure: - - - Type - Kraxi GmbH - German - - -Note: Do not generate any other information instead of the XML object. - -[/INST] -]]]]> - - ]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - false - - - - https://llama.cpp.imixs.com/ - invoice.summary - -false - -]]> - - - - - - DataOutput_2 - - - DataOutput_2 - - - sequenceFlow_8SpIiA - sequenceFlow_A62nqQ - sequenceFlow_Di4BQA - - - - - - - - - - - {"max_tokens": 4096, "temperature": 0 } - ^.+\.([pP][dD][fF])$ - -[INST] - -Summarize the data from this invoice document: - - - Company information - - General Billing data - - Invoice total information - - Payment summary - - Invoice items - -The company name is the name of the company that issued the invoice document, not the recipient. The company name is usually at the beginning or end of the invoice document. - -Summarize the invoice lines in a table. -Use only the default values and do not perform any calculations, summing or changes to these values yourself. Format numbers and amounts according to ISO 4217. - -[/INST] -]]]]> - - ]]> - - - - - - - - - - - - - - _subject]]> - - - - - - - - - _amount (Brutto € _amount_brutto) -_description]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - home]]> - - - - - - - - - - - - false - - - - sequenceFlow_z8jotQ - sequenceFlow_7ywCdA - - - - - sequenceFlow_7ywCdA - - - - - - - - - - - - - - sequenceFlow_PgyOMw - - - - - sequenceFlow_Di4BQA - - - - - - - - - - - sequenceFlow_PWXjog - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
diff --git a/workflow/posteingang-de-2.0.0-draft.bpmn b/workflow/posteingang-de-2.0.0-draft.bpmn deleted file mode 100644 index 14e8d49..0000000 --- a/workflow/posteingang-de-2.0.0-draft.bpmn +++ /dev/null @@ -1,1432 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - - - - - - - - - For the OCR Adapter the following minimal options should be set: - - * X-Tika-PDFocrStrategy=OCR_AND_TEXT_EXTRACTION - * X-Tika-OCRLanguage=eng+deu - -These options allow OCR and text extraction suporting English and German language. - -Additional Tika Options can be set but are NOT needed in most cases: - - * X-Tika-PDFOcrImageType=RGB (setting the RGB color mode) - * X-Tika-PDFOcrDPI=400 (setting DPI) - -Setting the OcrDPI is only recommended if the DPI is know! - -Possible ImageTypes are: - - * ARGB Alpha, Red, Green, Blue - * BINARY Black or white. - * GRAY Shades of gray - * RGB Red, Green, Blue - - - - - - - - BoundaryEvent_1 - Task_4 - IntermediateCatchEvent_2 - Task_2 - IntermediateCatchEvent_3 - StartEvent_1 - EndEvent_1 - - dataObject_FS1r0Q - task_uB6BGQ - textAnnotation_CtU05A - task_PsBytg - dataObject_CRa7xA - event_bYlo0w - event_za0KnA - event_Zxhr0w - dataObject_vVKXIg - event_yQLmNA - task_0YaQ2w - dataObject_HHM58Q - event_xOeBKg - event_pDFoXg - dataObject_ZhBiZg - event_4DNGzg - dataObject_KPUiiw - event_wmNwPA - event_tFxV0w - - - - - - - - - - - - _subject]]> - - - - - - - - - _amount (Brutto € _amount_brutto) -_description]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - home -]]> - - - - - - - - - - - - false - - - - sequenceFlow_fRPOrw - sequenceFlow_4gpPgw - - - - sequenceFlow_fRPOrw - - - - - - - - - - - - - - - - - true - - - - - - - - Rechnungseingangskontrolle -

Der Workflow 'Rechnungseingang' beschreibt beispielhaft einen Ablauf zur Prüfung von Eingangsrechnungen.

- -

    -
  • Nach Erhalt einer Rechnung (z.B. Post, E-Mail, Fax,...) wird diese in das Workflowsystem übertragen und der Prozess Rechnungseingang gestartet.
  • - -
  • Die Rechnung wird wahlweise eingescannt und über den Abschnitt 'Dokumente' an den Vorgang hinzugefügt.
  • - -
  • In diesem Beispiel wird die Rechnung einem zuvor ausgewählten Mitarbeiter zur Prüfung vorgelegt.
  • - -
  • Nach positiver Prüfung werden die Rechnungsdaten (Zahlungsziel, Bankverbindung) vom Controlling im System erfasst und auf das Zahlungsziel gewartet.
  • - -
  • Nach Erreichen des Zahlungsziels wird der Vorgang automatisch dem Controlling erneut zur abschließenden Bearbeitung vorgelegt.
  • - -
-

Der Workflow

- -

Eingangsrechnungen können über eine E-Mailschnittstelle oder das Filesystem automatisch eingelesen werden. Eine Eingangsrechnung wird in diesem Beispiel vom zugewiesenen Mitarbeiter sowie den Prozessverantworltichen (Controlling) bearbeitet.

]]>
- SequenceFlow_9 - sequenceFlow_4gpPgw -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -X-Tika-OCRLanguage=eng+deu -X-Tika-PDFocrStrategy=OCR_ONLY -(PDF|pdf)$ -10]]> - - - - - - - - - - - - false - - - - SequenceFlow_9 - SequenceFlow_2 - - - DataOutput_1 - - - DataOutput_1 - - - sequenceFlow_VlPVJg - - - - - - - - txtlastcomment]]> - - - - - - - - - - - - - - - - - - - - - - - - cdtr.name (invoice.language)]]> - - - $workflowgroup - $workflowstatus]]> - SequenceFlow_12 - sequenceFlow_gXJm0w - - - SequenceFlow_12 - - - - - - - SequenceFlow_2 - - 1000 - - - - - - - - - - -]]> - - - - - - - - - - - - - - - - - true - - - - - - - - - sequenceFlow_VlPVJg - sequenceFlow_0N8cOQ - sequenceFlow_fN22Gg - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - cdtr.name (invoice.language)]]> - - - true - - - - - - - - document.type
-Company: document.company
]]>
-
-
- - sequenceFlow_JpNUKg - sequenceFlow_lmU9IA - sequenceFlow_naZnAA - sequenceFlow_8SpIiA -
- - - - - - - - - - - - -]]> - - - - - - - - - - - - - - _subject]]> - - - - - - - - - _amount (Brutto € _amount_brutto) -_description]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - home]]> - - - - - - - - - - - - false - - - - sequenceFlow_lmU9IA - sequenceFlow_Od65ZQ - - - - - sequenceFlow_Od65ZQ - - - - sequenceFlow_0N8cOQ - - - - - - - - - - - - - - - - - - -]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - false - - - - https://llama.cpp.imixs.com/ - XML - true - - - cdtr.name,invoice.number,invoice.date,invoice.total,payment.date,cdtr.iban,cdtr.bic,total - ON - -false - -]]> - - - - - - DataOutput_2 - - - DataOutput_2 - - - sequenceFlow_aC0skQ - sequenceFlow_YMtfiw - - - - - - - - - - - - - - cdtr.name (invoice.language)]]> - - - true - - - - - - - - - sequenceFlow_JpNUKg - sequenceFlow_lmU9IA - sequenceFlow_aC0skQ - sequenceFlow_A62nqQ - sequenceFlow_z8jotQ - - - - - - - - - - - {"max_tokens": 4096, "temperature": 0 } - invoice.summary - -[INST]Transfer the invoice data into an XML object with the following structure: - - - ... - ... - 2024-12-31 - 2024-12-31 - 1234.00 - ... - ... - - -Create only the XML object. Use only the XML structure specified in this example and do not create any other XML tags. Don't create explanations or comments. -Format date values (invoice.date, payment.date) into the ISO 8601 format (YYYY-MM-DD). -Format numbers and amounts (type="double") according to ISO 4217. - -Transfer the individual invoice data to the XML tags, taking into account the following suggestions for mapping: - - - Company name ==> "cdtr.name" - - - Invoice number ==> "invoice.number" - - Invoice Date ==> "invoice.date" - - Total ==> "invoice.total" (in EUR or if not available in USD or PLN) - - - IBAN ==> "cdtr.iban" - - BIC or SWIFT ==> "cdtr.bic" - - Payment date / Due date ==> "payment.date" - -<> - -[/INST] - -]]]]> - - ]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - false - - - - rechnungseingang-de-1.2 - 5000 - 990 - -]]> - - - - - - DataOutput_2 - - - DataOutput_2 - - sequenceFlow_YMtfiw - sequenceFlow_gXJm0w - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - false - - - false - - https://llama.cpp.imixs.com/ - XML - - - -]]> - - - - - - DataOutput_2 - - - DataOutput_2 - - - sequenceFlow_fN22Gg - sequenceFlow_naZnAA - - - - - {"n_predict": 2048, "temperature": 0 } - ^.+\.([pP][dD][fF])$ - -[INST] Assign the invoice to one of the following categories: - -- Cargo-Invoice - in case the invoice is about cargo and logistic services -- Credit - in case of a credit note -- Invoice - in all other cases - -Extract also the company name and the language the invoice is written in. - -Note: The company name is the name of the company that issued the invoice document, not the recipient. The company name is usually at the beginning or end of the invoice document. - -Output the infromation as an XML object that has the following structure: - - - Type - Kraxi GmbH - German - - -Note: Do not generate any other information instead of the XML object. - -[/INST] -]]]]> - - ]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - false - - - - https://llama.cpp.imixs.com/ - invoice.summary - -false - -]]> - - - - - - DataOutput_2 - - - DataOutput_2 - - - sequenceFlow_8SpIiA - sequenceFlow_A62nqQ - - - - - - - - - - - {"max_tokens": 4096, "temperature": 0 } - ^.+\.([pP][dD][fF])$ - -[INST] - -Summarize the data from this invoice document: - - - Company information - - General Billing data - - Invoice total information - - Payment summary - - Invoice items - -The company name is the name of the company that issued the invoice document, not the recipient. The company name is usually at the beginning or end of the invoice document. - -Summarize the invoice lines in a table. -Use only the default values and do not perform any calculations, summing or changes to these values yourself. Format numbers and amounts according to ISO 4217. - -[/INST] -]]]]> - - ]]> - - - - - - - - - - - - - - _subject]]> - - - - - - - - - _amount (Brutto € _amount_brutto) -_description]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - home]]> - - - - - - - - - - - - false - - - - sequenceFlow_z8jotQ - sequenceFlow_7ywCdA - - - - - sequenceFlow_7ywCdA - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
diff --git a/workflow/posteingang-de-2.0.0.bpmn b/workflow/posteingang-de-2.0.0.bpmn index 937ac14..802bafb 100644 --- a/workflow/posteingang-de-2.0.0.bpmn +++ b/workflow/posteingang-de-2.0.0.bpmn @@ -104,6 +104,7 @@ Possible ImageTypes are: event_yvr5AA gateway_qDAhHw event_9mJrhQ + gateway_gd9zQQ @@ -390,10 +391,10 @@ Betrag: _amount (Brutto € _amount_brutto - sequenceFlow_VlPVJg sequenceFlow_0N8cOQ sequenceFlow_fN22Gg sequenceFlow_GAK0SA + sequenceFlow_bh4DIw @@ -405,7 +406,7 @@ Betrag: _amount (Brutto € _amount_brutto - + @@ -797,7 +798,7 @@ Transfer the individual invoice data to the XML tags, taking into account the fo - rechnungseingang-de-1.2 + (^rechnungseingang-[a-z]{2,3}-\d+(?:\.\d+)?$) 5000 990 @@ -1249,7 +1250,7 @@ Betrag: _amount (Brutto € _amount_bruttosequenceFlow_tcjWAA sequenceFlow_I8o4DA - + @@ -1307,7 +1308,7 @@ Betrag: _amount (Brutto € _amount_brutto - adapter.error_code - adapter.error_message]]> + adapter.error_code: adapter.error_message]]> false @@ -1323,8 +1324,9 @@ Betrag: _amount (Brutto € _amount_brutto sequenceFlow_tcjWAA sequenceFlow_gpPDLg + sequenceFlow_d0zSHA - + @@ -1334,6 +1336,20 @@ Betrag: _amount (Brutto € _amount_brutto + + + sequenceFlow_I8o4DA + sequenceFlow_VlPVJg + sequenceFlow_bh4DIw + sequenceFlow_d0zSHA + + + + + + + + @@ -1419,7 +1435,7 @@ Betrag: _amount (Brutto € _amount_brutto - + @@ -1432,9 +1448,9 @@ Betrag: _amount (Brutto € _amount_brutto - + - + @@ -1469,14 +1485,16 @@ Betrag: _amount (Brutto € _amount_brutto - + - + - - + + + + @@ -1538,30 +1556,30 @@ Betrag: _amount (Brutto € _amount_brutto - + - + - + - + - - - - + + + + - - + + - - + + @@ -1611,13 +1629,13 @@ Betrag: _amount (Brutto € _amount_brutto - - + + - + - + @@ -1627,10 +1645,10 @@ Betrag: _amount (Brutto € _amount_brutto - - - - + + + + @@ -1651,19 +1669,21 @@ Betrag: _amount (Brutto € _amount_brutto - + - + - - + + + + - + - + @@ -1673,8 +1693,8 @@ Betrag: _amount (Brutto € _amount_brutto - - + + @@ -1682,9 +1702,25 @@ Betrag: _amount (Brutto € _amount_brutto - + + + + + + + + + + + + + + + + +