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

Estimate next invoice- multiple sites

{
	"eventType": "SERVICE_COMMERCIAL_BILLING_EST_NEXT_BILL",
	"tenantId": "8367f08d-ef04-4df8-9bf3-0ad519cf3be7",
	"eventDate": "2023-09-22 10:49:11",
	"data": {
		"accountIdentifier": "1168a391-cadb-4aba-abff-9fe5e34cb25b",
		"taxInclusive": true,
		"invoiceFrequency": "MONTHLY",
		"company": {
			"companyIdentifier": "co20230922114804",
			"companyName": "Wisozk LLC",
			"companyType": "INDEPENDENT",
			"companyContact": {
				"contactIdentifier": "coco20230922114804",
				"name": {
					"title": "Miss",
					"forename": "Salvador",
					"surname": "Brown"
				},
				"address": {
					"building": "Unit 23",
					"line1": "442 Trycia Hills",
					"line2": "Chapelton Retail Park",
					"line3": "Chapel",
					"city": "Ludieshirey",
					"area": "Fife",
					"postcode": "KY2 6QJ",
					"countryCode": "GBR",
					"phone": "077000000",
					"email": "[email protected]"
				}
			}
		},
		"invoiceIdentifier": "10209",
		"invoiceDate": "2023-10-09",
		"dueDate": "2023-10-19",
		"invoicePeriod": {
			"startDate": "2023-10-09",
			"endDate": "2023-10-31"
		},
		"invoiceLanguage": "English",
		"invoiceMedia": "Email",
		"invoiceType": "Summary",
		"totalSubscriptionCharges": {
			"amount": 144.69,
			"currencyCode": "GBP"
		},
		"totalOneOffCharges": {
			"amount": 0,
			"currencyCode": "GBP"
		},
		"totalCharges": {
			"amount": 144.69,
			"currencyCode": "GBP"
		},
		"totalSubscriptionDiscounts": {
			"amount": 0,
			"currencyCode": "GBP"
		},
		"totalOneOffDiscounts": {
			"amount": 0,
			"currencyCode": "GBP"
		},
		"totalDiscounts": {
			"amount": 0,
			"currencyCode": "GBP"
		},
		"totalAdjustments": {
			"amount": 0,
			"currencyCode": "GBP"
		},
		"totalCancellationsExcludingVAT": {
			"amount": 0,
			"currencyCode": "GBP"
		},
		"totalCancellationsVAT": {
			"amount": 0,
			"currencyCode": "GBP"
		},
		"totalCancellationsIncludingVAT": {
			"amount": 0,
			"currencyCode": "GBP"
		},
		"totalExcludingVAT": {
			"amount": 144.69,
			"currencyCode": "GBP"
		},
		"totalVAT": {
			"amount": 0,
			"currencyCode": "GBP"
		},
		"totalIncludingVAT": {
			"amount": 144.69,
			"currencyCode": "GBP"
		},
		"outstandingTotalIncludingVAT": {
			"amount": 144.69,
			"currencyCode": "GBP"
		},
		"sites": [{
			"site": {
				"siteIdentifier": "si20230922114837",
				"siteName": "The turquoise Table",
				"sitePostcode": "PC12 3RP"
			},
			"totalSubscriptionCharges": {
				"amount": 48.23,
				"currencyCode": "GBP"
			},
			"totalOneOffCharges": {
				"amount": 0,
				"currencyCode": "GBP"
			},
			"totalCharges": {
				"amount": 48.23,
				"currencyCode": "GBP"
			},
			"totalSubscriptionDiscounts": {
				"amount": 0,
				"currencyCode": "GBP"
			},
			"totalOneOffDiscounts": {
				"amount": 0,
				"currencyCode": "GBP"
			},
			"totalDiscounts": {
				"amount": 0,
				"currencyCode": "GBP"
			},
			"totalAdjustments": {
				"amount": 0,
				"currencyCode": "GBP"
			},
			"totalCancellations": {
				"amount": 0,
				"currencyCode": "GBP"
			},
			"totalExcludingVAT": {
				"amount": 48.23,
				"currencyCode": "GBP"
			},
			"totalVAT": {
				"amount": 0,
				"currencyCode": "GBP"
			},
			"totalIncludingVAT": {
				"amount": 48.23,
				"currencyCode": "GBP"
			},
			"subscriptions": [{
				"serviceName": "Back to Who",
				"serviceType": "SUBSCRIPTION",
				"serviceStatus": "ACTIVE",
				"agreementIdentifier": "SUBS-230922-114847",
				"taxCode": "ZERO",
				"charges": [{
					"period": {
						"startDate": "2023-10-09",
						"endDate": "2023-10-31"
					},
					"amountExcludingVAT": {
						"amount": 48.23,
						"currencyCode": "GBP"
					}
				}]
			}]
		}, {
			"site": {
				"siteIdentifier": "si20230922114850",
				"siteName": "The turquoise Computer",
				"sitePostcode": "PC12 3RP"
			},
			"totalSubscriptionCharges": {
				"amount": 48.23,
				"currencyCode": "GBP"
			},
			"totalOneOffCharges": {
				"amount": 0,
				"currencyCode": "GBP"
			},
			"totalCharges": {
				"amount": 48.23,
				"currencyCode": "GBP"
			},
			"totalSubscriptionDiscounts": {
				"amount": 0,
				"currencyCode": "GBP"
			},
			"totalOneOffDiscounts": {
				"amount": 0,
				"currencyCode": "GBP"
			},
			"totalDiscounts": {
				"amount": 0,
				"currencyCode": "GBP"
			},
			"totalAdjustments": {
				"amount": 0,
				"currencyCode": "GBP"
			},
			"totalCancellations": {
				"amount": 0,
				"currencyCode": "GBP"
			},
			"totalExcludingVAT": {
				"amount": 48.23,
				"currencyCode": "GBP"
			},
			"totalVAT": {
				"amount": 0,
				"currencyCode": "GBP"
			},
			"totalIncludingVAT": {
				"amount": 48.23,
				"currencyCode": "GBP"
			},
			"subscriptions": [{
				"serviceName": "Back to Who",
				"serviceType": "SUBSCRIPTION",
				"serviceStatus": "ACTIVE",
				"agreementIdentifier": "SUBS-230922-114856",
				"taxCode": "ZERO",
				"charges": [{
					"period": {
						"startDate": "2023-10-09",
						"endDate": "2023-10-31"
					},
					"amountExcludingVAT": {
						"amount": 48.23,
						"currencyCode": "GBP"
					}
				}]
			}]
		}, {
			"site": {
				"siteIdentifier": "si20230922114859",
				"siteName": "The maroon Cheese",
				"sitePostcode": "PC12 3RP"
			},
			"totalSubscriptionCharges": {
				"amount": 48.23,
				"currencyCode": "GBP"
			},
			"totalOneOffCharges": {
				"amount": 0,
				"currencyCode": "GBP"
			},
			"totalCharges": {
				"amount": 48.23,
				"currencyCode": "GBP"
			},
			"totalSubscriptionDiscounts": {
				"amount": 0,
				"currencyCode": "GBP"
			},
			"totalOneOffDiscounts": {
				"amount": 0,
				"currencyCode": "GBP"
			},
			"totalDiscounts": {
				"amount": 0,
				"currencyCode": "GBP"
			},
			"totalAdjustments": {
				"amount": 0,
				"currencyCode": "GBP"
			},
			"totalCancellations": {
				"amount": 0,
				"currencyCode": "GBP"
			},
			"totalExcludingVAT": {
				"amount": 48.23,
				"currencyCode": "GBP"
			},
			"totalVAT": {
				"amount": 0,
				"currencyCode": "GBP"
			},
			"totalIncludingVAT": {
				"amount": 48.23,
				"currencyCode": "GBP"
			},
			"subscriptions": [{
				"serviceName": "Back to Who",
				"serviceType": "SUBSCRIPTION",
				"serviceStatus": "ACTIVE",
				"agreementIdentifier": "SUBS-230922-114904",
				"taxCode": "ZERO",
				"charges": [{
					"period": {
						"startDate": "2023-10-09",
						"endDate": "2023-10-31"
					},
					"amountExcludingVAT": {
						"amount": 48.23,
						"currencyCode": "GBP"
					}
				}]
			}]
		}]
	},
	"sourceId": "947e64e1-678e-42a0-e053-0100007f4dd6",
	"sourceName": "PW_SYSTEM",
	"sourceType": "USER",
	"entityId": "c628c8dd-7d72-4786-af46-9919fe43920a",
	"entityType": "COMPANY",
	"entityOperation": "O",
	"auditMessage": "Estimated next invoice generated"
}