[2025-02-16 04:31:03] Production.INFO: Call prc_getBillingAccounts(1,2025-02-16,'','0') [2025-02-16 04:31:03] Production.INFO: Array ( [0] => stdClass Object ( [AccountID] => 6 [NextInvoiceDate] => 2025-02-16 [AccountName] => Background Support [ServiceID] => 0 ) [1] => stdClass Object ( [AccountID] => 57 [NextInvoiceDate] => 2025-02-16 [AccountName] => Dominos 39041 (Rishi Kakar) [ServiceID] => 0 ) [2] => stdClass Object ( [AccountID] => 59 [NextInvoiceDate] => 2025-02-16 [AccountName] => Mantella VP [ServiceID] => 0 ) [3] => stdClass Object ( [AccountID] => 107 [NextInvoiceDate] => 2025-02-16 [AccountName] => Dominos 10179 (Akshay Naik) [ServiceID] => 0 ) [4] => stdClass Object ( [AccountID] => 140 [NextInvoiceDate] => 2025-02-16 [AccountName] => PharmaSave (Uxbridge) [ServiceID] => 0 ) [5] => stdClass Object ( [AccountID] => 161 [NextInvoiceDate] => 2025-02-16 [AccountName] => Dominos 10476 (Sandeep Chaudhari) [ServiceID] => 0 ) ) [2025-02-16 04:31:03] Production.INFO: AccountID =6 FirstInvoiceSend 0 [2025-02-16 04:31:03] Production.INFO: LastInvoiceDate 2025-01-16 NextInvoiceDate 2025-02-16 [2025-02-16 04:31:03] Production.INFO: LastChargeDate 2025-01-16 NextChargeDate 2025-02-15 [2025-02-16 04:31:03] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-02-16 04:31:03] Production.INFO: ========================== Invoice Send Start ============================= [2025-02-16 04:31:03] Production.INFO: Invoice::sendInvoice(1,6,2025-01-16,2025-02-16,billing@onswitchit.ca) [2025-02-16 04:31:03] Production.INFO: start Date =2025-01-16 EndDate =2025-02-15 23:59:59 [2025-02-16 04:31:03] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-02-16 04:31: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-02-16 04:31:03] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-02-16 04:31:03] Production.INFO: AlreadyBilled [2025-02-16 04:31:03] Production.INFO: Reseller ==> 0 [2025-02-16 04:31:03] Production.INFO: original start date ==>2025-01-16 changed start date ==>2025-01-16 00:00:00 original end date ==>2025-02-15 23:59:59 changed end date ==>2025-02-15 23:59:59 [2025-02-16 04:31:03] Production.INFO: CompanyGatewayID 1 TotalCharges ==>5.22000000 [2025-02-16 04:31:03] Production.INFO: Invoice::getAccountUsageTotal(1,6,2025-01-16,2025-02-15 23:59:59) [2025-02-16 04:31:03] Production.INFO: TotalCharges - 5.22 [2025-02-16 04:31:03] Production.INFO: TotalUsageCharges - 5.22 [2025-02-16 04:31:03] Production.INFO: Usage Over [2025-02-16 04:31:03] Production.INFO: Call prc_getAccountSubscription(6,0) [2025-02-16 04:31:03] Production.INFO: SUBSCRIPTION 2 [2025-02-16 04:31:03] Production.INFO: ============================Subscription Start ================= [2025-02-16 04:31:03] Production.INFO: SubscriptionID - 1 [2025-02-16 04:31:03] Production.INFO: isAdvanceSubscription - 1 [2025-02-16 04:31:03] Production.INFO: SubscriptionStartDate =2025-02-16 - SubscriptionEndDate = 2025-03-15 [2025-02-16 04:31:03] Production.INFO: NewNextChargeDate =2025-03-15 00:00:00 [2025-02-16 04:31:03] Production.INFO: EndDate =2025-02-15 00:00:00 [2025-02-16 04:31:03] Production.INFO: NewEndDate1 =2025-02-16 [2025-02-16 04:31:03] Production.INFO: SubscriptionDate [2025-02-16 04:31:03] Production.INFO: Array ( [StartDate] => 2025-02-16 [EndDate] => 2025-03-15 00:00:00 [AlreadyCharged] => 0 ) [2025-02-16 04:31:03] Production.INFO: AccountSubscription StartDate 2017-05-30 StartDate 2025-01-16 [2025-02-16 04:31:03] Production.INFO: SubscriptionID - 2025-02-16=====2025-03-15 00:00:00 [2025-02-16 04:31:03] Production.INFO: AccountSubscriptionID - 41 === 2017-05-30=====2026-02-16 [2025-02-16 04:31:03] Production.INFO: regular Advance Subscription [2025-02-16 04:31:03] Production.INFO: First Time False 2017-05-30 2025-02-16 [2025-02-16 04:31:03] Production.INFO: StartDate 2025-02-16 AccountSubscription->StartDate 2017-05-30 EndDate 2025-03-15 00:00:00 AccountSubscription->EndDate 2026-02-16 [2025-02-16 04:31:03] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-16 04:31:03] Production.INFO: AccountSubscription::getSubscriptionAmount(41,2025-02-16,2025-03-15 00:00:00,,0) [2025-02-16 04:31:03] Production.INFO: SubscriptionCharge - 10 [2025-02-16 04:31:03] Production.INFO: Already Invoice Subscription 0 [2025-02-16 04:31:03] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(6,1,1,2025-02-16,2025-03-15 00:00:00,License for a Pay As You Go Cloud Phone extension,30,10,3,41) [2025-02-16 04:31:03] Production.INFO: DiscountAmount 0.000000 [2025-02-16 04:31:03] Production.INFO: DiscountType [2025-02-16 04:31:03] Production.INFO: SubscriptionCharge 30 [2025-02-16 04:31:03] Production.INFO: New SubscriptionCharge 30 [2025-02-16 04:31:03] Production.INFO: TotalSubscriptionCharge - 30.00 [2025-02-16 04:31:03] Production.INFO: ============================Subscription End ================= [2025-02-16 04:31:03] Production.INFO: ============================Subscription Start ================= [2025-02-16 04:31:03] Production.INFO: SubscriptionID - 8 [2025-02-16 04:31:03] Production.INFO: isAdvanceSubscription - 8 [2025-02-16 04:31:03] Production.INFO: SubscriptionStartDate =2025-02-16 - SubscriptionEndDate = 2025-03-15 [2025-02-16 04:31:03] Production.INFO: NewNextChargeDate =2025-03-15 00:00:00 [2025-02-16 04:31:03] Production.INFO: EndDate =2025-02-15 00:00:00 [2025-02-16 04:31:03] Production.INFO: NewEndDate1 =2025-02-16 [2025-02-16 04:31:03] Production.INFO: SubscriptionDate [2025-02-16 04:31:03] Production.INFO: Array ( [StartDate] => 2025-02-16 [EndDate] => 2025-03-15 00:00:00 [AlreadyCharged] => 0 ) [2025-02-16 04:31:03] Production.INFO: AccountSubscription StartDate 2019-12-19 StartDate 2025-01-16 [2025-02-16 04:31:03] Production.INFO: SubscriptionID - 2025-02-16=====2025-03-15 00:00:00 [2025-02-16 04:31:03] Production.INFO: AccountSubscriptionID - 454 === 2019-12-19=====2026-02-16 [2025-02-16 04:31:03] Production.INFO: regular Advance Subscription [2025-02-16 04:31:03] Production.INFO: First Time False 2019-12-19 2025-02-16 [2025-02-16 04:31:03] Production.INFO: StartDate 2025-02-16 AccountSubscription->StartDate 2019-12-19 EndDate 2025-03-15 00:00:00 AccountSubscription->EndDate 2026-02-16 [2025-02-16 04:31:03] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-16 04:31:03] Production.INFO: AccountSubscription::getSubscriptionAmount(454,2025-02-16,2025-03-15 00:00:00,,0) [2025-02-16 04:31:03] Production.INFO: SubscriptionCharge - 5 [2025-02-16 04:31:03] Production.INFO: Already Invoice Subscription 0 [2025-02-16 04:31:03] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(6,1,8,2025-02-16,2025-03-15 00:00:00,Additional DID (6474848647) - Background Support eFax,5,5,1,454) [2025-02-16 04:31:03] Production.INFO: DiscountAmount 0.000000 [2025-02-16 04:31:03] Production.INFO: DiscountType [2025-02-16 04:31:03] Production.INFO: SubscriptionCharge 5 [2025-02-16 04:31:03] Production.INFO: New SubscriptionCharge 5 [2025-02-16 04:31:03] Production.INFO: TotalSubscriptionCharge - 5.00 [2025-02-16 04:31:03] Production.INFO: ============================Subscription End ================= [2025-02-16 04:31:03] Production.INFO: SUBSCRIPTION Over [2025-02-16 04:31:03] Production.INFO: Call prc_getAccountOneOffCharge(6,0,2025-01-16,2025-02-16 23:59:59) [2025-02-16 04:31:03] Production.INFO: AccountOneOffCharge 0 [2025-02-16 04:31:03] Production.INFO: AccountOneOffCharge Over [2025-02-16 04:31:03] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-02-16 04:31:04] Production.INFO: New UsageDates 2025-01-16 - 2025-02-15 23:59:59 [2025-02-16 04:31:04] Production.INFO: SubTotal 40.22 [2025-02-16 04:31:04] Production.INFO: SubTotalWithouttaxTotal 0 [2025-02-16 04:31:04] Production.INFO: AccountOneOffCharge Tax Over [2025-02-16 04:31:04] Production.INFO: TotalTax 5.2286 [2025-02-16 04:31:04] Production.INFO: InvoiceGrandTotal 45.4486 [2025-02-16 04:31:04] Production.INFO: InvoiceTaxAmount 5.23 [2025-02-16 04:31:04] Production.INFO: GrandTotal 45.45 [2025-02-16 04:31:04] Production.INFO: SubTotal 40.22 [2025-02-16 04:31:04] Production.INFO: TotalDue 224.88 [2025-02-16 04:31:04] Production.INFO: Reseller ==> 0 [2025-02-16 04:31:04] Production.INFO: original start date ==>2025-01-16 changed start date ==>2025-01-16 00:00:00 original end date ==>2025-02-15 23:59:59 changed end date ==>2025-02-15 23:59:59 [2025-02-16 04:31:04] Production.INFO: CALL prc_getInvoiceUsage(1,'6','0','1','2025-01-16 00:00:00','2025-02-15 23:59:59',0) [2025-02-16 04:31:04] Production.INFO: PDF Generation start [2025-02-16 04:31:04] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/6/Invoices/2025/02/16/Invoice-background-support-inv11549-from-01-16-2025-to-02-15-2025-10485.pdf [2025-02-16 04:31:04] Production.INFO: On Linux [2025-02-16 04:31: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/6/Invoices/2025/02/16/footer-background-support-inv11549-from-01-16-2025-to-02-15-2025-10485.html" "/var/www/tmp/1/6/Invoices/2025/02/16/Invoice-background-support-inv11549-from-01-16-2025-to-02-15-2025-10485.html" "/var/www/tmp/1/6/Invoices/2025/02/16/Invoice-background-support-inv11549-from-01-16-2025-to-02-15-2025-10485.pdf" [2025-02-16 04:31:07] Production.INFO: [2025-02-16 04:31:07] Production.INFO: /var/www/tmp/1/6/Invoices/2025/02/16/Invoice-background-support-inv11549-from-01-16-2025-to-02-15-2025-10485.html [2025-02-16 04:31:07] Production.INFO: /var/www/tmp/1/6/Invoices/2025/02/16/header-background-support-inv11549-from-01-16-2025-to-02-15-2025-10485.html [2025-02-16 04:31:07] Production.INFO: /var/www/tmp/1/6/Invoices/2025/02/16/footer-background-support-inv11549-from-01-16-2025-to-02-15-2025-10485.html [2025-02-16 04:31:07] Production.INFO: Invoice generation PDF path [2025-02-16 04:31:07] Production.INFO: PDF fullPath 1/6/Invoices/2025/02/16/Invoice-background-support-inv11549-from-01-16-2025-to-02-15-2025-10485.pdf [2025-02-16 04:31:07] Production.INFO: Generate Usage File Start [2025-02-16 04:31:07] Production.INFO: Usage File fullPath 1/6/InvoiceUsageFile/2025/02/16/background-support-16-01-2025-00-00-00-TO-15-02-2025-23-59-59_2586__bfb8e980-ec48-11ef-8a5e-2ba075d8caf1.csv [2025-02-16 04:31:08] Production.INFO: Sending Email to Staff over [2025-02-16 04:31:08] Production.INFO: Email Status 1 [2025-02-16 04:31:08] Production.INFO: Sending Email to Customer [2025-02-16 04:31:09] Production.INFO: Email Try 10485 1 [2025-02-16 04:31:09] Production.INFO: =========== Email Sending over =========== [2025-02-16 04:31:09] Production.INFO: =========== Returning as Success =========== AccountID 6 [2025-02-16 04:31:09] Production.INFO: Invoice::sendInvoice done [2025-02-16 04:31:09] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-02-16 04:31:09] Production.INFO: Invoice Committed AccountID = 6 [2025-02-16 04:31:09] Production.INFO: =========== Updating InvoiceDate =========== [2025-02-16 04:31:09] Production.INFO: NextInvoice 2025-02-16 2025-03-15 [2025-02-16 04:31:09] Production.INFO: new dates [2025-02-16 04:31:09] Production.INFO: LastInvoiceDate 2025-02-16 NextInvoiceDate 2025-03-16 [2025-02-16 04:31:09] Production.INFO: LastChargeDate 2025-02-16 NextChargeDate 2025-03-15 [2025-02-16 04:31:09] Production.INFO: =========== Updated InvoiceDate =========== [2025-02-16 04:31:09] Production.INFO: ========================== Invoice Send End ============================= [2025-02-16 04:31:09] Production.INFO: AccountID =57 FirstInvoiceSend 0 [2025-02-16 04:31:09] Production.INFO: LastInvoiceDate 2025-01-16 NextInvoiceDate 2025-02-16 [2025-02-16 04:31:09] Production.INFO: LastChargeDate 2025-01-16 NextChargeDate 2025-02-15 [2025-02-16 04:31:09] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-02-16 04:31:09] Production.INFO: ========================== Invoice Send Start ============================= [2025-02-16 04:31:09] Production.INFO: Invoice::sendInvoice(1,57,2025-01-16,2025-02-16,billing@onswitchit.ca) [2025-02-16 04:31:09] Production.INFO: start Date =2025-01-16 EndDate =2025-02-15 23:59:59 [2025-02-16 04:31:09] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-02-16 04:31:09] 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-02-16 04:31:09] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-02-16 04:31:09] Production.INFO: AlreadyBilled [2025-02-16 04:31:09] Production.INFO: Reseller ==> 0 [2025-02-16 04:31:09] Production.INFO: original start date ==>2025-01-16 changed start date ==>2025-01-16 00:00:00 original end date ==>2025-02-15 23:59:59 changed end date ==>2025-02-15 23:59:59 [2025-02-16 04:31:09] Production.INFO: Invoice::getAccountUsageTotal(1,57,2025-01-16,2025-02-15 23:59:59) [2025-02-16 04:31:09] Production.INFO: TotalCharges - 0 [2025-02-16 04:31:09] Production.INFO: TotalUsageCharges - 0.00 [2025-02-16 04:31:09] Production.INFO: Usage Over [2025-02-16 04:31:09] Production.INFO: Call prc_getAccountSubscription(57,0) [2025-02-16 04:31:09] Production.INFO: SUBSCRIPTION 2 [2025-02-16 04:31:09] Production.INFO: ============================Subscription Start ================= [2025-02-16 04:31:09] Production.INFO: SubscriptionID - 5 [2025-02-16 04:31:09] Production.INFO: isAdvanceSubscription - 5 [2025-02-16 04:31:09] Production.INFO: SubscriptionStartDate =2025-02-16 - SubscriptionEndDate = 2025-03-15 [2025-02-16 04:31:09] Production.INFO: NewNextChargeDate =2025-03-15 00:00:00 [2025-02-16 04:31:09] Production.INFO: EndDate =2025-02-15 00:00:00 [2025-02-16 04:31:09] Production.INFO: NewEndDate1 =2025-02-16 [2025-02-16 04:31:09] Production.INFO: SubscriptionDate [2025-02-16 04:31:09] Production.INFO: Array ( [StartDate] => 2025-02-16 [EndDate] => 2025-03-15 00:00:00 [AlreadyCharged] => 0 ) [2025-02-16 04:31:09] Production.INFO: AccountSubscription StartDate 2018-01-15 StartDate 2025-01-16 [2025-02-16 04:31:09] Production.INFO: SubscriptionID - 2025-02-16=====2025-03-15 00:00:00 [2025-02-16 04:31:09] Production.INFO: AccountSubscriptionID - 202 === 2018-01-15=====2026-02-16 [2025-02-16 04:31:09] Production.INFO: regular Advance Subscription [2025-02-16 04:31:09] Production.INFO: First Time False 2018-01-15 2025-02-16 [2025-02-16 04:31:09] Production.INFO: StartDate 2025-02-16 AccountSubscription->StartDate 2018-01-15 EndDate 2025-03-15 00:00:00 AccountSubscription->EndDate 2026-02-16 [2025-02-16 04:31:09] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-16 04:31:09] Production.INFO: AccountSubscription::getSubscriptionAmount(202,2025-02-16,2025-03-15 00:00:00,,0) [2025-02-16 04:31:09] Production.INFO: SubscriptionCharge - 75 [2025-02-16 04:31:09] Production.INFO: Already Invoice Subscription 0 [2025-02-16 04:31:09] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(57,1,5,2025-02-16,2025-03-15 00:00:00,Dominos Pizza - 4 Line Flat Rate,75,75,1,202) [2025-02-16 04:31:09] Production.INFO: DiscountAmount 0.000000 [2025-02-16 04:31:09] Production.INFO: DiscountType [2025-02-16 04:31:09] Production.INFO: SubscriptionCharge 75 [2025-02-16 04:31:09] Production.INFO: New SubscriptionCharge 75 [2025-02-16 04:31:09] Production.INFO: TotalSubscriptionCharge - 75.00 [2025-02-16 04:31:09] Production.INFO: ============================Subscription End ================= [2025-02-16 04:31:09] Production.INFO: ============================Subscription Start ================= [2025-02-16 04:31:09] Production.INFO: SubscriptionID - 4 [2025-02-16 04:31:09] Production.INFO: isAdvanceSubscription - 4 [2025-02-16 04:31:09] Production.INFO: SubscriptionStartDate =2025-02-16 - SubscriptionEndDate = 2025-03-15 [2025-02-16 04:31:09] Production.INFO: NewNextChargeDate =2025-03-15 00:00:00 [2025-02-16 04:31:09] Production.INFO: EndDate =2025-02-15 00:00:00 [2025-02-16 04:31:09] Production.INFO: NewEndDate1 =2025-02-16 [2025-02-16 04:31:09] Production.INFO: SubscriptionDate [2025-02-16 04:31:09] Production.INFO: Array ( [StartDate] => 2025-02-16 [EndDate] => 2025-03-15 00:00:00 [AlreadyCharged] => 0 ) [2025-02-16 04:31:09] Production.INFO: AccountSubscription StartDate 2018-01-15 StartDate 2025-01-16 [2025-02-16 04:31:09] Production.INFO: SubscriptionID - 2025-02-16=====2025-03-15 00:00:00 [2025-02-16 04:31:09] Production.INFO: AccountSubscriptionID - 203 === 2018-01-15=====2026-02-16 [2025-02-16 04:31:09] Production.INFO: regular Advance Subscription [2025-02-16 04:31:09] Production.INFO: First Time False 2018-01-15 2025-02-16 [2025-02-16 04:31:09] Production.INFO: StartDate 2025-02-16 AccountSubscription->StartDate 2018-01-15 EndDate 2025-03-15 00:00:00 AccountSubscription->EndDate 2026-02-16 [2025-02-16 04:31:09] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-16 04:31:09] Production.INFO: AccountSubscription::getSubscriptionAmount(203,2025-02-16,2025-03-15 00:00:00,,0) [2025-02-16 04:31:09] Production.INFO: SubscriptionCharge - 2.5 [2025-02-16 04:31:09] Production.INFO: Already Invoice Subscription 0 [2025-02-16 04:31:09] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(57,1,4,2025-02-16,2025-03-15 00:00:00,e911 address registration (19052572900 - 2387 TRAFALGAR RD UNIT 1 OAKVILLE, ON L6H6K7),2.5,2.5,1,203) [2025-02-16 04:31:09] Production.INFO: DiscountAmount 0.000000 [2025-02-16 04:31:09] Production.INFO: DiscountType [2025-02-16 04:31:09] Production.INFO: SubscriptionCharge 2.5 [2025-02-16 04:31:09] Production.INFO: New SubscriptionCharge 2.5 [2025-02-16 04:31:09] Production.INFO: TotalSubscriptionCharge - 2.50 [2025-02-16 04:31:09] Production.INFO: ============================Subscription End ================= [2025-02-16 04:31:09] Production.INFO: SUBSCRIPTION Over [2025-02-16 04:31:09] Production.INFO: Call prc_getAccountOneOffCharge(57,0,2025-01-16,2025-02-16 23:59:59) [2025-02-16 04:31:09] Production.INFO: AccountOneOffCharge 0 [2025-02-16 04:31:09] Production.INFO: AccountOneOffCharge Over [2025-02-16 04:31:09] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-02-16 04:31:09] Production.INFO: New UsageDates 2025-01-16 - 2025-02-15 23:59:59 [2025-02-16 04:31:09] Production.INFO: SubTotal 77.5 [2025-02-16 04:31:09] Production.INFO: SubTotalWithouttaxTotal 0 [2025-02-16 04:31:09] Production.INFO: AccountOneOffCharge Tax Over [2025-02-16 04:31:09] Production.INFO: TotalTax 10.075 [2025-02-16 04:31:09] Production.INFO: InvoiceGrandTotal 87.575 [2025-02-16 04:31:09] Production.INFO: InvoiceTaxAmount 10.08 [2025-02-16 04:31:09] Production.INFO: GrandTotal 87.58 [2025-02-16 04:31:09] Production.INFO: SubTotal 77.50 [2025-02-16 04:31:09] Production.INFO: TotalDue 87.58 [2025-02-16 04:31:10] Production.INFO: Reseller ==> 0 [2025-02-16 04:31:10] Production.INFO: original start date ==>2025-01-16 changed start date ==>2025-01-16 00:00:00 original end date ==>2025-02-15 23:59:59 changed end date ==>2025-02-15 23:59:59 [2025-02-16 04:31:10] Production.INFO: CALL prc_getInvoiceUsage(1,'57','0','1','2025-01-16 00:00:00','2025-02-15 23:59:59',0) [2025-02-16 04:31:10] Production.INFO: PDF Generation start [2025-02-16 04:31:10] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/57/Invoices/2025/02/16/Invoice-dominos-39041-rishi-kakar-inv11550-from-01-16-2025-to-02-15-2025-10486.pdf [2025-02-16 04:31:10] Production.INFO: On Linux [2025-02-16 04:31:11] 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/57/Invoices/2025/02/16/footer-dominos-39041-rishi-kakar-inv11550-from-01-16-2025-to-02-15-2025-10486.html" "/var/www/tmp/1/57/Invoices/2025/02/16/Invoice-dominos-39041-rishi-kakar-inv11550-from-01-16-2025-to-02-15-2025-10486.html" "/var/www/tmp/1/57/Invoices/2025/02/16/Invoice-dominos-39041-rishi-kakar-inv11550-from-01-16-2025-to-02-15-2025-10486.pdf" [2025-02-16 04:31:11] Production.INFO: [2025-02-16 04:31:11] Production.INFO: /var/www/tmp/1/57/Invoices/2025/02/16/Invoice-dominos-39041-rishi-kakar-inv11550-from-01-16-2025-to-02-15-2025-10486.html [2025-02-16 04:31:11] Production.INFO: /var/www/tmp/1/57/Invoices/2025/02/16/header-dominos-39041-rishi-kakar-inv11550-from-01-16-2025-to-02-15-2025-10486.html [2025-02-16 04:31:11] Production.INFO: /var/www/tmp/1/57/Invoices/2025/02/16/footer-dominos-39041-rishi-kakar-inv11550-from-01-16-2025-to-02-15-2025-10486.html [2025-02-16 04:31:11] Production.INFO: Invoice generation PDF path [2025-02-16 04:31:11] Production.INFO: PDF fullPath 1/57/Invoices/2025/02/16/Invoice-dominos-39041-rishi-kakar-inv11550-from-01-16-2025-to-02-15-2025-10486.pdf [2025-02-16 04:31:11] Production.INFO: Generate Usage File Start [2025-02-16 04:31:11] Production.INFO: Usage File fullPath 1/57/InvoiceUsageFile/2025/02/16/dominos-39041-rishi-kakar-16-01-2025-00-00-00-TO-15-02-2025-23-59-59_4107__c293fbc0-ec48-11ef-bb37-efa676cb284c.csv [2025-02-16 04:31:12] Production.INFO: Email Sending Failed to Staff Array ( [status] => failure [message] => Something wrong with sending mail.SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting ( Email Address: billing@onswitchit.ca) ) [2025-02-16 04:31:12] Production.INFO: Sending Email to Staff over [2025-02-16 04:31:12] Production.INFO: Email Status failure [2025-02-16 04:31:12] Production.INFO: Sending Email to Customer [2025-02-16 04:31:13] Production.INFO: Email Try 10486 1 [2025-02-16 04:31:13] Production.INFO: =========== Email Sending over =========== [2025-02-16 04:31:13] Production.INFO: =========== Returning as Success =========== AccountID 57 [2025-02-16 04:31:13] Production.INFO: Invoice::sendInvoice done [2025-02-16 04:31:13] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-02-16 04:31:13] Production.INFO: Invoice Committed AccountID = 57 [2025-02-16 04:31:13] Production.INFO: =========== Updating InvoiceDate =========== [2025-02-16 04:31:13] Production.INFO: NextInvoice 2025-02-16 2025-03-15 [2025-02-16 04:31:13] Production.INFO: new dates [2025-02-16 04:31:13] Production.INFO: LastInvoiceDate 2025-02-16 NextInvoiceDate 2025-03-16 [2025-02-16 04:31:13] Production.INFO: LastChargeDate 2025-02-16 NextChargeDate 2025-03-15 [2025-02-16 04:31:13] Production.INFO: =========== Updated InvoiceDate =========== [2025-02-16 04:31:13] Production.INFO: ========================== Invoice Send End ============================= [2025-02-16 04:31:13] Production.INFO: AccountID =59 FirstInvoiceSend 0 [2025-02-16 04:31:13] Production.INFO: LastInvoiceDate 2025-01-16 NextInvoiceDate 2025-02-16 [2025-02-16 04:31:13] Production.INFO: LastChargeDate 2025-01-16 NextChargeDate 2025-02-15 [2025-02-16 04:31:13] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-02-16 04:31:13] Production.INFO: ========================== Invoice Send Start ============================= [2025-02-16 04:31:13] Production.INFO: Invoice::sendInvoice(1,59,2025-01-16,2025-02-16,billing@onswitchit.ca) [2025-02-16 04:31:13] Production.INFO: start Date =2025-01-16 EndDate =2025-02-15 23:59:59 [2025-02-16 04:31:13] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-02-16 04:31:13] 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-02-16 04:31:13] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-02-16 04:31:13] Production.INFO: AlreadyBilled [2025-02-16 04:31:13] Production.INFO: Reseller ==> 0 [2025-02-16 04:31:13] Production.INFO: original start date ==>2025-01-16 changed start date ==>2025-01-16 00:00:00 original end date ==>2025-02-15 23:59:59 changed end date ==>2025-02-15 23:59:59 [2025-02-16 04:31:13] Production.INFO: Invoice::getAccountUsageTotal(1,59,2025-01-16,2025-02-15 23:59:59) [2025-02-16 04:31:13] Production.INFO: TotalCharges - 0 [2025-02-16 04:31:13] Production.INFO: TotalUsageCharges - 0.00 [2025-02-16 04:31:13] Production.INFO: Usage Over [2025-02-16 04:31:13] Production.INFO: Call prc_getAccountSubscription(59,0) [2025-02-16 04:31:13] Production.INFO: SUBSCRIPTION 7 [2025-02-16 04:31:13] Production.INFO: ============================Subscription Start ================= [2025-02-16 04:31:13] Production.INFO: SubscriptionID - 1 [2025-02-16 04:31:13] Production.INFO: isAdvanceSubscription - 1 [2025-02-16 04:31:13] Production.INFO: SubscriptionStartDate =2025-02-16 - SubscriptionEndDate = 2025-03-15 [2025-02-16 04:31:13] Production.INFO: NewNextChargeDate =2025-03-15 00:00:00 [2025-02-16 04:31:13] Production.INFO: EndDate =2024-05-15 00:00:00 [2025-02-16 04:31:13] Production.INFO: NewEndDate1 =2024-05-16 [2025-02-16 04:31:13] Production.INFO: SubscriptionDate [2025-02-16 04:31:13] Production.INFO: Array ( [StartDate] => 2024-05-16 [EndDate] => 2025-03-15 00:00:00 [AlreadyCharged] => 0 ) [2025-02-16 04:31:13] Production.INFO: AccountSubscription StartDate 2018-02-15 StartDate 2025-01-16 [2025-02-16 04:31:13] Production.INFO: SubscriptionID - 2024-05-16=====2025-03-15 00:00:00 [2025-02-16 04:31:13] Production.INFO: AccountSubscriptionID - 210 === 2018-02-15=====2024-04-26 [2025-02-16 04:31:13] Production.INFO: ============================Subscription End ================= [2025-02-16 04:31:13] Production.INFO: ============================Subscription Start ================= [2025-02-16 04:31:13] Production.INFO: SubscriptionID - 4 [2025-02-16 04:31:13] Production.INFO: isAdvanceSubscription - 4 [2025-02-16 04:31:13] Production.INFO: SubscriptionStartDate =2025-02-16 - SubscriptionEndDate = 2025-03-15 [2025-02-16 04:31:13] Production.INFO: NewNextChargeDate =2025-03-15 00:00:00 [2025-02-16 04:31:13] Production.INFO: EndDate =2024-05-15 00:00:00 [2025-02-16 04:31:13] Production.INFO: NewEndDate1 =2024-05-16 [2025-02-16 04:31:13] Production.INFO: SubscriptionDate [2025-02-16 04:31:13] Production.INFO: Array ( [StartDate] => 2024-05-16 [EndDate] => 2025-03-15 00:00:00 [AlreadyCharged] => 0 ) [2025-02-16 04:31:13] Production.INFO: AccountSubscription StartDate 2018-02-15 StartDate 2025-01-16 [2025-02-16 04:31:13] Production.INFO: SubscriptionID - 2024-05-16=====2025-03-15 00:00:00 [2025-02-16 04:31:13] Production.INFO: AccountSubscriptionID - 211 === 2018-02-15=====2024-04-26 [2025-02-16 04:31:13] Production.INFO: ============================Subscription End ================= [2025-02-16 04:31:13] Production.INFO: ============================Subscription Start ================= [2025-02-16 04:31:13] Production.INFO: SubscriptionID - 15 [2025-02-16 04:31:13] Production.INFO: isAdvanceSubscription - 15 [2025-02-16 04:31:13] Production.INFO: SubscriptionStartDate =2025-02-16 - SubscriptionEndDate = 2025-03-15 [2025-02-16 04:31:13] Production.INFO: NewNextChargeDate =2025-03-15 00:00:00 [2025-02-16 04:31:13] Production.INFO: EndDate =2024-05-15 00:00:00 [2025-02-16 04:31:13] Production.INFO: NewEndDate1 =2024-05-16 [2025-02-16 04:31:13] Production.INFO: SubscriptionDate [2025-02-16 04:31:13] Production.INFO: Array ( [StartDate] => 2024-05-16 [EndDate] => 2025-03-15 00:00:00 [AlreadyCharged] => 0 ) [2025-02-16 04:31:13] Production.INFO: AccountSubscription StartDate 2018-10-01 StartDate 2025-01-16 [2025-02-16 04:31:13] Production.INFO: SubscriptionID - 2024-05-16=====2025-03-15 00:00:00 [2025-02-16 04:31:13] Production.INFO: AccountSubscriptionID - 322 === 2018-10-01=====2024-04-26 [2025-02-16 04:31:13] Production.INFO: ============================Subscription End ================= [2025-02-16 04:31:13] Production.INFO: ============================Subscription Start ================= [2025-02-16 04:31:13] Production.INFO: SubscriptionID - 15 [2025-02-16 04:31:13] Production.INFO: isAdvanceSubscription - 15 [2025-02-16 04:31:13] Production.INFO: SubscriptionStartDate =2025-02-16 - SubscriptionEndDate = 2025-03-15 [2025-02-16 04:31:13] Production.INFO: NewNextChargeDate =2025-03-15 00:00:00 [2025-02-16 04:31:13] Production.INFO: EndDate =2024-05-15 00:00:00 [2025-02-16 04:31:13] Production.INFO: NewEndDate1 =2024-05-16 [2025-02-16 04:31:13] Production.INFO: SubscriptionDate [2025-02-16 04:31:13] Production.INFO: Array ( [StartDate] => 2024-05-16 [EndDate] => 2025-03-15 00:00:00 [AlreadyCharged] => 0 ) [2025-02-16 04:31:13] Production.INFO: AccountSubscription StartDate 2018-10-01 StartDate 2025-01-16 [2025-02-16 04:31:13] Production.INFO: SubscriptionID - 2024-05-16=====2025-03-15 00:00:00 [2025-02-16 04:31:13] Production.INFO: AccountSubscriptionID - 323 === 2018-10-01=====2024-04-26 [2025-02-16 04:31:13] Production.INFO: ============================Subscription End ================= [2025-02-16 04:31:13] Production.INFO: ============================Subscription Start ================= [2025-02-16 04:31:13] Production.INFO: SubscriptionID - 17 [2025-02-16 04:31:13] Production.INFO: isAdvanceSubscription - 17 [2025-02-16 04:31:13] Production.INFO: SubscriptionStartDate =2025-02-16 - SubscriptionEndDate = 2025-03-15 [2025-02-16 04:31:13] Production.INFO: NewNextChargeDate =2025-03-15 00:00:00 [2025-02-16 04:31:13] Production.INFO: EndDate =2024-05-15 00:00:00 [2025-02-16 04:31:13] Production.INFO: NewEndDate1 =2024-05-16 [2025-02-16 04:31:13] Production.INFO: SubscriptionDate [2025-02-16 04:31:13] Production.INFO: Array ( [StartDate] => 2024-05-16 [EndDate] => 2025-03-15 00:00:00 [AlreadyCharged] => 0 ) [2025-02-16 04:31:13] Production.INFO: AccountSubscription StartDate 2021-08-19 StartDate 2025-01-16 [2025-02-16 04:31:13] Production.INFO: SubscriptionID - 2024-05-16=====2025-03-15 00:00:00 [2025-02-16 04:31:13] Production.INFO: AccountSubscriptionID - 603 === 2021-08-19=====2024-04-26 [2025-02-16 04:31:13] Production.INFO: ============================Subscription End ================= [2025-02-16 04:31:13] Production.INFO: ============================Subscription Start ================= [2025-02-16 04:31:13] Production.INFO: SubscriptionID - 24 [2025-02-16 04:31:13] Production.INFO: SubscriptionID - 2025-01-16=====2025-02-15 [2025-02-16 04:31:13] Production.INFO: AccountSubscriptionID - 604 === 2021-08-19=====2024-04-26 [2025-02-16 04:31:13] Production.INFO: ============================Subscription End ================= [2025-02-16 04:31:13] Production.INFO: ============================Subscription Start ================= [2025-02-16 04:31:13] Production.INFO: SubscriptionID - 24 [2025-02-16 04:31:13] Production.INFO: SubscriptionID - 2025-01-16=====2025-02-15 [2025-02-16 04:31:13] Production.INFO: AccountSubscriptionID - 627 === 2021-09-22=====2022-01-22 [2025-02-16 04:31:13] Production.INFO: ============================Subscription End ================= [2025-02-16 04:31:13] Production.INFO: SUBSCRIPTION Over [2025-02-16 04:31:13] Production.INFO: Call prc_getAccountOneOffCharge(59,0,2025-01-16,2025-02-16 23:59:59) [2025-02-16 04:31:13] Production.INFO: AccountOneOffCharge 0 [2025-02-16 04:31:13] Production.INFO: AccountOneOffCharge Over [2025-02-16 04:31:13] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-02-16 04:31:13] Production.INFO: New UsageDates 2025-01-16 - 2025-02-15 23:59:59 [2025-02-16 04:31:13] Production.INFO: SubTotal 0 [2025-02-16 04:31:13] Production.INFO: SubTotalWithouttaxTotal 0 [2025-02-16 04:31:13] Production.INFO: AccountOneOffCharge Tax Over [2025-02-16 04:31:13] Production.INFO: TotalTax 0 [2025-02-16 04:31:13] Production.INFO: InvoiceGrandTotal 0 [2025-02-16 04:31:13] Production.INFO: InvoiceTaxAmount 0 [2025-02-16 04:31:13] Production.INFO: GrandTotal 0 [2025-02-16 04:31:13] Production.INFO: SubTotal 0.00 [2025-02-16 04:31:13] Production.INFO: TotalDue -9.92 [2025-02-16 04:31:13] Production.INFO: Reseller ==> 0 [2025-02-16 04:31:13] Production.INFO: original start date ==>2025-01-16 changed start date ==>2025-01-16 00:00:00 original end date ==>2025-02-15 23:59:59 changed end date ==>2025-02-15 23:59:59 [2025-02-16 04:31:13] Production.INFO: CALL prc_getInvoiceUsage(1,'59','0','1','2025-01-16 00:00:00','2025-02-15 23:59:59',0) [2025-02-16 04:31:13] Production.INFO: PDF Generation start [2025-02-16 04:31:14] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/59/Invoices/2025/02/16/Invoice-mantella-vp-inv11551-from-01-16-2025-to-02-15-2025-10487.pdf [2025-02-16 04:31:14] Production.INFO: On Linux [2025-02-16 04:31:15] 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/59/Invoices/2025/02/16/footer-mantella-vp-inv11551-from-01-16-2025-to-02-15-2025-10487.html" "/var/www/tmp/1/59/Invoices/2025/02/16/Invoice-mantella-vp-inv11551-from-01-16-2025-to-02-15-2025-10487.html" "/var/www/tmp/1/59/Invoices/2025/02/16/Invoice-mantella-vp-inv11551-from-01-16-2025-to-02-15-2025-10487.pdf" [2025-02-16 04:31:15] Production.INFO: [2025-02-16 04:31:15] Production.INFO: /var/www/tmp/1/59/Invoices/2025/02/16/Invoice-mantella-vp-inv11551-from-01-16-2025-to-02-15-2025-10487.html [2025-02-16 04:31:15] Production.INFO: /var/www/tmp/1/59/Invoices/2025/02/16/header-mantella-vp-inv11551-from-01-16-2025-to-02-15-2025-10487.html [2025-02-16 04:31:15] Production.INFO: /var/www/tmp/1/59/Invoices/2025/02/16/footer-mantella-vp-inv11551-from-01-16-2025-to-02-15-2025-10487.html [2025-02-16 04:31:15] Production.INFO: Invoice generation PDF path [2025-02-16 04:31:15] Production.INFO: PDF fullPath 1/59/Invoices/2025/02/16/Invoice-mantella-vp-inv11551-from-01-16-2025-to-02-15-2025-10487.pdf [2025-02-16 04:31:15] Production.INFO: Generate Usage File Start [2025-02-16 04:31:15] Production.INFO: Usage File fullPath 1/59/InvoiceUsageFile/2025/02/16/mantella-vp-16-01-2025-00-00-00-TO-15-02-2025-23-59-59_7876__c4f0d300-ec48-11ef-abd6-d1aada3b809f.csv [2025-02-16 04:31:17] Production.INFO: Sending Email to Staff over [2025-02-16 04:31:17] Production.INFO: Email Status 1 [2025-02-16 04:31:17] Production.INFO: Sending Email to Customer [2025-02-16 04:31:17] Production.INFO: =========== Email Sending over =========== [2025-02-16 04:31:17] Production.INFO: =========== Returning as Success =========== AccountID 59 [2025-02-16 04:31:17] Production.INFO: Invoice::sendInvoice done [2025-02-16 04:31:17] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-02-16 04:31:17] Production.INFO: Invoice Committed AccountID = 59 [2025-02-16 04:31:17] Production.INFO: =========== Updating InvoiceDate =========== [2025-02-16 04:31:17] Production.INFO: NextInvoice 2025-02-16 2025-03-15 [2025-02-16 04:31:17] Production.INFO: new dates [2025-02-16 04:31:17] Production.INFO: LastInvoiceDate 2025-02-16 NextInvoiceDate 2025-03-16 [2025-02-16 04:31:17] Production.INFO: LastChargeDate 2025-02-16 NextChargeDate 2025-03-15 [2025-02-16 04:31:17] Production.INFO: =========== Updated InvoiceDate =========== [2025-02-16 04:31:17] Production.INFO: ========================== Invoice Send End ============================= [2025-02-16 04:31:17] Production.INFO: AccountID =107 FirstInvoiceSend 0 [2025-02-16 04:31:17] Production.INFO: LastInvoiceDate 2025-01-16 NextInvoiceDate 2025-02-16 [2025-02-16 04:31:17] Production.INFO: LastChargeDate 2025-01-16 NextChargeDate 2025-02-15 [2025-02-16 04:31:17] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-02-16 04:31:17] Production.INFO: ========================== Invoice Send Start ============================= [2025-02-16 04:31:17] Production.INFO: Invoice::sendInvoice(1,107,2025-01-16,2025-02-16,billing@onswitchit.ca) [2025-02-16 04:31:17] Production.INFO: start Date =2025-01-16 EndDate =2025-02-15 23:59:59 [2025-02-16 04:31:17] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-02-16 04:31:17] 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-02-16 04:31:17] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-02-16 04:31:17] Production.INFO: AlreadyBilled [2025-02-16 04:31:17] Production.INFO: Reseller ==> 0 [2025-02-16 04:31:17] Production.INFO: original start date ==>2025-01-16 changed start date ==>2025-01-16 02:00:00 original end date ==>2025-02-15 23:59:59 changed end date ==>2025-02-16 01:59:59 [2025-02-16 04:31:17] Production.INFO: Invoice::getAccountUsageTotal(1,107,2025-01-16,2025-02-15 23:59:59) [2025-02-16 04:31:17] Production.INFO: TotalCharges - 0 [2025-02-16 04:31:17] Production.INFO: TotalUsageCharges - 0.00 [2025-02-16 04:31:17] Production.INFO: Usage Over [2025-02-16 04:31:17] Production.INFO: Call prc_getAccountSubscription(107,0) [2025-02-16 04:31:17] Production.INFO: SUBSCRIPTION 2 [2025-02-16 04:31:17] Production.INFO: ============================Subscription Start ================= [2025-02-16 04:31:17] Production.INFO: SubscriptionID - 5 [2025-02-16 04:31:17] Production.INFO: isAdvanceSubscription - 5 [2025-02-16 04:31:17] Production.INFO: SubscriptionStartDate =2025-02-16 - SubscriptionEndDate = 2025-03-15 [2025-02-16 04:31:17] Production.INFO: NewNextChargeDate =2025-03-15 00:00:00 [2025-02-16 04:31:17] Production.INFO: EndDate =2025-02-15 00:00:00 [2025-02-16 04:31:17] Production.INFO: NewEndDate1 =2025-02-16 [2025-02-16 04:31:17] Production.INFO: SubscriptionDate [2025-02-16 04:31:17] Production.INFO: Array ( [StartDate] => 2025-02-16 [EndDate] => 2025-03-15 00:00:00 [AlreadyCharged] => 0 ) [2025-02-16 04:31:17] Production.INFO: New Account Subscription Start [2025-02-16 04:31:17] Production.INFO: AccountSubscription StartDate 2019-02-13 StartDate 2025-01-16 [2025-02-16 04:31:17] Production.INFO: SubscriptionID - 2025-02-16=====2025-03-15 00:00:00 [2025-02-16 04:31:17] Production.INFO: AccountSubscriptionID - 376 === 2019-02-13=====2026-02-16 [2025-02-16 04:31:17] Production.INFO: regular Advance Subscription [2025-02-16 04:31:17] Production.INFO: First Time False 2019-02-13 2025-02-16 [2025-02-16 04:31:17] Production.INFO: StartDate 2025-02-16 AccountSubscription->StartDate 2019-02-13 EndDate 2025-03-15 00:00:00 AccountSubscription->EndDate 2026-02-16 [2025-02-16 04:31:17] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-16 04:31:17] Production.INFO: AccountSubscription::getSubscriptionAmount(376,2025-02-16,2025-03-15 00:00:00,,0) [2025-02-16 04:31:17] Production.INFO: SubscriptionCharge - 50 [2025-02-16 04:31:17] Production.INFO: Already Invoice Subscription 0 [2025-02-16 04:31:17] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(107,1,5,2025-02-16,2025-03-15 00:00:00,Restaurant - 4 Line Flat Rate,50,50,1,376) [2025-02-16 04:31:17] Production.INFO: DiscountAmount 0.000000 [2025-02-16 04:31:17] Production.INFO: DiscountType [2025-02-16 04:31:17] Production.INFO: SubscriptionCharge 50 [2025-02-16 04:31:17] Production.INFO: New SubscriptionCharge 50 [2025-02-16 04:31:17] Production.INFO: TotalSubscriptionCharge - 50.00 [2025-02-16 04:31:17] Production.INFO: ============================Subscription End ================= [2025-02-16 04:31:17] Production.INFO: ============================Subscription Start ================= [2025-02-16 04:31:17] Production.INFO: SubscriptionID - 4 [2025-02-16 04:31:17] Production.INFO: isAdvanceSubscription - 4 [2025-02-16 04:31:17] Production.INFO: SubscriptionStartDate =2025-02-16 - SubscriptionEndDate = 2025-03-15 [2025-02-16 04:31:17] Production.INFO: NewNextChargeDate =2025-03-15 00:00:00 [2025-02-16 04:31:17] Production.INFO: EndDate =2025-02-15 00:00:00 [2025-02-16 04:31:17] Production.INFO: NewEndDate1 =2025-02-16 [2025-02-16 04:31:17] Production.INFO: SubscriptionDate [2025-02-16 04:31:17] Production.INFO: Array ( [StartDate] => 2025-02-16 [EndDate] => 2025-03-15 00:00:00 [AlreadyCharged] => 0 ) [2025-02-16 04:31:17] Production.INFO: New Account Subscription Start [2025-02-16 04:31:17] Production.INFO: AccountSubscription StartDate 2019-02-13 StartDate 2025-01-16 [2025-02-16 04:31:17] Production.INFO: SubscriptionID - 2025-02-16=====2025-03-15 00:00:00 [2025-02-16 04:31:17] Production.INFO: AccountSubscriptionID - 377 === 2019-02-13=====2026-02-16 [2025-02-16 04:31:17] Production.INFO: regular Advance Subscription [2025-02-16 04:31:17] Production.INFO: First Time False 2019-02-13 2025-02-16 [2025-02-16 04:31:17] Production.INFO: StartDate 2025-02-16 AccountSubscription->StartDate 2019-02-13 EndDate 2025-03-15 00:00:00 AccountSubscription->EndDate 2026-02-16 [2025-02-16 04:31:17] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-16 04:31:17] Production.INFO: AccountSubscription::getSubscriptionAmount(377,2025-02-16,2025-03-15 00:00:00,,0) [2025-02-16 04:31:17] Production.INFO: SubscriptionCharge - 2.5 [2025-02-16 04:31:17] Production.INFO: Already Invoice Subscription 0 [2025-02-16 04:31:17] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(107,1,4,2025-02-16,2025-03-15 00:00:00,e911 address registration (17808757725 - 4402 52 Ave 110 Lloydminster, AB T9V 0T9 Canada),2.5,2.5,1,377) [2025-02-16 04:31:17] Production.INFO: DiscountAmount 0.000000 [2025-02-16 04:31:17] Production.INFO: DiscountType [2025-02-16 04:31:17] Production.INFO: SubscriptionCharge 2.5 [2025-02-16 04:31:17] Production.INFO: New SubscriptionCharge 2.5 [2025-02-16 04:31:17] Production.INFO: TotalSubscriptionCharge - 2.50 [2025-02-16 04:31:17] Production.INFO: ============================Subscription End ================= [2025-02-16 04:31:17] Production.INFO: SUBSCRIPTION Over [2025-02-16 04:31:17] Production.INFO: Call prc_getAccountOneOffCharge(107,0,2025-01-16,2025-02-16 23:59:59) [2025-02-16 04:31:17] Production.INFO: AccountOneOffCharge 0 [2025-02-16 04:31:17] Production.INFO: AccountOneOffCharge Over [2025-02-16 04:31:17] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-02-16 04:31:17] Production.INFO: New UsageDates 2025-01-16 - 2025-02-15 23:59:59 [2025-02-16 04:31:17] Production.INFO: SubTotal 52.5 [2025-02-16 04:31:17] Production.INFO: SubTotalWithouttaxTotal 0 [2025-02-16 04:31:17] Production.INFO: AccountOneOffCharge Tax Over [2025-02-16 04:31:17] Production.INFO: TotalTax 2.625 [2025-02-16 04:31:17] Production.INFO: InvoiceGrandTotal 55.125 [2025-02-16 04:31:17] Production.INFO: InvoiceTaxAmount 2.63 [2025-02-16 04:31:17] Production.INFO: GrandTotal 55.13 [2025-02-16 04:31:17] Production.INFO: SubTotal 52.50 [2025-02-16 04:31:17] Production.INFO: TotalDue 55.13 [2025-02-16 04:31:17] Production.INFO: Reseller ==> 0 [2025-02-16 04:31:17] Production.INFO: original start date ==>2025-01-16 changed start date ==>2025-01-16 02:00:00 original end date ==>2025-02-15 23:59:59 changed end date ==>2025-02-16 01:59:59 [2025-02-16 04:31:17] Production.INFO: CALL prc_getInvoiceUsage(1,'107','0','1','2025-01-16 02:00:00','2025-02-16 01:59:59',0) [2025-02-16 04:31:17] Production.INFO: PDF Generation start [2025-02-16 04:31:17] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/107/Invoices/2025/02/16/Invoice-dominos-10179-akshay-naik-inv11552-from-01-16-2025-to-02-15-2025-10488.pdf [2025-02-16 04:31:17] Production.INFO: On Linux [2025-02-16 04:31:19] 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/107/Invoices/2025/02/16/footer-dominos-10179-akshay-naik-inv11552-from-01-16-2025-to-02-15-2025-10488.html" "/var/www/tmp/1/107/Invoices/2025/02/16/Invoice-dominos-10179-akshay-naik-inv11552-from-01-16-2025-to-02-15-2025-10488.html" "/var/www/tmp/1/107/Invoices/2025/02/16/Invoice-dominos-10179-akshay-naik-inv11552-from-01-16-2025-to-02-15-2025-10488.pdf" [2025-02-16 04:31:19] Production.INFO: [2025-02-16 04:31:19] Production.INFO: /var/www/tmp/1/107/Invoices/2025/02/16/Invoice-dominos-10179-akshay-naik-inv11552-from-01-16-2025-to-02-15-2025-10488.html [2025-02-16 04:31:19] Production.INFO: /var/www/tmp/1/107/Invoices/2025/02/16/header-dominos-10179-akshay-naik-inv11552-from-01-16-2025-to-02-15-2025-10488.html [2025-02-16 04:31:19] Production.INFO: /var/www/tmp/1/107/Invoices/2025/02/16/footer-dominos-10179-akshay-naik-inv11552-from-01-16-2025-to-02-15-2025-10488.html [2025-02-16 04:31:19] Production.INFO: Invoice generation PDF path [2025-02-16 04:31:19] Production.INFO: PDF fullPath 1/107/Invoices/2025/02/16/Invoice-dominos-10179-akshay-naik-inv11552-from-01-16-2025-to-02-15-2025-10488.pdf [2025-02-16 04:31:19] Production.INFO: Generate Usage File Start [2025-02-16 04:31:19] Production.INFO: Usage File fullPath 1/107/InvoiceUsageFile/2025/02/16/dominos-10179-akshay-naik-16-01-2025-00-00-00-TO-15-02-2025-23-59-59_3166__c7501bf0-ec48-11ef-b97b-b54cab0e0e25.csv [2025-02-16 04:31:21] Production.INFO: Sending Email to Staff over [2025-02-16 04:31:21] Production.INFO: Email Status 1 [2025-02-16 04:31:21] Production.INFO: Sending Email to Customer [2025-02-16 04:31:22] Production.INFO: Email Try 10488 1 [2025-02-16 04:31:22] Production.INFO: =========== Email Sending over =========== [2025-02-16 04:31:22] Production.INFO: =========== Returning as Success =========== AccountID 107 [2025-02-16 04:31:22] Production.INFO: Invoice::sendInvoice done [2025-02-16 04:31:22] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-02-16 04:31:22] Production.INFO: Invoice Committed AccountID = 107 [2025-02-16 04:31:22] Production.INFO: =========== Updating InvoiceDate =========== [2025-02-16 04:31:22] Production.INFO: NextInvoice 2025-02-16 2025-03-15 [2025-02-16 04:31:22] Production.INFO: new dates [2025-02-16 04:31:22] Production.INFO: LastInvoiceDate 2025-02-16 NextInvoiceDate 2025-03-16 [2025-02-16 04:31:22] Production.INFO: LastChargeDate 2025-02-16 NextChargeDate 2025-03-15 [2025-02-16 04:31:22] Production.INFO: =========== Updated InvoiceDate =========== [2025-02-16 04:31:22] Production.INFO: ========================== Invoice Send End ============================= [2025-02-16 04:31:22] Production.INFO: AccountID =140 FirstInvoiceSend 0 [2025-02-16 04:31:22] Production.INFO: LastInvoiceDate 2025-01-16 NextInvoiceDate 2025-02-16 [2025-02-16 04:31:22] Production.INFO: LastChargeDate 2025-01-16 NextChargeDate 2025-02-15 [2025-02-16 04:31:22] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-02-16 04:31:22] Production.INFO: ========================== Invoice Send Start ============================= [2025-02-16 04:31:22] Production.INFO: Invoice::sendInvoice(1,140,2025-01-16,2025-02-16,billing@onswitchit.ca) [2025-02-16 04:31:22] Production.INFO: start Date =2025-01-16 EndDate =2025-02-15 23:59:59 [2025-02-16 04:31:22] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-02-16 04:31:22] 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-02-16 04:31:22] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-02-16 04:31:22] Production.INFO: AlreadyBilled [2025-02-16 04:31:22] Production.INFO: Reseller ==> 0 [2025-02-16 04:31:22] Production.INFO: original start date ==>2025-01-16 changed start date ==>2025-01-16 00:00:00 original end date ==>2025-02-15 23:59:59 changed end date ==>2025-02-15 23:59:59 [2025-02-16 04:31:22] Production.INFO: Invoice::getAccountUsageTotal(1,140,2025-01-16,2025-02-15 23:59:59) [2025-02-16 04:31:22] Production.INFO: TotalCharges - 0 [2025-02-16 04:31:22] Production.INFO: TotalUsageCharges - 0.00 [2025-02-16 04:31:22] Production.INFO: Usage Over [2025-02-16 04:31:22] Production.INFO: Call prc_getAccountSubscription(140,0) [2025-02-16 04:31:22] Production.INFO: SUBSCRIPTION 4 [2025-02-16 04:31:22] Production.INFO: ============================Subscription Start ================= [2025-02-16 04:31:22] Production.INFO: SubscriptionID - 5 [2025-02-16 04:31:22] Production.INFO: isAdvanceSubscription - 5 [2025-02-16 04:31:22] Production.INFO: SubscriptionStartDate =2025-02-16 - SubscriptionEndDate = 2025-03-15 [2025-02-16 04:31:22] Production.INFO: NewNextChargeDate =2025-03-15 00:00:00 [2025-02-16 04:31:22] Production.INFO: EndDate =2025-02-15 00:00:00 [2025-02-16 04:31:22] Production.INFO: NewEndDate1 =2025-02-16 [2025-02-16 04:31:22] Production.INFO: SubscriptionDate [2025-02-16 04:31:22] Production.INFO: Array ( [StartDate] => 2025-02-16 [EndDate] => 2025-03-15 00:00:00 [AlreadyCharged] => 0 ) [2025-02-16 04:31:22] Production.INFO: AccountSubscription StartDate 2020-11-13 StartDate 2025-01-16 [2025-02-16 04:31:22] Production.INFO: SubscriptionID - 2025-02-16=====2025-03-15 00:00:00 [2025-02-16 04:31:22] Production.INFO: AccountSubscriptionID - 549 === 2020-11-13=====2026-02-16 [2025-02-16 04:31:22] Production.INFO: regular Advance Subscription [2025-02-16 04:31:22] Production.INFO: First Time False 2020-11-13 2025-02-16 [2025-02-16 04:31:22] Production.INFO: StartDate 2025-02-16 AccountSubscription->StartDate 2020-11-13 EndDate 2025-03-15 00:00:00 AccountSubscription->EndDate 2026-02-16 [2025-02-16 04:31:22] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-16 04:31:22] Production.INFO: AccountSubscription::getSubscriptionAmount(549,2025-02-16,2025-03-15 00:00:00,,0) [2025-02-16 04:31:22] Production.INFO: SubscriptionCharge - 75 [2025-02-16 04:31:22] Production.INFO: Already Invoice Subscription 0 [2025-02-16 04:31:22] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(140,1,5,2025-02-16,2025-03-15 00:00:00,Retail Phone Service - 3 Channels Dedicated/Burst to 5 Channels,75,75,1,549) [2025-02-16 04:31:22] Production.INFO: DiscountAmount 0.000000 [2025-02-16 04:31:22] Production.INFO: DiscountType [2025-02-16 04:31:22] Production.INFO: SubscriptionCharge 75 [2025-02-16 04:31:22] Production.INFO: New SubscriptionCharge 75 [2025-02-16 04:31:22] Production.INFO: TotalSubscriptionCharge - 75.00 [2025-02-16 04:31:22] Production.INFO: ============================Subscription End ================= [2025-02-16 04:31:22] Production.INFO: ============================Subscription Start ================= [2025-02-16 04:31:22] Production.INFO: SubscriptionID - 4 [2025-02-16 04:31:22] Production.INFO: isAdvanceSubscription - 4 [2025-02-16 04:31:22] Production.INFO: SubscriptionStartDate =2025-02-16 - SubscriptionEndDate = 2025-03-15 [2025-02-16 04:31:22] Production.INFO: NewNextChargeDate =2025-03-15 00:00:00 [2025-02-16 04:31:22] Production.INFO: EndDate =2025-02-15 00:00:00 [2025-02-16 04:31:22] Production.INFO: NewEndDate1 =2025-02-16 [2025-02-16 04:31:22] Production.INFO: SubscriptionDate [2025-02-16 04:31:22] Production.INFO: Array ( [StartDate] => 2025-02-16 [EndDate] => 2025-03-15 00:00:00 [AlreadyCharged] => 0 ) [2025-02-16 04:31:22] Production.INFO: AccountSubscription StartDate 2020-11-13 StartDate 2025-01-16 [2025-02-16 04:31:22] Production.INFO: SubscriptionID - 2025-02-16=====2025-03-15 00:00:00 [2025-02-16 04:31:22] Production.INFO: AccountSubscriptionID - 550 === 2020-11-13=====2026-02-16 [2025-02-16 04:31:22] Production.INFO: regular Advance Subscription [2025-02-16 04:31:22] Production.INFO: First Time False 2020-11-13 2025-02-16 [2025-02-16 04:31:22] Production.INFO: StartDate 2025-02-16 AccountSubscription->StartDate 2020-11-13 EndDate 2025-03-15 00:00:00 AccountSubscription->EndDate 2026-02-16 [2025-02-16 04:31:22] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-16 04:31:22] Production.INFO: AccountSubscription::getSubscriptionAmount(550,2025-02-16,2025-03-15 00:00:00,,0) [2025-02-16 04:31:22] Production.INFO: SubscriptionCharge - 2.5 [2025-02-16 04:31:22] Production.INFO: Already Invoice Subscription 0 [2025-02-16 04:31:22] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(140,1,4,2025-02-16,2025-03-15 00:00:00,e911 address registration (9058622800 - 29 Toronto Street South 1B Uxbridge, ON L9P 1V9),2.5,2.5,1,550) [2025-02-16 04:31:22] Production.INFO: DiscountAmount 0.000000 [2025-02-16 04:31:22] Production.INFO: DiscountType [2025-02-16 04:31:22] Production.INFO: SubscriptionCharge 2.5 [2025-02-16 04:31:22] Production.INFO: New SubscriptionCharge 2.5 [2025-02-16 04:31:22] Production.INFO: TotalSubscriptionCharge - 2.50 [2025-02-16 04:31:22] Production.INFO: ============================Subscription End ================= [2025-02-16 04:31:22] Production.INFO: ============================Subscription Start ================= [2025-02-16 04:31:22] Production.INFO: SubscriptionID - 24 [2025-02-16 04:31:22] Production.INFO: SubscriptionID - 2025-01-16=====2025-02-15 [2025-02-16 04:31:22] Production.INFO: AccountSubscriptionID - 551 === 2020-11-13=====2026-02-16 [2025-02-16 04:31:22] Production.INFO: regular Subscription [2025-02-16 04:31:22] Production.INFO: First Time False 2020-11-13 2025-01-16 [2025-02-16 04:31:22] Production.INFO: StartDate 2025-01-16 AccountSubscription->StartDate 2020-11-13 EndDate 2025-02-15 AccountSubscription->EndDate 2026-02-16 [2025-02-16 04:31:22] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-02-16 04:31:22] Production.INFO: AccountSubscription::getSubscriptionAmount(551,2025-01-16,2025-02-15,,0) [2025-02-16 04:31:22] Production.INFO: SubscriptionCharge - -45 [2025-02-16 04:31:22] Production.INFO: Already Invoice Subscription 0 [2025-02-16 04:31:22] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(140,1,24,2025-01-16,2025-02-15,Discount - Friends and Family (Doug Geary referral),-45,-45,1,551) [2025-02-16 04:31:22] Production.INFO: DiscountAmount 0.000000 [2025-02-16 04:31:22] Production.INFO: DiscountType [2025-02-16 04:31:22] Production.INFO: SubscriptionCharge -45 [2025-02-16 04:31:22] Production.INFO: New SubscriptionCharge -45 [2025-02-16 04:31:22] Production.INFO: TotalSubscriptionCharge - -45.00 [2025-02-16 04:31:22] Production.INFO: ============================Subscription End ================= [2025-02-16 04:31:22] Production.INFO: ============================Subscription Start ================= [2025-02-16 04:31:22] Production.INFO: SubscriptionID - 24 [2025-02-16 04:31:22] Production.INFO: SubscriptionID - 2025-01-16=====2025-02-15 [2025-02-16 04:31:22] Production.INFO: AccountSubscriptionID - 599 === 2021-06-22=====2022-03-21 [2025-02-16 04:31:22] Production.INFO: ============================Subscription End ================= [2025-02-16 04:31:22] Production.INFO: SUBSCRIPTION Over [2025-02-16 04:31:22] Production.INFO: Call prc_getAccountOneOffCharge(140,0,2025-01-16,2025-02-16 23:59:59) [2025-02-16 04:31:22] Production.INFO: AccountOneOffCharge 0 [2025-02-16 04:31:22] Production.INFO: AccountOneOffCharge Over [2025-02-16 04:31:22] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-02-16 04:31:22] Production.INFO: New UsageDates 2025-01-16 - 2025-02-15 23:59:59 [2025-02-16 04:31:22] Production.INFO: SubTotal 32.5 [2025-02-16 04:31:22] Production.INFO: SubTotalWithouttaxTotal 0 [2025-02-16 04:31:22] Production.INFO: AccountOneOffCharge Tax Over [2025-02-16 04:31:22] Production.INFO: TotalTax 4.225 [2025-02-16 04:31:22] Production.INFO: InvoiceGrandTotal 36.725 [2025-02-16 04:31:22] Production.INFO: InvoiceTaxAmount 4.23 [2025-02-16 04:31:22] Production.INFO: GrandTotal 36.73 [2025-02-16 04:31:22] Production.INFO: SubTotal 32.50 [2025-02-16 04:31:22] Production.INFO: TotalDue 36.73 [2025-02-16 04:31:22] Production.INFO: Reseller ==> 0 [2025-02-16 04:31:22] Production.INFO: original start date ==>2025-01-16 changed start date ==>2025-01-16 00:00:00 original end date ==>2025-02-15 23:59:59 changed end date ==>2025-02-15 23:59:59 [2025-02-16 04:31:22] Production.INFO: CALL prc_getInvoiceUsage(1,'140','0','1','2025-01-16 00:00:00','2025-02-15 23:59:59',0) [2025-02-16 04:31:22] Production.INFO: PDF Generation start [2025-02-16 04:31:22] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/140/Invoices/2025/02/16/Invoice-pharmasave-uxbridge-inv11553-from-01-16-2025-to-02-15-2025-10489.pdf [2025-02-16 04:31:22] Production.INFO: On Linux [2025-02-16 04:31:23] 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/140/Invoices/2025/02/16/footer-pharmasave-uxbridge-inv11553-from-01-16-2025-to-02-15-2025-10489.html" "/var/www/tmp/1/140/Invoices/2025/02/16/Invoice-pharmasave-uxbridge-inv11553-from-01-16-2025-to-02-15-2025-10489.html" "/var/www/tmp/1/140/Invoices/2025/02/16/Invoice-pharmasave-uxbridge-inv11553-from-01-16-2025-to-02-15-2025-10489.pdf" [2025-02-16 04:31:23] Production.INFO: [2025-02-16 04:31:23] Production.INFO: /var/www/tmp/1/140/Invoices/2025/02/16/Invoice-pharmasave-uxbridge-inv11553-from-01-16-2025-to-02-15-2025-10489.html [2025-02-16 04:31:23] Production.INFO: /var/www/tmp/1/140/Invoices/2025/02/16/header-pharmasave-uxbridge-inv11553-from-01-16-2025-to-02-15-2025-10489.html [2025-02-16 04:31:23] Production.INFO: /var/www/tmp/1/140/Invoices/2025/02/16/footer-pharmasave-uxbridge-inv11553-from-01-16-2025-to-02-15-2025-10489.html [2025-02-16 04:31:23] Production.INFO: Invoice generation PDF path [2025-02-16 04:31:23] Production.INFO: PDF fullPath 1/140/Invoices/2025/02/16/Invoice-pharmasave-uxbridge-inv11553-from-01-16-2025-to-02-15-2025-10489.pdf [2025-02-16 04:31:23] Production.INFO: Generate Usage File Start [2025-02-16 04:31:23] Production.INFO: Usage File fullPath 1/140/InvoiceUsageFile/2025/02/16/pharmasave-uxbridge-16-01-2025-00-00-00-TO-15-02-2025-23-59-59_8251__c9a38ca0-ec48-11ef-8044-edefccea8d90.csv [2025-02-16 04:31:24] Production.INFO: Sending Email to Staff over [2025-02-16 04:31:24] Production.INFO: Email Status 1 [2025-02-16 04:31:24] Production.INFO: Sending Email to Customer [2025-02-16 04:31:25] Production.INFO: Email Try 10489 1 [2025-02-16 04:31:25] Production.INFO: =========== Email Sending over =========== [2025-02-16 04:31:25] Production.INFO: =========== Returning as Success =========== AccountID 140 [2025-02-16 04:31:25] Production.INFO: Invoice::sendInvoice done [2025-02-16 04:31:25] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-02-16 04:31:25] Production.INFO: Invoice Committed AccountID = 140 [2025-02-16 04:31:25] Production.INFO: =========== Updating InvoiceDate =========== [2025-02-16 04:31:25] Production.INFO: NextInvoice 2025-02-16 2025-03-15 [2025-02-16 04:31:25] Production.INFO: new dates [2025-02-16 04:31:25] Production.INFO: LastInvoiceDate 2025-02-16 NextInvoiceDate 2025-03-16 [2025-02-16 04:31:25] Production.INFO: LastChargeDate 2025-02-16 NextChargeDate 2025-03-15 [2025-02-16 04:31:25] Production.INFO: =========== Updated InvoiceDate =========== [2025-02-16 04:31:25] Production.INFO: ========================== Invoice Send End ============================= [2025-02-16 04:31:25] Production.INFO: AccountID =161 FirstInvoiceSend 0 [2025-02-16 04:31:25] Production.INFO: LastInvoiceDate 2025-01-16 NextInvoiceDate 2025-02-16 [2025-02-16 04:31:25] Production.INFO: LastChargeDate 2025-01-16 NextChargeDate 2025-02-15 [2025-02-16 04:31:25] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-02-16 04:31:25] Production.INFO: ========================== Invoice Send Start ============================= [2025-02-16 04:31:25] Production.INFO: Invoice::sendInvoice(1,161,2025-01-16,2025-02-16,billing@onswitchit.ca) [2025-02-16 04:31:25] Production.INFO: start Date =2025-01-16 EndDate =2025-02-15 23:59:59 [2025-02-16 04:31:25] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-02-16 04:31:25] 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-02-16 04:31:25] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-02-16 04:31:25] Production.INFO: AlreadyBilled [2025-02-16 04:31:25] Production.INFO: Reseller ==> 0 [2025-02-16 04:31:25] Production.INFO: original start date ==>2025-01-16 changed start date ==>2025-01-16 00:00:00 original end date ==>2025-02-15 23:59:59 changed end date ==>2025-02-15 23:59:59 [2025-02-16 04:31:25] Production.INFO: Invoice::getAccountUsageTotal(1,161,2025-01-16,2025-02-15 23:59:59) [2025-02-16 04:31:25] Production.INFO: TotalCharges - 0 [2025-02-16 04:31:25] Production.INFO: TotalUsageCharges - 0.00 [2025-02-16 04:31:25] Production.INFO: Usage Over [2025-02-16 04:31:25] Production.INFO: Call prc_getAccountSubscription(161,0) [2025-02-16 04:31:25] Production.INFO: SUBSCRIPTION 3 [2025-02-16 04:31:25] Production.INFO: ============================Subscription Start ================= [2025-02-16 04:31:25] Production.INFO: SubscriptionID - 5 [2025-02-16 04:31:25] Production.INFO: isAdvanceSubscription - 5 [2025-02-16 04:31:25] Production.INFO: SubscriptionStartDate =2025-02-16 - SubscriptionEndDate = 2025-03-15 [2025-02-16 04:31:25] Production.INFO: NewNextChargeDate =2025-03-15 00:00:00 [2025-02-16 04:31:25] Production.INFO: EndDate =2025-02-15 00:00:00 [2025-02-16 04:31:25] Production.INFO: NewEndDate1 =2025-02-16 [2025-02-16 04:31:25] Production.INFO: SubscriptionDate [2025-02-16 04:31:25] Production.INFO: Array ( [StartDate] => 2025-02-16 [EndDate] => 2025-03-15 00:00:00 [AlreadyCharged] => 0 ) [2025-02-16 04:31:25] Production.INFO: AccountSubscription StartDate 2022-03-16 StartDate 2025-01-16 [2025-02-16 04:31:25] Production.INFO: SubscriptionID - 2025-02-16=====2025-03-15 00:00:00 [2025-02-16 04:31:25] Production.INFO: AccountSubscriptionID - 638 === 2022-03-16=====2026-02-16 [2025-02-16 04:31:25] Production.INFO: regular Advance Subscription [2025-02-16 04:31:25] Production.INFO: First Time False 2022-03-16 2025-02-16 [2025-02-16 04:31:25] Production.INFO: StartDate 2025-02-16 AccountSubscription->StartDate 2022-03-16 EndDate 2025-03-15 00:00:00 AccountSubscription->EndDate 2026-02-16 [2025-02-16 04:31:25] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-16 04:31:25] Production.INFO: AccountSubscription::getSubscriptionAmount(638,2025-02-16,2025-03-15 00:00:00,,0) [2025-02-16 04:31:25] Production.INFO: SubscriptionCharge - 75 [2025-02-16 04:31:25] Production.INFO: Already Invoice Subscription 0 [2025-02-16 04:31:25] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(161,1,5,2025-02-16,2025-03-15 00:00:00,Restaurant - 4 Line Flat Rate,75,75,1,638) [2025-02-16 04:31:25] Production.INFO: DiscountAmount 0.000000 [2025-02-16 04:31:25] Production.INFO: DiscountType Flat [2025-02-16 04:31:25] Production.INFO: SubscriptionCharge 75 [2025-02-16 04:31:25] Production.INFO: New SubscriptionCharge 75 [2025-02-16 04:31:25] Production.INFO: TotalSubscriptionCharge - 75.00 [2025-02-16 04:31:25] Production.INFO: ============================Subscription End ================= [2025-02-16 04:31:25] Production.INFO: ============================Subscription Start ================= [2025-02-16 04:31:25] Production.INFO: SubscriptionID - 11 [2025-02-16 04:31:25] Production.INFO: isAdvanceSubscription - 11 [2025-02-16 04:31:25] Production.INFO: SubscriptionStartDate =2025-02-16 - SubscriptionEndDate = 2025-03-15 [2025-02-16 04:31:25] Production.INFO: NewNextChargeDate =2025-03-15 00:00:00 [2025-02-16 04:31:25] Production.INFO: EndDate =2025-02-15 00:00:00 [2025-02-16 04:31:25] Production.INFO: NewEndDate1 =2025-02-16 [2025-02-16 04:31:25] Production.INFO: SubscriptionDate [2025-02-16 04:31:25] Production.INFO: Array ( [StartDate] => 2025-02-16 [EndDate] => 2025-03-15 00:00:00 [AlreadyCharged] => 0 ) [2025-02-16 04:31:25] Production.INFO: AccountSubscription StartDate 2022-03-16 StartDate 2025-01-16 [2025-02-16 04:31:25] Production.INFO: SubscriptionID - 2025-02-16=====2025-03-15 00:00:00 [2025-02-16 04:31:25] Production.INFO: AccountSubscriptionID - 639 === 2022-03-16=====2026-02-16 [2025-02-16 04:31:25] Production.INFO: regular Advance Subscription [2025-02-16 04:31:25] Production.INFO: First Time False 2022-03-16 2025-02-16 [2025-02-16 04:31:25] Production.INFO: StartDate 2025-02-16 AccountSubscription->StartDate 2022-03-16 EndDate 2025-03-15 00:00:00 AccountSubscription->EndDate 2026-02-16 [2025-02-16 04:31:25] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-16 04:31:25] Production.INFO: AccountSubscription::getSubscriptionAmount(639,2025-02-16,2025-03-15 00:00:00,,0) [2025-02-16 04:31:25] Production.INFO: SubscriptionCharge - -5 [2025-02-16 04:31:25] Production.INFO: Already Invoice Subscription 0 [2025-02-16 04:31:25] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(161,1,11,2025-02-16,2025-03-15 00:00:00,Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service,-25,-5,5,639) [2025-02-16 04:31:25] Production.INFO: DiscountAmount 0.000000 [2025-02-16 04:31:25] Production.INFO: DiscountType Flat [2025-02-16 04:31:25] Production.INFO: SubscriptionCharge -25 [2025-02-16 04:31:25] Production.INFO: New SubscriptionCharge -25 [2025-02-16 04:31:25] Production.INFO: TotalSubscriptionCharge - -25.00 [2025-02-16 04:31:25] Production.INFO: ============================Subscription End ================= [2025-02-16 04:31:25] Production.INFO: ============================Subscription Start ================= [2025-02-16 04:31:25] Production.INFO: SubscriptionID - 4 [2025-02-16 04:31:25] Production.INFO: isAdvanceSubscription - 4 [2025-02-16 04:31:25] Production.INFO: SubscriptionStartDate =2025-02-16 - SubscriptionEndDate = 2025-03-15 [2025-02-16 04:31:25] Production.INFO: NewNextChargeDate =2025-03-15 00:00:00 [2025-02-16 04:31:25] Production.INFO: EndDate =2025-02-15 00:00:00 [2025-02-16 04:31:25] Production.INFO: NewEndDate1 =2025-02-16 [2025-02-16 04:31:25] Production.INFO: SubscriptionDate [2025-02-16 04:31:25] Production.INFO: Array ( [StartDate] => 2025-02-16 [EndDate] => 2025-03-15 00:00:00 [AlreadyCharged] => 0 ) [2025-02-16 04:31:25] Production.INFO: AccountSubscription StartDate 2022-03-16 StartDate 2025-01-16 [2025-02-16 04:31:25] Production.INFO: SubscriptionID - 2025-02-16=====2025-03-15 00:00:00 [2025-02-16 04:31:25] Production.INFO: AccountSubscriptionID - 640 === 2022-03-16=====2026-02-16 [2025-02-16 04:31:25] Production.INFO: regular Advance Subscription [2025-02-16 04:31:25] Production.INFO: First Time False 2022-03-16 2025-02-16 [2025-02-16 04:31:25] Production.INFO: StartDate 2025-02-16 AccountSubscription->StartDate 2022-03-16 EndDate 2025-03-15 00:00:00 AccountSubscription->EndDate 2026-02-16 [2025-02-16 04:31:25] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-16 04:31:25] Production.INFO: AccountSubscription::getSubscriptionAmount(640,2025-02-16,2025-03-15 00:00:00,,0) [2025-02-16 04:31:25] Production.INFO: SubscriptionCharge - 2.5 [2025-02-16 04:31:25] Production.INFO: Already Invoice Subscription 0 [2025-02-16 04:31:25] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(161,1,4,2025-02-16,2025-03-15 00:00:00,e911 address registration (5197490120- 1188 Fischer Hallman Rd Unit 205 Kitchener, ON N2E0B7),2.5,2.5,1,640) [2025-02-16 04:31:25] Production.INFO: DiscountAmount 0.000000 [2025-02-16 04:31:25] Production.INFO: DiscountType Flat [2025-02-16 04:31:25] Production.INFO: SubscriptionCharge 2.5 [2025-02-16 04:31:25] Production.INFO: New SubscriptionCharge 2.5 [2025-02-16 04:31:25] Production.INFO: TotalSubscriptionCharge - 2.50 [2025-02-16 04:31:25] Production.INFO: ============================Subscription End ================= [2025-02-16 04:31:25] Production.INFO: SUBSCRIPTION Over [2025-02-16 04:31:25] Production.INFO: Call prc_getAccountOneOffCharge(161,0,2025-01-16,2025-02-16 23:59:59) [2025-02-16 04:31:25] Production.INFO: AccountOneOffCharge 0 [2025-02-16 04:31:25] Production.INFO: AccountOneOffCharge Over [2025-02-16 04:31:25] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-02-16 04:31:25] Production.INFO: New UsageDates 2025-01-16 - 2025-02-15 23:59:59 [2025-02-16 04:31:25] Production.INFO: SubTotal 52.5 [2025-02-16 04:31:25] Production.INFO: SubTotalWithouttaxTotal 0 [2025-02-16 04:31:25] Production.INFO: AccountOneOffCharge Tax Over [2025-02-16 04:31:25] Production.INFO: TotalTax 6.825 [2025-02-16 04:31:25] Production.INFO: InvoiceGrandTotal 59.325 [2025-02-16 04:31:25] Production.INFO: InvoiceTaxAmount 6.83 [2025-02-16 04:31:25] Production.INFO: GrandTotal 59.33 [2025-02-16 04:31:25] Production.INFO: SubTotal 52.50 [2025-02-16 04:31:25] Production.INFO: TotalDue 59.33 [2025-02-16 04:31:25] Production.INFO: Reseller ==> 0 [2025-02-16 04:31:25] Production.INFO: original start date ==>2025-01-16 changed start date ==>2025-01-16 00:00:00 original end date ==>2025-02-15 23:59:59 changed end date ==>2025-02-15 23:59:59 [2025-02-16 04:31:25] Production.INFO: CALL prc_getInvoiceUsage(1,'161','0','1','2025-01-16 00:00:00','2025-02-15 23:59:59',0) [2025-02-16 04:31:25] Production.INFO: PDF Generation start [2025-02-16 04:31:25] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/161/Invoices/2025/02/16/Invoice-dominos-10476-sandeep-chaudhari-inv11554-from-01-16-2025-to-02-15-2025-10490.pdf [2025-02-16 04:31:25] Production.INFO: On Linux [2025-02-16 04:31:26] 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/161/Invoices/2025/02/16/footer-dominos-10476-sandeep-chaudhari-inv11554-from-01-16-2025-to-02-15-2025-10490.html" "/var/www/tmp/1/161/Invoices/2025/02/16/Invoice-dominos-10476-sandeep-chaudhari-inv11554-from-01-16-2025-to-02-15-2025-10490.html" "/var/www/tmp/1/161/Invoices/2025/02/16/Invoice-dominos-10476-sandeep-chaudhari-inv11554-from-01-16-2025-to-02-15-2025-10490.pdf" [2025-02-16 04:31:26] Production.INFO: [2025-02-16 04:31:26] Production.INFO: /var/www/tmp/1/161/Invoices/2025/02/16/Invoice-dominos-10476-sandeep-chaudhari-inv11554-from-01-16-2025-to-02-15-2025-10490.html [2025-02-16 04:31:26] Production.INFO: /var/www/tmp/1/161/Invoices/2025/02/16/header-dominos-10476-sandeep-chaudhari-inv11554-from-01-16-2025-to-02-15-2025-10490.html [2025-02-16 04:31:26] Production.INFO: /var/www/tmp/1/161/Invoices/2025/02/16/footer-dominos-10476-sandeep-chaudhari-inv11554-from-01-16-2025-to-02-15-2025-10490.html [2025-02-16 04:31:26] Production.INFO: Invoice generation PDF path [2025-02-16 04:31:26] Production.INFO: PDF fullPath 1/161/Invoices/2025/02/16/Invoice-dominos-10476-sandeep-chaudhari-inv11554-from-01-16-2025-to-02-15-2025-10490.pdf [2025-02-16 04:31:26] Production.INFO: Generate Usage File Start [2025-02-16 04:31:26] Production.INFO: Usage File fullPath 1/161/InvoiceUsageFile/2025/02/16/dominos-10476-sandeep-chaudhari-16-01-2025-00-00-00-TO-15-02-2025-23-59-59_8311__cb7a30d0-ec48-11ef-a0b2-a7693c8c491c.csv [2025-02-16 04:31:27] Production.INFO: Sending Email to Staff over [2025-02-16 04:31:27] Production.INFO: Email Status 1 [2025-02-16 04:31:27] Production.INFO: Sending Email to Customer [2025-02-16 04:31:28] Production.INFO: Email Try 10490 1 [2025-02-16 04:31:28] Production.INFO: Email Try 10490 1 [2025-02-16 04:31:28] Production.INFO: =========== Email Sending over =========== [2025-02-16 04:31:28] Production.INFO: =========== Returning as Success =========== AccountID 161 [2025-02-16 04:31:28] Production.INFO: Invoice::sendInvoice done [2025-02-16 04:31:28] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-02-16 04:31:28] Production.INFO: Invoice Committed AccountID = 161 [2025-02-16 04:31:28] Production.INFO: =========== Updating InvoiceDate =========== [2025-02-16 04:31:28] Production.INFO: NextInvoice 2025-02-16 2025-03-15 [2025-02-16 04:31:28] Production.INFO: new dates [2025-02-16 04:31:28] Production.INFO: LastInvoiceDate 2025-02-16 NextInvoiceDate 2025-03-16 [2025-02-16 04:31:28] Production.INFO: LastChargeDate 2025-02-16 NextChargeDate 2025-03-15 [2025-02-16 04:31:28] Production.INFO: =========== Updated InvoiceDate =========== [2025-02-16 04:31:28] Production.INFO: ========================== Invoice Send End ============================= [2025-02-16 04:31:28] Production.INFO: ========================== Recurring invoice Start ============================= [2025-02-16 04:31:28] Production.INFO: recurring invoices ID [2025-02-16 04:31:28] Production.INFO: [2025-02-16 04:31:28] Production.INFO: recurring errorsArray ( ) [2025-02-16 04:31:28] Production.INFO: ========================== Recurring invoice End ============================= [2025-02-16 04:31:28] Production.INFO: ========================== Job Updated ============================= [2025-02-16 04:31:29] Production.INFO: ========================== Job Email Sent ============================= [2025-02-16 04:31:30] Production.ERROR: **Email Sent Status 1 [2025-02-16 04:31:30] Production.ERROR: **Email Sent message Email has been sent [2025-02-16 04:31:30] Production.ERROR: CronJobId end6 [2025-02-16 04:31:30] Production.INFO: ==26388== Releasing lock... [2025-02-16 04:31:30] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Stops# [2025-02-16 04:31:30] Production.INFO: 38.75 MB #Memory Used#