HomeGuidesAPIsReleasesDownloadsDeveloperEvents
Log In
Guides

Final invoice

SERVICE_COMMERCIAL_FINAL_INVOICE_CREATED

{
  "eventId": "GUID",  
  "eventId": "52367d6d-830f-48d1-9a2e-dd63912337d9",
  "eventType": "SERVICE_COMMERCIAL_FINAL_INVOICE_CREATED",
  "tenantId": "8367f08d-ef04-4df8-9bf3-0ad519cf3be7",
  "eventDate": "2024-09-20 11:38:52",
  "data": {
    "accountIdentifier": "df4c5fd2-e4fd-4aa1-8c4b-aad8e7a1c4db",
    "taxInclusive": true,
    "invoiceFrequency": "MONTHLY",
    "company": {
      "companyIdentifier": "co20240920122746",
      "companyName": "Hoeger, Romaguera and McLaughlin",
      "companyType": "INDEPENDENT",
      "companyContact": {
        "contactIdentifier": "coco20240920122746",
        "name": {
          "forename": "Forename",
          "surname": "Bergstrom"
        },
        "address": {
          "line1": "366 Conn Skyway",
          "city": "Arielfurt",
          "postcode": "PC12 3RP",
          "countryCode": "GBR",
          "email": "[email protected]"
        }
      }
    },
    "invoiceIdentifier": "37709",
    "invoiceDate": "2024-09-16",
    "dueDate": "2024-09-26",
    "invoicePeriod": {
      "startDate": "2024-09-15",
      "endDate": "2024-09-30"
    },
    "invoiceLanguage": "English",
    "invoiceMedia": "Email",
    "invoiceType": "Summary",
    "accountBalance": {
      "amount": -45,
      "currencyCode": "GBP"
    },
    "totalSubscriptionCharges": {
      "amount": 0,
      "currencyCode": "GBP"
    },
    "totalOneOffCharges": {
      "amount": 0,
      "currencyCode": "GBP"
    },
    "totalCharges": {
      "amount": 0,
      "currencyCode": "GBP"
    },
    "totalSubscriptionDiscounts": {
      "amount": 0,
      "currencyCode": "GBP"
    },
    "totalOneOffDiscounts": {
      "amount": 0,
      "currencyCode": "GBP"
    },
    "totalDiscounts": {
      "amount": 0,
      "currencyCode": "GBP"
    },
    "totalAdjustments": {
      "amount": 0,
      "currencyCode": "GBP"
    },
    "totalCancellationsExcludingVAT": {
      "amount": -37.5,
      "currencyCode": "GBP"
    },
    "totalCancellationsVAT": {
      "amount": -7.5,
      "currencyCode": "GBP"
    },
    "totalCancellationsIncludingVAT": {
      "amount": -45,
      "currencyCode": "GBP"
    },
    "totalExcludingVAT": {
      "amount": -37.5,
      "currencyCode": "GBP"
    },
    "totalExemptVAT": {
      "amount": 0,
      "currencyCode": "GBP"
    },
    "totalVAT": {
      "amount": -7.5,
      "currencyCode": "GBP"
    },
    "totalIncludingVAT": {
      "amount": -45,
      "currencyCode": "GBP"
    },
    "outstandingTotalIncludingVAT": {
      "amount": -45,
      "currencyCode": "GBP"
    },
    "paymentMethod": {
      "paymentType": "Manual"
    },
    "sites": [
      {
        "site": {
          "siteIdentifier": "si20240920122800",
          "siteName": "The pink Towels",
          "status": "ACTIVE",
          "sitePostcode": "PC12 3RP"
        },
        "totalSubscriptionCharges": {
          "amount": 0,
          "currencyCode": "GBP"
        },
        "totalOneOffCharges": {
          "amount": 0,
          "currencyCode": "GBP"
        },
        "totalCharges": {
          "amount": 0,
          "currencyCode": "GBP"
        },
        "totalSubscriptionDiscounts": {
          "amount": 0,
          "currencyCode": "GBP"
        },
        "totalOneOffDiscounts": {
          "amount": 0,
          "currencyCode": "GBP"
        },
        "totalDiscounts": {
          "amount": 0,
          "currencyCode": "GBP"
        },
        "totalAdjustments": {
          "amount": 0,
          "currencyCode": "GBP"
        },
        "totalCancellations": {
          "amount": -37.5,
          "currencyCode": "GBP"
        },
        "totalExcludingVAT": {
          "amount": -37.5,
          "currencyCode": "GBP"
        },
        "totalExemptVAT": {
          "amount": 0,
          "currencyCode": "GBP"
        },
        "totalVAT": {
          "amount": -7.5,
          "currencyCode": "GBP"
        },
        "totalIncludingVAT": {
          "amount": -45,
          "currencyCode": "GBP"
        },
        "subscriptions": [
          {
            "serviceName": "Subscription SUBS-240920-122804",
            "serviceType": "SUBSCRIPTION",
            "serviceStatus": "CANCELLED",
            "cancellationDate": "2024-09-15",
            "cancelRequestedDate": "2024-09-15",
            "agreementIdentifier": "SUBS-240920-122804",
            "taxCode": "STANDARD",
            "cancellation": {
              "cancellationCreditPeriod": {
                "startDate": "2024-09-16",
                "endDate": "2024-09-30"
              },
              "cancellationCreditExcludingVAT": {
                "amount": -37.5,
                "currencyCode": "GBP"
              }
            }
          }
        ]
      }
    ],
    "payments": [
      {
        "paymentDate": "2024-09-02",
        "paymentAmount": {
          "amount": 90,
          "currencyCode": "GBP"
        }
      }
    ]
  },
  "sourceId": "95079b7c-eca2-1a78-e053-0100007f3c74",
  "sourceName": "PW_SYSTEM",
  "sourceType": "USER",
  "entityId": "9c37de29-44bf-4035-907b-93dcbbdc1527",
  "entityType": "COMPANY",
  "entityOperation": "O",
  "auditMessage": "Final invoice created"
}