{
  "accountNumber": "124353",
  "billingContact": {
    "firstName": "John",
    "lastName": "Doe",
    "email": "john.doe@example.lk"
  },
  "billingFrequency": "MONTHLY",
  "invoiceLanguage": "English",
  "invoiceFormat": "PDF",
  "invoices": [
    {
      "invoiceId": "123435",
      "transactionNumber": "654321879",
      "amount": 456.87,
      "date": "2017-03-23",
      "type": "CREDIT_MEMO",
      "documents": [
        {
          "documentId": "24242",
          "fileType": "PDF_DETAILS",
          "type": "STATEMENT"
        },
        {
          "documentId": "3521de",
          "fileType": "PDF_DETAILS",
          "type": "INVOICE"
        },
        {
          "documentId": "234234de",
          "fileType": "PDF_DETAILS",
          "type": "MANUAL_INVOICE"
        }
      ]
    },
    {
      "invoiceId": "123435",
      "transactionNumber": "654321879",
      "date": "2017-03-23",
      "type": "CREDIT_MEMO",
      "amount": -1456.87,
      "documents": [
        {
          "documentId": "242142",
          "fileType": "PDF_DETAILS",
          "type": "STATEMENT"
        }
      ]
    }
  ],
  "currencyCode": "GBP",
  "payments": [
    {
      "paymentId": "123435",
      "amount": 43218.79,
      "date": "2017-03-23",
      "type": "APPLIED"
    }
  ]
}