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

Estimated next invoice - charge adjustment

{
	"eventType": "SERVICE_COMMERCIAL_BILLING_EST_NEXT_BILL",
	"tenantId": "8367f08d-ef04-4df8-9bf3-0ad519cf3be7",
	"eventDate": "2023-09-25 11:57:49",
	"data": {
		"accountIdentifier": "78956dfb-cd5d-4d7d-a078-b8b1bf0f95d1",
		"taxInclusive": true,
		"invoiceFrequency": "MONTHLY",
		"company": {
			"companyIdentifier": "co20230925125638",
			"companyName": "Greenholt - Ratke",
			"companyType": "INDEPENDENT",
			"companyContact": {
				"contactIdentifier": "coco20230925125638",
				"name": {
					"title": "Miss",
					"forename": "Gudrun",
					"surname": "Denesik"
				},
				"address": {
					"building": "Unit 23",
					"line1": "587 Cole Dale",
					"line2": "Chapelton Retail Park",
					"line3": "Chapel",
					"city": "South Shannay",
					"area": "Fife",
					"postcode": "KY2 6QJ",
					"countryCode": "GBR",
					"phone": "077000000",
					"email": "[email protected]"
				}
			}
		},
		"invoiceIdentifier": "10263",
		"invoiceDate": "2023-10-05",
		"dueDate": "2023-10-15",
		"invoicePeriod": {
			"startDate": "2023-10-04",
			"endDate": "2023-10-31"
		},
		"invoiceLanguage": "English",
		"invoiceMedia": "Email",
		"invoiceType": "Summary",
		"totalSubscriptionCharges": {
			"amount": 67.74,
			"currencyCode": "GBP"
		},
		"totalOneOffCharges": {
			"amount": 0,
			"currencyCode": "GBP"
		},
		"totalCharges": {
			"amount": 67.74,
			"currencyCode": "GBP"
		},
		"totalSubscriptionDiscounts": {
			"amount": 0,
			"currencyCode": "GBP"
		},
		"totalOneOffDiscounts": {
			"amount": 0,
			"currencyCode": "GBP"
		},
		"totalDiscounts": {
			"amount": 0,
			"currencyCode": "GBP"
		},
		"totalAdjustments": {
			"amount": 5,
			"currencyCode": "GBP"
		},
		"totalCancellationsExcludingVAT": {
			"amount": 0,
			"currencyCode": "GBP"
		},
		"totalCancellationsVAT": {
			"amount": 0,
			"currencyCode": "GBP"
		},
		"totalCancellationsIncludingVAT": {
			"amount": 0,
			"currencyCode": "GBP"
		},
		"totalExcludingVAT": {
			"amount": 72.74,
			"currencyCode": "GBP"
		},
		"totalVAT": {
			"amount": 13.55,
			"currencyCode": "GBP"
		},
		"totalIncludingVAT": {
			"amount": 86.29,
			"currencyCode": "GBP"
		},
		"outstandingTotalIncludingVAT": {
			"amount": 86.29,
			"currencyCode": "GBP"
		},
		"adjustments": {
			"charges": [{
				"amount": {
					"amount": 5,
					"currencyCode": "GBP"
				},
				"description": "Charge adjustment to account 78956dfb-cd5d-4d7d-a078-b8b1bf0f95d1",
				"repeatNumber": 1,
				"totalNumberOfRepeats": 2
			}]
		},
		"sites": [{
			"site": {
				"siteIdentifier": "si20230925125729",
				"siteName": "The purple Keyboard",
				"sitePostcode": "PC12 3RP"
			},
			"totalSubscriptionCharges": {
				"amount": 67.74,
				"currencyCode": "GBP"
			},
			"totalOneOffCharges": {
				"amount": 0,
				"currencyCode": "GBP"
			},
			"totalCharges": {
				"amount": 67.74,
				"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": 67.74,
				"currencyCode": "GBP"
			},
			"totalVAT": {
				"amount": 13.55,
				"currencyCode": "GBP"
			},
			"totalIncludingVAT": {
				"amount": 81.29,
				"currencyCode": "GBP"
			},
			"subscriptions": [{
				"serviceName": "Music One",
				"serviceType": "SUBSCRIPTION",
				"serviceStatus": "ACTIVE",
				"agreementIdentifier": "SUBS-230925-125737",
				"taxCode": "STANDARD",
				"charges": [{
					"period": {
						"startDate": "2023-10-04",
						"endDate": "2023-10-31"
					},
					"amountExcludingVAT": {
						"amount": 67.74,
						"currencyCode": "GBP"
					}
				}]
			}]
		}]
	},
	"sourceId": "947e64e1-678e-42a0-e053-0100007f4dd6",
	"sourceName": "PW_SYSTEM",
	"sourceType": "USER",
	"entityId": "d22cddad-e7bb-492a-8439-a3ae3a8df067",
	"entityType": "COMPANY",
	"entityOperation": "O",
	"auditMessage": "Estimated next invoice generated"
}