dodil/erp-method
modules/payments/signoff/payments/payments_remittance.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_payments_v8" name="Payments & collections processes" targetNamespace="https://git.dodil.io/dodil/erp-platform/processes" exporter="erp-platform erp-compose bpmn" exporterVersion="1">
<bpmn:collaboration id="Collaboration_payments_v8">
<bpmn:documentation>Payments & collections: one pool per entity lifecycle, generated from module.yaml.</bpmn:documentation>
<bpmn:participant id="Participant_payments_remittance" name="Remittance" processRef="Process_payments_remittance_v8" />
</bpmn:collaboration>
<bpmn:process id="Process_payments_remittance_v8" name="Remittance" isExecutable="false">
<bpmn:documentation>Lifecycle of the remittance, generated from module.yaml by erp-compose bpmn; change the workflow there, not this file. States: imported, applied.</bpmn:documentation>
<bpmn:laneSet id="LaneSet_remittance">
<bpmn:lane id="Lane_remittance_cashier" name="Whoever records money (bookkeeper, office manager)">
<bpmn:flowNodeRef>Start_remittance</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Task_import_remittance_file</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Task_apply_remittance</bpmn:flowNodeRef>
<bpmn:flowNodeRef>End_remittance_applied</bpmn:flowNodeRef>
</bpmn:lane>
</bpmn:laneSet>
<bpmn:startEvent id="Start_remittance" name="Remittance needed">
<bpmn:outgoing>Flow_Start_remittance__Task_import_remittance_file</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:userTask id="Task_import_remittance_file" name="Import a remittance advice or lockbox file (v3)" dodil:step="import_remittance_file">
<bpmn:documentation>By: Whoever records money (bookkeeper, office manager). From none to imported. When: CSV, camt.054 or BAI2; not imported before (keyed on the file's own reference). Effect: lines kept and linked to their receipt; a remittance suggestion opened per receipt; a lockbox file records its receipts (PAY-17).</bpmn:documentation>
<bpmn:incoming>Flow_Start_remittance__Task_import_remittance_file</bpmn:incoming>
<bpmn:outgoing>Flow_Task_import_remittance_file__Task_apply_remittance</bpmn:outgoing>
</bpmn:userTask>
<bpmn:userTask id="Task_apply_remittance" name="Accept the allocation the remittance proposes" dodil:step="apply_remittance">
<bpmn:documentation>By: Whoever records money (bookkeeper, office manager). From imported to applied. When: each line's invoice is open for at least the amount. Effect: allocations with decided_how remittance; deductions become disputes.</bpmn:documentation>
<bpmn:incoming>Flow_Task_import_remittance_file__Task_apply_remittance</bpmn:incoming>
<bpmn:outgoing>Flow_Task_apply_remittance__End_remittance_applied</bpmn:outgoing>
</bpmn:userTask>
<bpmn:endEvent id="End_remittance_applied" name="Remittance applied">
<bpmn:incoming>Flow_Task_apply_remittance__End_remittance_applied</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_Start_remittance__Task_import_remittance_file" sourceRef="Start_remittance" targetRef="Task_import_remittance_file" />
<bpmn:sequenceFlow id="Flow_Task_import_remittance_file__Task_apply_remittance" sourceRef="Task_import_remittance_file" targetRef="Task_apply_remittance" />
<bpmn:sequenceFlow id="Flow_Task_apply_remittance__End_remittance_applied" sourceRef="Task_apply_remittance" targetRef="End_remittance_applied" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_payments_v8">
<bpmndi:BPMNPlane id="BPMNPlane_payments_v8" bpmnElement="Collaboration_payments_v8">
<bpmndi:BPMNShape id="Participant_payments_remittance_di" bpmnElement="Participant_payments_remittance" isHorizontal="true">
<dc:Bounds x="0" y="0" width="790" height="140" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Lane_remittance_cashier_di" bpmnElement="Lane_remittance_cashier" isHorizontal="true">
<dc:Bounds x="30" y="0" width="760" height="140" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Start_remittance_di" bpmnElement="Start_remittance">
<dc:Bounds x="157" y="42" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_import_remittance_file_di" bpmnElement="Task_import_remittance_file">
<dc:Bounds x="295" y="20" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_apply_remittance_di" bpmnElement="Task_apply_remittance">
<dc:Bounds x="465" y="20" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="End_remittance_applied_di" bpmnElement="End_remittance_applied">
<dc:Bounds x="667" y="42" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_Start_remittance__Task_import_remittance_file_di" bpmnElement="Flow_Start_remittance__Task_import_remittance_file">
<di:waypoint x="193" y="60" />
<di:waypoint x="295" y="60" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Task_import_remittance_file__Task_apply_remittance_di" bpmnElement="Flow_Task_import_remittance_file__Task_apply_remittance">
<di:waypoint x="395" y="60" />
<di:waypoint x="465" y="60" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Task_apply_remittance__End_remittance_applied_di" bpmnElement="Flow_Task_apply_remittance__End_remittance_applied">
<di:waypoint x="565" y="60" />
<di:waypoint x="667" y="60" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>