HomeGuidesAPIsReleasesDownloadsDeveloperEvents
Log In
Guides

Enter credit control

SERVICE_COMMERCIAL_ENTER_CREDIT_CONTROL

{
  "eventId": "GUID", 
  "eventType": "SERVICE_COMMERCIAL_ENTER_CREDIT_CONTROL",
  "tenantId": "GUID",
  "eventDate": "YYYY-MM-DD 00:00:00",
  "data": {
    "accountIdentifier": "string",
    "accountBalance": {
      "amount": 0,
      "currencyCode": "string"
    },
    "taxInclusive": true,
    "company": {
      "companyIdentifier": "string",
      "companyName": "string",
      "companyType": "string"
    },
    "totalSubscriptionCharges": {
      "amount": 0,
      "currencyCode": "string"
    },
    "totalOneOffCharges": {
      "amount": 0,
      "currencyCode": "string"
    },
    "totalCharges": {
      "amount": 0,
      "currencyCode": "string"
    },
    "totalSubscriptionDiscounts": {
      "amount": 0,
      "currencyCode": "string"
    },
    "totalOneOffDiscounts": {
      "amount": 0,
      "currencyCode": "string"
    },
    "totalDiscounts": {
      "amount": 0,
      "currencyCode": "string"
    },
    "totalAdjustments": {
      "amount": 0,
      "currencyCode": "string"
    },
    "totalExcludingVAT": {
      "amount": 0,
      "currencyCode": "string"
    },
    "totalVAT": {
      "amount": 0,
      "currencyCode": "string"
    },
    "totalIncludingVAT": {
      "amount": 0,
      "currencyCode": "string"
    },
    "totalOutstanding": {
      "amount": 0,
      "currencyCode": "string"
    },
    "creditControlEntryDate": "YYYY-MM-DD",
    "daysInCreditControl": 0,
    "outstandingInvoices": [
      {
        "invoiceIdentifier": "string",
        "invoiceDate": "YYYY-MM-DD",
        "dueDate": "YYYY-MM-DD",
        "invoicePeriod": {
          "startDate": "YYYY-MM-DD",
          "endDate": "YYYY-MM-DD"
        },
        "totalSubscriptionCharges": {
          "amount": 0,
          "currencyCode": "string"
        },
        "totalOneOffCharges": {
          "amount": 0,
          "currencyCode": "string"
        },
        "totalCharges": {
          "amount": 0,
          "currencyCode": "string"
        },
        "totalSubscriptionDiscounts": {
          "amount": 0,
          "currencyCode": "string"
        },
        "totalOneOffDiscounts": {
          "amount": 0,
          "currencyCode": "string"
        },
        "totalDiscounts": {
          "amount": 0,
          "currencyCode": "string"
        },
        "totalAdjustments": {
          "amount": 0,
          "currencyCode": "string"
        },
        "totalExcludingVAT": {
          "amount": 0,
          "currencyCode": "string"
        },
        "totalVAT": {
          "amount": 0,
          "currencyCode": "string"
        },
        "totalIncludingVAT": {
          "amount": 0,
          "currencyCode": "string"
        },
        "totalOutstanding": {
          "amount": 0,
          "currencyCode": "string"
        }
      }
    ]
  },
  "sourceId": "GUID",
  "sourceName": "PW_SYSTEM",
  "sourceType": "USER",
  "entityId": "GUID",
  "entityType": "COMPANY",
  "entityOperation": "O",
  "auditMessage": "Entered credit control"
}