[2025-04-26 04:30:04] Production.INFO: Call prc_getBillingAccounts(1,2025-04-26,'','0') [2025-04-26 04:30:04] Production.INFO: Array ( [0] => stdClass Object ( [AccountID] => 101 [NextInvoiceDate] => 2025-04-26 [AccountName] => Dominos 10364 (Shane Linthorne) [ServiceID] => 0 ) [1] => stdClass Object ( [AccountID] => 258 [NextInvoiceDate] => 2025-03-10 [AccountName] => Lion Motors [ServiceID] => 0 ) ) [2025-04-26 04:30:04] Production.INFO: AccountID =101 FirstInvoiceSend 0 [2025-04-26 04:30:04] Production.INFO: LastInvoiceDate 2025-03-26 NextInvoiceDate 2025-04-26 [2025-04-26 04:30:04] Production.INFO: LastChargeDate 2025-03-26 NextChargeDate 2025-04-25 [2025-04-26 04:30:04] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-04-26 04:30:04] Production.INFO: ========================== Invoice Send Start ============================= [2025-04-26 04:30:04] Production.INFO: Invoice::sendInvoice(1,101,2025-03-26,2025-04-26,billing@onswitchit.ca) [2025-04-26 04:30:04] Production.INFO: start Date =2025-03-26 EndDate =2025-04-25 23:59:59 [2025-04-26 04:30:04] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-04-26 04:30:04] Production.INFO: InvoiceTemplate->Terms =



This a summary of your subscription and usage charges for this billing period. Detailed charges, such as a list of all billable calls, can be found on subsequent pages.


[2025-04-26 04:30:04] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-04-26 04:30:04] Production.INFO: AlreadyBilled [2025-04-26 04:30:04] Production.INFO: Reseller ==> 0 [2025-04-26 04:30:04] Production.INFO: original start date ==>2025-03-26 changed start date ==>2025-03-26 00:00:00 original end date ==>2025-04-25 23:59:59 changed end date ==>2025-04-25 23:59:59 [2025-04-26 04:30:05] Production.INFO: Invoice::getAccountUsageTotal(1,101,2025-03-26,2025-04-25 23:59:59) [2025-04-26 04:30:05] Production.INFO: TotalCharges - 0 [2025-04-26 04:30:05] Production.INFO: TotalUsageCharges - 0.00 [2025-04-26 04:30:05] Production.INFO: Usage Over [2025-04-26 04:30:05] Production.INFO: Call prc_getAccountSubscription(101,0) [2025-04-26 04:30:05] Production.INFO: SUBSCRIPTION 6 [2025-04-26 04:30:05] Production.INFO: ============================Subscription Start ================= [2025-04-26 04:30:05] Production.INFO: SubscriptionID - 19 [2025-04-26 04:30:05] Production.INFO: isAdvanceSubscription - 19 [2025-04-26 04:30:05] Production.INFO: SubscriptionStartDate =2025-04-26 - SubscriptionEndDate = 2025-05-25 [2025-04-26 04:30:05] Production.INFO: NewNextChargeDate =2025-05-25 00:00:00 [2025-04-26 04:30:05] Production.INFO: EndDate =2025-04-25 00:00:00 [2025-04-26 04:30:05] Production.INFO: NewEndDate1 =2025-04-26 [2025-04-26 04:30:05] Production.INFO: SubscriptionDate [2025-04-26 04:30:05] Production.INFO: Array ( [StartDate] => 2025-04-26 [EndDate] => 2025-05-25 00:00:00 [AlreadyCharged] => 0 ) [2025-04-26 04:30:05] Production.INFO: AccountSubscription StartDate 2018-11-23 StartDate 2025-03-26 [2025-04-26 04:30:05] Production.INFO: SubscriptionID - 2025-04-26=====2025-05-25 00:00:00 [2025-04-26 04:30:05] Production.INFO: AccountSubscriptionID - 337 === 2018-11-23=====2025-04-24 [2025-04-26 04:30:05] Production.INFO: ============================Subscription End ================= [2025-04-26 04:30:05] Production.INFO: ============================Subscription Start ================= [2025-04-26 04:30:05] Production.INFO: SubscriptionID - 23 [2025-04-26 04:30:05] Production.INFO: isAdvanceSubscription - 23 [2025-04-26 04:30:05] Production.INFO: SubscriptionStartDate =2025-04-26 - SubscriptionEndDate = 2025-05-25 [2025-04-26 04:30:05] Production.INFO: NewNextChargeDate =2025-05-25 00:00:00 [2025-04-26 04:30:05] Production.INFO: EndDate =2025-04-25 00:00:00 [2025-04-26 04:30:05] Production.INFO: NewEndDate1 =2025-04-26 [2025-04-26 04:30:05] Production.INFO: SubscriptionDate [2025-04-26 04:30:05] Production.INFO: Array ( [StartDate] => 2025-04-26 [EndDate] => 2025-05-25 00:00:00 [AlreadyCharged] => 0 ) [2025-04-26 04:30:05] Production.INFO: AccountSubscription StartDate 2018-11-23 StartDate 2025-03-26 [2025-04-26 04:30:05] Production.INFO: SubscriptionID - 2025-04-26=====2025-05-25 00:00:00 [2025-04-26 04:30:05] Production.INFO: AccountSubscriptionID - 338 === 2018-11-23=====2025-04-24 [2025-04-26 04:30:05] Production.INFO: ============================Subscription End ================= [2025-04-26 04:30:05] Production.INFO: ============================Subscription Start ================= [2025-04-26 04:30:05] Production.INFO: SubscriptionID - 5 [2025-04-26 04:30:05] Production.INFO: isAdvanceSubscription - 5 [2025-04-26 04:30:05] Production.INFO: SubscriptionStartDate =2025-04-26 - SubscriptionEndDate = 2025-05-25 [2025-04-26 04:30:05] Production.INFO: NewNextChargeDate =2025-05-25 00:00:00 [2025-04-26 04:30:05] Production.INFO: EndDate =2025-04-25 00:00:00 [2025-04-26 04:30:05] Production.INFO: NewEndDate1 =2025-04-26 [2025-04-26 04:30:05] Production.INFO: SubscriptionDate [2025-04-26 04:30:05] Production.INFO: Array ( [StartDate] => 2025-04-26 [EndDate] => 2025-05-25 00:00:00 [AlreadyCharged] => 0 ) [2025-04-26 04:30:05] Production.INFO: AccountSubscription StartDate 2019-01-28 StartDate 2025-03-26 [2025-04-26 04:30:05] Production.INFO: SubscriptionID - 2025-04-26=====2025-05-25 00:00:00 [2025-04-26 04:30:05] Production.INFO: AccountSubscriptionID - 370 === 2019-01-28=====2025-04-24 [2025-04-26 04:30:05] Production.INFO: ============================Subscription End ================= [2025-04-26 04:30:05] Production.INFO: ============================Subscription Start ================= [2025-04-26 04:30:05] Production.INFO: SubscriptionID - 4 [2025-04-26 04:30:05] Production.INFO: isAdvanceSubscription - 4 [2025-04-26 04:30:05] Production.INFO: SubscriptionStartDate =2025-04-26 - SubscriptionEndDate = 2025-05-25 [2025-04-26 04:30:05] Production.INFO: NewNextChargeDate =2025-05-25 00:00:00 [2025-04-26 04:30:05] Production.INFO: EndDate =2025-04-25 00:00:00 [2025-04-26 04:30:05] Production.INFO: NewEndDate1 =2025-04-26 [2025-04-26 04:30:05] Production.INFO: SubscriptionDate [2025-04-26 04:30:05] Production.INFO: Array ( [StartDate] => 2025-04-26 [EndDate] => 2025-05-25 00:00:00 [AlreadyCharged] => 0 ) [2025-04-26 04:30:05] Production.INFO: AccountSubscription StartDate 2019-01-28 StartDate 2025-03-26 [2025-04-26 04:30:05] Production.INFO: SubscriptionID - 2025-04-26=====2025-05-25 00:00:00 [2025-04-26 04:30:05] Production.INFO: AccountSubscriptionID - 371 === 2019-01-28=====2025-04-24 [2025-04-26 04:30:05] Production.INFO: ============================Subscription End ================= [2025-04-26 04:30:05] Production.INFO: ============================Subscription Start ================= [2025-04-26 04:30:05] Production.INFO: SubscriptionID - 11 [2025-04-26 04:30:05] Production.INFO: isAdvanceSubscription - 11 [2025-04-26 04:30:05] Production.INFO: SubscriptionStartDate =2025-04-26 - SubscriptionEndDate = 2025-05-25 [2025-04-26 04:30:05] Production.INFO: NewNextChargeDate =2025-05-25 00:00:00 [2025-04-26 04:30:05] Production.INFO: EndDate =2025-04-25 00:00:00 [2025-04-26 04:30:05] Production.INFO: NewEndDate1 =2025-04-26 [2025-04-26 04:30:05] Production.INFO: SubscriptionDate [2025-04-26 04:30:05] Production.INFO: Array ( [StartDate] => 2025-04-26 [EndDate] => 2025-05-25 00:00:00 [AlreadyCharged] => 0 ) [2025-04-26 04:30:05] Production.INFO: AccountSubscription StartDate 2019-10-31 StartDate 2025-03-26 [2025-04-26 04:30:05] Production.INFO: SubscriptionID - 2025-04-26=====2025-05-25 00:00:00 [2025-04-26 04:30:05] Production.INFO: AccountSubscriptionID - 447 === 2019-10-31=====2025-04-24 [2025-04-26 04:30:05] Production.INFO: ============================Subscription End ================= [2025-04-26 04:30:05] Production.INFO: ============================Subscription Start ================= [2025-04-26 04:30:05] Production.INFO: SubscriptionID - 24 [2025-04-26 04:30:05] Production.INFO: SubscriptionID - 2025-03-26=====2025-04-25 [2025-04-26 04:30:05] Production.INFO: AccountSubscriptionID - 470 === 2020-01-26=====2020-09-26 [2025-04-26 04:30:05] Production.INFO: ============================Subscription End ================= [2025-04-26 04:30:05] Production.INFO: SUBSCRIPTION Over [2025-04-26 04:30:05] Production.INFO: Call prc_getAccountOneOffCharge(101,0,2025-03-26,2025-04-26 23:59:59) [2025-04-26 04:30:05] Production.INFO: AccountOneOffCharge 0 [2025-04-26 04:30:05] Production.INFO: AccountOneOffCharge Over [2025-04-26 04:30:05] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-04-26 04:30:05] Production.INFO: New UsageDates 2025-03-26 - 2025-04-25 23:59:59 [2025-04-26 04:30:05] Production.INFO: SubTotal 0 [2025-04-26 04:30:05] Production.INFO: SubTotalWithouttaxTotal 0 [2025-04-26 04:30:05] Production.INFO: AccountOneOffCharge Tax Over [2025-04-26 04:30:05] Production.INFO: TotalTax 0 [2025-04-26 04:30:05] Production.INFO: InvoiceGrandTotal 0 [2025-04-26 04:30:05] Production.INFO: InvoiceTaxAmount 0 [2025-04-26 04:30:05] Production.INFO: GrandTotal 0 [2025-04-26 04:30:05] Production.INFO: SubTotal 0.00 [2025-04-26 04:30:05] Production.INFO: TotalDue -218.30 [2025-04-26 04:30:05] Production.INFO: Reseller ==> 0 [2025-04-26 04:30:05] Production.INFO: original start date ==>2025-03-26 changed start date ==>2025-03-26 00:00:00 original end date ==>2025-04-25 23:59:59 changed end date ==>2025-04-25 23:59:59 [2025-04-26 04:30:05] Production.INFO: CALL prc_getInvoiceUsage(1,'101','0','1','2025-03-26 00:00:00','2025-04-25 23:59:59',0) [2025-04-26 04:30:05] Production.INFO: PDF Generation start [2025-04-26 04:30:05] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/101/Invoices/2025/04/26/Invoice-dominos-10364-shane-linthorne-inv11933-from-03-26-2025-to-04-25-2025-10881.pdf [2025-04-26 04:30:05] Production.INFO: On Linux [2025-04-26 04:30:07] Production.INFO: /var/www/html/onswitch.neon.service/wkhtmltox/bin/wkhtmltopdf --header-spacing 3 --footer-spacing 1 --header-html --footer-html "/var/www/tmp/1/101/Invoices/2025/04/26/footer-dominos-10364-shane-linthorne-inv11933-from-03-26-2025-to-04-25-2025-10881.html" "/var/www/tmp/1/101/Invoices/2025/04/26/Invoice-dominos-10364-shane-linthorne-inv11933-from-03-26-2025-to-04-25-2025-10881.html" "/var/www/tmp/1/101/Invoices/2025/04/26/Invoice-dominos-10364-shane-linthorne-inv11933-from-03-26-2025-to-04-25-2025-10881.pdf" [2025-04-26 04:30:07] Production.INFO: [2025-04-26 04:30:07] Production.INFO: /var/www/tmp/1/101/Invoices/2025/04/26/Invoice-dominos-10364-shane-linthorne-inv11933-from-03-26-2025-to-04-25-2025-10881.html [2025-04-26 04:30:07] Production.INFO: /var/www/tmp/1/101/Invoices/2025/04/26/header-dominos-10364-shane-linthorne-inv11933-from-03-26-2025-to-04-25-2025-10881.html [2025-04-26 04:30:07] Production.INFO: /var/www/tmp/1/101/Invoices/2025/04/26/footer-dominos-10364-shane-linthorne-inv11933-from-03-26-2025-to-04-25-2025-10881.html [2025-04-26 04:30:07] Production.INFO: Invoice generation PDF path [2025-04-26 04:30:07] Production.INFO: PDF fullPath 1/101/Invoices/2025/04/26/Invoice-dominos-10364-shane-linthorne-inv11933-from-03-26-2025-to-04-25-2025-10881.pdf [2025-04-26 04:30:07] Production.INFO: Generate Usage File Start [2025-04-26 04:30:07] Production.INFO: Usage File fullPath 1/101/InvoiceUsageFile/2025/04/26/dominos-10364-shane-linthorne-26-03-2025-00-00-00-TO-25-04-2025-23-59-59_5716__a92deae0-2278-11f0-8baf-97ff285da643.csv [2025-04-26 04:30:16] Production.INFO: Sending Email to Staff over [2025-04-26 04:30:16] Production.INFO: Email Status 1 [2025-04-26 04:30:16] Production.INFO: Sending Email to Customer [2025-04-26 04:30:16] Production.INFO: =========== Email Sending over =========== [2025-04-26 04:30:16] Production.INFO: =========== Returning as Success =========== AccountID 101 [2025-04-26 04:30:16] Production.INFO: Invoice::sendInvoice done [2025-04-26 04:30:16] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-04-26 04:30:16] Production.INFO: Invoice Committed AccountID = 101 [2025-04-26 04:30:16] Production.INFO: =========== Updating InvoiceDate =========== [2025-04-26 04:30:16] Production.INFO: NextInvoice 2025-04-26 2025-05-25 [2025-04-26 04:30:16] Production.INFO: new dates [2025-04-26 04:30:16] Production.INFO: LastInvoiceDate 2025-04-26 NextInvoiceDate 2025-05-26 [2025-04-26 04:30:16] Production.INFO: LastChargeDate 2025-04-26 NextChargeDate 2025-05-25 [2025-04-26 04:30:16] Production.INFO: =========== Updated InvoiceDate =========== [2025-04-26 04:30:16] Production.INFO: ========================== Invoice Send End ============================= [2025-04-26 04:30:16] Production.INFO: AccountID =258 FirstInvoiceSend 0 [2025-04-26 04:30:16] Production.INFO: LastInvoiceDate 2025-02-10 NextInvoiceDate 2025-03-10 [2025-04-26 04:30:16] Production.INFO: LastChargeDate 2025-02-10 NextChargeDate 2025-03-09 [2025-04-26 04:30:16] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-04-26 04:30:16] Production.INFO: ========================== Invoice Send Start ============================= [2025-04-26 04:30:16] Production.INFO: Invoice::sendInvoice(1,258,2025-02-10,2025-03-10,billing@onswitchit.ca) [2025-04-26 04:30:16] Production.INFO: start Date =2025-02-10 EndDate =2025-03-09 23:59:59 [2025-04-26 04:30:16] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-04-26 04:30:16] Production.INFO: InvoiceTemplate->Terms =



This a summary of your subscription and usage charges for this billing period. Detailed charges, such as a list of all billable calls, can be found on subsequent pages.


[2025-04-26 04:30:16] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-04-26 04:30:16] Production.INFO: Invoice::sendInvoice done [2025-04-26 04:30:16] Production.INFO: Invoice rollback AccountID = 258 [2025-04-26 04:30:16] Production.INFO: ========================== Error ============================= [2025-04-26 04:30:16] Production.INFO: Invoice with Error - Array ( [status] => failure [message] => Lion Motors Account is already billed on this duration ) [2025-04-26 04:30:16] Production.INFO: ========================== Invoice Send End ============================= [2025-04-26 04:30:17] Production.INFO: ========================== Recurring invoice Start ============================= [2025-04-26 04:30:17] Production.INFO: recurring invoices ID [2025-04-26 04:30:17] Production.INFO: [2025-04-26 04:30:17] Production.INFO: recurring errorsArray ( ) [2025-04-26 04:30:17] Production.INFO: ========================== Recurring invoice End ============================= [2025-04-26 04:30:17] Production.INFO: ========================== Job Updated ============================= [2025-04-26 04:30:17] Production.INFO: ========================== Job Email Sent ============================= [2025-04-26 04:30:18] Production.ERROR: **Email Sent Status 1 [2025-04-26 04:30:18] Production.ERROR: **Email Sent message Email has been sent [2025-04-26 04:30:18] Production.ERROR: CronJobId end6 [2025-04-26 04:30:18] Production.INFO: ==7920== Releasing lock... [2025-04-26 04:30:18] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Stops# [2025-04-26 04:30:18] Production.INFO: 37.5 MB #Memory Used#