HomeGuidesAPIsReleasesDownloadsDeveloperEvents
Log In
Guides

Estimated next bill

SERVICE_COMMERCIAL_BILLING_EST_NEXT_BILL

{
  "eventId": "GUID", 
  "eventType": "SERVICE_COMMERCIAL_BILLING_EST_NEXT_BILL",
  "tenantId": "8367f08d-ef04-4df8-9bf3-0ad519cf3be7",
  "eventDate": "2023-09-22 16:07:50",
  "data": {
    "accountIdentifier": "ACC-20240617-1644",
    "taxInclusive": true,
    "invoiceFrequency": "MONTHLY",
    "company": {
      "companyIdentifier": "COM-20240618-1727",
      "companyName": "Founder & Brothers",
      "companyType": "INDEPENDENT",
      "companyContact": {
        "contactIdentifier": "con202406181728",
        "name": {
          "title": "Mr",
          "forename": "Fred",
          "surname": "Sweigert"
        },
        "address": {
          "building": "string",
          "line1": "string",
          "line2": "string",
          "line3": "string",
          "city": "Falkirk",
          "area": "string",
          "postcode": "PC14 6TY",
          "countryCode": "GBR",
          "phone": "string",
          "email": "[email protected]"
        }
      }
    },
    "invoiceIdentifier": "124850",
    "invoiceDate": "2024-06-17",
    "dueDate": "2024-06-27",
    "invoicePeriod": {
      "startDate": "2024-06-01",
      "endDate": "2024-06-30"
    },
    "invoiceLanguage": "English",
    "invoiceMedia": "Paper Bill",
    "invoiceMediaCharge": {
      "chargeDescription": "string",
      "chargeExcludingVAT": {
        "amount": 9.99,
        "currencyCode": "GBP"
      },
      "chargeIncludingVAT": {
        "amount": 9.99,
        "currencyCode": "GBP"
      }
    },
    "invoiceType": "REGULAR",
    "accountBalance": {
      "amount": 9.99,
      "currencyCode": "GBP"
    },
    "latePaymentCharge": {
      "chargeDescription": "string",
      "charge": {
        "amount": 9.99,
        "currencyCode": "GBP"
      }
    },
    "totalSubscriptionCharges": {
      "amount": 9.99,
      "currencyCode": "GBP"
    },
    "totalOneOffCharges": {
      "amount": 9.99,
      "currencyCode": "GBP"
    },
    "totalCharges": {
      "amount": 9.99,
      "currencyCode": "GBP"
    },
    "totalSubscriptionDiscounts": {
      "amount": 9.99,
      "currencyCode": "GBP"
    },
    "totalOneOffDiscounts": {
      "amount": 9.99,
      "currencyCode": "GBP"
    },
    "totalDiscounts": {
      "amount": 9.99,
      "currencyCode": "GBP"
    },
    "totalAdjustments": {
      "amount": 9.99,
      "currencyCode": "GBP"
    },
    "totalCancellationsExcludingVAT": {
      "amount": 9.99,
      "currencyCode": "GBP"
    },
    "totalCancellationsVAT": {
      "amount": 9.99,
      "currencyCode": "GBP"
    },
    "totalCancellationsIncludingVAT": {
      "amount": 9.99,
      "currencyCode": "GBP"
    },
    "totalExcludingVAT": {
      "amount": 9.99,
      "currencyCode": "GBP"
    },
    "totalExemptVAT": {
      "amount": 9.99,
      "currencyCode": "GBP"
    },
    "totalVAT": {
      "amount": 9.99,
      "currencyCode": "GBP"
    },
    "totalIncludingVAT": {
      "amount": 9.99,
      "currencyCode": "GBP"
    },
    "outstandingTotalIncludingVAT": {
      "amount": 9.99,
      "currencyCode": "GBP"
    },
    "paymentMethod": {
      "paymentType": "Credit/Debit Card",
      "paymentMethodIdentifier": "string"
    },
    "adjustments": {
      "charges": [
        {
          "amountExcludingVAT": {
            "amount": 9.99,
            "currencyCode": "GBP"
          },
          "amountIncludingVAT": {
            "amount": 9.99,
            "currencyCode": "GBP"
          },
          "description": "string",
          "repeatNumber": 0,
          "totalNumberOfRepeats": 0
        }
      ],
      "credits": [
        {
          "amountExcludingVAT": {
            "amount": 9.99,
            "currencyCode": "GBP"
          },
          "amountIncludingVAT": {
            "amount": 9.99,
            "currencyCode": "GBP"
          },
          "description": "string",
          "repeatNumber": 0,
          "totalNumberOfRepeats": 0
        }
      ]
    },
    "sites": [
      {
        "site": {
          "siteIdentifier": "string",
          "siteName": "string",
          "status": "ACTIVE",
          "sitePostcode": "string"
        },
        "totalSubscriptionCharges": {
          "amount": 9.99,
          "currencyCode": "GBP"
        },
        "totalSubscriptionDiscounts": {
          "amount": 9.99,
          "currencyCode": "GBP"
        },
        "totalOneOffCharges": {
          "amount": 9.99,
          "currencyCode": "GBP"
        },
        "totalOneOffDiscounts": {
          "amount": 9.99,
          "currencyCode": "GBP"
        },
        "totalCharges": {
          "amount": 9.99,
          "currencyCode": "GBP"
        },
        "totalDiscounts": {
          "amount": 9.99,
          "currencyCode": "GBP"
        },
        "totalAdjustments": {
          "amount": 9.99,
          "currencyCode": "GBP"
        },
        "totalCancellations": {
          "amount": 9.99,
          "currencyCode": "GBP"
        },
        "totalExcludingVAT": {
          "amount": 9.99,
          "currencyCode": "GBP"
        },
        "totalExemptVAT": {
          "amount": 9.99,
          "currencyCode": "GBP"
        },
        "totalVAT": {
          "amount": 9.99,
          "currencyCode": "GBP"
        },
        "totalIncludingVAT": {
          "amount": 9.99,
          "currencyCode": "GBP"
        },
        "subscriptions": [
          {
            "serviceName": "string",
            "serviceType": "SUBSCRIPTION",
            "serviceStatus": "ACTIVE",
            "cancellationDate": "2024-06-26",
            "cancelRequestedDate": "2024-06-26",
            "agreementIdentifier": "string",
            "taxCode": "string",
            "charges": [
              {
                "pricingIdentifier": "string",
                "period": {
                  "startDate": "2024-06-01",
                  "endDate": "2024-06-30"
                },
                "amountExcludingVAT": {
                  "amount": 9.99,
                  "currencyCode": "GBP"
                },
                "priceOverride": {
                  "overrideIdentifier": "string",
                  "status": "string",
                  "description": "string",
                  "startDate": "2024-06-26",
                  "endDate": "2024-06-26"
                }
              }
            ],
            "discounts": [
              {
                "pricingIdentifier": "string",
                "discountIdentifier": "string",
                "period": {
                  "startDate": "2024-06-01",
                  "endDate": "2024-06-30"
                },
                "name": "string",
                "amount": {
                  "amount": 9.99,
                  "currencyCode": "GBP"
                }
              }
            ],
            "adjustments": [
              {
                "period": {
                  "startDate": "2024-06-01",
                  "endDate": "2024-06-30"
                },
                "name": "string",
                "pricingIdentifier": "string",
                "discountIdentifier": "string",
                "overrideIdentifier": "string",
                "amount": {
                  "amount": 9.99,
                  "currencyCode": "GBP"
                },
                "amountVAT": {
                  "amount": 9.99,
                  "currencyCode": "GBP"
                },
                "amountIncludingVAT": {
                  "amount": 9.99,
                  "currencyCode": "GBP"
                }
              }
            ],
            "cancellation": {
              "cancellationChargePeriod": {
                "startDate": "2024-06-01",
                "endDate": "2024-06-30"
              },
              "cancellationChargeExcludingVAT": {
                "amount": 9.99,
                "currencyCode": "GBP"
              },
              "cancellationCreditPeriod": {
                "startDate": "2024-06-01",
                "endDate": "2024-06-30"
              },
              "cancellationCreditExcludingVAT": {
                "amount": 9.99,
                "currencyCode": "GBP"
              },
              "minTermPeriod": {
                "startDate": "2024-06-01",
                "endDate": "2024-06-30"
              },
              "minTermChargeExcludingVAT": {
                "amount": 9.99,
                "currencyCode": "GBP"
              }
            }
          }
        ],
        "oneOffs": [
          {
            "serviceName": "string",
            "serviceType": "ONE-OFF",
            "serviceStatus": "ACTIVE",
            "cancellationDate": "2024-06-26",
            "cancelRequestedDate": "2024-06-26",
            "agreementIdentifier": "string",
            "taxCode": "string",
            "charges": [
              {
                "purchaseDate": "2024-06-26",
                "amountExcludingVAT": {
                  "amount": 9.99,
                  "currencyCode": "GBP"
                },
                "spreadCharge": {
                  "description": "string",
                  "repeatNumber": 0,
                  "totalNumberOfRepeats": 0
                }
              }
            ],
            "discounts": [
              {
                "name": "string",
                "amount": {
                  "amount": 9.99,
                  "currencyCode": "GBP"
                }
              }
            ],
            "adjustments": [
              {
                "name": "string",
                "amount": {
                  "amount": 9.99,
                  "currencyCode": "GBP"
                }
              }
            ],
            "cancellation": {
              "cancellationChargePeriod": {
                "startDate": "2024-06-01",
                "endDate": "2024-06-30"
              },
              "cancellationChargeExcludingVAT": {
                "amount": 9.99,
                "currencyCode": "GBP"
              },
              "cancellationCreditPeriod": {
                "startDate": "2024-06-01",
                "endDate": "2024-06-30"
              },
              "cancellationCreditExcludingVAT": {
                "amount": 9.99,
                "currencyCode": "GBP"
              }
            }
          }
        ]
      },
      {
        "site": {
          "siteIdentifier": "SI-12345-2",
          "siteName": "Site 2",
          "status": "ACTIVE",
          "sitePostcode": "KY3 7RT"
        },
        "totalSubscriptionCharges": {
          "amount": 0,
          "currencyCode": "GBP"
        },
        "totalOneOffCharges": {
          "amount": 100,
          "currencyCode": "GBP"
        },
        "totalCharges": {
          "amount": 100,
          "currencyCode": "GBP"
        },
        "totalSubscriptionDiscounts": {
          "amount": 0,
          "currencyCode": "GBP"
        },
        "totalOneOffDiscounts": {
          "amount": -25,
          "currencyCode": "GBP"
        },
        "totalDiscounts": {
          "amount": -25,
          "currencyCode": "GBP"
        },
        "totalAdjustments": {
          "amount": 0,
          "currencyCode": "GBP"
        },
        "totalCancellations": {
          "amount": 0,
          "currencyCode": "GBP"
        },
        "totalExcludingVAT": {
          "amount": 75,
          "currencyCode": "GBP"
        },
        "totalExemptVAT": {
          "amount": 0,
          "currencyCode": "GBP"
        },
        "totalVAT": {
          "amount": 15,
          "currencyCode": "GBP"
        },
        "totalIncludingVAT": {
          "amount": 90,
          "currencyCode": "GBP"
        },
        "oneOffs": [
          {
            "serviceName": "Test One-Off",
            "serviceType": "ONE-OFF",
            "serviceStatus": "ACTIVE",
            "agreementIdentifier": "SUBS-231130-090141",
            "taxCode": "STANDARD",
            "charges": [
              {
                "pricingIdentifier": "31832d36-29ef-4abd-8fe7-d7efb68953b4",
                "purchaseDate": "2023-09-01",
                "amountExcludingVAT": {
                  "amount": 100,
                  "currencyCode": "GBP"
                }
              }
            ],
            "discounts": [
              {
                "name": "Discount name 5",
                "amount": {
                  "amount": 25,
                  "currencyCode": "GBP"
                }
              }
            ]
          }
        ]
      },
      {
        "site": {
          "siteIdentifier": "SI-12345-3",
          "siteName": "Site 3",
          "status": "ACTIVE",
          "sitePostcode": "EH63 4RU"
        },
        "totalSubscriptionCharges": {
          "amount": 0,
          "currencyCode": "GBP"
        },
        "totalOneOffCharges": {
          "amount": 10,
          "currencyCode": "GBP"
        },
        "totalCharges": {
          "amount": 10,
          "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": 10,
          "currencyCode": "GBP"
        },
        "totalExemptVAT": {
          "amount": 0,
          "currencyCode": "GBP"
        },
        "totalVAT": {
          "amount": 2,
          "currencyCode": "GBP"
        },
        "totalIncludingVAT": {
          "amount": 12,
          "currencyCode": "GBP"
        },
        "oneOffs": [
          {
            "serviceName": "Test One-Off",
            "serviceStatus": "ACTIVE",
            "serviceType": "ONE-OFF",
            "agreementIdentifier": "SUBS-231130-090141",
            "taxCode": "STANDARD",
            "charges": [
              {
                "purchaseDate": "2023-09-01",
                "pricingIdentifier": "31832d36-29ef-4abd-8fe7-d7efb68953b4",
                "amountExcludingVAT": {
                  "amount": 10,
                  "currencyCode": "GBP"
                },
                "spreadCharge": {
                  "description": "Spread charge",
                  "repeatNumber": 1,
                  "totalNumberOfRepeats": 10
                }
              }
            ]
          }
        ]
      }
    ],
    "payments": [
      {
        "paymentDate": "2024-06-26",
        "paymentAmount": {
          "amount": 9.99,
          "currencyCode": "GBP"
        }
      }
    ],
    "credits": [
      {
        "creditIdentifier": "string",
        "creditDescription": "string",
        "creditDateTime": "2024-06-26",
        "creditAmount": {
          "amount": 9.99,
          "currencyCode": "GBP"
        }
      }
    ]
  },
  "sourceId": "947e64e1-678e-42a0-e053-0100007f4dd6",
  "sourceName": "PW_SYSTEM",
  "sourceType": "USER",
  "entityId": "ae78039d-a8f7-4684-96cc-efcd2ad0deb7",
  "entityType": "COMPANY",
  "entityOperation": "O",
  "auditMessage": "Estimated next invoice generated"
}