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

Final invoice

{
    "eventType": "SERVICE_COMMERCIAL_FINAL_INVOICE_CREATED",
    "tenantId": "8367f08d-ef04-4df8-9bf3-0ad519cf3be7",
    "eventDate": "2023-08-30 14:33:40",
    "data": {
        "accountIdentifier": "ee0b1503-cc84-438c-82aa-2089990ba687",
        "taxInclusive": true,
        "company": {
            "companyIdentifier": "co20230830151641",
            "companyName": "Labadie, Bashirian and Kreiger",
            "companyType": "INDEPENDENT",
            "companyContact": {
                "contactIdentifier": "co20230830151641",
                "name": {
                    "title": "Mrs.",
                    "forename": "Forename",
                    "surname": "Carter"
                },
                "address": {
                    "line1": "4879 Stanton Bypass",
                    "city": "Willaport",
                    "postcode": "PC12 3RP",
                    "countryCode": "GBR",
                    "email": "[email protected]"
                }
            }
        },
        "invoiceIdentifier": "17092",
        "invoiceDate": "2023-09-29",
        "dueDate": "2023-10-09",
        "invoicePeriod": {
            "startDate": "2023-10-01",
            "endDate": "2023-10-31"
        },
        "invoiceLanguage": "English",
        "invoiceMedia": "Email",
        "invoiceType": "Summary",
        "accountBalance": {
            "amount": 200,
            "currency": "GBP"
        },
        "totalSubscriptionCharges": {
            "amount": 0,
            "currency": "GBP"
        },
        "totalOneOffCharges": {
            "amount": 0,
            "currency": "GBP"
        },
        "totalCharges": {
            "amount": 0,
            "currency": "GBP"
        },
        "totalSubscriptionDiscounts": {
            "amount": 0,
            "currency": "GBP"
        },
        "totalOneOffDiscounts": {
            "amount": 0,
            "currency": "GBP"
        },
        "totalDiscounts": {
            "amount": 0,
            "currency": "GBP"
        },
        "totalAdjustments": {
            "amount": 0,
            "currency": "GBP"
        },
        "totalCancellationsExcludingVAT": {
            "amount": -200,
            "currency": "GBP"
        },
        "totalCancellationsVAT": {
            "amount": 0,
            "currency": "GBP"
        },
        "totalCancellationsIncludingVAT": {
            "amount": -200,
            "currency": "GBP"
        },
        "totalExcludingVAT": {
            "amount": -200,
            "currency": "GBP"
        },
        "totalVAT": {
            "amount": 0,
            "currency": "GBP"
        },
        "totalIncludingVAT": {
            "amount": -200,
            "currency": "GBP"
        },
        "outstandingTotalIncludingVAT": {
            "amount": -200,
            "currency": "GBP"
        },
        "sites": [
            {
                "site": {
                    "siteIdentifier": "si20230830151710",
                    "siteName": "The lime Keyboard"
                },
                "totalSubscriptionCharges": {
                    "amount": 0,
                    "currency": "GBP"
                },
                "totalOneOffCharges": {
                    "amount": 0,
                    "currency": "GBP"
                },
                "totalCharges": {
                    "amount": 0,
                    "currency": "GBP"
                },
                "totalSubscriptionDiscounts": {
                    "amount": 0,
                    "currency": "GBP"
                },
                "totalOneOffDiscounts": {
                    "amount": 0,
                    "currency": "GBP"
                },
                "totalDiscounts": {
                    "amount": 0,
                    "currency": "GBP"
                },
                "totalAdjustments": {
                    "amount": 0,
                    "currency": "GBP"
                },
                "totalCancellations": {
                    "amount": -93.33,
                    "currency": "GBP"
                },
                "totalExcludingVAT": {
                    "amount": -93.33,
                    "currency": "GBP"
                },
                "totalVAT": {
                    "amount": 0,
                    "currency": "GBP"
                },
                "totalIncludingVAT": {
                    "amount": -93.33,
                    "currency": "GBP"
                },
                "subscriptions": [
                    {
                        "serviceName": "Musicial Theatre 1",
                        "serviceType": "SUBSCRIPTION",
                        "serviceStatus": "CANCELLED",
                        "cancellationDate": "2023-09-16",
                        "cancelRequestedDate": "2023-09-28",
                        "agreementIdentifier": "SUBS-230830-152042",
                        "taxCode": "ZERO",
                        "cancellation": {
                            "cancellationCreditPeriod": {
                                "startDate": "2023-09-17",
                                "endDate": "2023-09-30"
                            },
                            "cancellationCreditExcludingVAT": {
                                "amount": -93.33,
                                "currency": "GBP"
                            }
                        }
                    }
                ]
            },
            {
                "site": {
                    "siteIdentifier": "si20230830152103",
                    "siteName": "The indigo Mouse"
                },
                "totalSubscriptionCharges": {
                    "amount": 0,
                    "currency": "GBP"
                },
                "totalOneOffCharges": {
                    "amount": 0,
                    "currency": "GBP"
                },
                "totalCharges": {
                    "amount": 0,
                    "currency": "GBP"
                },
                "totalSubscriptionDiscounts": {
                    "amount": 0,
                    "currency": "GBP"
                },
                "totalOneOffDiscounts": {
                    "amount": 0,
                    "currency": "GBP"
                },
                "totalDiscounts": {
                    "amount": 0,
                    "currency": "GBP"
                },
                "totalAdjustments": {
                    "amount": 0,
                    "currency": "GBP"
                },
                "totalCancellations": {
                    "amount": -106.67,
                    "currency": "GBP"
                },
                "totalExcludingVAT": {
                    "amount": -106.67,
                    "currency": "GBP"
                },
                "totalVAT": {
                    "amount": 0,
                    "currency": "GBP"
                },
                "totalIncludingVAT": {
                    "amount": -106.67,
                    "currency": "GBP"
                },
                "subscriptions": [
                    {
                        "serviceName": "Musicial Theatre 2",
                        "serviceType": "SUBSCRIPTION",
                        "serviceStatus": "CANCELLED",
                        "cancellationDate": "2023-09-14",
                        "cancelRequestedDate": "2023-09-26",
                        "agreementIdentifier": "SUBS-230830-152326",
                        "taxCode": "ZERO",
                        "cancellation": {
                            "cancellationCreditPeriod": {
                                "startDate": "2023-09-15",
                                "endDate": "2023-09-30"
                            },
                            "cancellationCreditExcludingVAT": {
                                "amount": -106.67,
                                "currency": "GBP"
                            }
                        }
                    }
                ]
            }
        ],
        "payments": [
            {
                "paymentDate": "2023-09-26",
                "paymentAmount": {
                    "amount": 280,
                    "currency": "GBP"
                }
            }
        ]
    },
    "sourceId": "95079b7c-eca2-1a78-e053-0100007f3c74",
    "sourceName": "PW_SYSTEM",
    "sourceType": "USER",
    "entityId": "fe748618-b638-42e0-b115-f0b23a4a1363",
    "entityType": "COMPANY",
    "entityOperation": "O",
    "auditMessage": "Final invoice created"
}