dodil/erp-method
modules/tax/signoff/tax/history/tax_pva_statement.v1.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_tax_v4" name="Tax (VAT) processes" targetNamespace="https://git.dodil.io/dodil/erp-platform/processes" exporter="erp-platform erp-compose bpmn" exporterVersion="1">
<bpmn:collaboration id="Collaboration_tax_v4">
<bpmn:documentation>Tax (VAT): one pool per entity lifecycle, generated from module.yaml.</bpmn:documentation>
<bpmn:participant id="Participant_tax_pva_statement" name="Pva statement" processRef="Process_tax_pva_statement_v4" />
</bpmn:collaboration>
<bpmn:process id="Process_tax_pva_statement_v4" name="Pva statement" isExecutable="false">
<bpmn:documentation>Lifecycle of the pva statement, generated from module.yaml by erp-compose bpmn; change the workflow there, not this file. States: imported, reconciled.</bpmn:documentation>
<bpmn:laneSet id="LaneSet_pva_statement">
<bpmn:lane id="Lane_pva_statement_tax_admin" name="Whoever is responsible for VAT (the owner, the bookkeeper, the accountant)">
<bpmn:flowNodeRef>Start_pva_statement</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Task_import_pva_statement</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Task_explain_pva_difference</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Task_reconcile_pva_statement</bpmn:flowNodeRef>
<bpmn:flowNodeRef>End_pva_statement_reconciled</bpmn:flowNodeRef>
</bpmn:lane>
<bpmn:lane id="Lane_pva_statement_system" name="The system">
<bpmn:flowNodeRef>Task_match_pva_statement</bpmn:flowNodeRef>
</bpmn:lane>
</bpmn:laneSet>
<bpmn:startEvent id="Start_pva_statement" name="Pva statement needed">
<bpmn:outgoing>Flow_Start_pva_statement__Task_import_pva_statement</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:userTask id="Task_import_pva_statement" name="Upload the month's postponed import VAT statement" dodil:step="import_pva_statement">
<bpmn:documentation>By: Whoever is responsible for VAT (the owner, the bookkeeper, the accountant). From none to imported. When: one statement per month. Effect: statement lines kept, the file kept as an object.</bpmn:documentation>
<bpmn:incoming>Flow_Start_pva_statement__Task_import_pva_statement</bpmn:incoming>
<bpmn:outgoing>Flow_Task_import_pva_statement__Task_match_pva_statement</bpmn:outgoing>
</bpmn:userTask>
<bpmn:serviceTask id="Task_match_pva_statement" name="Match statement lines to import entries" dodil:step="match_pva_statement" implementation="##unspecified">
<bpmn:documentation>By: The system. From imported to imported. Effect: each line matched by MRN, with any difference.</bpmn:documentation>
<bpmn:incoming>Flow_Task_import_pva_statement__Task_match_pva_statement</bpmn:incoming>
<bpmn:outgoing>Flow_Task_match_pva_statement__Task_explain_pva_difference</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:userTask id="Task_explain_pva_difference" name="Explain a difference" dodil:step="explain_pva_difference">
<bpmn:documentation>By: Whoever is responsible for VAT (the owner, the bookkeeper, the accountant). From imported to imported. Requires: reason.</bpmn:documentation>
<bpmn:incoming>Flow_Task_match_pva_statement__Task_explain_pva_difference</bpmn:incoming>
<bpmn:outgoing>Flow_Task_explain_pva_difference__Task_reconcile_pva_statement</bpmn:outgoing>
</bpmn:userTask>
<bpmn:userTask id="Task_reconcile_pva_statement" name="Reconcile the statement" dodil:step="reconcile_pva_statement">
<bpmn:documentation>By: Whoever is responsible for VAT (the owner, the bookkeeper, the accountant). From imported to reconciled. When: every line matched or explained. Effect: the return uses the reconciled figures (TAX-45).</bpmn:documentation>
<bpmn:incoming>Flow_Task_explain_pva_difference__Task_reconcile_pva_statement</bpmn:incoming>
<bpmn:outgoing>Flow_Task_reconcile_pva_statement__End_pva_statement_reconciled</bpmn:outgoing>
</bpmn:userTask>
<bpmn:endEvent id="End_pva_statement_reconciled" name="Pva statement reconciled">
<bpmn:incoming>Flow_Task_reconcile_pva_statement__End_pva_statement_reconciled</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_Start_pva_statement__Task_import_pva_statement" sourceRef="Start_pva_statement" targetRef="Task_import_pva_statement" />
<bpmn:sequenceFlow id="Flow_Task_match_pva_statement__Task_explain_pva_difference" sourceRef="Task_match_pva_statement" targetRef="Task_explain_pva_difference" />
<bpmn:sequenceFlow id="Flow_Task_explain_pva_difference__Task_reconcile_pva_statement" sourceRef="Task_explain_pva_difference" targetRef="Task_reconcile_pva_statement" />
<bpmn:sequenceFlow id="Flow_Task_import_pva_statement__Task_match_pva_statement" sourceRef="Task_import_pva_statement" targetRef="Task_match_pva_statement" />
<bpmn:sequenceFlow id="Flow_Task_reconcile_pva_statement__End_pva_statement_reconciled" sourceRef="Task_reconcile_pva_statement" targetRef="End_pva_statement_reconciled" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_tax_v4">
<bpmndi:BPMNPlane id="BPMNPlane_tax_v4" bpmnElement="Collaboration_tax_v4">
<bpmndi:BPMNShape id="Participant_tax_pva_statement_di" bpmnElement="Participant_tax_pva_statement" isHorizontal="true">
<dc:Bounds x="0" y="0" width="1130" height="280" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Lane_pva_statement_tax_admin_di" bpmnElement="Lane_pva_statement_tax_admin" isHorizontal="true">
<dc:Bounds x="30" y="0" width="1100" height="140" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Lane_pva_statement_system_di" bpmnElement="Lane_pva_statement_system" isHorizontal="true">
<dc:Bounds x="30" y="140" width="1100" height="140" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Start_pva_statement_di" bpmnElement="Start_pva_statement">
<dc:Bounds x="157" y="42" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_import_pva_statement_di" bpmnElement="Task_import_pva_statement">
<dc:Bounds x="295" y="20" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_match_pva_statement_di" bpmnElement="Task_match_pva_statement">
<dc:Bounds x="465" y="160" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_explain_pva_difference_di" bpmnElement="Task_explain_pva_difference">
<dc:Bounds x="635" y="20" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_reconcile_pva_statement_di" bpmnElement="Task_reconcile_pva_statement">
<dc:Bounds x="805" y="20" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="End_pva_statement_reconciled_di" bpmnElement="End_pva_statement_reconciled">
<dc:Bounds x="1007" y="42" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_Start_pva_statement__Task_import_pva_statement_di" bpmnElement="Flow_Start_pva_statement__Task_import_pva_statement">
<di:waypoint x="193" y="60" />
<di:waypoint x="295" y="60" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Task_match_pva_statement__Task_explain_pva_difference_di" bpmnElement="Flow_Task_match_pva_statement__Task_explain_pva_difference">
<di:waypoint x="565" y="200" />
<di:waypoint x="610" y="200" />
<di:waypoint x="610" y="60" />
<di:waypoint x="635" y="60" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Task_explain_pva_difference__Task_reconcile_pva_statement_di" bpmnElement="Flow_Task_explain_pva_difference__Task_reconcile_pva_statement">
<di:waypoint x="735" y="60" />
<di:waypoint x="805" y="60" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Task_import_pva_statement__Task_match_pva_statement_di" bpmnElement="Flow_Task_import_pva_statement__Task_match_pva_statement">
<di:waypoint x="395" y="60" />
<di:waypoint x="440" y="60" />
<di:waypoint x="440" y="200" />
<di:waypoint x="465" y="200" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Task_reconcile_pva_statement__End_pva_statement_reconciled_di" bpmnElement="Flow_Task_reconcile_pva_statement__End_pva_statement_reconciled">
<di:waypoint x="905" y="60" />
<di:waypoint x="1007" y="60" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>