dodil/erp-method
modules/gl/signoff/gl/history/gl_journal.v7.bpmn
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dodil="https://git.dodil.io/dodil/erp-platform/bpmn/1" id="Definitions_gl_v9" name="Accounting processes" targetNamespace="https://git.dodil.io/dodil/erp-platform/processes" exporter="erp-platform erp-compose bpmn" exporterVersion="1">
<bpmn:collaboration id="Collaboration_gl_v9">
<bpmn:documentation>Accounting: one pool per entity lifecycle, generated from module.yaml.</bpmn:documentation>
<bpmn:participant id="Participant_gl_journal" name="Journal" processRef="Process_gl_journal_v9" />
</bpmn:collaboration>
<bpmn:process id="Process_gl_journal_v9" name="Journal" isExecutable="false">
<bpmn:documentation>Lifecycle of the journal, generated from module.yaml by erp-compose bpmn; change the workflow there, not this file. States: proposed, posted, rejected, reversed. Note: There is no edit: a journal exists or it does not, and a correction is another journal. A journal's date is an accounting fact dated by its document (an invoice's issue date, a receipt's received date, a manual accrual's month): the one kind of date allowed earlier than today, and only into an open period (or, for an audit adjustment, the closed last period of an open year). A migrated journal (source_module odoo) is read-only history: it is reversed like any other, never re-posted. Recurring entries, accrual releases, allocations and revaluations post through the same use case as post_from_source, with gl itself as the source.</bpmn:documentation>
<bpmn:laneSet id="LaneSet_journal">
<bpmn:lane id="Lane_journal_system" name="The system">
<bpmn:flowNodeRef>Start_journal</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Task_post_from_source</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Task_ai_check_journal</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Task_post_manual</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Task_post_pending_reversal</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Gateway_journal_none__if</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Gateway_ai_check_journal__if</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Gateway_ai_check_journal__if_end</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Gateway_journal_proposed__if</bpmn:flowNodeRef>
</bpmn:lane>
<bpmn:lane id="Lane_journal_bookkeeper" name="Bookkeeper">
<bpmn:flowNodeRef>Task_propose_manual</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Task_propose_cross_company</bpmn:flowNodeRef>
</bpmn:lane>
<bpmn:lane id="Lane_journal_accountant" name="Accountant / finance manager">
<bpmn:flowNodeRef>Task_propose_audit_adjustment</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Task_accept_journal_ai_findings</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Task_approve_manual</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Task_reject_manual</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Task_reverse_journal</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Gateway_journal_posted__if</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Gateway_accept_journal_ai_findings__if</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Gateway_accept_journal_ai_findings__if_end</bpmn:flowNodeRef>
<bpmn:flowNodeRef>End_journal_rejected</bpmn:flowNodeRef>
<bpmn:flowNodeRef>End_journal_reversed</bpmn:flowNodeRef>
</bpmn:lane>
</bpmn:laneSet>
<bpmn:startEvent id="Start_journal" name="Journal needed">
<bpmn:outgoing>Flow_Start_journal__Gateway_journal_none__if</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:serviceTask id="Task_post_from_source" name="Post what another module sent" dodil:step="post_from_source" implementation="##unspecified">
<bpmn:documentation>By: The system. From none to posted. When: balanced in document and functional currency; every purpose mapped on the journal date; the company's period open; the ledger (if named) assigned to the company; source-only accounts posted only by their module; field status met; journal_id = derived_id(source_document, event[, ledger_id]). Effect: lines written with the source named; split to universal lines (GL-22); hash chain extended; number claimed per company, book and year; balances re-derived in a second transaction; a replay answers the journal already posted.</bpmn:documentation>
<bpmn:incoming>Flow_Gateway_journal_none__if__Task_post_from_source</bpmn:incoming>
<bpmn:outgoing>Flow_Task_post_from_source__Gateway_journal_posted__if</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:userTask id="Task_propose_manual" name="Propose a manual journal" dodil:step="propose_manual">
<bpmn:documentation>By: Bookkeeper or Accountant / finance manager. From none to proposed. When: balanced; dated in an open period and not after today; the proposer has access to the company; no source-only or group account on a line. Effect: proposer recorded (email and sub); a ledger may be named (ledger-specific); reverse_next_period may be flagged (GL-50).</bpmn:documentation>
<bpmn:incoming>Flow_Gateway_journal_none__if__Task_propose_manual</bpmn:incoming>
<bpmn:outgoing>Flow_Task_propose_manual__Gateway_ai_check_journal__if</bpmn:outgoing>
</bpmn:userTask>
<bpmn:userTask id="Task_propose_cross_company" name="Propose a cross-company journal" dodil:step="propose_cross_company">
<bpmn:documentation>By: Bookkeeper or Accountant / finance manager. From none to proposed. When: lines in two or more companies the proposer has access to; ic_receivable and ic_payable mapped for every pair; each company's period open. Effect: one ic_document_id; the due-to and due-from lines computed and shown before approval (GL-51).</bpmn:documentation>
<bpmn:incoming>Flow_Gateway_journal_none__if__Task_propose_cross_company</bpmn:incoming>
<bpmn:outgoing>Flow_Task_propose_cross_company__Gateway_ai_check_journal__if</bpmn:outgoing>
</bpmn:userTask>
<bpmn:userTask id="Task_propose_audit_adjustment" name="Propose a year-end audit adjustment" dodil:step="propose_audit_adjustment">
<bpmn:documentation>By: Accountant / finance manager. From none to proposed. When: dated in the last period of an open financial year; that period closed. Effect: flagged adjustment, book adjustment; always waits for a second person (GL-56).</bpmn:documentation>
<bpmn:incoming>Flow_Gateway_journal_none__if__Task_propose_audit_adjustment</bpmn:incoming>
<bpmn:outgoing>Flow_Task_propose_audit_adjustment__Gateway_ai_check_journal__if</bpmn:outgoing>
</bpmn:userTask>
<bpmn:serviceTask id="Task_ai_check_journal" name="AI checks the journal (suggest)" dodil:step="ai_check_journal" implementation="##unspecified">
<bpmn:documentation>By: The system. From proposed to proposed. When: the check is on. Effect: findings listed for the approver.</bpmn:documentation>
<bpmn:incoming>Flow_Gateway_ai_check_journal__if__Task_ai_check_journal</bpmn:incoming>
<bpmn:outgoing>Flow_Task_ai_check_journal__Gateway_ai_check_journal__if_end</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:userTask id="Task_accept_journal_ai_findings" name="Accept or dismiss each AI finding" dodil:step="accept_journal_ai_findings">
<bpmn:documentation>By: Accountant / finance manager. From proposed to proposed. When: the journal has findings (GL-15). Effect: each decision recorded in gl_ai_finding.</bpmn:documentation>
<bpmn:incoming>Flow_Gateway_accept_journal_ai_findings__if__Task_accept_journal_ai_findings</bpmn:incoming>
<bpmn:outgoing>Flow_Task_accept_journal_ai_findings__Gateway_accept_journal_ai_findings__if_end</bpmn:outgoing>
</bpmn:userTask>
<bpmn:serviceTask id="Task_post_manual" name="Post without a second approver" dodil:step="post_manual" implementation="##unspecified">
<bpmn:documentation>By: The system. From proposed to posted. When: manual_journal_approval is none, or the total is at or below the threshold; never an adjustment or a cross-company journal above the threshold. Effect: numbered; split; chained; balances re-derived; an auto-reversal posted or held (GL-24).</bpmn:documentation>
<bpmn:incoming>Flow_Gateway_journal_proposed__if__Task_post_manual</bpmn:incoming>
<bpmn:outgoing>Flow_Task_post_manual__Gateway_journal_posted__if</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:userTask id="Task_approve_manual" name="Approve the manual journal" dodil:step="approve_manual" dodil:approval="true">
<bpmn:documentation>By: Accountant / finance manager. From proposed to posted. When: the approver is not the proposer (email AND sub); every company's period is still open (the last period closed but the year open, for an adjustment). Effect: numbered; approver recorded; one journal per company for a cross-company document, in one transaction; balances re-derived; the carry-forward marked stale for an adjustment. An approval.</bpmn:documentation>
<bpmn:incoming>Flow_Gateway_journal_proposed__if__Task_approve_manual</bpmn:incoming>
<bpmn:outgoing>Flow_Task_approve_manual__Gateway_journal_posted__if</bpmn:outgoing>
</bpmn:userTask>
<bpmn:userTask id="Task_reject_manual" name="Reject the manual journal" dodil:step="reject_manual">
<bpmn:documentation>By: Accountant / finance manager. From proposed to rejected. Requires: reason.</bpmn:documentation>
<bpmn:incoming>Flow_Gateway_journal_proposed__if__Task_reject_manual</bpmn:incoming>
<bpmn:outgoing>Flow_Task_reject_manual__End_journal_rejected</bpmn:outgoing>
</bpmn:userTask>
<bpmn:userTask id="Task_reverse_journal" name="Reverse the journal" dodil:step="reverse_journal">
<bpmn:documentation>By: Accountant / finance manager. From posted to reversed. When: the reversal date (today, or the first day of the next open period) is in an open period; no auto-reversal pending. Requires: reason. Effect: a mirror journal keyed derived_id(journal_id, 'reversal'), split the same way; neither is deleted; a cross-company journal reverses with its partners.</bpmn:documentation>
<bpmn:incoming>Flow_Gateway_journal_posted__if__Task_reverse_journal</bpmn:incoming>
<bpmn:outgoing>Flow_Task_reverse_journal__End_journal_reversed</bpmn:outgoing>
</bpmn:userTask>
<bpmn:serviceTask id="Task_post_pending_reversal" name="Post the auto-reversal" dodil:step="post_pending_reversal" implementation="##unspecified">
<bpmn:documentation>By: The system. From posted to reversed. When: the journal asked for a reversal on the next period's first day (accrual, revaluation, re-split) and that period is open. Effect: the mirror journal dated that day, once (GL-24).</bpmn:documentation>
<bpmn:incoming>Flow_Gateway_journal_posted__if__Task_post_pending_reversal</bpmn:incoming>
<bpmn:outgoing>Flow_Task_post_pending_reversal__End_journal_reversed</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:exclusiveGateway id="Gateway_journal_none__if" name="New journal?">
<bpmn:incoming>Flow_Start_journal__Gateway_journal_none__if</bpmn:incoming>
<bpmn:outgoing>Flow_Gateway_journal_none__if__Task_post_from_source</bpmn:outgoing>
<bpmn:outgoing>Flow_Gateway_journal_none__if__Task_propose_manual</bpmn:outgoing>
<bpmn:outgoing>Flow_Gateway_journal_none__if__Task_propose_cross_company</bpmn:outgoing>
<bpmn:outgoing>Flow_Gateway_journal_none__if__Task_propose_audit_adjustment</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:exclusiveGateway id="Gateway_journal_posted__if" name="Journal posted: what next?">
<bpmn:incoming>Flow_Task_post_from_source__Gateway_journal_posted__if</bpmn:incoming>
<bpmn:incoming>Flow_Task_post_manual__Gateway_journal_posted__if</bpmn:incoming>
<bpmn:incoming>Flow_Task_approve_manual__Gateway_journal_posted__if</bpmn:incoming>
<bpmn:outgoing>Flow_Gateway_journal_posted__if__Task_reverse_journal</bpmn:outgoing>
<bpmn:outgoing>Flow_Gateway_journal_posted__if__Task_post_pending_reversal</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:exclusiveGateway id="Gateway_ai_check_journal__if" name="the check is on?">
<bpmn:incoming>Flow_Task_propose_manual__Gateway_ai_check_journal__if</bpmn:incoming>
<bpmn:incoming>Flow_Task_propose_cross_company__Gateway_ai_check_journal__if</bpmn:incoming>
<bpmn:incoming>Flow_Task_propose_audit_adjustment__Gateway_ai_check_journal__if</bpmn:incoming>
<bpmn:outgoing>Flow_Gateway_ai_check_journal__if__Task_ai_check_journal</bpmn:outgoing>
<bpmn:outgoing>Flow_Gateway_ai_check_journal__if__Gateway_ai_check_journal__if_end</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:exclusiveGateway id="Gateway_ai_check_journal__if_end">
<bpmn:incoming>Flow_Gateway_ai_check_journal__if__Gateway_ai_check_journal__if_end</bpmn:incoming>
<bpmn:incoming>Flow_Task_ai_check_journal__Gateway_ai_check_journal__if_end</bpmn:incoming>
<bpmn:outgoing>Flow_Gateway_ai_check_journal__if_end__Gateway_accept_journal_ai_findings__if</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:exclusiveGateway id="Gateway_accept_journal_ai_findings__if" name="the journal has findings (GL-15)?">
<bpmn:incoming>Flow_Gateway_ai_check_journal__if_end__Gateway_accept_journal_ai_findings__if</bpmn:incoming>
<bpmn:outgoing>Flow_Gateway_accept_journal_ai_findings__if__Task_accept_journal_ai_findings</bpmn:outgoing>
<bpmn:outgoing>Flow_Gateway_accept_journal_ai_findings__if__Gateway_accept_journal_ai_findings__if_end</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:exclusiveGateway id="Gateway_accept_journal_ai_findings__if_end">
<bpmn:incoming>Flow_Gateway_accept_journal_ai_findings__if__Gateway_accept_journal_ai_findings__if_end</bpmn:incoming>
<bpmn:incoming>Flow_Task_accept_journal_ai_findings__Gateway_accept_journal_ai_findings__if_end</bpmn:incoming>
<bpmn:outgoing>Flow_Gateway_accept_journal_ai_findings__if_end__Gateway_journal_proposed__if</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:exclusiveGateway id="Gateway_journal_proposed__if" name="Journal proposed: what next?">
<bpmn:incoming>Flow_Gateway_accept_journal_ai_findings__if_end__Gateway_journal_proposed__if</bpmn:incoming>
<bpmn:outgoing>Flow_Gateway_journal_proposed__if__Task_post_manual</bpmn:outgoing>
<bpmn:outgoing>Flow_Gateway_journal_proposed__if__Task_approve_manual</bpmn:outgoing>
<bpmn:outgoing>Flow_Gateway_journal_proposed__if__Task_reject_manual</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:endEvent id="End_journal_rejected" name="Journal rejected">
<bpmn:incoming>Flow_Task_reject_manual__End_journal_rejected</bpmn:incoming>
</bpmn:endEvent>
<bpmn:endEvent id="End_journal_reversed" name="Journal reversed">
<bpmn:incoming>Flow_Task_reverse_journal__End_journal_reversed</bpmn:incoming>
<bpmn:incoming>Flow_Task_post_pending_reversal__End_journal_reversed</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_Gateway_journal_none__if__Task_post_from_source" sourceRef="Gateway_journal_none__if" targetRef="Task_post_from_source" />
<bpmn:sequenceFlow id="Flow_Gateway_journal_none__if__Task_propose_manual" sourceRef="Gateway_journal_none__if" targetRef="Task_propose_manual" />
<bpmn:sequenceFlow id="Flow_Gateway_journal_none__if__Task_propose_cross_company" sourceRef="Gateway_journal_none__if" targetRef="Task_propose_cross_company" />
<bpmn:sequenceFlow id="Flow_Gateway_journal_none__if__Task_propose_audit_adjustment" sourceRef="Gateway_journal_none__if" targetRef="Task_propose_audit_adjustment" />
<bpmn:sequenceFlow id="Flow_Start_journal__Gateway_journal_none__if" sourceRef="Start_journal" targetRef="Gateway_journal_none__if" />
<bpmn:sequenceFlow id="Flow_Gateway_journal_posted__if__Task_reverse_journal" sourceRef="Gateway_journal_posted__if" targetRef="Task_reverse_journal" />
<bpmn:sequenceFlow id="Flow_Gateway_journal_posted__if__Task_post_pending_reversal" sourceRef="Gateway_journal_posted__if" targetRef="Task_post_pending_reversal" />
<bpmn:sequenceFlow id="Flow_Task_post_from_source__Gateway_journal_posted__if" sourceRef="Task_post_from_source" targetRef="Gateway_journal_posted__if" />
<bpmn:sequenceFlow id="Flow_Gateway_ai_check_journal__if__Task_ai_check_journal" name="the check is on" sourceRef="Gateway_ai_check_journal__if" targetRef="Task_ai_check_journal" />
<bpmn:sequenceFlow id="Flow_Gateway_ai_check_journal__if__Gateway_ai_check_journal__if_end" name="otherwise" sourceRef="Gateway_ai_check_journal__if" targetRef="Gateway_ai_check_journal__if_end" />
<bpmn:sequenceFlow id="Flow_Task_ai_check_journal__Gateway_ai_check_journal__if_end" sourceRef="Task_ai_check_journal" targetRef="Gateway_ai_check_journal__if_end" />
<bpmn:sequenceFlow id="Flow_Gateway_accept_journal_ai_findings__if__Task_accept_journal_ai_findings" name="the journal has findings (GL-15)" sourceRef="Gateway_accept_journal_ai_findings__if" targetRef="Task_accept_journal_ai_findings" />
<bpmn:sequenceFlow id="Flow_Gateway_accept_journal_ai_findings__if__Gateway_accept_journal_ai_findings__if_end" name="otherwise" sourceRef="Gateway_accept_journal_ai_findings__if" targetRef="Gateway_accept_journal_ai_findings__if_end" />
<bpmn:sequenceFlow id="Flow_Task_accept_journal_ai_findings__Gateway_accept_journal_ai_findings__if_end" sourceRef="Task_accept_journal_ai_findings" targetRef="Gateway_accept_journal_ai_findings__if_end" />
<bpmn:sequenceFlow id="Flow_Gateway_ai_check_journal__if_end__Gateway_accept_journal_ai_findings__if" sourceRef="Gateway_ai_check_journal__if_end" targetRef="Gateway_accept_journal_ai_findings__if" />
<bpmn:sequenceFlow id="Flow_Gateway_journal_proposed__if__Task_post_manual" sourceRef="Gateway_journal_proposed__if" targetRef="Task_post_manual" />
<bpmn:sequenceFlow id="Flow_Gateway_journal_proposed__if__Task_approve_manual" sourceRef="Gateway_journal_proposed__if" targetRef="Task_approve_manual" />
<bpmn:sequenceFlow id="Flow_Gateway_journal_proposed__if__Task_reject_manual" sourceRef="Gateway_journal_proposed__if" targetRef="Task_reject_manual" />
<bpmn:sequenceFlow id="Flow_Gateway_accept_journal_ai_findings__if_end__Gateway_journal_proposed__if" sourceRef="Gateway_accept_journal_ai_findings__if_end" targetRef="Gateway_journal_proposed__if" />
<bpmn:sequenceFlow id="Flow_Task_propose_manual__Gateway_ai_check_journal__if" sourceRef="Task_propose_manual" targetRef="Gateway_ai_check_journal__if" />
<bpmn:sequenceFlow id="Flow_Task_propose_cross_company__Gateway_ai_check_journal__if" sourceRef="Task_propose_cross_company" targetRef="Gateway_ai_check_journal__if" />
<bpmn:sequenceFlow id="Flow_Task_propose_audit_adjustment__Gateway_ai_check_journal__if" sourceRef="Task_propose_audit_adjustment" targetRef="Gateway_ai_check_journal__if" />
<bpmn:sequenceFlow id="Flow_Task_post_manual__Gateway_journal_posted__if" sourceRef="Task_post_manual" targetRef="Gateway_journal_posted__if" />
<bpmn:sequenceFlow id="Flow_Task_approve_manual__Gateway_journal_posted__if" sourceRef="Task_approve_manual" targetRef="Gateway_journal_posted__if" />
<bpmn:sequenceFlow id="Flow_Task_reject_manual__End_journal_rejected" sourceRef="Task_reject_manual" targetRef="End_journal_rejected" />
<bpmn:sequenceFlow id="Flow_Task_reverse_journal__End_journal_reversed" sourceRef="Task_reverse_journal" targetRef="End_journal_reversed" />
<bpmn:sequenceFlow id="Flow_Task_post_pending_reversal__End_journal_reversed" sourceRef="Task_post_pending_reversal" targetRef="End_journal_reversed" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_gl_v9">
<bpmndi:BPMNPlane id="BPMNPlane_gl_v9" bpmnElement="Collaboration_gl_v9">
<bpmndi:BPMNShape id="Participant_gl_journal_di" bpmnElement="Participant_gl_journal" isHorizontal="true">
<dc:Bounds x="0" y="0" width="1810" height="900" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Lane_journal_system_di" bpmnElement="Lane_journal_system" isHorizontal="true">
<dc:Bounds x="30" y="0" width="1780" height="380" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Lane_journal_bookkeeper_di" bpmnElement="Lane_journal_bookkeeper" isHorizontal="true">
<dc:Bounds x="30" y="380" width="1780" height="260" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Lane_journal_accountant_di" bpmnElement="Lane_journal_accountant" isHorizontal="true">
<dc:Bounds x="30" y="640" width="1780" height="260" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Start_journal_di" bpmnElement="Start_journal">
<dc:Bounds x="157" y="42" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_post_from_source_di" bpmnElement="Task_post_from_source">
<dc:Bounds x="465" y="20" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_propose_manual_di" bpmnElement="Task_propose_manual">
<dc:Bounds x="465" y="400" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_propose_cross_company_di" bpmnElement="Task_propose_cross_company">
<dc:Bounds x="465" y="520" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_propose_audit_adjustment_di" bpmnElement="Task_propose_audit_adjustment">
<dc:Bounds x="465" y="660" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_ai_check_journal_di" bpmnElement="Task_ai_check_journal">
<dc:Bounds x="805" y="20" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_accept_journal_ai_findings_di" bpmnElement="Task_accept_journal_ai_findings">
<dc:Bounds x="1145" y="660" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_post_manual_di" bpmnElement="Task_post_manual">
<dc:Bounds x="1485" y="20" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_approve_manual_di" bpmnElement="Task_approve_manual">
<dc:Bounds x="1485" y="660" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_reject_manual_di" bpmnElement="Task_reject_manual">
<dc:Bounds x="1485" y="780" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_reverse_journal_di" bpmnElement="Task_reverse_journal">
<dc:Bounds x="805" y="660" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_post_pending_reversal_di" bpmnElement="Task_post_pending_reversal">
<dc:Bounds x="805" y="140" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_journal_none__if_di" bpmnElement="Gateway_journal_none__if">
<dc:Bounds x="320" y="35" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_journal_posted__if_di" bpmnElement="Gateway_journal_posted__if">
<dc:Bounds x="660" y="675" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_ai_check_journal__if_di" bpmnElement="Gateway_ai_check_journal__if">
<dc:Bounds x="660" y="35" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_ai_check_journal__if_end_di" bpmnElement="Gateway_ai_check_journal__if_end">
<dc:Bounds x="830" y="275" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_accept_journal_ai_findings__if_di" bpmnElement="Gateway_accept_journal_ai_findings__if">
<dc:Bounds x="1000" y="675" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_accept_journal_ai_findings__if_end_di" bpmnElement="Gateway_accept_journal_ai_findings__if_end">
<dc:Bounds x="1170" y="795" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_journal_proposed__if_di" bpmnElement="Gateway_journal_proposed__if">
<dc:Bounds x="1340" y="35" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="End_journal_rejected_di" bpmnElement="End_journal_rejected">
<dc:Bounds x="1687" y="682" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="End_journal_reversed_di" bpmnElement="End_journal_reversed">
<dc:Bounds x="1007" y="802" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_Gateway_journal_none__if__Task_post_from_source_di" bpmnElement="Flow_Gateway_journal_none__if__Task_post_from_source">
<di:waypoint x="370" y="60" />
<di:waypoint x="465" y="60" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Gateway_journal_none__if__Task_propose_manual_di" bpmnElement="Flow_Gateway_journal_none__if__Task_propose_manual">
<di:waypoint x="370" y="60" />
<di:waypoint x="440" y="60" />
<di:waypoint x="440" y="440" />
<di:waypoint x="465" y="440" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Gateway_journal_none__if__Task_propose_cross_company_di" bpmnElement="Flow_Gateway_journal_none__if__Task_propose_cross_company">
<di:waypoint x="370" y="60" />
<di:waypoint x="440" y="60" />
<di:waypoint x="440" y="560" />
<di:waypoint x="465" y="560" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Gateway_journal_none__if__Task_propose_audit_adjustment_di" bpmnElement="Flow_Gateway_journal_none__if__Task_propose_audit_adjustment">
<di:waypoint x="370" y="60" />
<di:waypoint x="440" y="60" />
<di:waypoint x="440" y="700" />
<di:waypoint x="465" y="700" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Start_journal__Gateway_journal_none__if_di" bpmnElement="Flow_Start_journal__Gateway_journal_none__if">
<di:waypoint x="193" y="60" />
<di:waypoint x="320" y="60" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Gateway_journal_posted__if__Task_reverse_journal_di" bpmnElement="Flow_Gateway_journal_posted__if__Task_reverse_journal">
<di:waypoint x="710" y="700" />
<di:waypoint x="805" y="700" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Gateway_journal_posted__if__Task_post_pending_reversal_di" bpmnElement="Flow_Gateway_journal_posted__if__Task_post_pending_reversal">
<di:waypoint x="710" y="700" />
<di:waypoint x="780" y="700" />
<di:waypoint x="780" y="180" />
<di:waypoint x="805" y="180" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Task_post_from_source__Gateway_journal_posted__if_di" bpmnElement="Flow_Task_post_from_source__Gateway_journal_posted__if">
<di:waypoint x="565" y="60" />
<di:waypoint x="635" y="60" />
<di:waypoint x="635" y="700" />
<di:waypoint x="660" y="700" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Gateway_ai_check_journal__if__Task_ai_check_journal_di" bpmnElement="Flow_Gateway_ai_check_journal__if__Task_ai_check_journal">
<di:waypoint x="710" y="60" />
<di:waypoint x="805" y="60" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Gateway_ai_check_journal__if__Gateway_ai_check_journal__if_end_di" bpmnElement="Flow_Gateway_ai_check_journal__if__Gateway_ai_check_journal__if_end">
<di:waypoint x="710" y="60" />
<di:waypoint x="805" y="60" />
<di:waypoint x="805" y="300" />
<di:waypoint x="830" y="300" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Task_ai_check_journal__Gateway_ai_check_journal__if_end_di" bpmnElement="Flow_Task_ai_check_journal__Gateway_ai_check_journal__if_end">
<di:waypoint x="855" y="100" />
<di:waypoint x="855" y="340" />
<di:waypoint x="855" y="340" />
<di:waypoint x="855" y="325" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Gateway_accept_journal_ai_findings__if__Task_accept_journal_ai_findings_di" bpmnElement="Flow_Gateway_accept_journal_ai_findings__if__Task_accept_journal_ai_findings">
<di:waypoint x="1050" y="700" />
<di:waypoint x="1145" y="700" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Gateway_accept_journal_ai_findings__if__Gateway_accept_journal_ai_findings__if_end_di" bpmnElement="Flow_Gateway_accept_journal_ai_findings__if__Gateway_accept_journal_ai_findings__if_end">
<di:waypoint x="1050" y="700" />
<di:waypoint x="1145" y="700" />
<di:waypoint x="1145" y="820" />
<di:waypoint x="1170" y="820" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Task_accept_journal_ai_findings__Gateway_accept_journal_ai_findings__if_end_di" bpmnElement="Flow_Task_accept_journal_ai_findings__Gateway_accept_journal_ai_findings__if_end">
<di:waypoint x="1195" y="740" />
<di:waypoint x="1195" y="866" />
<di:waypoint x="1195" y="866" />
<di:waypoint x="1195" y="845" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Gateway_ai_check_journal__if_end__Gateway_accept_journal_ai_findings__if_di" bpmnElement="Flow_Gateway_ai_check_journal__if_end__Gateway_accept_journal_ai_findings__if">
<di:waypoint x="880" y="300" />
<di:waypoint x="975" y="300" />
<di:waypoint x="975" y="700" />
<di:waypoint x="1000" y="700" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Gateway_journal_proposed__if__Task_post_manual_di" bpmnElement="Flow_Gateway_journal_proposed__if__Task_post_manual">
<di:waypoint x="1390" y="60" />
<di:waypoint x="1485" y="60" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Gateway_journal_proposed__if__Task_approve_manual_di" bpmnElement="Flow_Gateway_journal_proposed__if__Task_approve_manual">
<di:waypoint x="1390" y="60" />
<di:waypoint x="1460" y="60" />
<di:waypoint x="1460" y="700" />
<di:waypoint x="1485" y="700" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Gateway_journal_proposed__if__Task_reject_manual_di" bpmnElement="Flow_Gateway_journal_proposed__if__Task_reject_manual">
<di:waypoint x="1390" y="60" />
<di:waypoint x="1460" y="60" />
<di:waypoint x="1460" y="820" />
<di:waypoint x="1485" y="820" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Gateway_accept_journal_ai_findings__if_end__Gateway_journal_proposed__if_di" bpmnElement="Flow_Gateway_accept_journal_ai_findings__if_end__Gateway_journal_proposed__if">
<di:waypoint x="1220" y="820" />
<di:waypoint x="1315" y="820" />
<di:waypoint x="1315" y="60" />
<di:waypoint x="1340" y="60" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Task_propose_manual__Gateway_ai_check_journal__if_di" bpmnElement="Flow_Task_propose_manual__Gateway_ai_check_journal__if">
<di:waypoint x="565" y="440" />
<di:waypoint x="635" y="440" />
<di:waypoint x="635" y="60" />
<di:waypoint x="660" y="60" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Task_propose_cross_company__Gateway_ai_check_journal__if_di" bpmnElement="Flow_Task_propose_cross_company__Gateway_ai_check_journal__if">
<di:waypoint x="565" y="560" />
<di:waypoint x="635" y="560" />
<di:waypoint x="635" y="60" />
<di:waypoint x="660" y="60" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Task_propose_audit_adjustment__Gateway_ai_check_journal__if_di" bpmnElement="Flow_Task_propose_audit_adjustment__Gateway_ai_check_journal__if">
<di:waypoint x="565" y="700" />
<di:waypoint x="635" y="700" />
<di:waypoint x="635" y="60" />
<di:waypoint x="660" y="60" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Task_post_manual__Gateway_journal_posted__if_di" bpmnElement="Flow_Task_post_manual__Gateway_journal_posted__if">
<di:waypoint x="1535" y="100" />
<di:waypoint x="1535" y="752" />
<di:waypoint x="685" y="752" />
<di:waypoint x="685" y="725" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Task_approve_manual__Gateway_journal_posted__if_di" bpmnElement="Flow_Task_approve_manual__Gateway_journal_posted__if">
<di:waypoint x="1535" y="740" />
<di:waypoint x="1535" y="773" />
<di:waypoint x="685" y="773" />
<di:waypoint x="685" y="725" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Task_reject_manual__End_journal_rejected_di" bpmnElement="Flow_Task_reject_manual__End_journal_rejected">
<di:waypoint x="1585" y="820" />
<di:waypoint x="1662" y="820" />
<di:waypoint x="1662" y="700" />
<di:waypoint x="1687" y="700" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Task_reverse_journal__End_journal_reversed_di" bpmnElement="Flow_Task_reverse_journal__End_journal_reversed">
<di:waypoint x="905" y="700" />
<di:waypoint x="982" y="700" />
<di:waypoint x="982" y="820" />
<di:waypoint x="1007" y="820" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Task_post_pending_reversal__End_journal_reversed_di" bpmnElement="Flow_Task_post_pending_reversal__End_journal_reversed">
<di:waypoint x="905" y="180" />
<di:waypoint x="982" y="180" />
<di:waypoint x="982" y="820" />
<di:waypoint x="1007" y="820" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>