BillingItemCreatedv1.0.0
Event represents when a a billing item has been created in the Legacy database
Details
This event is emitted when a billing item has been created in the Legacy databasee.
It is consumed by the Notification Service to notify the CSM Team of possible issues on the item.
Related Events
Is generally followed by a "ItemBilledWithDefaultOrderToCSM" Notification being generated in the Notification Service through the Dispatch Service.
Consumer / Producer Diagram
Event Example
BillingItemCreated Schema (json)
{
"version": "0",
"id": "520e2b12-9982-6370-d295-d839d72b57fe",
"detail-type": "BillingItemCreated",
"source": "flatsy.service.billing",
"account": "221760190323",
"time": "2023-05-30T08:26:34Z",
"region": "eu-west-3",
"resources": [],
"detail": {
"metadata": {
"application": "System",
"service": "flatsy.service.billing",
"actor": "System",
"actorID": "System",
"entity": "BillingItem",
"entityID": "64fa02e8-2b13-4728-8e7c-b667d79302fb",
"correlationID": "21802666-305c-73fa-474c-866b143298e6"
},
"data": {
"billingItemID": "64fa02e8-2b13-4728-8e7c-b667d79302fb",
"customerID": "088f3b96-830c-4124-8649-5407dd685882",
"orderID": "937da094-ac31-4c26-84fa-f032cb939822",
"productCode": "rental_viewings_package",
"legacyProductCode": "BusinessViewingIncluded",
"price": 0,
"discountRate": 1.0,
"orderCreatedBySystem": true
}
}
}
Edit this pageLast updated on 2023/11/3
