{
   "settlement":{
      "approvedBy":{
         "email":"igu@scalepoint.com",
         "name":"Igu Admin",
         "username":"iguadmin",
         "type":"user"
      },
      "summary":{
         "deductible":200.0,
         "shareOfVat":0.0,
         "depreciation":0.0,
         "manualReduction":100.0
      },
      "revisionToken":"0258ADE7-AFE6-4A32-A80A-2FA1F83502D3"
   },
   "parties":[
      {
         "$id":"/parties/2",
         "name":"Roger Berry",
         "address":{
            "street":"",
            "street2":"",
            "city":"igu",
            "postalCode":"1111",
            "countryCode":""
         },
         "contact":{
            "name":"Roger Berry",
            "telephone":"",
            "email":"igu@scalepoint.com"
         }
      },
      {
         "$id":"/parties/0",
         "name":"Scalepoint",
         "address":{
            "street":"ScalepointStreet01",
            "street2":"ScalepointStreet02",
            "city":"CityOfScalepoint",
            "postalCode":"12345",
            "countryCode":"24"
         }
      },
      {
         "$id":"/parties/1",
         "name":"Scalepoint",
         "address":{
            "street":"ScalepointStreet01",
            "street2":"ScalepointStreet02",
            "city":"CityOfScalepoint",
            "postalCode":"12345",
            "countryCode":"24"
         }
      }
   ],
   "expenses":[
      {
         "$id":"/expenses/0",
         "uuid":"b6b47d87-ba45-4ff7-9d76-29d2fa91bfea",
         "dueDate":"2018-12-21T14:09:37.432Z",
         "issueDate":"2018-12-21T14:09:37.432Z",
         "total":3500.00,
         "currencyCode":"DKK",
         "administrative":false,
         "payerParty":{
            "$ref":"/parties/1"
         },
         "payeeParty":{
            "$ref":"/parties/2"
         },
         "expenseType":"cashCompensation"
      }
   ],
   "payments":[
      {
         "uuid":"c984ba3e-17fc-467a-bf2e-79fe87285dea",
         "dueDate":"2018-12-21T14:10:04.125Z",
         "total":3200.00,
         "currencyCode":"DKK",
         "payerParty":{
            "$ref":"/parties/1"
         },
         "payeeParty":{
            "$ref":"/parties/0"
         },
         "expenses":[
            {
               "$ref":"/expenses/0"
            }
         ],
         "obligations":[
            {
               "$ref":"/obligations/1"
            }
         ],
         "paymentMeans":{
            "payeeFinancialAccount":{
               "id":"12345678",
               "fiBranch":{
                  "id":"8765"
               },
               "paymentNote":"iguadmin_2018-12-21T",
               "paymentDescription":"iguadmin_2018-12-21T12:08:01.608Z"
            },
            "paymentMeansCode":"DOMESTIC_BANK_TRANSFER",
            "paymentChannelCode":"DK:BANK"
         }
      }
   ],
   "obligations":[
      {
         "$id":"/obligations/0",
         "obligationType":"compensation",
         "total":3200.00,
         "currencyCode":"DKK",
         "payerParty":{
            "$ref":"/parties/0"
         },
         "payeeParty":{
            "$ref":"/parties/2"
         },
         "expense":{
            "$ref":"/expenses/0"
         }
      },
      {
         "$id":"/obligations/1",
         "obligationType":"compensation",
         "total":3200.00,
         "currencyCode":"DKK",
         "payerParty":{
            "$ref":"/parties/1"
         },
         "payeeParty":{
            "$ref":"/parties/0"
         },
         "expense":{
            "$ref":"/expenses/0"
         }
      },
      {
         "$id":"/obligations/2",
         "obligationType":"deductible",
         "total":200.00,
         "currencyCode":"DKK",
         "payerParty":{
            "$ref":"/parties/2"
         },
         "payeeParty":{
            "$ref":"/parties/2"
         },
         "expense":{
            "$ref":"/expenses/0"
         }
      },
      {
         "$id":"/obligations/3",
         "obligationType":"manualReduction",
         "total":100.00,
         "currencyCode":"DKK",
         "payerParty":{
            "$ref":"/parties/2"
         },
         "payeeParty":{
            "$ref":"/parties/2"
         },
         "expense":{
            "$ref":"/expenses/0"
         }
      }
   ],
   "eventType":"case_settled",
   "payloadVersion":"1.0.0",
   "correlationId":"65B9238F-9F04-4B3D-B0AD-7DF7D693273A",
   "timestamp":"2018-12-21T14:09:25.470Z",
   "case":{
      "uuid":"79588eed-d68e-4672-8601-414c83325844",
      "number":"iguadmin_2018-12-21T12:08:01.608Z",
      "externalClaimId":"",
      "token":"c.65B9238F-9F04-4B3D-B0AD-7DF7D693273A",
      "caseType":"contentClaim",
      "company":"ic_company"
   }
}
