<?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" targetNamespace="http://bpmn.io/schema/bpmn" id="Definitions_CDMemo">
  <bpmn:process id="Process_CDMemo" isExecutable="false">
    <bpmn:startEvent id="SE_Start" name="Billing Error Identified"><bpmn:outgoing>SF_1</bpmn:outgoing></bpmn:startEvent>
    <bpmn:userTask id="T_MemoRequest" name="Create Memo Request (with Billing Block)"><bpmn:incoming>SF_1</bpmn:incoming><bpmn:outgoing>SF_2</bpmn:outgoing></bpmn:userTask>
    <bpmn:userTask id="T_Review" name="Manager Reviews Correction"><bpmn:incoming>SF_2</bpmn:incoming><bpmn:outgoing>SF_3</bpmn:outgoing></bpmn:userTask>
    <bpmn:exclusiveGateway id="GW_Approve" name="Approved?"><bpmn:incoming>SF_3</bpmn:incoming><bpmn:outgoing>SF_Yes</bpmn:outgoing><bpmn:outgoing>SF_No</bpmn:outgoing></bpmn:exclusiveGateway>
    <bpmn:userTask id="T_RemoveBlock" name="Remove Billing Block"><bpmn:incoming>SF_Yes</bpmn:incoming><bpmn:outgoing>SF_4</bpmn:outgoing></bpmn:userTask>
    <bpmn:userTask id="T_Billing" name="Create Credit / Debit Memo Billing Doc"><bpmn:incoming>SF_4</bpmn:incoming><bpmn:outgoing>SF_5</bpmn:outgoing></bpmn:userTask>
    <bpmn:endEvent id="SE_Posted" name="Memo Posted"><bpmn:incoming>SF_5</bpmn:incoming></bpmn:endEvent>
    <bpmn:endEvent id="SE_Rejected" name="Request Rejected"><bpmn:incoming>SF_No</bpmn:incoming></bpmn:endEvent>
    <bpmn:sequenceFlow id="SF_1" sourceRef="SE_Start" targetRef="T_MemoRequest"/>
    <bpmn:sequenceFlow id="SF_2" sourceRef="T_MemoRequest" targetRef="T_Review"/>
    <bpmn:sequenceFlow id="SF_3" sourceRef="T_Review" targetRef="GW_Approve"/>
    <bpmn:sequenceFlow id="SF_Yes" name="Yes" sourceRef="GW_Approve" targetRef="T_RemoveBlock"/>
    <bpmn:sequenceFlow id="SF_No" name="No" sourceRef="GW_Approve" targetRef="SE_Rejected"/>
    <bpmn:sequenceFlow id="SF_4" sourceRef="T_RemoveBlock" targetRef="T_Billing"/>
    <bpmn:sequenceFlow id="SF_5" sourceRef="T_Billing" targetRef="SE_Posted"/>
  </bpmn:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_CDMemo">
      <bpmndi:BPMNShape id="Sh_SE_Start" bpmnElement="SE_Start"><dc:Bounds x="52" y="182" width="36" height="36"/><bpmndi:BPMNLabel><dc:Bounds x="28" y="225" width="84" height="27"/></bpmndi:BPMNLabel></bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Sh_T_MemoRequest" bpmnElement="T_MemoRequest"><dc:Bounds x="140" y="160" width="130" height="80"/></bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Sh_T_Review" bpmnElement="T_Review"><dc:Bounds x="330" y="160" width="130" height="80"/></bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Sh_GW_Approve" bpmnElement="GW_Approve" isMarkerVisible="true"><dc:Bounds x="520" y="175" width="50" height="50"/><bpmndi:BPMNLabel><dc:Bounds x="510" y="232" width="70" height="14"/></bpmndi:BPMNLabel></bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Sh_T_RemoveBlock" bpmnElement="T_RemoveBlock"><dc:Bounds x="630" y="160" width="130" height="80"/></bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Sh_T_Billing" bpmnElement="T_Billing"><dc:Bounds x="820" y="160" width="130" height="80"/></bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Sh_SE_Posted" bpmnElement="SE_Posted"><dc:Bounds x="1010" y="182" width="36" height="36"/><bpmndi:BPMNLabel><dc:Bounds x="996" y="225" width="64" height="27"/></bpmndi:BPMNLabel></bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Sh_SE_Rejected" bpmnElement="SE_Rejected"><dc:Bounds x="520" y="332" width="36" height="36"/><bpmndi:BPMNLabel><dc:Bounds x="496" y="375" width="84" height="27"/></bpmndi:BPMNLabel></bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Ed_SF_1" bpmnElement="SF_1"><di:waypoint x="88" y="200"/><di:waypoint x="140" y="200"/></bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Ed_SF_2" bpmnElement="SF_2"><di:waypoint x="270" y="200"/><di:waypoint x="330" y="200"/></bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Ed_SF_3" bpmnElement="SF_3"><di:waypoint x="460" y="200"/><di:waypoint x="520" y="200"/></bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Ed_SF_Yes" bpmnElement="SF_Yes"><di:waypoint x="570" y="200"/><di:waypoint x="630" y="200"/><bpmndi:BPMNLabel><dc:Bounds x="586" y="182" width="22" height="14"/></bpmndi:BPMNLabel></bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Ed_SF_No" bpmnElement="SF_No"><di:waypoint x="545" y="225"/><di:waypoint x="545" y="332"/><bpmndi:BPMNLabel><dc:Bounds x="551" y="268" width="18" height="14"/></bpmndi:BPMNLabel></bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Ed_SF_4" bpmnElement="SF_4"><di:waypoint x="760" y="200"/><di:waypoint x="820" y="200"/></bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Ed_SF_5" bpmnElement="SF_5"><di:waypoint x="950" y="200"/><di:waypoint x="1010" y="200"/></bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>
