[2025-01-11 04:30:03] Production.INFO: Call prc_getBillingAccounts(1,2025-01-11,'','0') [2025-01-11 04:30:03] Production.INFO: Array ( [0] => stdClass Object ( [AccountID] => 13 [NextInvoiceDate] => 2025-01-10 [AccountName] => Rosedale Diner [ServiceID] => 0 ) [1] => stdClass Object ( [AccountID] => 73 [NextInvoiceDate] => 2025-01-10 [AccountName] => Discovery Point Nursery [ServiceID] => 0 ) [2] => stdClass Object ( [AccountID] => 98 [NextInvoiceDate] => 2025-01-11 [AccountName] => Dominos 10537 (Brandon Meyers) [ServiceID] => 0 ) [3] => stdClass Object ( [AccountID] => 106 [NextInvoiceDate] => 2025-01-11 [AccountName] => G4 Broker [ServiceID] => 0 ) [4] => stdClass Object ( [AccountID] => 119 [NextInvoiceDate] => 2025-01-11 [AccountName] => Dominos 10402 (Anwar Hossain) [ServiceID] => 0 ) [5] => stdClass Object ( [AccountID] => 123 [NextInvoiceDate] => 2025-01-11 [AccountName] => Dominos 10547 (Nathan Krishnan) [ServiceID] => 0 ) [6] => stdClass Object ( [AccountID] => 134 [NextInvoiceDate] => 2025-01-11 [AccountName] => Sidhu Law Chambers [ServiceID] => 0 ) [7] => stdClass Object ( [AccountID] => 229 [NextInvoiceDate] => 2025-01-11 [AccountName] => Dominos 10096 (Albert Chan) [ServiceID] => 0 ) ) [2025-01-11 04:30:03] Production.INFO: AccountID =13 FirstInvoiceSend 0 [2025-01-11 04:30:03] Production.INFO: LastInvoiceDate 2024-12-10 NextInvoiceDate 2025-01-10 [2025-01-11 04:30:03] Production.INFO: LastChargeDate 2024-12-10 NextChargeDate 2025-01-09 [2025-01-11 04:30:03] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-01-11 04:30:03] Production.INFO: ========================== Invoice Send Start ============================= [2025-01-11 04:30:03] Production.INFO: Invoice::sendInvoice(1,13,2024-12-10,2025-01-10,billing@onswitchit.ca) [2025-01-11 04:30:03] Production.INFO: start Date =2024-12-10 EndDate =2025-01-09 23:59:59 [2025-01-11 04:30:03] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-01-11 04:30:03] 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-01-11 04:30:03] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-01-11 04:30:03] Production.INFO: AlreadyBilled [2025-01-11 04:30:03] Production.INFO: Reseller ==> 0 [2025-01-11 04:30:04] Production.INFO: original start date ==>2024-12-10 changed start date ==>2024-12-10 00:00:00 original end date ==>2025-01-09 23:59:59 changed end date ==>2025-01-09 23:59:59 [2025-01-11 04:30:04] Production.INFO: Invoice::getAccountUsageTotal(1,13,2024-12-10,2025-01-09 23:59:59) [2025-01-11 04:30:04] Production.INFO: TotalCharges - 0 [2025-01-11 04:30:04] Production.INFO: TotalUsageCharges - 0.00 [2025-01-11 04:30:04] Production.INFO: Usage Over [2025-01-11 04:30:04] Production.INFO: Call prc_getAccountSubscription(13,0) [2025-01-11 04:30:04] Production.INFO: SUBSCRIPTION 4 [2025-01-11 04:30:04] Production.INFO: ============================Subscription Start ================= [2025-01-11 04:30:04] Production.INFO: SubscriptionID - 1 [2025-01-11 04:30:04] Production.INFO: isAdvanceSubscription - 1 [2025-01-11 04:30:04] Production.INFO: SubscriptionStartDate =2025-01-10 - SubscriptionEndDate = 2025-02-09 [2025-01-11 04:30:04] Production.INFO: NewNextChargeDate =2025-02-09 00:00:00 [2025-01-11 04:30:04] Production.INFO: EndDate =2025-01-09 00:00:00 [2025-01-11 04:30:04] Production.INFO: NewEndDate1 =2025-01-10 [2025-01-11 04:30:04] Production.INFO: SubscriptionDate [2025-01-11 04:30:04] Production.INFO: Array ( [StartDate] => 2025-01-10 [EndDate] => 2025-02-09 00:00:00 [AlreadyCharged] => 0 ) [2025-01-11 04:30:04] Production.INFO: AccountSubscription StartDate 2017-03-10 StartDate 2024-12-10 [2025-01-11 04:30:04] Production.INFO: SubscriptionID - 2025-01-10=====2025-02-09 00:00:00 [2025-01-11 04:30:04] Production.INFO: AccountSubscriptionID - 14 === 2017-03-10=====2026-01-11 [2025-01-11 04:30:04] Production.INFO: regular Advance Subscription [2025-01-11 04:30:04] Production.INFO: First Time False 2017-03-10 2025-01-10 [2025-01-11 04:30:04] Production.INFO: StartDate 2025-01-10 AccountSubscription->StartDate 2017-03-10 EndDate 2025-02-09 00:00:00 AccountSubscription->EndDate 2026-01-11 [2025-01-11 04:30:04] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-11 04:30:04] Production.INFO: AccountSubscription::getSubscriptionAmount(14,2025-01-10,2025-02-09 00:00:00,,0) [2025-01-11 04:30:04] Production.INFO: SubscriptionCharge - 7 [2025-01-11 04:30:04] Production.INFO: Already Invoice Subscription 0 [2025-01-11 04:30:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(13,1,1,2025-01-10,2025-02-09 00:00:00,License for a Pay As You Go Cloud Phone extension,7,7,1,14) [2025-01-11 04:30:04] Production.INFO: DiscountAmount 0.000000 [2025-01-11 04:30:04] Production.INFO: DiscountType [2025-01-11 04:30:04] Production.INFO: SubscriptionCharge 7 [2025-01-11 04:30:04] Production.INFO: New SubscriptionCharge 7 [2025-01-11 04:30:04] Production.INFO: TotalSubscriptionCharge - 7.00 [2025-01-11 04:30:04] Production.INFO: ============================Subscription End ================= [2025-01-11 04:30:04] Production.INFO: ============================Subscription Start ================= [2025-01-11 04:30:04] Production.INFO: SubscriptionID - 4 [2025-01-11 04:30:04] Production.INFO: isAdvanceSubscription - 4 [2025-01-11 04:30:04] Production.INFO: SubscriptionStartDate =2025-01-10 - SubscriptionEndDate = 2025-02-09 [2025-01-11 04:30:04] Production.INFO: NewNextChargeDate =2025-02-09 00:00:00 [2025-01-11 04:30:04] Production.INFO: EndDate =2025-01-09 00:00:00 [2025-01-11 04:30:04] Production.INFO: NewEndDate1 =2025-01-10 [2025-01-11 04:30:04] Production.INFO: SubscriptionDate [2025-01-11 04:30:04] Production.INFO: Array ( [StartDate] => 2025-01-10 [EndDate] => 2025-02-09 00:00:00 [AlreadyCharged] => 0 ) [2025-01-11 04:30:04] Production.INFO: AccountSubscription StartDate 2017-03-10 StartDate 2024-12-10 [2025-01-11 04:30:04] Production.INFO: SubscriptionID - 2025-01-10=====2025-02-09 00:00:00 [2025-01-11 04:30:04] Production.INFO: AccountSubscriptionID - 15 === 2017-03-10=====2026-01-11 [2025-01-11 04:30:04] Production.INFO: regular Advance Subscription [2025-01-11 04:30:04] Production.INFO: First Time False 2017-03-10 2025-01-10 [2025-01-11 04:30:04] Production.INFO: StartDate 2025-01-10 AccountSubscription->StartDate 2017-03-10 EndDate 2025-02-09 00:00:00 AccountSubscription->EndDate 2026-01-11 [2025-01-11 04:30:04] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-11 04:30:04] Production.INFO: AccountSubscription::getSubscriptionAmount(15,2025-01-10,2025-02-09 00:00:00,,0) [2025-01-11 04:30:04] Production.INFO: SubscriptionCharge - 2.5 [2025-01-11 04:30:04] Production.INFO: Already Invoice Subscription 0 [2025-01-11 04:30:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(13,1,4,2025-01-10,2025-02-09 00:00:00,e911 address registration (14169233122 - 1164 YONGE ST TORONTO, ON M4W2L9),2.5,2.5,1,15) [2025-01-11 04:30:04] Production.INFO: DiscountAmount 0.000000 [2025-01-11 04:30:04] Production.INFO: DiscountType [2025-01-11 04:30:04] Production.INFO: SubscriptionCharge 2.5 [2025-01-11 04:30:04] Production.INFO: New SubscriptionCharge 2.5 [2025-01-11 04:30:04] Production.INFO: TotalSubscriptionCharge - 2.50 [2025-01-11 04:30:04] Production.INFO: ============================Subscription End ================= [2025-01-11 04:30:04] Production.INFO: ============================Subscription Start ================= [2025-01-11 04:30:04] Production.INFO: SubscriptionID - 8 [2025-01-11 04:30:04] Production.INFO: isAdvanceSubscription - 8 [2025-01-11 04:30:04] Production.INFO: SubscriptionStartDate =2025-01-10 - SubscriptionEndDate = 2025-02-09 [2025-01-11 04:30:04] Production.INFO: NewNextChargeDate =2025-02-09 00:00:00 [2025-01-11 04:30:04] Production.INFO: EndDate =2025-01-09 00:00:00 [2025-01-11 04:30:04] Production.INFO: NewEndDate1 =2025-01-10 [2025-01-11 04:30:04] Production.INFO: SubscriptionDate [2025-01-11 04:30:04] Production.INFO: Array ( [StartDate] => 2025-01-10 [EndDate] => 2025-02-09 00:00:00 [AlreadyCharged] => 0 ) [2025-01-11 04:30:04] Production.INFO: AccountSubscription StartDate 2019-05-06 StartDate 2024-12-10 [2025-01-11 04:30:04] Production.INFO: SubscriptionID - 2025-01-10=====2025-02-09 00:00:00 [2025-01-11 04:30:04] Production.INFO: AccountSubscriptionID - 396 === 2019-05-06=====2026-01-11 [2025-01-11 04:30:04] Production.INFO: regular Advance Subscription [2025-01-11 04:30:04] Production.INFO: First Time False 2019-05-06 2025-01-10 [2025-01-11 04:30:04] Production.INFO: StartDate 2025-01-10 AccountSubscription->StartDate 2019-05-06 EndDate 2025-02-09 00:00:00 AccountSubscription->EndDate 2026-01-11 [2025-01-11 04:30:04] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-11 04:30:04] Production.INFO: AccountSubscription::getSubscriptionAmount(396,2025-01-10,2025-02-09 00:00:00,,0) [2025-01-11 04:30:04] Production.INFO: SubscriptionCharge - 3 [2025-01-11 04:30:04] Production.INFO: Already Invoice Subscription 0 [2025-01-11 04:30:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(13,1,8,2025-01-10,2025-02-09 00:00:00,Additional DID (14167850655),3,3,1,396) [2025-01-11 04:30:04] Production.INFO: DiscountAmount 0.000000 [2025-01-11 04:30:04] Production.INFO: DiscountType [2025-01-11 04:30:04] Production.INFO: SubscriptionCharge 3 [2025-01-11 04:30:04] Production.INFO: New SubscriptionCharge 3 [2025-01-11 04:30:04] Production.INFO: TotalSubscriptionCharge - 3.00 [2025-01-11 04:30:05] Production.INFO: ============================Subscription End ================= [2025-01-11 04:30:05] Production.INFO: ============================Subscription Start ================= [2025-01-11 04:30:05] Production.INFO: SubscriptionID - 8 [2025-01-11 04:30:05] Production.INFO: isAdvanceSubscription - 8 [2025-01-11 04:30:05] Production.INFO: SubscriptionStartDate =2025-01-10 - SubscriptionEndDate = 2025-02-09 [2025-01-11 04:30:05] Production.INFO: NewNextChargeDate =2025-02-09 00:00:00 [2025-01-11 04:30:05] Production.INFO: EndDate =2025-01-09 00:00:00 [2025-01-11 04:30:05] Production.INFO: NewEndDate1 =2025-01-10 [2025-01-11 04:30:05] Production.INFO: SubscriptionDate [2025-01-11 04:30:05] Production.INFO: Array ( [StartDate] => 2025-01-10 [EndDate] => 2025-02-09 00:00:00 [AlreadyCharged] => 0 ) [2025-01-11 04:30:05] Production.INFO: AccountSubscription StartDate 2024-11-05 StartDate 2024-12-10 [2025-01-11 04:30:05] Production.INFO: SubscriptionID - 2025-01-10=====2025-02-09 00:00:00 [2025-01-11 04:30:05] Production.INFO: AccountSubscriptionID - 1238 === 2024-11-05=====2026-01-11 [2025-01-11 04:30:05] Production.INFO: regular Advance Subscription [2025-01-11 04:30:05] Production.INFO: First Time False 2024-11-05 2025-01-10 [2025-01-11 04:30:05] Production.INFO: StartDate 2025-01-10 AccountSubscription->StartDate 2024-11-05 EndDate 2025-02-09 00:00:00 AccountSubscription->EndDate 2026-01-11 [2025-01-11 04:30:05] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-11 04:30:05] Production.INFO: AccountSubscription::getSubscriptionAmount(1238,2025-01-10,2025-02-09 00:00:00,,0) [2025-01-11 04:30:05] Production.INFO: SubscriptionCharge - 2 [2025-01-11 04:30:05] Production.INFO: Already Invoice Subscription 0 [2025-01-11 04:30:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(13,1,8,2025-01-10,2025-02-09 00:00:00,Additional DID (14168770759),2,2,1,1238) [2025-01-11 04:30:05] Production.INFO: DiscountAmount 0.000000 [2025-01-11 04:30:05] Production.INFO: DiscountType Flat [2025-01-11 04:30:05] Production.INFO: SubscriptionCharge 2 [2025-01-11 04:30:05] Production.INFO: New SubscriptionCharge 2 [2025-01-11 04:30:05] Production.INFO: TotalSubscriptionCharge - 2.00 [2025-01-11 04:30:05] Production.INFO: ============================Subscription End ================= [2025-01-11 04:30:05] Production.INFO: SUBSCRIPTION Over [2025-01-11 04:30:05] Production.INFO: Call prc_getAccountOneOffCharge(13,0,2024-12-10,2025-01-10 23:59:59) [2025-01-11 04:30:05] Production.INFO: AccountOneOffCharge 0 [2025-01-11 04:30:05] Production.INFO: AccountOneOffCharge Over [2025-01-11 04:30:05] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-01-11 04:30:05] Production.INFO: New UsageDates 2024-12-10 - 2025-01-09 23:59:59 [2025-01-11 04:30:05] Production.INFO: SubTotal 14.5 [2025-01-11 04:30:05] Production.INFO: SubTotalWithouttaxTotal 0 [2025-01-11 04:30:05] Production.INFO: AccountOneOffCharge Tax Over [2025-01-11 04:30:05] Production.INFO: TotalTax 1.885 [2025-01-11 04:30:05] Production.INFO: InvoiceGrandTotal 16.385 [2025-01-11 04:30:05] Production.INFO: InvoiceTaxAmount 1.89 [2025-01-11 04:30:05] Production.INFO: GrandTotal 16.39 [2025-01-11 04:30:05] Production.INFO: SubTotal 14.50 [2025-01-11 04:30:05] Production.INFO: TotalDue 1.88 [2025-01-11 04:30:05] Production.INFO: Reseller ==> 0 [2025-01-11 04:30:05] Production.INFO: original start date ==>2024-12-10 changed start date ==>2024-12-10 00:00:00 original end date ==>2025-01-09 23:59:59 changed end date ==>2025-01-09 23:59:59 [2025-01-11 04:30:05] Production.INFO: CALL prc_getInvoiceUsage(1,'13','0','1','2024-12-10 00:00:00','2025-01-09 23:59:59',0) [2025-01-11 04:30:05] Production.INFO: PDF Generation start [2025-01-11 04:30:05] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/13/Invoices/2025/01/11/Invoice-rosedale-diner-inv11345-from-12-10-2024-to-01-09-2025-10274.pdf [2025-01-11 04:30:05] Production.INFO: On Linux [2025-01-11 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/13/Invoices/2025/01/11/footer-rosedale-diner-inv11345-from-12-10-2024-to-01-09-2025-10274.html" "/var/www/tmp/1/13/Invoices/2025/01/11/Invoice-rosedale-diner-inv11345-from-12-10-2024-to-01-09-2025-10274.html" "/var/www/tmp/1/13/Invoices/2025/01/11/Invoice-rosedale-diner-inv11345-from-12-10-2024-to-01-09-2025-10274.pdf" [2025-01-11 04:30:07] Production.INFO: [2025-01-11 04:30:07] Production.INFO: /var/www/tmp/1/13/Invoices/2025/01/11/Invoice-rosedale-diner-inv11345-from-12-10-2024-to-01-09-2025-10274.html [2025-01-11 04:30:07] Production.INFO: /var/www/tmp/1/13/Invoices/2025/01/11/header-rosedale-diner-inv11345-from-12-10-2024-to-01-09-2025-10274.html [2025-01-11 04:30:07] Production.INFO: /var/www/tmp/1/13/Invoices/2025/01/11/footer-rosedale-diner-inv11345-from-12-10-2024-to-01-09-2025-10274.html [2025-01-11 04:30:07] Production.INFO: Invoice generation PDF path [2025-01-11 04:30:07] Production.INFO: PDF fullPath 1/13/Invoices/2025/01/11/Invoice-rosedale-diner-inv11345-from-12-10-2024-to-01-09-2025-10274.pdf [2025-01-11 04:30:07] Production.INFO: Generate Usage File Start [2025-01-11 04:30:07] Production.INFO: Usage File fullPath 1/13/InvoiceUsageFile/2025/01/11/rosedale-diner-10-12-2024-00-00-00-TO-09-01-2025-23-59-59_5484__a52683f0-cffe-11ef-89e8-7f7bcce871e7.csv [2025-01-11 04:30:09] Production.INFO: Sending Email to Staff over [2025-01-11 04:30:09] Production.INFO: Email Status 1 [2025-01-11 04:30:09] Production.INFO: Sending Email to Customer [2025-01-11 04:30:10] Production.INFO: Email Try 10274 1 [2025-01-11 04:30:10] Production.INFO: =========== Email Sending over =========== [2025-01-11 04:30:10] Production.INFO: =========== Returning as Success =========== AccountID 13 [2025-01-11 04:30:10] Production.INFO: Invoice::sendInvoice done [2025-01-11 04:30:10] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-01-11 04:30:10] Production.INFO: Invoice Committed AccountID = 13 [2025-01-11 04:30:10] Production.INFO: =========== Updating InvoiceDate =========== [2025-01-11 04:30:10] Production.INFO: NextInvoice 2025-01-10 2025-02-09 [2025-01-11 04:30:10] Production.INFO: new dates [2025-01-11 04:30:10] Production.INFO: LastInvoiceDate 2025-01-10 NextInvoiceDate 2025-02-10 [2025-01-11 04:30:10] Production.INFO: LastChargeDate 2025-01-10 NextChargeDate 2025-02-09 [2025-01-11 04:30:10] Production.INFO: =========== Updated InvoiceDate =========== [2025-01-11 04:30:10] Production.INFO: ========================== Invoice Send End ============================= [2025-01-11 04:30:10] Production.INFO: AccountID =73 FirstInvoiceSend 0 [2025-01-11 04:30:10] Production.INFO: LastInvoiceDate 2024-12-10 NextInvoiceDate 2025-01-10 [2025-01-11 04:30:10] Production.INFO: LastChargeDate 2024-12-10 NextChargeDate 2025-01-09 [2025-01-11 04:30:10] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-01-11 04:30:10] Production.INFO: ========================== Invoice Send Start ============================= [2025-01-11 04:30:10] Production.INFO: Invoice::sendInvoice(1,73,2024-12-10,2025-01-10,billing@onswitchit.ca) [2025-01-11 04:30:10] Production.INFO: start Date =2024-12-10 EndDate =2025-01-09 23:59:59 [2025-01-11 04:30:10] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-01-11 04:30:10] 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-01-11 04:30:10] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-01-11 04:30:10] Production.INFO: AlreadyBilled [2025-01-11 04:30:10] Production.INFO: Reseller ==> 0 [2025-01-11 04:30:10] Production.INFO: original start date ==>2024-12-10 changed start date ==>2024-12-10 00:00:00 original end date ==>2025-01-09 23:59:59 changed end date ==>2025-01-09 23:59:59 [2025-01-11 04:30:10] Production.INFO: CompanyGatewayID 1 TotalCharges ==>1.81000000 [2025-01-11 04:30:10] Production.INFO: Invoice::getAccountUsageTotal(1,73,2024-12-10,2025-01-09 23:59:59) [2025-01-11 04:30:10] Production.INFO: TotalCharges - 1.81 [2025-01-11 04:30:10] Production.INFO: TotalUsageCharges - 1.81 [2025-01-11 04:30:10] Production.INFO: Usage Over [2025-01-11 04:30:10] Production.INFO: Call prc_getAccountSubscription(73,0) [2025-01-11 04:30:10] Production.INFO: SUBSCRIPTION 3 [2025-01-11 04:30:10] Production.INFO: ============================Subscription Start ================= [2025-01-11 04:30:10] Production.INFO: SubscriptionID - 1 [2025-01-11 04:30:10] Production.INFO: isAdvanceSubscription - 1 [2025-01-11 04:30:10] Production.INFO: SubscriptionStartDate =2025-01-10 - SubscriptionEndDate = 2025-02-09 [2025-01-11 04:30:10] Production.INFO: NewNextChargeDate =2025-02-09 00:00:00 [2025-01-11 04:30:10] Production.INFO: EndDate =2025-01-09 00:00:00 [2025-01-11 04:30:10] Production.INFO: NewEndDate1 =2025-01-10 [2025-01-11 04:30:10] Production.INFO: SubscriptionDate [2025-01-11 04:30:10] Production.INFO: Array ( [StartDate] => 2025-01-10 [EndDate] => 2025-02-09 00:00:00 [AlreadyCharged] => 0 ) [2025-01-11 04:30:10] Production.INFO: AccountSubscription StartDate 2018-06-09 StartDate 2024-12-10 [2025-01-11 04:30:10] Production.INFO: SubscriptionID - 2025-01-10=====2025-02-09 00:00:00 [2025-01-11 04:30:10] Production.INFO: AccountSubscriptionID - 265 === 2018-06-09=====2026-01-11 [2025-01-11 04:30:10] Production.INFO: regular Advance Subscription [2025-01-11 04:30:10] Production.INFO: First Time False 2018-06-09 2025-01-10 [2025-01-11 04:30:10] Production.INFO: StartDate 2025-01-10 AccountSubscription->StartDate 2018-06-09 EndDate 2025-02-09 00:00:00 AccountSubscription->EndDate 2026-01-11 [2025-01-11 04:30:10] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-11 04:30:10] Production.INFO: AccountSubscription::getSubscriptionAmount(265,2025-01-10,2025-02-09 00:00:00,,0) [2025-01-11 04:30:10] Production.INFO: SubscriptionCharge - 7 [2025-01-11 04:30:10] Production.INFO: Already Invoice Subscription 0 [2025-01-11 04:30:10] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(73,1,1,2025-01-10,2025-02-09 00:00:00,License for a Pay As You Go Cloud Phone extension,7,7,1,265) [2025-01-11 04:30:10] Production.INFO: DiscountAmount 0.000000 [2025-01-11 04:30:10] Production.INFO: DiscountType [2025-01-11 04:30:10] Production.INFO: SubscriptionCharge 7 [2025-01-11 04:30:10] Production.INFO: New SubscriptionCharge 7 [2025-01-11 04:30:10] Production.INFO: TotalSubscriptionCharge - 7.00 [2025-01-11 04:30:10] Production.INFO: ============================Subscription End ================= [2025-01-11 04:30:10] Production.INFO: ============================Subscription Start ================= [2025-01-11 04:30:10] Production.INFO: SubscriptionID - 4 [2025-01-11 04:30:10] Production.INFO: isAdvanceSubscription - 4 [2025-01-11 04:30:10] Production.INFO: SubscriptionStartDate =2025-01-10 - SubscriptionEndDate = 2025-02-09 [2025-01-11 04:30:10] Production.INFO: NewNextChargeDate =2025-02-09 00:00:00 [2025-01-11 04:30:10] Production.INFO: EndDate =2025-01-09 00:00:00 [2025-01-11 04:30:10] Production.INFO: NewEndDate1 =2025-01-10 [2025-01-11 04:30:10] Production.INFO: SubscriptionDate [2025-01-11 04:30:10] Production.INFO: Array ( [StartDate] => 2025-01-10 [EndDate] => 2025-02-09 00:00:00 [AlreadyCharged] => 0 ) [2025-01-11 04:30:10] Production.INFO: AccountSubscription StartDate 2018-06-09 StartDate 2024-12-10 [2025-01-11 04:30:10] Production.INFO: SubscriptionID - 2025-01-10=====2025-02-09 00:00:00 [2025-01-11 04:30:10] Production.INFO: AccountSubscriptionID - 266 === 2018-06-09=====2026-01-11 [2025-01-11 04:30:10] Production.INFO: regular Advance Subscription [2025-01-11 04:30:10] Production.INFO: First Time False 2018-06-09 2025-01-10 [2025-01-11 04:30:10] Production.INFO: StartDate 2025-01-10 AccountSubscription->StartDate 2018-06-09 EndDate 2025-02-09 00:00:00 AccountSubscription->EndDate 2026-01-11 [2025-01-11 04:30:10] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-11 04:30:10] Production.INFO: AccountSubscription::getSubscriptionAmount(266,2025-01-10,2025-02-09 00:00:00,,0) [2025-01-11 04:30:10] Production.INFO: SubscriptionCharge - 2.5 [2025-01-11 04:30:10] Production.INFO: Already Invoice Subscription 0 [2025-01-11 04:30:10] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(73,1,4,2025-01-10,2025-02-09 00:00:00,e911 address registration (19057273568 - 10501 WESTON RD WOODBRIDGE, ON L4H4G8),2.5,2.5,1,266) [2025-01-11 04:30:10] Production.INFO: DiscountAmount 0.000000 [2025-01-11 04:30:10] Production.INFO: DiscountType [2025-01-11 04:30:10] Production.INFO: SubscriptionCharge 2.5 [2025-01-11 04:30:10] Production.INFO: New SubscriptionCharge 2.5 [2025-01-11 04:30:10] Production.INFO: TotalSubscriptionCharge - 2.50 [2025-01-11 04:30:10] Production.INFO: ============================Subscription End ================= [2025-01-11 04:30:10] Production.INFO: ============================Subscription Start ================= [2025-01-11 04:30:10] Production.INFO: SubscriptionID - 24 [2025-01-11 04:30:10] Production.INFO: SubscriptionID - 2024-12-10=====2025-01-09 [2025-01-11 04:30:10] Production.INFO: AccountSubscriptionID - 582 === 2021-03-07=====2021-08-07 [2025-01-11 04:30:10] Production.INFO: ============================Subscription End ================= [2025-01-11 04:30:10] Production.INFO: SUBSCRIPTION Over [2025-01-11 04:30:10] Production.INFO: Call prc_getAccountOneOffCharge(73,0,2024-12-10,2025-01-10 23:59:59) [2025-01-11 04:30:10] Production.INFO: AccountOneOffCharge 0 [2025-01-11 04:30:10] Production.INFO: AccountOneOffCharge Over [2025-01-11 04:30:10] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-01-11 04:30:10] Production.INFO: New UsageDates 2024-12-10 - 2025-01-09 23:59:59 [2025-01-11 04:30:10] Production.INFO: SubTotal 11.31 [2025-01-11 04:30:10] Production.INFO: SubTotalWithouttaxTotal 0 [2025-01-11 04:30:10] Production.INFO: AccountOneOffCharge Tax Over [2025-01-11 04:30:10] Production.INFO: TotalTax 1.4703 [2025-01-11 04:30:10] Production.INFO: InvoiceGrandTotal 12.7803 [2025-01-11 04:30:10] Production.INFO: InvoiceTaxAmount 1.47 [2025-01-11 04:30:10] Production.INFO: GrandTotal 12.78 [2025-01-11 04:30:10] Production.INFO: SubTotal 11.31 [2025-01-11 04:30:10] Production.INFO: TotalDue -0.06 [2025-01-11 04:30:10] Production.INFO: Reseller ==> 0 [2025-01-11 04:30:10] Production.INFO: original start date ==>2024-12-10 changed start date ==>2024-12-10 00:00:00 original end date ==>2025-01-09 23:59:59 changed end date ==>2025-01-09 23:59:59 [2025-01-11 04:30:10] Production.INFO: CALL prc_getInvoiceUsage(1,'73','0','1','2024-12-10 00:00:00','2025-01-09 23:59:59',0) [2025-01-11 04:30:10] Production.INFO: PDF Generation start [2025-01-11 04:30:10] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/73/Invoices/2025/01/11/Invoice-discovery-point-nursery-inv11346-from-12-10-2024-to-01-09-2025-10275.pdf [2025-01-11 04:30:10] Production.INFO: On Linux [2025-01-11 04:30:12] 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/73/Invoices/2025/01/11/footer-discovery-point-nursery-inv11346-from-12-10-2024-to-01-09-2025-10275.html" "/var/www/tmp/1/73/Invoices/2025/01/11/Invoice-discovery-point-nursery-inv11346-from-12-10-2024-to-01-09-2025-10275.html" "/var/www/tmp/1/73/Invoices/2025/01/11/Invoice-discovery-point-nursery-inv11346-from-12-10-2024-to-01-09-2025-10275.pdf" [2025-01-11 04:30:12] Production.INFO: [2025-01-11 04:30:12] Production.INFO: /var/www/tmp/1/73/Invoices/2025/01/11/Invoice-discovery-point-nursery-inv11346-from-12-10-2024-to-01-09-2025-10275.html [2025-01-11 04:30:12] Production.INFO: /var/www/tmp/1/73/Invoices/2025/01/11/header-discovery-point-nursery-inv11346-from-12-10-2024-to-01-09-2025-10275.html [2025-01-11 04:30:12] Production.INFO: /var/www/tmp/1/73/Invoices/2025/01/11/footer-discovery-point-nursery-inv11346-from-12-10-2024-to-01-09-2025-10275.html [2025-01-11 04:30:12] Production.INFO: Invoice generation PDF path [2025-01-11 04:30:12] Production.INFO: PDF fullPath 1/73/Invoices/2025/01/11/Invoice-discovery-point-nursery-inv11346-from-12-10-2024-to-01-09-2025-10275.pdf [2025-01-11 04:30:12] Production.INFO: Generate Usage File Start [2025-01-11 04:30:12] Production.INFO: Usage File fullPath 1/73/InvoiceUsageFile/2025/01/11/discovery-point-nursery-10-12-2024-00-00-00-TO-09-01-2025-23-59-59_3990__a871c370-cffe-11ef-bfb3-396fa5b68c3e.csv [2025-01-11 04:30:14] Production.INFO: Sending Email to Staff over [2025-01-11 04:30:14] Production.INFO: Email Status 1 [2025-01-11 04:30:14] Production.INFO: Sending Email to Customer [2025-01-11 04:30:15] Production.INFO: Email Try 10275 1 [2025-01-11 04:30:16] Production.INFO: Email Try 10275 1 [2025-01-11 04:30:16] Production.INFO: =========== Email Sending over =========== [2025-01-11 04:30:16] Production.INFO: =========== Returning as Success =========== AccountID 73 [2025-01-11 04:30:16] Production.INFO: Invoice::sendInvoice done [2025-01-11 04:30:16] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-01-11 04:30:16] Production.INFO: Invoice Committed AccountID = 73 [2025-01-11 04:30:16] Production.INFO: =========== Updating InvoiceDate =========== [2025-01-11 04:30:16] Production.INFO: NextInvoice 2025-01-10 2025-02-09 [2025-01-11 04:30:16] Production.INFO: new dates [2025-01-11 04:30:16] Production.INFO: LastInvoiceDate 2025-01-10 NextInvoiceDate 2025-02-10 [2025-01-11 04:30:16] Production.INFO: LastChargeDate 2025-01-10 NextChargeDate 2025-02-09 [2025-01-11 04:30:16] Production.INFO: =========== Updated InvoiceDate =========== [2025-01-11 04:30:16] Production.INFO: ========================== Invoice Send End ============================= [2025-01-11 04:30:16] Production.INFO: AccountID =98 FirstInvoiceSend 0 [2025-01-11 04:30:16] Production.INFO: LastInvoiceDate 2024-12-11 NextInvoiceDate 2025-01-11 [2025-01-11 04:30:16] Production.INFO: LastChargeDate 2024-12-11 NextChargeDate 2025-01-10 [2025-01-11 04:30:16] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-01-11 04:30:16] Production.INFO: ========================== Invoice Send Start ============================= [2025-01-11 04:30:16] Production.INFO: Invoice::sendInvoice(1,98,2024-12-11,2025-01-11,billing@onswitchit.ca) [2025-01-11 04:30:16] Production.INFO: start Date =2024-12-11 EndDate =2025-01-10 23:59:59 [2025-01-11 04:30:16] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-01-11 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-01-11 04:30:16] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-01-11 04:30:16] Production.INFO: AlreadyBilled [2025-01-11 04:30:16] Production.INFO: Reseller ==> 0 [2025-01-11 04:30:16] Production.INFO: original start date ==>2024-12-11 changed start date ==>2024-12-11 00:00:00 original end date ==>2025-01-10 23:59:59 changed end date ==>2025-01-10 23:59:59 [2025-01-11 04:30:16] Production.INFO: Invoice::getAccountUsageTotal(1,98,2024-12-11,2025-01-10 23:59:59) [2025-01-11 04:30:16] Production.INFO: TotalCharges - 0 [2025-01-11 04:30:16] Production.INFO: TotalUsageCharges - 0.00 [2025-01-11 04:30:16] Production.INFO: Usage Over [2025-01-11 04:30:16] Production.INFO: Call prc_getAccountSubscription(98,0) [2025-01-11 04:30:16] Production.INFO: SUBSCRIPTION 3 [2025-01-11 04:30:16] Production.INFO: ============================Subscription Start ================= [2025-01-11 04:30:16] Production.INFO: SubscriptionID - 5 [2025-01-11 04:30:16] Production.INFO: isAdvanceSubscription - 5 [2025-01-11 04:30:16] Production.INFO: SubscriptionStartDate =2025-01-11 - SubscriptionEndDate = 2025-02-10 [2025-01-11 04:30:16] Production.INFO: NewNextChargeDate =2025-02-10 00:00:00 [2025-01-11 04:30:16] Production.INFO: EndDate =2025-01-10 00:00:00 [2025-01-11 04:30:16] Production.INFO: NewEndDate1 =2025-01-11 [2025-01-11 04:30:16] Production.INFO: SubscriptionDate [2025-01-11 04:30:16] Production.INFO: Array ( [StartDate] => 2025-01-11 [EndDate] => 2025-02-10 00:00:00 [AlreadyCharged] => 0 ) [2025-01-11 04:30:16] Production.INFO: AccountSubscription StartDate 2018-12-11 StartDate 2024-12-11 [2025-01-11 04:30:16] Production.INFO: SubscriptionID - 2025-01-11=====2025-02-10 00:00:00 [2025-01-11 04:30:16] Production.INFO: AccountSubscriptionID - 324 === 2018-12-11=====2026-01-11 [2025-01-11 04:30:16] Production.INFO: regular Advance Subscription [2025-01-11 04:30:16] Production.INFO: First Time False 2018-12-11 2025-01-11 [2025-01-11 04:30:16] Production.INFO: StartDate 2025-01-11 AccountSubscription->StartDate 2018-12-11 EndDate 2025-02-10 00:00:00 AccountSubscription->EndDate 2026-01-11 [2025-01-11 04:30:16] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-11 04:30:16] Production.INFO: AccountSubscription::getSubscriptionAmount(324,2025-01-11,2025-02-10 00:00:00,,0) [2025-01-11 04:30:16] Production.INFO: SubscriptionCharge - 55 [2025-01-11 04:30:16] Production.INFO: Already Invoice Subscription 0 [2025-01-11 04:30:16] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(98,1,5,2025-01-11,2025-02-10 00:00:00,Restaurant - 4 Line Flat Rate,55,55,1,324) [2025-01-11 04:30:16] Production.INFO: DiscountAmount 0.000000 [2025-01-11 04:30:16] Production.INFO: DiscountType [2025-01-11 04:30:16] Production.INFO: SubscriptionCharge 55 [2025-01-11 04:30:16] Production.INFO: New SubscriptionCharge 55 [2025-01-11 04:30:16] Production.INFO: TotalSubscriptionCharge - 55.00 [2025-01-11 04:30:16] Production.INFO: ============================Subscription End ================= [2025-01-11 04:30:16] Production.INFO: ============================Subscription Start ================= [2025-01-11 04:30:16] Production.INFO: SubscriptionID - 4 [2025-01-11 04:30:16] Production.INFO: isAdvanceSubscription - 4 [2025-01-11 04:30:16] Production.INFO: SubscriptionStartDate =2025-01-11 - SubscriptionEndDate = 2025-02-10 [2025-01-11 04:30:16] Production.INFO: NewNextChargeDate =2025-02-10 00:00:00 [2025-01-11 04:30:16] Production.INFO: EndDate =2025-01-10 00:00:00 [2025-01-11 04:30:16] Production.INFO: NewEndDate1 =2025-01-11 [2025-01-11 04:30:16] Production.INFO: SubscriptionDate [2025-01-11 04:30:16] Production.INFO: Array ( [StartDate] => 2025-01-11 [EndDate] => 2025-02-10 00:00:00 [AlreadyCharged] => 0 ) [2025-01-11 04:30:16] Production.INFO: AccountSubscription StartDate 2018-12-11 StartDate 2024-12-11 [2025-01-11 04:30:16] Production.INFO: SubscriptionID - 2025-01-11=====2025-02-10 00:00:00 [2025-01-11 04:30:16] Production.INFO: AccountSubscriptionID - 325 === 2018-12-11=====2026-01-11 [2025-01-11 04:30:16] Production.INFO: regular Advance Subscription [2025-01-11 04:30:16] Production.INFO: First Time False 2018-12-11 2025-01-11 [2025-01-11 04:30:16] Production.INFO: StartDate 2025-01-11 AccountSubscription->StartDate 2018-12-11 EndDate 2025-02-10 00:00:00 AccountSubscription->EndDate 2026-01-11 [2025-01-11 04:30:16] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-11 04:30:16] Production.INFO: AccountSubscription::getSubscriptionAmount(325,2025-01-11,2025-02-10 00:00:00,,0) [2025-01-11 04:30:16] Production.INFO: SubscriptionCharge - 2.5 [2025-01-11 04:30:16] Production.INFO: Already Invoice Subscription 0 [2025-01-11 04:30:16] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(98,1,4,2025-01-11,2025-02-10 00:00:00,e911 address registration (12264580100 - 316 Suncoast Dr. E. Unit C Goderich, On N7A 4N7, Canada),2.5,2.5,1,325) [2025-01-11 04:30:16] Production.INFO: DiscountAmount 0.000000 [2025-01-11 04:30:16] Production.INFO: DiscountType [2025-01-11 04:30:16] Production.INFO: SubscriptionCharge 2.5 [2025-01-11 04:30:16] Production.INFO: New SubscriptionCharge 2.5 [2025-01-11 04:30:16] Production.INFO: TotalSubscriptionCharge - 2.50 [2025-01-11 04:30:16] Production.INFO: ============================Subscription End ================= [2025-01-11 04:30:16] Production.INFO: ============================Subscription Start ================= [2025-01-11 04:30:16] Production.INFO: SubscriptionID - 21 [2025-01-11 04:30:16] Production.INFO: isAdvanceSubscription - 21 [2025-01-11 04:30:16] Production.INFO: SubscriptionStartDate =2025-01-11 - SubscriptionEndDate = 2025-02-10 [2025-01-11 04:30:16] Production.INFO: NewNextChargeDate =2025-02-10 00:00:00 [2025-01-11 04:30:16] Production.INFO: EndDate =2020-01-10 00:00:00 [2025-01-11 04:30:16] Production.INFO: NewEndDate1 =2020-01-11 [2025-01-11 04:30:16] Production.INFO: SubscriptionDate [2025-01-11 04:30:16] Production.INFO: Array ( [StartDate] => 2020-01-11 [EndDate] => 2025-02-10 00:00:00 [AlreadyCharged] => 0 ) [2025-01-11 04:30:16] Production.INFO: New Account Subscription Start [2025-01-11 04:30:16] Production.INFO: AccountSubscription StartDate 2018-11-11 StartDate 2024-12-11 [2025-01-11 04:30:16] Production.INFO: SubscriptionID - 2020-01-11=====2025-02-10 00:00:00 [2025-01-11 04:30:16] Production.INFO: AccountSubscriptionID - 326 === 2018-11-11=====2019-12-19 [2025-01-11 04:30:16] Production.INFO: ============================Subscription End ================= [2025-01-11 04:30:16] Production.INFO: SUBSCRIPTION Over [2025-01-11 04:30:16] Production.INFO: Call prc_getAccountOneOffCharge(98,0,2024-12-11,2025-01-11 23:59:59) [2025-01-11 04:30:16] Production.INFO: AccountOneOffCharge 0 [2025-01-11 04:30:16] Production.INFO: AccountOneOffCharge Over [2025-01-11 04:30:16] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-01-11 04:30:16] Production.INFO: New UsageDates 2024-12-11 - 2025-01-10 23:59:59 [2025-01-11 04:30:16] Production.INFO: SubTotal 57.5 [2025-01-11 04:30:16] Production.INFO: SubTotalWithouttaxTotal 0 [2025-01-11 04:30:17] Production.INFO: AccountOneOffCharge Tax Over [2025-01-11 04:30:17] Production.INFO: TotalTax 7.475 [2025-01-11 04:30:17] Production.INFO: InvoiceGrandTotal 64.975 [2025-01-11 04:30:17] Production.INFO: InvoiceTaxAmount 7.48 [2025-01-11 04:30:17] Production.INFO: GrandTotal 64.98 [2025-01-11 04:30:17] Production.INFO: SubTotal 57.50 [2025-01-11 04:30:17] Production.INFO: TotalDue 64.98 [2025-01-11 04:30:17] Production.INFO: Reseller ==> 0 [2025-01-11 04:30:17] Production.INFO: original start date ==>2024-12-11 changed start date ==>2024-12-11 00:00:00 original end date ==>2025-01-10 23:59:59 changed end date ==>2025-01-10 23:59:59 [2025-01-11 04:30:17] Production.INFO: CALL prc_getInvoiceUsage(1,'98','0','1','2024-12-11 00:00:00','2025-01-10 23:59:59',0) [2025-01-11 04:30:17] Production.INFO: PDF Generation start [2025-01-11 04:30:17] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/98/Invoices/2025/01/11/Invoice-dominos-10537-brandon-meyers-inv11347-from-12-11-2024-to-01-10-2025-10276.pdf [2025-01-11 04:30:17] Production.INFO: On Linux [2025-01-11 04:30:18] 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/98/Invoices/2025/01/11/footer-dominos-10537-brandon-meyers-inv11347-from-12-11-2024-to-01-10-2025-10276.html" "/var/www/tmp/1/98/Invoices/2025/01/11/Invoice-dominos-10537-brandon-meyers-inv11347-from-12-11-2024-to-01-10-2025-10276.html" "/var/www/tmp/1/98/Invoices/2025/01/11/Invoice-dominos-10537-brandon-meyers-inv11347-from-12-11-2024-to-01-10-2025-10276.pdf" [2025-01-11 04:30:18] Production.INFO: [2025-01-11 04:30:18] Production.INFO: /var/www/tmp/1/98/Invoices/2025/01/11/Invoice-dominos-10537-brandon-meyers-inv11347-from-12-11-2024-to-01-10-2025-10276.html [2025-01-11 04:30:18] Production.INFO: /var/www/tmp/1/98/Invoices/2025/01/11/header-dominos-10537-brandon-meyers-inv11347-from-12-11-2024-to-01-10-2025-10276.html [2025-01-11 04:30:18] Production.INFO: /var/www/tmp/1/98/Invoices/2025/01/11/footer-dominos-10537-brandon-meyers-inv11347-from-12-11-2024-to-01-10-2025-10276.html [2025-01-11 04:30:18] Production.INFO: Invoice generation PDF path [2025-01-11 04:30:18] Production.INFO: PDF fullPath 1/98/Invoices/2025/01/11/Invoice-dominos-10537-brandon-meyers-inv11347-from-12-11-2024-to-01-10-2025-10276.pdf [2025-01-11 04:30:18] Production.INFO: Generate Usage File Start [2025-01-11 04:30:18] Production.INFO: Usage File fullPath 1/98/InvoiceUsageFile/2025/01/11/dominos-10537-brandon-meyers-11-12-2024-00-00-00-TO-10-01-2025-23-59-59_3314__abeae7c0-cffe-11ef-9938-0f88d3b33c4b.csv [2025-01-11 04:30:19] Production.INFO: Sending Email to Staff over [2025-01-11 04:30:19] Production.INFO: Email Status 1 [2025-01-11 04:30:19] Production.INFO: Sending Email to Customer [2025-01-11 04:30:20] Production.INFO: Email Try 10276 1 [2025-01-11 04:30:20] Production.INFO: =========== Email Sending over =========== [2025-01-11 04:30:20] Production.INFO: =========== Returning as Success =========== AccountID 98 [2025-01-11 04:30:20] Production.INFO: Invoice::sendInvoice done [2025-01-11 04:30:20] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-01-11 04:30:20] Production.INFO: Invoice Committed AccountID = 98 [2025-01-11 04:30:20] Production.INFO: =========== Updating InvoiceDate =========== [2025-01-11 04:30:20] Production.INFO: NextInvoice 2025-01-11 2025-02-10 [2025-01-11 04:30:20] Production.INFO: new dates [2025-01-11 04:30:20] Production.INFO: LastInvoiceDate 2025-01-11 NextInvoiceDate 2025-02-11 [2025-01-11 04:30:20] Production.INFO: LastChargeDate 2025-01-11 NextChargeDate 2025-02-10 [2025-01-11 04:30:20] Production.INFO: =========== Updated InvoiceDate =========== [2025-01-11 04:30:20] Production.INFO: ========================== Invoice Send End ============================= [2025-01-11 04:30:20] Production.INFO: AccountID =106 FirstInvoiceSend 0 [2025-01-11 04:30:20] Production.INFO: LastInvoiceDate 2024-12-11 NextInvoiceDate 2025-01-11 [2025-01-11 04:30:20] Production.INFO: LastChargeDate 2024-12-11 NextChargeDate 2025-01-10 [2025-01-11 04:30:20] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-01-11 04:30:20] Production.INFO: ========================== Invoice Send Start ============================= [2025-01-11 04:30:20] Production.INFO: Invoice::sendInvoice(1,106,2024-12-11,2025-01-11,billing@onswitchit.ca) [2025-01-11 04:30:20] Production.INFO: start Date =2024-12-11 EndDate =2025-01-10 23:59:59 [2025-01-11 04:30:20] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-01-11 04:30:20] 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-01-11 04:30:20] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-01-11 04:30:20] Production.INFO: AlreadyBilled [2025-01-11 04:30:20] Production.INFO: Reseller ==> 0 [2025-01-11 04:30:20] Production.INFO: original start date ==>2024-12-11 changed start date ==>2024-12-11 00:00:00 original end date ==>2025-01-10 23:59:59 changed end date ==>2025-01-10 23:59:59 [2025-01-11 04:30:20] Production.INFO: Invoice::getAccountUsageTotal(1,106,2024-12-11,2025-01-10 23:59:59) [2025-01-11 04:30:20] Production.INFO: TotalCharges - 0 [2025-01-11 04:30:20] Production.INFO: TotalUsageCharges - 0.00 [2025-01-11 04:30:20] Production.INFO: Usage Over [2025-01-11 04:30:20] Production.INFO: Call prc_getAccountSubscription(106,0) [2025-01-11 04:30:20] Production.INFO: SUBSCRIPTION 3 [2025-01-11 04:30:20] Production.INFO: ============================Subscription Start ================= [2025-01-11 04:30:20] Production.INFO: SubscriptionID - 1 [2025-01-11 04:30:20] Production.INFO: isAdvanceSubscription - 1 [2025-01-11 04:30:20] Production.INFO: SubscriptionStartDate =2025-01-11 - SubscriptionEndDate = 2025-02-10 [2025-01-11 04:30:20] Production.INFO: NewNextChargeDate =2025-02-10 00:00:00 [2025-01-11 04:30:20] Production.INFO: EndDate =2025-01-10 00:00:00 [2025-01-11 04:30:20] Production.INFO: NewEndDate1 =2025-01-11 [2025-01-11 04:30:20] Production.INFO: SubscriptionDate [2025-01-11 04:30:20] Production.INFO: Array ( [StartDate] => 2025-01-11 [EndDate] => 2025-02-10 00:00:00 [AlreadyCharged] => 0 ) [2025-01-11 04:30:20] Production.INFO: AccountSubscription StartDate 2019-02-04 StartDate 2024-12-11 [2025-01-11 04:30:20] Production.INFO: SubscriptionID - 2025-01-11=====2025-02-10 00:00:00 [2025-01-11 04:30:20] Production.INFO: AccountSubscriptionID - 372 === 2019-02-04=====2026-01-11 [2025-01-11 04:30:20] Production.INFO: regular Advance Subscription [2025-01-11 04:30:20] Production.INFO: First Time False 2019-02-04 2025-01-11 [2025-01-11 04:30:20] Production.INFO: StartDate 2025-01-11 AccountSubscription->StartDate 2019-02-04 EndDate 2025-02-10 00:00:00 AccountSubscription->EndDate 2026-01-11 [2025-01-11 04:30:20] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-11 04:30:20] Production.INFO: AccountSubscription::getSubscriptionAmount(372,2025-01-11,2025-02-10 00:00:00,,0) [2025-01-11 04:30:20] Production.INFO: SubscriptionCharge - 7 [2025-01-11 04:30:20] Production.INFO: Already Invoice Subscription 0 [2025-01-11 04:30:20] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(106,1,1,2025-01-11,2025-02-10 00:00:00,License for a Pay As You Go Cloud Phone extension,7,7,1,372) [2025-01-11 04:30:20] Production.INFO: DiscountAmount 0.000000 [2025-01-11 04:30:20] Production.INFO: DiscountType [2025-01-11 04:30:20] Production.INFO: SubscriptionCharge 7 [2025-01-11 04:30:20] Production.INFO: New SubscriptionCharge 7 [2025-01-11 04:30:20] Production.INFO: TotalSubscriptionCharge - 7.00 [2025-01-11 04:30:20] Production.INFO: ============================Subscription End ================= [2025-01-11 04:30:20] Production.INFO: ============================Subscription Start ================= [2025-01-11 04:30:20] Production.INFO: SubscriptionID - 4 [2025-01-11 04:30:20] Production.INFO: isAdvanceSubscription - 4 [2025-01-11 04:30:20] Production.INFO: SubscriptionStartDate =2025-01-11 - SubscriptionEndDate = 2025-02-10 [2025-01-11 04:30:20] Production.INFO: NewNextChargeDate =2025-02-10 00:00:00 [2025-01-11 04:30:20] Production.INFO: EndDate =2025-01-10 00:00:00 [2025-01-11 04:30:20] Production.INFO: NewEndDate1 =2025-01-11 [2025-01-11 04:30:20] Production.INFO: SubscriptionDate [2025-01-11 04:30:20] Production.INFO: Array ( [StartDate] => 2025-01-11 [EndDate] => 2025-02-10 00:00:00 [AlreadyCharged] => 0 ) [2025-01-11 04:30:20] Production.INFO: AccountSubscription StartDate 2019-02-04 StartDate 2024-12-11 [2025-01-11 04:30:20] Production.INFO: SubscriptionID - 2025-01-11=====2025-02-10 00:00:00 [2025-01-11 04:30:20] Production.INFO: AccountSubscriptionID - 373 === 2019-02-04=====2026-01-11 [2025-01-11 04:30:20] Production.INFO: regular Advance Subscription [2025-01-11 04:30:20] Production.INFO: First Time False 2019-02-04 2025-01-11 [2025-01-11 04:30:20] Production.INFO: StartDate 2025-01-11 AccountSubscription->StartDate 2019-02-04 EndDate 2025-02-10 00:00:00 AccountSubscription->EndDate 2026-01-11 [2025-01-11 04:30:20] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-11 04:30:20] Production.INFO: AccountSubscription::getSubscriptionAmount(373,2025-01-11,2025-02-10 00:00:00,,0) [2025-01-11 04:30:20] Production.INFO: SubscriptionCharge - 2.5 [2025-01-11 04:30:20] Production.INFO: Already Invoice Subscription 0 [2025-01-11 04:30:20] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(106,1,4,2025-01-11,2025-02-10 00:00:00,e911 address registration (13652350035 - 145 Royal Crest Court 4 Unionville, ON L3R 9Z4 Canada),2.5,2.5,1,373) [2025-01-11 04:30:20] Production.INFO: DiscountAmount 0.000000 [2025-01-11 04:30:20] Production.INFO: DiscountType [2025-01-11 04:30:20] Production.INFO: SubscriptionCharge 2.5 [2025-01-11 04:30:20] Production.INFO: New SubscriptionCharge 2.5 [2025-01-11 04:30:20] Production.INFO: TotalSubscriptionCharge - 2.50 [2025-01-11 04:30:20] Production.INFO: ============================Subscription End ================= [2025-01-11 04:30:20] Production.INFO: ============================Subscription Start ================= [2025-01-11 04:30:20] Production.INFO: SubscriptionID - 12 [2025-01-11 04:30:20] Production.INFO: isAdvanceSubscription - 12 [2025-01-11 04:30:20] Production.INFO: SubscriptionStartDate =2025-01-11 - SubscriptionEndDate = 2025-02-10 [2025-01-11 04:30:20] Production.INFO: NewNextChargeDate =2025-02-10 00:00:00 [2025-01-11 04:30:20] Production.INFO: EndDate =2025-01-10 00:00:00 [2025-01-11 04:30:20] Production.INFO: NewEndDate1 =2025-01-11 [2025-01-11 04:30:20] Production.INFO: SubscriptionDate [2025-01-11 04:30:20] Production.INFO: Array ( [StartDate] => 2025-01-11 [EndDate] => 2025-02-10 00:00:00 [AlreadyCharged] => 0 ) [2025-01-11 04:30:20] Production.INFO: AccountSubscription StartDate 2019-02-04 StartDate 2024-12-11 [2025-01-11 04:30:20] Production.INFO: SubscriptionID - 2025-01-11=====2025-02-10 00:00:00 [2025-01-11 04:30:20] Production.INFO: AccountSubscriptionID - 374 === 2019-02-04=====2026-01-11 [2025-01-11 04:30:20] Production.INFO: regular Advance Subscription [2025-01-11 04:30:20] Production.INFO: First Time False 2019-02-04 2025-01-11 [2025-01-11 04:30:20] Production.INFO: StartDate 2025-01-11 AccountSubscription->StartDate 2019-02-04 EndDate 2025-02-10 00:00:00 AccountSubscription->EndDate 2026-01-11 [2025-01-11 04:30:20] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-11 04:30:20] Production.INFO: AccountSubscription::getSubscriptionAmount(374,2025-01-11,2025-02-10 00:00:00,,0) [2025-01-11 04:30:20] Production.INFO: SubscriptionCharge - 0 [2025-01-11 04:30:20] Production.INFO: Already Invoice Subscription 0 [2025-01-11 04:30:20] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(106,1,12,2025-01-11,2025-02-10 00:00:00,Included DID (13652350035),0,0,1,374) [2025-01-11 04:30:20] Production.INFO: DiscountAmount 0.000000 [2025-01-11 04:30:20] Production.INFO: DiscountType [2025-01-11 04:30:20] Production.INFO: SubscriptionCharge 0 [2025-01-11 04:30:20] Production.INFO: New SubscriptionCharge 0 [2025-01-11 04:30:20] Production.INFO: TotalSubscriptionCharge - 0.00 [2025-01-11 04:30:20] Production.INFO: ============================Subscription End ================= [2025-01-11 04:30:20] Production.INFO: SUBSCRIPTION Over [2025-01-11 04:30:20] Production.INFO: Call prc_getAccountOneOffCharge(106,0,2024-12-11,2025-01-11 23:59:59) [2025-01-11 04:30:20] Production.INFO: AccountOneOffCharge 0 [2025-01-11 04:30:20] Production.INFO: AccountOneOffCharge Over [2025-01-11 04:30:20] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-01-11 04:30:20] Production.INFO: New UsageDates 2024-12-11 - 2025-01-10 23:59:59 [2025-01-11 04:30:20] Production.INFO: SubTotal 9.5 [2025-01-11 04:30:20] Production.INFO: SubTotalWithouttaxTotal 0 [2025-01-11 04:30:20] Production.INFO: AccountOneOffCharge Tax Over [2025-01-11 04:30:20] Production.INFO: TotalTax 1.235 [2025-01-11 04:30:20] Production.INFO: InvoiceGrandTotal 10.735 [2025-01-11 04:30:20] Production.INFO: InvoiceTaxAmount 1.24 [2025-01-11 04:30:20] Production.INFO: GrandTotal 10.74 [2025-01-11 04:30:20] Production.INFO: SubTotal 9.50 [2025-01-11 04:30:20] Production.INFO: TotalDue 10.74 [2025-01-11 04:30:20] Production.INFO: Reseller ==> 0 [2025-01-11 04:30:20] Production.INFO: original start date ==>2024-12-11 changed start date ==>2024-12-11 00:00:00 original end date ==>2025-01-10 23:59:59 changed end date ==>2025-01-10 23:59:59 [2025-01-11 04:30:20] Production.INFO: CALL prc_getInvoiceUsage(1,'106','0','1','2024-12-11 00:00:00','2025-01-10 23:59:59',0) [2025-01-11 04:30:20] Production.INFO: PDF Generation start [2025-01-11 04:30:20] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/106/Invoices/2025/01/11/Invoice-g4-broker-inv11348-from-12-11-2024-to-01-10-2025-10277.pdf [2025-01-11 04:30:20] Production.INFO: On Linux [2025-01-11 04:30:21] 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/106/Invoices/2025/01/11/footer-g4-broker-inv11348-from-12-11-2024-to-01-10-2025-10277.html" "/var/www/tmp/1/106/Invoices/2025/01/11/Invoice-g4-broker-inv11348-from-12-11-2024-to-01-10-2025-10277.html" "/var/www/tmp/1/106/Invoices/2025/01/11/Invoice-g4-broker-inv11348-from-12-11-2024-to-01-10-2025-10277.pdf" [2025-01-11 04:30:21] Production.INFO: [2025-01-11 04:30:21] Production.INFO: /var/www/tmp/1/106/Invoices/2025/01/11/Invoice-g4-broker-inv11348-from-12-11-2024-to-01-10-2025-10277.html [2025-01-11 04:30:21] Production.INFO: /var/www/tmp/1/106/Invoices/2025/01/11/header-g4-broker-inv11348-from-12-11-2024-to-01-10-2025-10277.html [2025-01-11 04:30:21] Production.INFO: /var/www/tmp/1/106/Invoices/2025/01/11/footer-g4-broker-inv11348-from-12-11-2024-to-01-10-2025-10277.html [2025-01-11 04:30:21] Production.INFO: Invoice generation PDF path [2025-01-11 04:30:21] Production.INFO: PDF fullPath 1/106/Invoices/2025/01/11/Invoice-g4-broker-inv11348-from-12-11-2024-to-01-10-2025-10277.pdf [2025-01-11 04:30:21] Production.INFO: Generate Usage File Start [2025-01-11 04:30:21] Production.INFO: Usage File fullPath 1/106/InvoiceUsageFile/2025/01/11/g4-broker-11-12-2024-00-00-00-TO-10-01-2025-23-59-59_5067__adff1c30-cffe-11ef-bb8d-cfbc7937c806.csv [2025-01-11 04:30:22] Production.INFO: Sending Email to Staff over [2025-01-11 04:30:22] Production.INFO: Email Status 1 [2025-01-11 04:30:22] Production.INFO: Sending Email to Customer [2025-01-11 04:30:23] Production.INFO: Email Try 10277 1 [2025-01-11 04:30:23] Production.INFO: =========== Email Sending over =========== [2025-01-11 04:30:23] Production.INFO: =========== Returning as Success =========== AccountID 106 [2025-01-11 04:30:23] Production.INFO: Invoice::sendInvoice done [2025-01-11 04:30:23] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-01-11 04:30:23] Production.INFO: Invoice Committed AccountID = 106 [2025-01-11 04:30:23] Production.INFO: =========== Updating InvoiceDate =========== [2025-01-11 04:30:23] Production.INFO: NextInvoice 2025-01-11 2025-02-10 [2025-01-11 04:30:23] Production.INFO: new dates [2025-01-11 04:30:23] Production.INFO: LastInvoiceDate 2025-01-11 NextInvoiceDate 2025-02-11 [2025-01-11 04:30:23] Production.INFO: LastChargeDate 2025-01-11 NextChargeDate 2025-02-10 [2025-01-11 04:30:23] Production.INFO: =========== Updated InvoiceDate =========== [2025-01-11 04:30:23] Production.INFO: ========================== Invoice Send End ============================= [2025-01-11 04:30:23] Production.INFO: AccountID =119 FirstInvoiceSend 0 [2025-01-11 04:30:23] Production.INFO: LastInvoiceDate 2024-12-11 NextInvoiceDate 2025-01-11 [2025-01-11 04:30:23] Production.INFO: LastChargeDate 2024-12-11 NextChargeDate 2025-01-10 [2025-01-11 04:30:23] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-01-11 04:30:23] Production.INFO: ========================== Invoice Send Start ============================= [2025-01-11 04:30:23] Production.INFO: Invoice::sendInvoice(1,119,2024-12-11,2025-01-11,billing@onswitchit.ca) [2025-01-11 04:30:23] Production.INFO: start Date =2024-12-11 EndDate =2025-01-10 23:59:59 [2025-01-11 04:30:23] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-01-11 04:30:23] 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-01-11 04:30:23] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-01-11 04:30:23] Production.INFO: AlreadyBilled [2025-01-11 04:30:23] Production.INFO: Reseller ==> 0 [2025-01-11 04:30:23] Production.INFO: original start date ==>2024-12-11 changed start date ==>2024-12-11 00:00:00 original end date ==>2025-01-10 23:59:59 changed end date ==>2025-01-10 23:59:59 [2025-01-11 04:30:23] Production.INFO: Invoice::getAccountUsageTotal(1,119,2024-12-11,2025-01-10 23:59:59) [2025-01-11 04:30:23] Production.INFO: TotalCharges - 0 [2025-01-11 04:30:23] Production.INFO: TotalUsageCharges - 0.00 [2025-01-11 04:30:23] Production.INFO: Usage Over [2025-01-11 04:30:23] Production.INFO: Call prc_getAccountSubscription(119,0) [2025-01-11 04:30:23] Production.INFO: SUBSCRIPTION 3 [2025-01-11 04:30:23] Production.INFO: ============================Subscription Start ================= [2025-01-11 04:30:23] Production.INFO: SubscriptionID - 5 [2025-01-11 04:30:23] Production.INFO: isAdvanceSubscription - 5 [2025-01-11 04:30:23] Production.INFO: SubscriptionStartDate =2025-01-11 - SubscriptionEndDate = 2025-02-10 [2025-01-11 04:30:23] Production.INFO: NewNextChargeDate =2025-02-10 00:00:00 [2025-01-11 04:30:23] Production.INFO: EndDate =2025-01-10 00:00:00 [2025-01-11 04:30:23] Production.INFO: NewEndDate1 =2025-01-11 [2025-01-11 04:30:23] Production.INFO: SubscriptionDate [2025-01-11 04:30:23] Production.INFO: Array ( [StartDate] => 2025-01-11 [EndDate] => 2025-02-10 00:00:00 [AlreadyCharged] => 0 ) [2025-01-11 04:30:23] Production.INFO: New Account Subscription Start [2025-01-11 04:30:23] Production.INFO: AccountSubscription StartDate 2019-07-11 StartDate 2024-12-11 [2025-01-11 04:30:23] Production.INFO: SubscriptionID - 2025-01-11=====2025-02-10 00:00:00 [2025-01-11 04:30:23] Production.INFO: AccountSubscriptionID - 408 === 2019-07-11=====2026-01-11 [2025-01-11 04:30:23] Production.INFO: regular Advance Subscription [2025-01-11 04:30:23] Production.INFO: First Time False 2019-07-11 2025-01-11 [2025-01-11 04:30:23] Production.INFO: StartDate 2025-01-11 AccountSubscription->StartDate 2019-07-11 EndDate 2025-02-10 00:00:00 AccountSubscription->EndDate 2026-01-11 [2025-01-11 04:30:23] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-11 04:30:23] Production.INFO: AccountSubscription::getSubscriptionAmount(408,2025-01-11,2025-02-10 00:00:00,,0) [2025-01-11 04:30:23] Production.INFO: SubscriptionCharge - 75 [2025-01-11 04:30:23] Production.INFO: Already Invoice Subscription 0 [2025-01-11 04:30:23] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(119,1,5,2025-01-11,2025-02-10 00:00:00,Restaurant - 4 Line Flat Rate,75,75,1,408) [2025-01-11 04:30:23] Production.INFO: DiscountAmount 0.000000 [2025-01-11 04:30:23] Production.INFO: DiscountType [2025-01-11 04:30:23] Production.INFO: SubscriptionCharge 75 [2025-01-11 04:30:23] Production.INFO: New SubscriptionCharge 75 [2025-01-11 04:30:23] Production.INFO: TotalSubscriptionCharge - 75.00 [2025-01-11 04:30:23] Production.INFO: ============================Subscription End ================= [2025-01-11 04:30:23] Production.INFO: ============================Subscription Start ================= [2025-01-11 04:30:23] Production.INFO: SubscriptionID - 4 [2025-01-11 04:30:23] Production.INFO: isAdvanceSubscription - 4 [2025-01-11 04:30:23] Production.INFO: SubscriptionStartDate =2025-01-11 - SubscriptionEndDate = 2025-02-10 [2025-01-11 04:30:23] Production.INFO: NewNextChargeDate =2025-02-10 00:00:00 [2025-01-11 04:30:23] Production.INFO: EndDate =2025-01-10 00:00:00 [2025-01-11 04:30:23] Production.INFO: NewEndDate1 =2025-01-11 [2025-01-11 04:30:23] Production.INFO: SubscriptionDate [2025-01-11 04:30:23] Production.INFO: Array ( [StartDate] => 2025-01-11 [EndDate] => 2025-02-10 00:00:00 [AlreadyCharged] => 0 ) [2025-01-11 04:30:23] Production.INFO: New Account Subscription Start [2025-01-11 04:30:23] Production.INFO: AccountSubscription StartDate 2019-07-11 StartDate 2024-12-11 [2025-01-11 04:30:23] Production.INFO: SubscriptionID - 2025-01-11=====2025-02-10 00:00:00 [2025-01-11 04:30:23] Production.INFO: AccountSubscriptionID - 409 === 2019-07-11=====2026-01-11 [2025-01-11 04:30:23] Production.INFO: regular Advance Subscription [2025-01-11 04:30:23] Production.INFO: First Time False 2019-07-11 2025-01-11 [2025-01-11 04:30:23] Production.INFO: StartDate 2025-01-11 AccountSubscription->StartDate 2019-07-11 EndDate 2025-02-10 00:00:00 AccountSubscription->EndDate 2026-01-11 [2025-01-11 04:30:23] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-11 04:30:23] Production.INFO: AccountSubscription::getSubscriptionAmount(409,2025-01-11,2025-02-10 00:00:00,,0) [2025-01-11 04:30:23] Production.INFO: SubscriptionCharge - 0 [2025-01-11 04:30:23] Production.INFO: Already Invoice Subscription 0 [2025-01-11 04:30:23] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(119,1,4,2025-01-11,2025-02-10 00:00:00,e911 address registration (19057550596 - 801 Matheson Blvd W Unit 6 Mississauga, ON L5V 2N6),0,0,1,409) [2025-01-11 04:30:23] Production.INFO: DiscountAmount 0.000000 [2025-01-11 04:30:23] Production.INFO: DiscountType [2025-01-11 04:30:23] Production.INFO: SubscriptionCharge 0 [2025-01-11 04:30:23] Production.INFO: New SubscriptionCharge 0 [2025-01-11 04:30:23] Production.INFO: TotalSubscriptionCharge - 0.00 [2025-01-11 04:30:23] Production.INFO: ============================Subscription End ================= [2025-01-11 04:30:23] Production.INFO: ============================Subscription Start ================= [2025-01-11 04:30:23] Production.INFO: SubscriptionID - 11 [2025-01-11 04:30:23] Production.INFO: isAdvanceSubscription - 11 [2025-01-11 04:30:23] Production.INFO: SubscriptionStartDate =2025-01-11 - SubscriptionEndDate = 2025-02-10 [2025-01-11 04:30:23] Production.INFO: NewNextChargeDate =2025-02-10 00:00:00 [2025-01-11 04:30:23] Production.INFO: EndDate =2025-01-10 00:00:00 [2025-01-11 04:30:23] Production.INFO: NewEndDate1 =2025-01-11 [2025-01-11 04:30:23] Production.INFO: SubscriptionDate [2025-01-11 04:30:23] Production.INFO: Array ( [StartDate] => 2025-01-11 [EndDate] => 2025-02-10 00:00:00 [AlreadyCharged] => 0 ) [2025-01-11 04:30:23] Production.INFO: AccountSubscription StartDate 2019-09-06 StartDate 2024-12-11 [2025-01-11 04:30:23] Production.INFO: SubscriptionID - 2025-01-11=====2025-02-10 00:00:00 [2025-01-11 04:30:23] Production.INFO: AccountSubscriptionID - 415 === 2019-09-06=====2026-01-11 [2025-01-11 04:30:23] Production.INFO: regular Advance Subscription [2025-01-11 04:30:23] Production.INFO: First Time False 2019-09-06 2025-01-11 [2025-01-11 04:30:23] Production.INFO: StartDate 2025-01-11 AccountSubscription->StartDate 2019-09-06 EndDate 2025-02-10 00:00:00 AccountSubscription->EndDate 2026-01-11 [2025-01-11 04:30:23] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-11 04:30:23] Production.INFO: AccountSubscription::getSubscriptionAmount(415,2025-01-11,2025-02-10 00:00:00,,0) [2025-01-11 04:30:23] Production.INFO: SubscriptionCharge - -5 [2025-01-11 04:30:23] Production.INFO: Already Invoice Subscription 0 [2025-01-11 04:30:23] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(119,1,11,2025-01-11,2025-02-10 00:00:00,Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service,-10,-5,2,415) [2025-01-11 04:30:23] Production.INFO: DiscountAmount 0.000000 [2025-01-11 04:30:23] Production.INFO: DiscountType [2025-01-11 04:30:23] Production.INFO: SubscriptionCharge -10 [2025-01-11 04:30:23] Production.INFO: New SubscriptionCharge -10 [2025-01-11 04:30:23] Production.INFO: TotalSubscriptionCharge - -10.00 [2025-01-11 04:30:23] Production.INFO: ============================Subscription End ================= [2025-01-11 04:30:23] Production.INFO: SUBSCRIPTION Over [2025-01-11 04:30:23] Production.INFO: Call prc_getAccountOneOffCharge(119,0,2024-12-11,2025-01-11 23:59:59) [2025-01-11 04:30:23] Production.INFO: AccountOneOffCharge 0 [2025-01-11 04:30:23] Production.INFO: AccountOneOffCharge Over [2025-01-11 04:30:23] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-01-11 04:30:23] Production.INFO: New UsageDates 2024-12-11 - 2025-01-10 23:59:59 [2025-01-11 04:30:23] Production.INFO: SubTotal 65 [2025-01-11 04:30:23] Production.INFO: SubTotalWithouttaxTotal 0 [2025-01-11 04:30:23] Production.INFO: AccountOneOffCharge Tax Over [2025-01-11 04:30:23] Production.INFO: TotalTax 8.45 [2025-01-11 04:30:23] Production.INFO: InvoiceGrandTotal 73.45 [2025-01-11 04:30:23] Production.INFO: InvoiceTaxAmount 8.45 [2025-01-11 04:30:23] Production.INFO: GrandTotal 73.45 [2025-01-11 04:30:23] Production.INFO: SubTotal 65.00 [2025-01-11 04:30:23] Production.INFO: TotalDue 73.45 [2025-01-11 04:30:23] Production.INFO: Reseller ==> 0 [2025-01-11 04:30:23] Production.INFO: original start date ==>2024-12-11 changed start date ==>2024-12-11 00:00:00 original end date ==>2025-01-10 23:59:59 changed end date ==>2025-01-10 23:59:59 [2025-01-11 04:30:23] Production.INFO: CALL prc_getInvoiceUsage(1,'119','0','1','2024-12-11 00:00:00','2025-01-10 23:59:59',0) [2025-01-11 04:30:23] Production.INFO: PDF Generation start [2025-01-11 04:30:23] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/119/Invoices/2025/01/11/Invoice-dominos-10402-anwar-hossain-inv11349-from-12-11-2024-to-01-10-2025-10278.pdf [2025-01-11 04:30:23] Production.INFO: On Linux [2025-01-11 04:30:24] 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/119/Invoices/2025/01/11/footer-dominos-10402-anwar-hossain-inv11349-from-12-11-2024-to-01-10-2025-10278.html" "/var/www/tmp/1/119/Invoices/2025/01/11/Invoice-dominos-10402-anwar-hossain-inv11349-from-12-11-2024-to-01-10-2025-10278.html" "/var/www/tmp/1/119/Invoices/2025/01/11/Invoice-dominos-10402-anwar-hossain-inv11349-from-12-11-2024-to-01-10-2025-10278.pdf" [2025-01-11 04:30:24] Production.INFO: [2025-01-11 04:30:24] Production.INFO: /var/www/tmp/1/119/Invoices/2025/01/11/Invoice-dominos-10402-anwar-hossain-inv11349-from-12-11-2024-to-01-10-2025-10278.html [2025-01-11 04:30:24] Production.INFO: /var/www/tmp/1/119/Invoices/2025/01/11/header-dominos-10402-anwar-hossain-inv11349-from-12-11-2024-to-01-10-2025-10278.html [2025-01-11 04:30:24] Production.INFO: /var/www/tmp/1/119/Invoices/2025/01/11/footer-dominos-10402-anwar-hossain-inv11349-from-12-11-2024-to-01-10-2025-10278.html [2025-01-11 04:30:24] Production.INFO: Invoice generation PDF path [2025-01-11 04:30:24] Production.INFO: PDF fullPath 1/119/Invoices/2025/01/11/Invoice-dominos-10402-anwar-hossain-inv11349-from-12-11-2024-to-01-10-2025-10278.pdf [2025-01-11 04:30:24] Production.INFO: Generate Usage File Start [2025-01-11 04:30:24] Production.INFO: Usage File fullPath 1/119/InvoiceUsageFile/2025/01/11/dominos-10402-anwar-hossain-11-12-2024-00-00-00-TO-10-01-2025-23-59-59_2608__afbb8ca0-cffe-11ef-890e-e94bca4abb76.csv [2025-01-11 04:30:25] Production.INFO: Sending Email to Staff over [2025-01-11 04:30:25] Production.INFO: Email Status 1 [2025-01-11 04:30:25] Production.INFO: Sending Email to Customer [2025-01-11 04:30:26] Production.INFO: Email Try 10278 1 [2025-01-11 04:30:26] Production.INFO: =========== Email Sending over =========== [2025-01-11 04:30:26] Production.INFO: =========== Returning as Success =========== AccountID 119 [2025-01-11 04:30:26] Production.INFO: Invoice::sendInvoice done [2025-01-11 04:30:26] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-01-11 04:30:26] Production.INFO: Invoice Committed AccountID = 119 [2025-01-11 04:30:26] Production.INFO: =========== Updating InvoiceDate =========== [2025-01-11 04:30:26] Production.INFO: NextInvoice 2025-01-11 2025-02-10 [2025-01-11 04:30:26] Production.INFO: new dates [2025-01-11 04:30:26] Production.INFO: LastInvoiceDate 2025-01-11 NextInvoiceDate 2025-02-11 [2025-01-11 04:30:26] Production.INFO: LastChargeDate 2025-01-11 NextChargeDate 2025-02-10 [2025-01-11 04:30:26] Production.INFO: =========== Updated InvoiceDate =========== [2025-01-11 04:30:26] Production.INFO: ========================== Invoice Send End ============================= [2025-01-11 04:30:26] Production.INFO: AccountID =123 FirstInvoiceSend 0 [2025-01-11 04:30:26] Production.INFO: LastInvoiceDate 2024-12-11 NextInvoiceDate 2025-01-11 [2025-01-11 04:30:26] Production.INFO: LastChargeDate 2024-12-11 NextChargeDate 2025-01-10 [2025-01-11 04:30:26] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-01-11 04:30:26] Production.INFO: ========================== Invoice Send Start ============================= [2025-01-11 04:30:26] Production.INFO: Invoice::sendInvoice(1,123,2024-12-11,2025-01-11,billing@onswitchit.ca) [2025-01-11 04:30:26] Production.INFO: start Date =2024-12-11 EndDate =2025-01-10 23:59:59 [2025-01-11 04:30:26] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-01-11 04:30:26] 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-01-11 04:30:26] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-01-11 04:30:26] Production.INFO: AlreadyBilled [2025-01-11 04:30:26] Production.INFO: Reseller ==> 0 [2025-01-11 04:30:26] Production.INFO: original start date ==>2024-12-11 changed start date ==>2024-12-11 00:00:00 original end date ==>2025-01-10 23:59:59 changed end date ==>2025-01-10 23:59:59 [2025-01-11 04:30:26] Production.INFO: Invoice::getAccountUsageTotal(1,123,2024-12-11,2025-01-10 23:59:59) [2025-01-11 04:30:26] Production.INFO: TotalCharges - 0 [2025-01-11 04:30:26] Production.INFO: TotalUsageCharges - 0.00 [2025-01-11 04:30:26] Production.INFO: Usage Over [2025-01-11 04:30:26] Production.INFO: Call prc_getAccountSubscription(123,0) [2025-01-11 04:30:26] Production.INFO: SUBSCRIPTION 2 [2025-01-11 04:30:26] Production.INFO: ============================Subscription Start ================= [2025-01-11 04:30:26] Production.INFO: SubscriptionID - 5 [2025-01-11 04:30:26] Production.INFO: isAdvanceSubscription - 5 [2025-01-11 04:30:26] Production.INFO: SubscriptionStartDate =2025-01-11 - SubscriptionEndDate = 2025-02-10 [2025-01-11 04:30:26] Production.INFO: NewNextChargeDate =2025-02-10 00:00:00 [2025-01-11 04:30:26] Production.INFO: EndDate =2025-01-10 00:00:00 [2025-01-11 04:30:26] Production.INFO: NewEndDate1 =2025-01-11 [2025-01-11 04:30:26] Production.INFO: SubscriptionDate [2025-01-11 04:30:26] Production.INFO: Array ( [StartDate] => 2025-01-11 [EndDate] => 2025-02-10 00:00:00 [AlreadyCharged] => 0 ) [2025-01-11 04:30:26] Production.INFO: AccountSubscription StartDate 2019-10-04 StartDate 2024-12-11 [2025-01-11 04:30:26] Production.INFO: SubscriptionID - 2025-01-11=====2025-02-10 00:00:00 [2025-01-11 04:30:26] Production.INFO: AccountSubscriptionID - 430 === 2019-10-04=====2026-01-11 [2025-01-11 04:30:26] Production.INFO: regular Advance Subscription [2025-01-11 04:30:26] Production.INFO: First Time False 2019-10-04 2025-01-11 [2025-01-11 04:30:26] Production.INFO: StartDate 2025-01-11 AccountSubscription->StartDate 2019-10-04 EndDate 2025-02-10 00:00:00 AccountSubscription->EndDate 2026-01-11 [2025-01-11 04:30:26] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-11 04:30:26] Production.INFO: AccountSubscription::getSubscriptionAmount(430,2025-01-11,2025-02-10 00:00:00,,0) [2025-01-11 04:30:26] Production.INFO: SubscriptionCharge - 75 [2025-01-11 04:30:26] Production.INFO: Already Invoice Subscription 0 [2025-01-11 04:30:26] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(123,1,5,2025-01-11,2025-02-10 00:00:00,Restaurant - 4 Line Flat Rate,75,75,1,430) [2025-01-11 04:30:26] Production.INFO: DiscountAmount 0.000000 [2025-01-11 04:30:26] Production.INFO: DiscountType [2025-01-11 04:30:26] Production.INFO: SubscriptionCharge 75 [2025-01-11 04:30:26] Production.INFO: New SubscriptionCharge 75 [2025-01-11 04:30:26] Production.INFO: TotalSubscriptionCharge - 75.00 [2025-01-11 04:30:26] Production.INFO: ============================Subscription End ================= [2025-01-11 04:30:26] Production.INFO: ============================Subscription Start ================= [2025-01-11 04:30:26] Production.INFO: SubscriptionID - 4 [2025-01-11 04:30:26] Production.INFO: isAdvanceSubscription - 4 [2025-01-11 04:30:26] Production.INFO: SubscriptionStartDate =2025-01-11 - SubscriptionEndDate = 2025-02-10 [2025-01-11 04:30:26] Production.INFO: NewNextChargeDate =2025-02-10 00:00:00 [2025-01-11 04:30:26] Production.INFO: EndDate =2025-01-10 00:00:00 [2025-01-11 04:30:26] Production.INFO: NewEndDate1 =2025-01-11 [2025-01-11 04:30:26] Production.INFO: SubscriptionDate [2025-01-11 04:30:26] Production.INFO: Array ( [StartDate] => 2025-01-11 [EndDate] => 2025-02-10 00:00:00 [AlreadyCharged] => 0 ) [2025-01-11 04:30:26] Production.INFO: AccountSubscription StartDate 2019-10-04 StartDate 2024-12-11 [2025-01-11 04:30:26] Production.INFO: SubscriptionID - 2025-01-11=====2025-02-10 00:00:00 [2025-01-11 04:30:26] Production.INFO: AccountSubscriptionID - 431 === 2019-10-04=====2026-01-11 [2025-01-11 04:30:26] Production.INFO: regular Advance Subscription [2025-01-11 04:30:26] Production.INFO: First Time False 2019-10-04 2025-01-11 [2025-01-11 04:30:26] Production.INFO: StartDate 2025-01-11 AccountSubscription->StartDate 2019-10-04 EndDate 2025-02-10 00:00:00 AccountSubscription->EndDate 2026-01-11 [2025-01-11 04:30:26] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-11 04:30:26] Production.INFO: AccountSubscription::getSubscriptionAmount(431,2025-01-11,2025-02-10 00:00:00,,0) [2025-01-11 04:30:26] Production.INFO: SubscriptionCharge - 2.5 [2025-01-11 04:30:26] Production.INFO: Already Invoice Subscription 0 [2025-01-11 04:30:26] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(123,1,4,2025-01-11,2025-02-10 00:00:00,e911 address registration (14162515251 - 3345 LAKESHORE BLVD W ETOBICOKE, ON M8W1N1 Canada),2.5,2.5,1,431) [2025-01-11 04:30:26] Production.INFO: DiscountAmount 0.000000 [2025-01-11 04:30:26] Production.INFO: DiscountType [2025-01-11 04:30:26] Production.INFO: SubscriptionCharge 2.5 [2025-01-11 04:30:26] Production.INFO: New SubscriptionCharge 2.5 [2025-01-11 04:30:26] Production.INFO: TotalSubscriptionCharge - 2.50 [2025-01-11 04:30:26] Production.INFO: ============================Subscription End ================= [2025-01-11 04:30:26] Production.INFO: SUBSCRIPTION Over [2025-01-11 04:30:26] Production.INFO: Call prc_getAccountOneOffCharge(123,0,2024-12-11,2025-01-11 23:59:59) [2025-01-11 04:30:26] Production.INFO: AccountOneOffCharge 0 [2025-01-11 04:30:26] Production.INFO: AccountOneOffCharge Over [2025-01-11 04:30:26] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-01-11 04:30:26] Production.INFO: New UsageDates 2024-12-11 - 2025-01-10 23:59:59 [2025-01-11 04:30:26] Production.INFO: SubTotal 77.5 [2025-01-11 04:30:26] Production.INFO: SubTotalWithouttaxTotal 0 [2025-01-11 04:30:26] Production.INFO: AccountOneOffCharge Tax Over [2025-01-11 04:30:26] Production.INFO: TotalTax 10.075 [2025-01-11 04:30:26] Production.INFO: InvoiceGrandTotal 87.575 [2025-01-11 04:30:26] Production.INFO: InvoiceTaxAmount 10.08 [2025-01-11 04:30:26] Production.INFO: GrandTotal 87.58 [2025-01-11 04:30:26] Production.INFO: SubTotal 77.50 [2025-01-11 04:30:26] Production.INFO: TotalDue 87.58 [2025-01-11 04:30:26] Production.INFO: Reseller ==> 0 [2025-01-11 04:30:26] Production.INFO: original start date ==>2024-12-11 changed start date ==>2024-12-11 00:00:00 original end date ==>2025-01-10 23:59:59 changed end date ==>2025-01-10 23:59:59 [2025-01-11 04:30:26] Production.INFO: CALL prc_getInvoiceUsage(1,'123','0','1','2024-12-11 00:00:00','2025-01-10 23:59:59',0) [2025-01-11 04:30:26] Production.INFO: PDF Generation start [2025-01-11 04:30:26] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/123/Invoices/2025/01/11/Invoice-dominos-10547-nathan-krishnan-inv11350-from-12-11-2024-to-01-10-2025-10279.pdf [2025-01-11 04:30:26] Production.INFO: On Linux [2025-01-11 04:30:27] 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/123/Invoices/2025/01/11/footer-dominos-10547-nathan-krishnan-inv11350-from-12-11-2024-to-01-10-2025-10279.html" "/var/www/tmp/1/123/Invoices/2025/01/11/Invoice-dominos-10547-nathan-krishnan-inv11350-from-12-11-2024-to-01-10-2025-10279.html" "/var/www/tmp/1/123/Invoices/2025/01/11/Invoice-dominos-10547-nathan-krishnan-inv11350-from-12-11-2024-to-01-10-2025-10279.pdf" [2025-01-11 04:30:27] Production.INFO: [2025-01-11 04:30:27] Production.INFO: /var/www/tmp/1/123/Invoices/2025/01/11/Invoice-dominos-10547-nathan-krishnan-inv11350-from-12-11-2024-to-01-10-2025-10279.html [2025-01-11 04:30:27] Production.INFO: /var/www/tmp/1/123/Invoices/2025/01/11/header-dominos-10547-nathan-krishnan-inv11350-from-12-11-2024-to-01-10-2025-10279.html [2025-01-11 04:30:27] Production.INFO: /var/www/tmp/1/123/Invoices/2025/01/11/footer-dominos-10547-nathan-krishnan-inv11350-from-12-11-2024-to-01-10-2025-10279.html [2025-01-11 04:30:27] Production.INFO: Invoice generation PDF path [2025-01-11 04:30:27] Production.INFO: PDF fullPath 1/123/Invoices/2025/01/11/Invoice-dominos-10547-nathan-krishnan-inv11350-from-12-11-2024-to-01-10-2025-10279.pdf [2025-01-11 04:30:27] Production.INFO: Generate Usage File Start [2025-01-11 04:30:27] Production.INFO: Usage File fullPath 1/123/InvoiceUsageFile/2025/01/11/dominos-10547-nathan-krishnan-11-12-2024-00-00-00-TO-10-01-2025-23-59-59_6970__b156aef0-cffe-11ef-8c3e-b338a98e83bc.csv [2025-01-11 04:30:28] Production.INFO: Sending Email to Staff over [2025-01-11 04:30:28] Production.INFO: Email Status 1 [2025-01-11 04:30:28] Production.INFO: Sending Email to Customer [2025-01-11 04:30:29] Production.INFO: Email Try 10279 1 [2025-01-11 04:30:30] Production.INFO: Email Try 10279 1 [2025-01-11 04:30:30] Production.INFO: =========== Email Sending over =========== [2025-01-11 04:30:30] Production.INFO: =========== Returning as Success =========== AccountID 123 [2025-01-11 04:30:30] Production.INFO: Invoice::sendInvoice done [2025-01-11 04:30:30] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-01-11 04:30:30] Production.INFO: Invoice Committed AccountID = 123 [2025-01-11 04:30:30] Production.INFO: =========== Updating InvoiceDate =========== [2025-01-11 04:30:30] Production.INFO: NextInvoice 2025-01-11 2025-02-10 [2025-01-11 04:30:30] Production.INFO: new dates [2025-01-11 04:30:30] Production.INFO: LastInvoiceDate 2025-01-11 NextInvoiceDate 2025-02-11 [2025-01-11 04:30:30] Production.INFO: LastChargeDate 2025-01-11 NextChargeDate 2025-02-10 [2025-01-11 04:30:30] Production.INFO: =========== Updated InvoiceDate =========== [2025-01-11 04:30:30] Production.INFO: ========================== Invoice Send End ============================= [2025-01-11 04:30:30] Production.INFO: AccountID =134 FirstInvoiceSend 0 [2025-01-11 04:30:30] Production.INFO: LastInvoiceDate 2024-12-11 NextInvoiceDate 2025-01-11 [2025-01-11 04:30:30] Production.INFO: LastChargeDate 2024-12-11 NextChargeDate 2025-01-10 [2025-01-11 04:30:30] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-01-11 04:30:30] Production.INFO: ========================== Invoice Send Start ============================= [2025-01-11 04:30:30] Production.INFO: Invoice::sendInvoice(1,134,2024-12-11,2025-01-11,billing@onswitchit.ca) [2025-01-11 04:30:30] Production.INFO: start Date =2024-12-11 EndDate =2025-01-10 23:59:59 [2025-01-11 04:30:30] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-01-11 04:30:30] 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-01-11 04:30:30] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-01-11 04:30:30] Production.INFO: AlreadyBilled [2025-01-11 04:30:30] Production.INFO: Reseller ==> 0 [2025-01-11 04:30:30] Production.INFO: original start date ==>2024-12-11 changed start date ==>2024-12-11 00:00:00 original end date ==>2025-01-10 23:59:59 changed end date ==>2025-01-10 23:59:59 [2025-01-11 04:30:30] Production.INFO: Invoice::getAccountUsageTotal(1,134,2024-12-11,2025-01-10 23:59:59) [2025-01-11 04:30:30] Production.INFO: TotalCharges - 0 [2025-01-11 04:30:30] Production.INFO: TotalUsageCharges - 0.00 [2025-01-11 04:30:30] Production.INFO: Usage Over [2025-01-11 04:30:30] Production.INFO: Call prc_getAccountSubscription(134,0) [2025-01-11 04:30:30] Production.INFO: SUBSCRIPTION 4 [2025-01-11 04:30:30] Production.INFO: ============================Subscription Start ================= [2025-01-11 04:30:30] Production.INFO: SubscriptionID - 2 [2025-01-11 04:30:30] Production.INFO: isAdvanceSubscription - 2 [2025-01-11 04:30:30] Production.INFO: SubscriptionStartDate =2025-01-11 - SubscriptionEndDate = 2025-02-10 [2025-01-11 04:30:30] Production.INFO: NewNextChargeDate =2025-02-10 00:00:00 [2025-01-11 04:30:30] Production.INFO: EndDate =2025-01-10 00:00:00 [2025-01-11 04:30:30] Production.INFO: NewEndDate1 =2025-01-11 [2025-01-11 04:30:30] Production.INFO: SubscriptionDate [2025-01-11 04:30:30] Production.INFO: Array ( [StartDate] => 2025-01-11 [EndDate] => 2025-02-10 00:00:00 [AlreadyCharged] => 0 ) [2025-01-11 04:30:30] Production.INFO: AccountSubscription StartDate 2020-05-08 StartDate 2024-12-11 [2025-01-11 04:30:30] Production.INFO: SubscriptionID - 2025-01-11=====2025-02-10 00:00:00 [2025-01-11 04:30:30] Production.INFO: AccountSubscriptionID - 483 === 2020-05-08=====2026-01-11 [2025-01-11 04:30:30] Production.INFO: regular Advance Subscription [2025-01-11 04:30:30] Production.INFO: First Time False 2020-05-08 2025-01-11 [2025-01-11 04:30:30] Production.INFO: StartDate 2025-01-11 AccountSubscription->StartDate 2020-05-08 EndDate 2025-02-10 00:00:00 AccountSubscription->EndDate 2026-01-11 [2025-01-11 04:30:30] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-11 04:30:30] Production.INFO: AccountSubscription::getSubscriptionAmount(483,2025-01-11,2025-02-10 00:00:00,,0) [2025-01-11 04:30:30] Production.INFO: SubscriptionCharge - 15 [2025-01-11 04:30:30] Production.INFO: Already Invoice Subscription 0 [2025-01-11 04:30:30] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(134,1,2,2025-01-11,2025-02-10 00:00:00,License for an Unlimited Canada/US Cloud Phone extension,15,15,1,483) [2025-01-11 04:30:30] Production.INFO: DiscountAmount 0.000000 [2025-01-11 04:30:30] Production.INFO: DiscountType [2025-01-11 04:30:30] Production.INFO: SubscriptionCharge 15 [2025-01-11 04:30:30] Production.INFO: New SubscriptionCharge 15 [2025-01-11 04:30:30] Production.INFO: TotalSubscriptionCharge - 15.00 [2025-01-11 04:30:30] Production.INFO: ============================Subscription End ================= [2025-01-11 04:30:30] Production.INFO: ============================Subscription Start ================= [2025-01-11 04:30:30] Production.INFO: SubscriptionID - 8 [2025-01-11 04:30:30] Production.INFO: isAdvanceSubscription - 8 [2025-01-11 04:30:30] Production.INFO: SubscriptionStartDate =2025-01-11 - SubscriptionEndDate = 2025-02-10 [2025-01-11 04:30:30] Production.INFO: NewNextChargeDate =2025-02-10 00:00:00 [2025-01-11 04:30:30] Production.INFO: EndDate =2025-01-10 00:00:00 [2025-01-11 04:30:30] Production.INFO: NewEndDate1 =2025-01-11 [2025-01-11 04:30:30] Production.INFO: SubscriptionDate [2025-01-11 04:30:30] Production.INFO: Array ( [StartDate] => 2025-01-11 [EndDate] => 2025-02-10 00:00:00 [AlreadyCharged] => 0 ) [2025-01-11 04:30:30] Production.INFO: AccountSubscription StartDate 2020-05-08 StartDate 2024-12-11 [2025-01-11 04:30:30] Production.INFO: SubscriptionID - 2025-01-11=====2025-02-10 00:00:00 [2025-01-11 04:30:30] Production.INFO: AccountSubscriptionID - 484 === 2020-05-08=====2026-01-11 [2025-01-11 04:30:30] Production.INFO: regular Advance Subscription [2025-01-11 04:30:30] Production.INFO: First Time False 2020-05-08 2025-01-11 [2025-01-11 04:30:30] Production.INFO: StartDate 2025-01-11 AccountSubscription->StartDate 2020-05-08 EndDate 2025-02-10 00:00:00 AccountSubscription->EndDate 2026-01-11 [2025-01-11 04:30:30] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-11 04:30:30] Production.INFO: AccountSubscription::getSubscriptionAmount(484,2025-01-11,2025-02-10 00:00:00,,0) [2025-01-11 04:30:30] Production.INFO: SubscriptionCharge - 5 [2025-01-11 04:30:30] Production.INFO: Already Invoice Subscription 0 [2025-01-11 04:30:30] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(134,1,8,2025-01-11,2025-02-10 00:00:00,Fax DID (9057996231),5,5,1,484) [2025-01-11 04:30:30] Production.INFO: DiscountAmount 0.000000 [2025-01-11 04:30:30] Production.INFO: DiscountType [2025-01-11 04:30:30] Production.INFO: SubscriptionCharge 5 [2025-01-11 04:30:30] Production.INFO: New SubscriptionCharge 5 [2025-01-11 04:30:30] Production.INFO: TotalSubscriptionCharge - 5.00 [2025-01-11 04:30:30] Production.INFO: ============================Subscription End ================= [2025-01-11 04:30:30] Production.INFO: ============================Subscription Start ================= [2025-01-11 04:30:30] Production.INFO: SubscriptionID - 12 [2025-01-11 04:30:30] Production.INFO: isAdvanceSubscription - 12 [2025-01-11 04:30:30] Production.INFO: SubscriptionStartDate =2025-01-11 - SubscriptionEndDate = 2025-02-10 [2025-01-11 04:30:30] Production.INFO: NewNextChargeDate =2025-02-10 00:00:00 [2025-01-11 04:30:30] Production.INFO: EndDate =2025-01-10 00:00:00 [2025-01-11 04:30:30] Production.INFO: NewEndDate1 =2025-01-11 [2025-01-11 04:30:30] Production.INFO: SubscriptionDate [2025-01-11 04:30:30] Production.INFO: Array ( [StartDate] => 2025-01-11 [EndDate] => 2025-02-10 00:00:00 [AlreadyCharged] => 0 ) [2025-01-11 04:30:30] Production.INFO: AccountSubscription StartDate 2020-05-08 StartDate 2024-12-11 [2025-01-11 04:30:30] Production.INFO: SubscriptionID - 2025-01-11=====2025-02-10 00:00:00 [2025-01-11 04:30:30] Production.INFO: AccountSubscriptionID - 485 === 2020-05-08=====2026-01-11 [2025-01-11 04:30:30] Production.INFO: regular Advance Subscription [2025-01-11 04:30:30] Production.INFO: First Time False 2020-05-08 2025-01-11 [2025-01-11 04:30:30] Production.INFO: StartDate 2025-01-11 AccountSubscription->StartDate 2020-05-08 EndDate 2025-02-10 00:00:00 AccountSubscription->EndDate 2026-01-11 [2025-01-11 04:30:30] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-11 04:30:30] Production.INFO: AccountSubscription::getSubscriptionAmount(485,2025-01-11,2025-02-10 00:00:00,,0) [2025-01-11 04:30:30] Production.INFO: SubscriptionCharge - 0 [2025-01-11 04:30:30] Production.INFO: Already Invoice Subscription 0 [2025-01-11 04:30:30] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(134,1,12,2025-01-11,2025-02-10 00:00:00,Voice DID (19057991231),0,0,1,485) [2025-01-11 04:30:30] Production.INFO: DiscountAmount 0.000000 [2025-01-11 04:30:30] Production.INFO: DiscountType [2025-01-11 04:30:30] Production.INFO: SubscriptionCharge 0 [2025-01-11 04:30:30] Production.INFO: New SubscriptionCharge 0 [2025-01-11 04:30:30] Production.INFO: TotalSubscriptionCharge - 0.00 [2025-01-11 04:30:30] Production.INFO: ============================Subscription End ================= [2025-01-11 04:30:30] Production.INFO: ============================Subscription Start ================= [2025-01-11 04:30:30] Production.INFO: SubscriptionID - 4 [2025-01-11 04:30:30] Production.INFO: isAdvanceSubscription - 4 [2025-01-11 04:30:30] Production.INFO: SubscriptionStartDate =2025-01-11 - SubscriptionEndDate = 2025-02-10 [2025-01-11 04:30:30] Production.INFO: NewNextChargeDate =2025-02-10 00:00:00 [2025-01-11 04:30:30] Production.INFO: EndDate =2025-01-10 00:00:00 [2025-01-11 04:30:30] Production.INFO: NewEndDate1 =2025-01-11 [2025-01-11 04:30:30] Production.INFO: SubscriptionDate [2025-01-11 04:30:30] Production.INFO: Array ( [StartDate] => 2025-01-11 [EndDate] => 2025-02-10 00:00:00 [AlreadyCharged] => 0 ) [2025-01-11 04:30:30] Production.INFO: AccountSubscription StartDate 2020-05-08 StartDate 2024-12-11 [2025-01-11 04:30:30] Production.INFO: SubscriptionID - 2025-01-11=====2025-02-10 00:00:00 [2025-01-11 04:30:30] Production.INFO: AccountSubscriptionID - 486 === 2020-05-08=====2026-01-11 [2025-01-11 04:30:30] Production.INFO: regular Advance Subscription [2025-01-11 04:30:30] Production.INFO: First Time False 2020-05-08 2025-01-11 [2025-01-11 04:30:30] Production.INFO: StartDate 2025-01-11 AccountSubscription->StartDate 2020-05-08 EndDate 2025-02-10 00:00:00 AccountSubscription->EndDate 2026-01-11 [2025-01-11 04:30:30] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-11 04:30:30] Production.INFO: AccountSubscription::getSubscriptionAmount(486,2025-01-11,2025-02-10 00:00:00,,0) [2025-01-11 04:30:30] Production.INFO: SubscriptionCharge - 0 [2025-01-11 04:30:30] Production.INFO: Already Invoice Subscription 0 [2025-01-11 04:30:30] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(134,1,4,2025-01-11,2025-02-10 00:00:00,e911 address registration (19057991231 - 45 Bramalea Road Suite 206 Brampton, ON L6T 2W4 Canada),0,0,1,486) [2025-01-11 04:30:30] Production.INFO: DiscountAmount 0.000000 [2025-01-11 04:30:30] Production.INFO: DiscountType [2025-01-11 04:30:30] Production.INFO: SubscriptionCharge 0 [2025-01-11 04:30:30] Production.INFO: New SubscriptionCharge 0 [2025-01-11 04:30:30] Production.INFO: TotalSubscriptionCharge - 0.00 [2025-01-11 04:30:30] Production.INFO: ============================Subscription End ================= [2025-01-11 04:30:30] Production.INFO: SUBSCRIPTION Over [2025-01-11 04:30:30] Production.INFO: Call prc_getAccountOneOffCharge(134,0,2024-12-11,2025-01-11 23:59:59) [2025-01-11 04:30:30] Production.INFO: AccountOneOffCharge 0 [2025-01-11 04:30:30] Production.INFO: AccountOneOffCharge Over [2025-01-11 04:30:30] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-01-11 04:30:30] Production.INFO: New UsageDates 2024-12-11 - 2025-01-10 23:59:59 [2025-01-11 04:30:30] Production.INFO: SubTotal 20 [2025-01-11 04:30:30] Production.INFO: SubTotalWithouttaxTotal 0 [2025-01-11 04:30:30] Production.INFO: AccountOneOffCharge Tax Over [2025-01-11 04:30:30] Production.INFO: TotalTax 2.6 [2025-01-11 04:30:30] Production.INFO: InvoiceGrandTotal 22.6 [2025-01-11 04:30:30] Production.INFO: InvoiceTaxAmount 2.6 [2025-01-11 04:30:30] Production.INFO: GrandTotal 22.6 [2025-01-11 04:30:30] Production.INFO: SubTotal 20.00 [2025-01-11 04:30:30] Production.INFO: TotalDue 22.60 [2025-01-11 04:30:30] Production.INFO: Reseller ==> 0 [2025-01-11 04:30:30] Production.INFO: original start date ==>2024-12-11 changed start date ==>2024-12-11 00:00:00 original end date ==>2025-01-10 23:59:59 changed end date ==>2025-01-10 23:59:59 [2025-01-11 04:30:30] Production.INFO: CALL prc_getInvoiceUsage(1,'134','0','1','2024-12-11 00:00:00','2025-01-10 23:59:59',0) [2025-01-11 04:30:30] Production.INFO: PDF Generation start [2025-01-11 04:30:30] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/134/Invoices/2025/01/11/Invoice-sidhu-law-chambers-inv11351-from-12-11-2024-to-01-10-2025-10280.pdf [2025-01-11 04:30:30] Production.INFO: On Linux [2025-01-11 04:30:31] 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/134/Invoices/2025/01/11/footer-sidhu-law-chambers-inv11351-from-12-11-2024-to-01-10-2025-10280.html" "/var/www/tmp/1/134/Invoices/2025/01/11/Invoice-sidhu-law-chambers-inv11351-from-12-11-2024-to-01-10-2025-10280.html" "/var/www/tmp/1/134/Invoices/2025/01/11/Invoice-sidhu-law-chambers-inv11351-from-12-11-2024-to-01-10-2025-10280.pdf" [2025-01-11 04:30:31] Production.INFO: [2025-01-11 04:30:31] Production.INFO: /var/www/tmp/1/134/Invoices/2025/01/11/Invoice-sidhu-law-chambers-inv11351-from-12-11-2024-to-01-10-2025-10280.html [2025-01-11 04:30:31] Production.INFO: /var/www/tmp/1/134/Invoices/2025/01/11/header-sidhu-law-chambers-inv11351-from-12-11-2024-to-01-10-2025-10280.html [2025-01-11 04:30:31] Production.INFO: /var/www/tmp/1/134/Invoices/2025/01/11/footer-sidhu-law-chambers-inv11351-from-12-11-2024-to-01-10-2025-10280.html [2025-01-11 04:30:31] Production.INFO: Invoice generation PDF path [2025-01-11 04:30:31] Production.INFO: PDF fullPath 1/134/Invoices/2025/01/11/Invoice-sidhu-law-chambers-inv11351-from-12-11-2024-to-01-10-2025-10280.pdf [2025-01-11 04:30:31] Production.INFO: Generate Usage File Start [2025-01-11 04:30:31] Production.INFO: Usage File fullPath 1/134/InvoiceUsageFile/2025/01/11/sidhu-law-chambers-11-12-2024-00-00-00-TO-10-01-2025-23-59-59_9382__b396ab50-cffe-11ef-a8b3-71670ba619f4.csv [2025-01-11 04:30:32] Production.INFO: Sending Email to Staff over [2025-01-11 04:30:32] Production.INFO: Email Status 1 [2025-01-11 04:30:32] Production.INFO: Sending Email to Customer [2025-01-11 04:30:33] Production.INFO: Email Try 10280 1 [2025-01-11 04:30:33] Production.INFO: =========== Email Sending over =========== [2025-01-11 04:30:33] Production.INFO: =========== Returning as Success =========== AccountID 134 [2025-01-11 04:30:33] Production.INFO: Invoice::sendInvoice done [2025-01-11 04:30:33] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-01-11 04:30:33] Production.INFO: Invoice Committed AccountID = 134 [2025-01-11 04:30:33] Production.INFO: =========== Updating InvoiceDate =========== [2025-01-11 04:30:33] Production.INFO: NextInvoice 2025-01-11 2025-02-10 [2025-01-11 04:30:33] Production.INFO: new dates [2025-01-11 04:30:33] Production.INFO: LastInvoiceDate 2025-01-11 NextInvoiceDate 2025-02-11 [2025-01-11 04:30:33] Production.INFO: LastChargeDate 2025-01-11 NextChargeDate 2025-02-10 [2025-01-11 04:30:33] Production.INFO: =========== Updated InvoiceDate =========== [2025-01-11 04:30:33] Production.INFO: ========================== Invoice Send End ============================= [2025-01-11 04:30:33] Production.INFO: AccountID =229 FirstInvoiceSend 0 [2025-01-11 04:30:33] Production.INFO: LastInvoiceDate 2024-12-11 NextInvoiceDate 2025-01-11 [2025-01-11 04:30:33] Production.INFO: LastChargeDate 2024-12-11 NextChargeDate 2025-01-10 [2025-01-11 04:30:33] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-01-11 04:30:33] Production.INFO: ========================== Invoice Send Start ============================= [2025-01-11 04:30:33] Production.INFO: Invoice::sendInvoice(1,229,2024-12-11,2025-01-11,billing@onswitchit.ca) [2025-01-11 04:30:33] Production.INFO: start Date =2024-12-11 EndDate =2025-01-10 23:59:59 [2025-01-11 04:30:33] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-01-11 04:30:33] 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-01-11 04:30:33] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-01-11 04:30:33] Production.INFO: AlreadyBilled [2025-01-11 04:30:33] Production.INFO: Reseller ==> 0 [2025-01-11 04:30:33] Production.INFO: original start date ==>2024-12-11 changed start date ==>2024-12-11 00:00:00 original end date ==>2025-01-10 23:59:59 changed end date ==>2025-01-10 23:59:59 [2025-01-11 04:30:33] Production.INFO: Invoice::getAccountUsageTotal(1,229,2024-12-11,2025-01-10 23:59:59) [2025-01-11 04:30:33] Production.INFO: TotalCharges - 0 [2025-01-11 04:30:33] Production.INFO: TotalUsageCharges - 0.00 [2025-01-11 04:30:33] Production.INFO: Usage Over [2025-01-11 04:30:33] Production.INFO: Call prc_getAccountSubscription(229,0) [2025-01-11 04:30:33] Production.INFO: SUBSCRIPTION 4 [2025-01-11 04:30:33] Production.INFO: ============================Subscription Start ================= [2025-01-11 04:30:33] Production.INFO: SubscriptionID - 5 [2025-01-11 04:30:33] Production.INFO: isAdvanceSubscription - 5 [2025-01-11 04:30:33] Production.INFO: SubscriptionStartDate =2025-01-11 - SubscriptionEndDate = 2025-02-10 [2025-01-11 04:30:33] Production.INFO: NewNextChargeDate =2025-02-10 00:00:00 [2025-01-11 04:30:33] Production.INFO: EndDate =2025-01-10 00:00:00 [2025-01-11 04:30:33] Production.INFO: NewEndDate1 =2025-01-11 [2025-01-11 04:30:33] Production.INFO: SubscriptionDate [2025-01-11 04:30:33] Production.INFO: Array ( [StartDate] => 2025-01-11 [EndDate] => 2025-02-10 00:00:00 [AlreadyCharged] => 0 ) [2025-01-11 04:30:33] Production.INFO: New Account Subscription Start [2025-01-11 04:30:33] Production.INFO: AccountSubscription StartDate 2024-01-12 StartDate 2024-12-11 [2025-01-11 04:30:33] Production.INFO: SubscriptionID - 2025-01-11=====2025-02-10 00:00:00 [2025-01-11 04:30:33] Production.INFO: AccountSubscriptionID - 1116 === 2024-01-12=====2026-01-11 [2025-01-11 04:30:33] Production.INFO: regular Advance Subscription [2025-01-11 04:30:33] Production.INFO: First Time False 2024-01-12 2025-01-11 [2025-01-11 04:30:33] Production.INFO: StartDate 2025-01-11 AccountSubscription->StartDate 2024-01-12 EndDate 2025-02-10 00:00:00 AccountSubscription->EndDate 2026-01-11 [2025-01-11 04:30:33] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-11 04:30:33] Production.INFO: AccountSubscription::getSubscriptionAmount(1116,2025-01-11,2025-02-10 00:00:00,,0) [2025-01-11 04:30:33] Production.INFO: SubscriptionCharge - 75.99 [2025-01-11 04:30:33] Production.INFO: Already Invoice Subscription 0 [2025-01-11 04:30:33] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(229,1,5,2025-01-11,2025-02-10 00:00:00,Restaurant - 5 Line Flat Rate DPZ Canada,75.99,75.99,1,1116) [2025-01-11 04:30:33] Production.INFO: DiscountAmount 0.000000 [2025-01-11 04:30:33] Production.INFO: DiscountType Flat [2025-01-11 04:30:33] Production.INFO: SubscriptionCharge 75.99 [2025-01-11 04:30:33] Production.INFO: New SubscriptionCharge 75.99 [2025-01-11 04:30:33] Production.INFO: TotalSubscriptionCharge - 75.99 [2025-01-11 04:30:33] Production.INFO: ============================Subscription End ================= [2025-01-11 04:30:33] Production.INFO: ============================Subscription Start ================= [2025-01-11 04:30:33] Production.INFO: SubscriptionID - 4 [2025-01-11 04:30:33] Production.INFO: isAdvanceSubscription - 4 [2025-01-11 04:30:33] Production.INFO: SubscriptionStartDate =2025-01-11 - SubscriptionEndDate = 2025-02-10 [2025-01-11 04:30:33] Production.INFO: NewNextChargeDate =2025-02-10 00:00:00 [2025-01-11 04:30:33] Production.INFO: EndDate =2025-01-10 00:00:00 [2025-01-11 04:30:33] Production.INFO: NewEndDate1 =2025-01-11 [2025-01-11 04:30:33] Production.INFO: SubscriptionDate [2025-01-11 04:30:33] Production.INFO: Array ( [StartDate] => 2025-01-11 [EndDate] => 2025-02-10 00:00:00 [AlreadyCharged] => 0 ) [2025-01-11 04:30:33] Production.INFO: New Account Subscription Start [2025-01-11 04:30:33] Production.INFO: AccountSubscription StartDate 2024-01-12 StartDate 2024-12-11 [2025-01-11 04:30:33] Production.INFO: SubscriptionID - 2025-01-11=====2025-02-10 00:00:00 [2025-01-11 04:30:33] Production.INFO: AccountSubscriptionID - 1117 === 2024-01-12=====2026-01-11 [2025-01-11 04:30:33] Production.INFO: regular Advance Subscription [2025-01-11 04:30:33] Production.INFO: First Time False 2024-01-12 2025-01-11 [2025-01-11 04:30:33] Production.INFO: StartDate 2025-01-11 AccountSubscription->StartDate 2024-01-12 EndDate 2025-02-10 00:00:00 AccountSubscription->EndDate 2026-01-11 [2025-01-11 04:30:33] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-11 04:30:33] Production.INFO: AccountSubscription::getSubscriptionAmount(1117,2025-01-11,2025-02-10 00:00:00,,0) [2025-01-11 04:30:33] Production.INFO: SubscriptionCharge - 2.5 [2025-01-11 04:30:33] Production.INFO: Already Invoice Subscription 0 [2025-01-11 04:30:33] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(229,1,4,2025-01-11,2025-02-10 00:00:00,e911 address registration (1-778-649-2222 - 386 City Centre Kitimat, BC V8C2G3 Canada),2.5,2.5,1,1117) [2025-01-11 04:30:33] Production.INFO: DiscountAmount 0.000000 [2025-01-11 04:30:33] Production.INFO: DiscountType Flat [2025-01-11 04:30:33] Production.INFO: SubscriptionCharge 2.5 [2025-01-11 04:30:33] Production.INFO: New SubscriptionCharge 2.5 [2025-01-11 04:30:33] Production.INFO: TotalSubscriptionCharge - 2.50 [2025-01-11 04:30:33] Production.INFO: ============================Subscription End ================= [2025-01-11 04:30:33] Production.INFO: ============================Subscription Start ================= [2025-01-11 04:30:33] Production.INFO: SubscriptionID - 30 [2025-01-11 04:30:33] Production.INFO: isAdvanceSubscription - 30 [2025-01-11 04:30:33] Production.INFO: SubscriptionStartDate =2025-01-11 - SubscriptionEndDate = 2025-02-10 [2025-01-11 04:30:33] Production.INFO: NewNextChargeDate =2025-02-10 00:00:00 [2025-01-11 04:30:33] Production.INFO: EndDate =2024-03-10 00:00:00 [2025-01-11 04:30:33] Production.INFO: NewEndDate1 =2024-03-11 [2025-01-11 04:30:33] Production.INFO: SubscriptionDate [2025-01-11 04:30:33] Production.INFO: Array ( [StartDate] => 2024-03-11 [EndDate] => 2025-02-10 00:00:00 [AlreadyCharged] => 0 ) [2025-01-11 04:30:33] Production.INFO: New Account Subscription Start [2025-01-11 04:30:33] Production.INFO: AccountSubscription StartDate 2024-01-12 StartDate 2024-12-11 [2025-01-11 04:30:33] Production.INFO: SubscriptionID - 2024-03-11=====2025-02-10 00:00:00 [2025-01-11 04:30:33] Production.INFO: AccountSubscriptionID - 1118 === 2024-01-12=====2024-03-10 [2025-01-11 04:30:33] Production.INFO: ============================Subscription End ================= [2025-01-11 04:30:33] Production.INFO: ============================Subscription Start ================= [2025-01-11 04:30:33] Production.INFO: SubscriptionID - 24 [2025-01-11 04:30:33] Production.INFO: SubscriptionID - 2024-12-11=====2025-01-10 [2025-01-11 04:30:33] Production.INFO: AccountSubscriptionID - 1120 === 2024-02-12=====2025-01-12 [2025-01-11 04:30:33] Production.INFO: regular Subscription [2025-01-11 04:30:33] Production.INFO: First Time False 2024-02-12 2024-12-11 [2025-01-11 04:30:33] Production.INFO: StartDate 2024-12-11 AccountSubscription->StartDate 2024-02-12 EndDate 2025-01-10 AccountSubscription->EndDate 2025-01-12 [2025-01-11 04:30:33] Production.INFO: days diff - 31 subscription days 31 quarter days 92 [2025-01-11 04:30:33] Production.INFO: AccountSubscription::getSubscriptionAmount(1120,2024-12-11,2025-01-10,,0) [2025-01-11 04:30:33] Production.INFO: SubscriptionCharge - -50 [2025-01-11 04:30:33] Production.INFO: Already Invoice Subscription 0 [2025-01-11 04:30:33] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(229,1,24,2024-12-11,2025-01-10,Credit - Yealink hardware discount ($500 total, $50/mo for 10 months),-50,-50,1,1120) [2025-01-11 04:30:33] Production.INFO: DiscountAmount 0.000000 [2025-01-11 04:30:33] Production.INFO: DiscountType Flat [2025-01-11 04:30:33] Production.INFO: SubscriptionCharge -50 [2025-01-11 04:30:33] Production.INFO: New SubscriptionCharge -50 [2025-01-11 04:30:33] Production.INFO: TotalSubscriptionCharge - -50.00 [2025-01-11 04:30:33] Production.INFO: ============================Subscription End ================= [2025-01-11 04:30:33] Production.INFO: SUBSCRIPTION Over [2025-01-11 04:30:33] Production.INFO: Call prc_getAccountOneOffCharge(229,0,2024-12-11,2025-01-11 23:59:59) [2025-01-11 04:30:33] Production.INFO: AccountOneOffCharge 0 [2025-01-11 04:30:33] Production.INFO: AccountOneOffCharge Over [2025-01-11 04:30:33] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-01-11 04:30:33] Production.INFO: New UsageDates 2024-12-11 - 2025-01-10 23:59:59 [2025-01-11 04:30:33] Production.INFO: SubTotal 28.49 [2025-01-11 04:30:33] Production.INFO: SubTotalWithouttaxTotal 0 [2025-01-11 04:30:33] Production.INFO: AccountOneOffCharge Tax Over [2025-01-11 04:30:33] Production.INFO: TotalTax 3.7037 [2025-01-11 04:30:33] Production.INFO: InvoiceGrandTotal 32.1937 [2025-01-11 04:30:33] Production.INFO: InvoiceTaxAmount 3.7 [2025-01-11 04:30:33] Production.INFO: GrandTotal 32.19 [2025-01-11 04:30:33] Production.INFO: SubTotal 28.49 [2025-01-11 04:30:33] Production.INFO: TotalDue 32.19 [2025-01-11 04:30:33] Production.INFO: Reseller ==> 0 [2025-01-11 04:30:33] Production.INFO: original start date ==>2024-12-11 changed start date ==>2024-12-11 00:00:00 original end date ==>2025-01-10 23:59:59 changed end date ==>2025-01-10 23:59:59 [2025-01-11 04:30:33] Production.INFO: CALL prc_getInvoiceUsage(1,'229','0','1','2024-12-11 00:00:00','2025-01-10 23:59:59',0) [2025-01-11 04:30:33] Production.INFO: PDF Generation start [2025-01-11 04:30:33] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/229/Invoices/2025/01/11/Invoice-dominos-10096-albert-chan-inv11352-from-12-11-2024-to-01-10-2025-10281.pdf [2025-01-11 04:30:33] Production.INFO: On Linux [2025-01-11 04:30:34] 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/229/Invoices/2025/01/11/footer-dominos-10096-albert-chan-inv11352-from-12-11-2024-to-01-10-2025-10281.html" "/var/www/tmp/1/229/Invoices/2025/01/11/Invoice-dominos-10096-albert-chan-inv11352-from-12-11-2024-to-01-10-2025-10281.html" "/var/www/tmp/1/229/Invoices/2025/01/11/Invoice-dominos-10096-albert-chan-inv11352-from-12-11-2024-to-01-10-2025-10281.pdf" [2025-01-11 04:30:34] Production.INFO: [2025-01-11 04:30:34] Production.INFO: /var/www/tmp/1/229/Invoices/2025/01/11/Invoice-dominos-10096-albert-chan-inv11352-from-12-11-2024-to-01-10-2025-10281.html [2025-01-11 04:30:34] Production.INFO: /var/www/tmp/1/229/Invoices/2025/01/11/header-dominos-10096-albert-chan-inv11352-from-12-11-2024-to-01-10-2025-10281.html [2025-01-11 04:30:34] Production.INFO: /var/www/tmp/1/229/Invoices/2025/01/11/footer-dominos-10096-albert-chan-inv11352-from-12-11-2024-to-01-10-2025-10281.html [2025-01-11 04:30:34] Production.INFO: Invoice generation PDF path [2025-01-11 04:30:34] Production.INFO: PDF fullPath 1/229/Invoices/2025/01/11/Invoice-dominos-10096-albert-chan-inv11352-from-12-11-2024-to-01-10-2025-10281.pdf [2025-01-11 04:30:34] Production.INFO: Generate Usage File Start [2025-01-11 04:30:34] Production.INFO: Usage File fullPath 1/229/InvoiceUsageFile/2025/01/11/dominos-10096-albert-chan-11-12-2024-00-00-00-TO-10-01-2025-23-59-59_9817__b57a69b0-cffe-11ef-a961-978051adee8a.csv [2025-01-11 04:30:35] Production.INFO: Sending Email to Staff over [2025-01-11 04:30:35] Production.INFO: Email Status 1 [2025-01-11 04:30:35] Production.INFO: Sending Email to Customer [2025-01-11 04:30:38] Production.INFO: Email Try 10281 1 [2025-01-11 04:30:45] Production.INFO: Email Try 10281 1 [2025-01-11 04:30:45] Production.INFO: Email Try 10281 1 [2025-01-11 04:30:45] Production.INFO: =========== Email Sending over =========== [2025-01-11 04:30:45] Production.INFO: =========== Returning as Success =========== AccountID 229 [2025-01-11 04:30:45] Production.INFO: Invoice::sendInvoice done [2025-01-11 04:30:45] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-01-11 04:30:45] Production.INFO: Invoice Committed AccountID = 229 [2025-01-11 04:30:45] Production.INFO: =========== Updating InvoiceDate =========== [2025-01-11 04:30:45] Production.INFO: NextInvoice 2025-01-11 2025-02-10 [2025-01-11 04:30:45] Production.INFO: new dates [2025-01-11 04:30:45] Production.INFO: LastInvoiceDate 2025-01-11 NextInvoiceDate 2025-02-11 [2025-01-11 04:30:45] Production.INFO: LastChargeDate 2025-01-11 NextChargeDate 2025-02-10 [2025-01-11 04:30:45] Production.INFO: =========== Updated InvoiceDate =========== [2025-01-11 04:30:45] Production.INFO: ========================== Invoice Send End ============================= [2025-01-11 04:30:45] Production.INFO: ========================== Recurring invoice Start ============================= [2025-01-11 04:30:45] Production.INFO: recurring invoices ID [2025-01-11 04:30:45] Production.INFO: [2025-01-11 04:30:45] Production.INFO: recurring errorsArray ( ) [2025-01-11 04:30:45] Production.INFO: ========================== Recurring invoice End ============================= [2025-01-11 04:30:45] Production.INFO: ========================== Job Updated ============================= [2025-01-11 04:30:46] Production.INFO: ========================== Job Email Sent ============================= [2025-01-11 04:30:47] Production.ERROR: **Email Sent Status 1 [2025-01-11 04:30:47] Production.ERROR: **Email Sent message Email has been sent [2025-01-11 04:30:47] Production.ERROR: CronJobId end6 [2025-01-11 04:30:47] Production.INFO: ==2074== Releasing lock... [2025-01-11 04:30:47] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Stops# [2025-01-11 04:30:47] Production.INFO: 39.25 MB #Memory Used#