HomeGuidesAPIsReleasesDownloadsDeveloperEvents
Log In
Guides

Credit control exit

SERVICE_COMMERCIAL_EXIT_CCC

{
    "eventId": "GUID",
    "eventType": "SERVICE_COMMERCIAL_EXIT_CCC",
    "tenantId": "GUID",
    "eventDate": "YYYY-MM-DD 00:00:00",
    "data": {
        "creditControl": {
            "accountIdentifier": "string",
            "accountBalance": {
                "amount": 0
            },
            "taxInclusive": true,
            "company": {
                "companyIdentifier": "string",
                "companyName": "string",
                "companyType": "string"
            },
            "sites": [
                {
                    "siteIdentifier": "string",
                    "siteName": "string",
                    "status": "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": 1
        }
    },
    "sourceId": "GUID",
    "sourceName": "PW_SYSTEM",
    "sourceType": "USER",
    "entityId": "GUID",
    "entityType": "COMPANY",
    "entityOperation": "O",
    "auditMessage": "Credit control exit notification"
}