HomeGuidesAPIsReleasesDownloadsDeveloperEvents
Log In
Guides

SERVICE_SEND_INVOICE

{
    "eventId": "string",
    "eventType": "SERVICE_SEND_INVOICE",
    "tenantId": "string",
    "eventDate": "YYYY-MM-DD HH:MM:SS",
    "data": {
        "csn": "string",
        "customerId": "string",
        "username": "string",
        "email": "string",
        "title": "string",
        "firstName": "string",
        "lastName": "string",
        "addresses": [
            {
                "line1": "string",
                "line2": "string",
                "city": "string",
                "countryCode": "string",
                "postCode": "string",
                "addressType": "string"
            }
        ],
        "customAttributes": [
            {
                "name": "Additional email addresses",
                "value": "string"
            },
            {
                "name": "Automatically issue invoice",
                "value": "YES"
            }
        ],
        "referAFriend": {
            "code": "string",
            "active": true
        },
        "subscriptions": [
            {
                "itemCode": "string",
                "itemName": "string",
                "itemType": "string",
                "itemPrice": "string",
                "contractId": "string",
                "minimumTerm": {
                    "minimumTermDuration": 1,
                    "minimumTermUnit": "string",
                    "termEndDate": "YYYY-MM-DD"
                }
            }
        ],
        "paymentMethod": {
            "paymentMethodId": 0,
            "paymentProvider": "string",
            "paymentType": "string",
            "dateAdded": "YYYY-MM-DD",
            "methodTypeIndicator": "string",
            "string1": "string",
            "string2": "string",
            "string3": "string",
            "string4": "string",
            "expiryDate": "YYYY-MM-DD",
            "maskedPAN": "string"
        },
        "invoiceNumber": "string",
        "invoiceDate": "YYYY-MM-DD",
        "invoiceAmount": 0
    },
    "sourceId": "string",
    "sourceName": "string",
    "sourceType": "USER",
    "entityId": "string",
    "entityType": "CUSTOMER",
    "entityOperation": "O",
    "auditMessage": "Send invoice"
}