HomeGuidesAPIsReleasesDownloadsDeveloperEvents
Log In
Guides
These docs are for v2023.12.01. Click to read the latest docs for v2024.08.01.

Enter credit control

{
    "eventType": "SERVICE_COMMERCIAL_ENTER_CREDIT_CONTROL",
    "tenantId": "8367f08d-ef04-4df8-9bf3-0ad519cf3be7",
    "eventDate": "2023-10-03 13:03:45",
    "data": {
        "accountIdentifier": "e144770c-a53f-4d43-a2fd-dba83e88699c",
        "accountBalance": {
            "amount": 75,
            "currencyCode": "GBP"
        },
        "taxInclusive": true,
        "company": {
            "companyIdentifier": "co20231003132712",
            "companyName": "Goodwin and Sons",
            "companyType": "INDEPENDENT"
        },
        "totalSubscriptionCharges": {
            "amount": 75,
            "currencyCode": "GBP"
        },
        "totalOneOffCharges": {
            "amount": 0,
            "currencyCode": "GBP"
        },
        "totalCharges": {
            "amount": 75,
            "currencyCode": "GBP"
        },
        "totalSubscriptionDiscounts": {
            "amount": 0,
            "currencyCode": "GBP"
        },
        "totalOneOffDiscounts": {
            "amount": 0,
            "currencyCode": "GBP"
        },
        "totalDiscounts": {
            "amount": 0,
            "currencyCode": "GBP"
        },
        "totalAdjustments": {
            "amount": 0,
            "currencyCode": "GBP"
        },
        "totalExcludingVAT": {
            "amount": 75,
            "currencyCode": "GBP"
        },
        "totalVAT": {
            "amount": 0,
            "currencyCode": "GBP"
        },
        "totalIncludingVAT": {
            "amount": 75,
            "currencyCode": "GBP"
        },
        "totalOutstanding": {
            "amount": 75,
            "currencyCode": "GBP"
        },
        "creditControlEntryDate": "2023-01-13",
        "daysInCreditControl": 0,
        "outstandingInvoices": [
            {
                "invoiceIdentifier": "17740",
                "invoiceDate": "2023-01-02",
                "dueDate": "2023-01-12",
                "invoicePeriod": {
                    "startDate": "2023-01-01",
                    "endDate": "2023-01-31"
                },
                "totalSubscriptionCharges": {
                    "amount": 75,
                    "currencyCode": "GBP"
                },
                "totalOneOffCharges": {
                    "amount": 0,
                    "currencyCode": "GBP"
                },
                "totalCharges": {
                    "amount": 75,
                    "currencyCode": "GBP"
                },
                "totalSubscriptionDiscounts": {
                    "amount": 0,
                    "currencyCode": "GBP"
                },
                "totalOneOffDiscounts": {
                    "amount": 0,
                    "currencyCode": "GBP"
                },
                "totalDiscounts": {
                    "amount": 0,
                    "currencyCode": "GBP"
                },
                "totalAdjustments": {
                    "amount": 0,
                    "currencyCode": "GBP"
                },
                "totalExcludingVAT": {
                    "amount": 75,
                    "currencyCode": "GBP"
                },
                "totalVAT": {
                    "amount": 0,
                    "currencyCode": "GBP"
                },
                "totalIncludingVAT": {
                    "amount": 75,
                    "currencyCode": "GBP"
                },
                "totalOutstanding": {
                    "amount": 75,
                    "currencyCode": "GBP"
                }
            }
        ]
    },
    "sourceId": "95079b7c-eca2-1a78-e053-0100007f3c74",
    "sourceName": "PW_SYSTEM",
    "sourceType": "USER",
    "entityId": "b5c65688-a135-4a8d-bff1-7e63e2a82687",
    "entityType": "COMPANY",
    "entityOperation": "O",
    "auditMessage": "Entered credit control"
}