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

Commercial invoice - multiple sites

Event contains subscription products at multiple sites


{
	"eventType": "SERVICE_COMMERCIAL_INVOICE_CREATED",
	"tenantId": "dfbe8390-b5ae-441e-aed9-e6e02d6f4a44",
	"eventDate": "2023-08-02 08:54:24",
	"data": {
		"accountIdentifier": "0686b123-a6d8-4fd2-af42-17f34fa66521",
		"taxInclusive": true,
		"company": {
			"companyIdentifier": "co20230802094745",
			"companyName": "Garden Bar Limited",
			"companyType": "INDEPENDENT"
		},
		"invoiceIdentifier": "13827",
		"invoiceDate": "2023-08-03",
		"dueDate": "2023-08-13",
		"invoicePeriod": {
			"startDate": "2023-08-02",
			"endDate": "2023-08-31"
		},
		"invoiceLanguage": "English",
		"invoiceMedia": "Email",
		"invoiceType": "Summary",
		"totalSubscriptionCharges": {
			"amount": 1258.07,
			"currency": "GBP"
		},
		"totalOneOffCharges": {
			"amount": 0,
			"currency": "GBP"
		},
		"totalCharges": {
			"amount": 1258.07,
			"currency": "GBP"
		},
		"totalSubscriptionDiscounts": {
			"amount": -493.55,
			"currency": "GBP"
		},
		"totalOneOffDiscounts": {
			"amount": 0,
			"currency": "GBP"
		},
		"totalDiscounts": {
			"amount": -493.55,
			"currency": "GBP"
		},
		"totalAdjustments": {
			"amount": 0,
			"currency": "GBP"
		},
		"totalExcludingVAT": {
			"amount": 764.52,
			"currency": "GBP"
		},
		"totalVAT": {
			"amount": 0,
			"currency": "GBP"
		},
		"totalIncludingVAT": {
			"amount": 764.52,
			"currency": "GBP"
		},
		"sites": [{
			"site": {
				"siteIdentifier": "si20230802094822",
				"siteName": "The Daisy"
			},
			"totalSubscriptionCharges": {
				"amount": 193.55,
				"currency": "GBP"
			},
			"totalOneOffCharges": {
				"amount": 0,
				"currency": "GBP"
			},
			"totalCharges": {
				"amount": 193.55,
				"currency": "GBP"
			},
			"totalSubscriptionDiscounts": {
				"amount": -9.68,
				"currency": "GBP"
			},
			"totalOneOffDiscounts": {
				"amount": 0,
				"currency": "GBP"
			},
			"totalDiscounts": {
				"amount": -9.68,
				"currency": "GBP"
			},
			"totalAdjustments": {
				"amount": 0,
				"currency": "GBP"
			},
			"totalExcludingVAT": {
				"amount": 183.87,
				"currency": "GBP"
			},
			"totalVAT": {
				"amount": 0,
				"currency": "GBP"
			},
			"totalIncludingVAT": {
				"amount": 183.87,
				"currency": "GBP"
			},
			"subscriptions": [{
				"serviceName": "Sport Channel Subscription",
				"serviceType": "SUBSCRIPTION",
				"serviceStatus": "ACTIVE",
				"agreementIdentifier": "SUBS-230802-094830",
				"taxCode": "ZERO",
				"charges": [{
					"period": {
						"startDate": "2023-08-02",
						"endDate": "2023-08-31"
					},
					"amountExcludingVAT": {
						"amount": 193.55,
						"currency": "GBP"
					}
				}],
				"discounts": [{
					"period": {
						"startDate": "2023-08-02",
						"endDate": "2023-08-31"
					},
					"name": "Summer Offer",
					"amount": {
						"amount": -9.68,
						"currency": "GBP"
					}
				}]
			}]
		}, {
			"site": {
				"siteIdentifier": "si20230802094907",
				"siteName": "The Holly"
			},
			"totalSubscriptionCharges": {
				"amount": 290.32,
				"currency": "GBP"
			},
			"totalOneOffCharges": {
				"amount": 0,
				"currency": "GBP"
			},
			"totalCharges": {
				"amount": 290.32,
				"currency": "GBP"
			},
			"totalSubscriptionDiscounts": {
				"amount": -96.77,
				"currency": "GBP"
			},
			"totalOneOffDiscounts": {
				"amount": 0,
				"currency": "GBP"
			},
			"totalDiscounts": {
				"amount": -96.77,
				"currency": "GBP"
			},
			"totalAdjustments": {
				"amount": 0,
				"currency": "GBP"
			},
			"totalExcludingVAT": {
				"amount": 193.55,
				"currency": "GBP"
			},
			"totalVAT": {
				"amount": 0,
				"currency": "GBP"
			},
			"totalIncludingVAT": {
				"amount": 193.55,
				"currency": "GBP"
			},
			"subscriptions": [{
				"serviceName": "Sport Channel Subscription",
				"serviceType": "SUBSCRIPTION",
				"serviceStatus": "ACTIVE",
				"agreementIdentifier": "SUBS-230802-094915",
				"taxCode": "ZERO",
				"charges": [{
					"period": {
						"startDate": "2023-08-02",
						"endDate": "2023-08-31"
					},
					"amountExcludingVAT": {
						"amount": 290.32,
						"currency": "GBP"
					}
				}],
				"discounts": [{
					"period": {
						"startDate": "2023-08-02",
						"endDate": "2023-08-31"
					},
					"name": "Summer Offer",
					"amount": {
						"amount": -96.77,
						"currency": "GBP"
					}
				}]
			}]
		}, {
			"site": {
				"siteIdentifier": "si20230802094927",
				"siteName": "The Bay"
			},
			"totalSubscriptionCharges": {
				"amount": 387.1,
				"currency": "GBP"
			},
			"totalOneOffCharges": {
				"amount": 0,
				"currency": "GBP"
			},
			"totalCharges": {
				"amount": 387.1,
				"currency": "GBP"
			},
			"totalSubscriptionDiscounts": {
				"amount": -193.55,
				"currency": "GBP"
			},
			"totalOneOffDiscounts": {
				"amount": 0,
				"currency": "GBP"
			},
			"totalDiscounts": {
				"amount": -193.55,
				"currency": "GBP"
			},
			"totalAdjustments": {
				"amount": 0,
				"currency": "GBP"
			},
			"totalExcludingVAT": {
				"amount": 193.55,
				"currency": "GBP"
			},
			"totalVAT": {
				"amount": 0,
				"currency": "GBP"
			},
			"totalIncludingVAT": {
				"amount": 193.55,
				"currency": "GBP"
			},
			"subscriptions": [{
				"serviceName": "Sport Channel Subscription",
				"serviceType": "SUBSCRIPTION",
				"serviceStatus": "ACTIVE",
				"agreementIdentifier": "SUBS-230802-094935",
				"taxCode": "ZERO",
				"charges": [{
					"period": {
						"startDate": "2023-08-02",
						"endDate": "2023-08-31"
					},
					"amountExcludingVAT": {
						"amount": 387.1,
						"currency": "GBP"
					}
				}],
				"discounts": [{
					"period": {
						"startDate": "2023-08-02",
						"endDate": "2023-08-31"
					},
					"name": "Summer Offer",
					"amount": {
						"amount": -193.55,
						"currency": "GBP"
					}
				}]
			}]
		}, {
			"site": {
				"siteIdentifier": "si20230802095011",
				"siteName": "The Magnolia"
			},
			"totalSubscriptionCharges": {
				"amount": 387.1,
				"currency": "GBP"
			},
			"totalOneOffCharges": {
				"amount": 0,
				"currency": "GBP"
			},
			"totalCharges": {
				"amount": 387.1,
				"currency": "GBP"
			},
			"totalSubscriptionDiscounts": {
				"amount": -193.55,
				"currency": "GBP"
			},
			"totalOneOffDiscounts": {
				"amount": 0,
				"currency": "GBP"
			},
			"totalDiscounts": {
				"amount": -193.55,
				"currency": "GBP"
			},
			"totalAdjustments": {
				"amount": 0,
				"currency": "GBP"
			},
			"totalExcludingVAT": {
				"amount": 193.55,
				"currency": "GBP"
			},
			"totalVAT": {
				"amount": 0,
				"currency": "GBP"
			},
			"totalIncludingVAT": {
				"amount": 193.55,
				"currency": "GBP"
			},
			"subscriptions": [{
				"serviceName": "Sport Channel Subscription",
				"serviceType": "SUBSCRIPTION",
				"serviceStatus": "ACTIVE",
				"agreementIdentifier": "SUBS-230802-095023",
				"taxCode": "ZERO",
				"charges": [{
					"period": {
						"startDate": "2023-08-02",
						"endDate": "2023-08-31"
					},
					"amountExcludingVAT": {
						"amount": 387.1,
						"currency": "GBP"
					}
				}],
				"discounts": [{
					"period": {
						"startDate": "2023-08-02",
						"endDate": "2023-08-31"
					},
					"name": "Summer Offer",
					"amount": {
						"amount": -193.55,
						"currency": "GBP"
					}
				}]
			}]
		}]
	},
	"sourceId": "947e64e1-678e-42a0-e053-0100007f4dd6",
	"sourceName": "SYSTEM",
	"sourceType": "USER",
	"entityId": "93e41543-0569-46ee-8af0-67a35f58b726",
	"entityType": "COMPANY",
	"entityOperation": "O",
	"auditMessage": "Invoice created"
}