[2025-01-16 04:30:04] Production.INFO: Call prc_getBillingAccounts(1,2025-01-16,'','0') [2025-01-16 04:30:04] Production.INFO: Array ( [0] => stdClass Object ( [AccountID] => 6 [NextInvoiceDate] => 2025-01-16 [AccountName] => Background Support [ServiceID] => 0 ) [1] => stdClass Object ( [AccountID] => 57 [NextInvoiceDate] => 2025-01-16 [AccountName] => Dominos 39041 (Rishi Kakar) [ServiceID] => 0 ) [2] => stdClass Object ( [AccountID] => 59 [NextInvoiceDate] => 2025-01-16 [AccountName] => Mantella VP [ServiceID] => 0 ) [3] => stdClass Object ( [AccountID] => 107 [NextInvoiceDate] => 2025-01-16 [AccountName] => Dominos 10179 (Akshay Naik) [ServiceID] => 0 ) [4] => stdClass Object ( [AccountID] => 140 [NextInvoiceDate] => 2025-01-16 [AccountName] => PharmaSave (Uxbridge) [ServiceID] => 0 ) [5] => stdClass Object ( [AccountID] => 161 [NextInvoiceDate] => 2025-01-16 [AccountName] => Dominos 10476 (Sandeep Chaudhari) [ServiceID] => 0 ) ) [2025-01-16 04:30:04] Production.INFO: AccountID =6 FirstInvoiceSend 0 [2025-01-16 04:30:04] Production.INFO: LastInvoiceDate 2024-12-16 NextInvoiceDate 2025-01-16 [2025-01-16 04:30:04] Production.INFO: LastChargeDate 2024-12-16 NextChargeDate 2025-01-15 [2025-01-16 04:30:04] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-01-16 04:30:04] Production.INFO: ========================== Invoice Send Start ============================= [2025-01-16 04:30:04] Production.INFO: Invoice::sendInvoice(1,6,2024-12-16,2025-01-16,billing@onswitchit.ca) [2025-01-16 04:30:04] Production.INFO: start Date =2024-12-16 EndDate =2025-01-15 23:59:59 [2025-01-16 04:30:04] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-01-16 04:30:04] Production.INFO: InvoiceTemplate->Terms =



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


[2025-01-16 04:30:04] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-01-16 04:30:04] Production.INFO: AlreadyBilled [2025-01-16 04:30:04] Production.INFO: Reseller ==> 0 [2025-01-16 04:30:04] Production.INFO: original start date ==>2024-12-16 changed start date ==>2024-12-16 00:00:00 original end date ==>2025-01-15 23:59:59 changed end date ==>2025-01-15 23:59:59 [2025-01-16 04:30:04] Production.INFO: CompanyGatewayID 1 TotalCharges ==>3.57000000 [2025-01-16 04:30:04] Production.INFO: Invoice::getAccountUsageTotal(1,6,2024-12-16,2025-01-15 23:59:59) [2025-01-16 04:30:04] Production.INFO: TotalCharges - 3.57 [2025-01-16 04:30:04] Production.INFO: TotalUsageCharges - 3.57 [2025-01-16 04:30:04] Production.INFO: Usage Over [2025-01-16 04:30:04] Production.INFO: Call prc_getAccountSubscription(6,0) [2025-01-16 04:30:04] Production.INFO: SUBSCRIPTION 2 [2025-01-16 04:30:04] Production.INFO: ============================Subscription Start ================= [2025-01-16 04:30:04] Production.INFO: SubscriptionID - 1 [2025-01-16 04:30:04] Production.INFO: isAdvanceSubscription - 1 [2025-01-16 04:30:04] Production.INFO: SubscriptionStartDate =2025-01-16 - SubscriptionEndDate = 2025-02-15 [2025-01-16 04:30:04] Production.INFO: NewNextChargeDate =2025-02-15 00:00:00 [2025-01-16 04:30:04] Production.INFO: EndDate =2025-01-15 00:00:00 [2025-01-16 04:30:04] Production.INFO: NewEndDate1 =2025-01-16 [2025-01-16 04:30:04] Production.INFO: SubscriptionDate [2025-01-16 04:30:04] Production.INFO: Array ( [StartDate] => 2025-01-16 [EndDate] => 2025-02-15 00:00:00 [AlreadyCharged] => 0 ) [2025-01-16 04:30:05] Production.INFO: AccountSubscription StartDate 2017-05-30 StartDate 2024-12-16 [2025-01-16 04:30:05] Production.INFO: SubscriptionID - 2025-01-16=====2025-02-15 00:00:00 [2025-01-16 04:30:05] Production.INFO: AccountSubscriptionID - 41 === 2017-05-30=====2026-01-16 [2025-01-16 04:30:05] Production.INFO: regular Advance Subscription [2025-01-16 04:30:05] Production.INFO: First Time False 2017-05-30 2025-01-16 [2025-01-16 04:30:05] Production.INFO: StartDate 2025-01-16 AccountSubscription->StartDate 2017-05-30 EndDate 2025-02-15 00:00:00 AccountSubscription->EndDate 2026-01-16 [2025-01-16 04:30:05] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-16 04:30:05] Production.INFO: AccountSubscription::getSubscriptionAmount(41,2025-01-16,2025-02-15 00:00:00,,0) [2025-01-16 04:30:05] Production.INFO: SubscriptionCharge - 10 [2025-01-16 04:30:05] Production.INFO: Already Invoice Subscription 0 [2025-01-16 04:30:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(6,1,1,2025-01-16,2025-02-15 00:00:00,License for a Pay As You Go Cloud Phone extension,30,10,3,41) [2025-01-16 04:30:05] Production.INFO: DiscountAmount 0.000000 [2025-01-16 04:30:05] Production.INFO: DiscountType [2025-01-16 04:30:05] Production.INFO: SubscriptionCharge 30 [2025-01-16 04:30:05] Production.INFO: New SubscriptionCharge 30 [2025-01-16 04:30:05] Production.INFO: TotalSubscriptionCharge - 30.00 [2025-01-16 04:30:05] Production.INFO: ============================Subscription End ================= [2025-01-16 04:30:05] Production.INFO: ============================Subscription Start ================= [2025-01-16 04:30:05] Production.INFO: SubscriptionID - 8 [2025-01-16 04:30:05] Production.INFO: isAdvanceSubscription - 8 [2025-01-16 04:30:05] Production.INFO: SubscriptionStartDate =2025-01-16 - SubscriptionEndDate = 2025-02-15 [2025-01-16 04:30:05] Production.INFO: NewNextChargeDate =2025-02-15 00:00:00 [2025-01-16 04:30:05] Production.INFO: EndDate =2025-01-15 00:00:00 [2025-01-16 04:30:05] Production.INFO: NewEndDate1 =2025-01-16 [2025-01-16 04:30:05] Production.INFO: SubscriptionDate [2025-01-16 04:30:05] Production.INFO: Array ( [StartDate] => 2025-01-16 [EndDate] => 2025-02-15 00:00:00 [AlreadyCharged] => 0 ) [2025-01-16 04:30:05] Production.INFO: AccountSubscription StartDate 2019-12-19 StartDate 2024-12-16 [2025-01-16 04:30:05] Production.INFO: SubscriptionID - 2025-01-16=====2025-02-15 00:00:00 [2025-01-16 04:30:05] Production.INFO: AccountSubscriptionID - 454 === 2019-12-19=====2026-01-16 [2025-01-16 04:30:05] Production.INFO: regular Advance Subscription [2025-01-16 04:30:05] Production.INFO: First Time False 2019-12-19 2025-01-16 [2025-01-16 04:30:05] Production.INFO: StartDate 2025-01-16 AccountSubscription->StartDate 2019-12-19 EndDate 2025-02-15 00:00:00 AccountSubscription->EndDate 2026-01-16 [2025-01-16 04:30:05] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-16 04:30:05] Production.INFO: AccountSubscription::getSubscriptionAmount(454,2025-01-16,2025-02-15 00:00:00,,0) [2025-01-16 04:30:05] Production.INFO: SubscriptionCharge - 5 [2025-01-16 04:30:05] Production.INFO: Already Invoice Subscription 0 [2025-01-16 04:30:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(6,1,8,2025-01-16,2025-02-15 00:00:00,Additional DID (6474848647) - Background Support eFax,5,5,1,454) [2025-01-16 04:30:05] Production.INFO: DiscountAmount 0.000000 [2025-01-16 04:30:05] Production.INFO: DiscountType [2025-01-16 04:30:05] Production.INFO: SubscriptionCharge 5 [2025-01-16 04:30:05] Production.INFO: New SubscriptionCharge 5 [2025-01-16 04:30:05] Production.INFO: TotalSubscriptionCharge - 5.00 [2025-01-16 04:30:05] Production.INFO: ============================Subscription End ================= [2025-01-16 04:30:05] Production.INFO: SUBSCRIPTION Over [2025-01-16 04:30:05] Production.INFO: Call prc_getAccountOneOffCharge(6,0,2024-12-16,2025-01-16 23:59:59) [2025-01-16 04:30:05] Production.INFO: AccountOneOffCharge 0 [2025-01-16 04:30:05] Production.INFO: AccountOneOffCharge Over [2025-01-16 04:30:05] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-01-16 04:30:05] Production.INFO: New UsageDates 2024-12-16 - 2025-01-15 23:59:59 [2025-01-16 04:30:05] Production.INFO: SubTotal 38.57 [2025-01-16 04:30:05] Production.INFO: SubTotalWithouttaxTotal 0 [2025-01-16 04:30:05] Production.INFO: AccountOneOffCharge Tax Over [2025-01-16 04:30:05] Production.INFO: TotalTax 5.0141 [2025-01-16 04:30:05] Production.INFO: InvoiceGrandTotal 43.5841 [2025-01-16 04:30:05] Production.INFO: InvoiceTaxAmount 5.01 [2025-01-16 04:30:05] Production.INFO: GrandTotal 43.58 [2025-01-16 04:30:05] Production.INFO: SubTotal 38.57 [2025-01-16 04:30:05] Production.INFO: TotalDue 179.43 [2025-01-16 04:30:05] Production.INFO: Reseller ==> 0 [2025-01-16 04:30:05] Production.INFO: original start date ==>2024-12-16 changed start date ==>2024-12-16 00:00:00 original end date ==>2025-01-15 23:59:59 changed end date ==>2025-01-15 23:59:59 [2025-01-16 04:30:05] Production.INFO: CALL prc_getInvoiceUsage(1,'6','0','1','2024-12-16 00:00:00','2025-01-15 23:59:59',0) [2025-01-16 04:30:05] Production.INFO: PDF Generation start [2025-01-16 04:30:05] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/6/Invoices/2025/01/16/Invoice-background-support-inv11382-from-12-16-2024-to-01-15-2025-10312.pdf [2025-01-16 04:30:05] Production.INFO: On Linux [2025-01-16 04:30:08] 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/01/16/footer-background-support-inv11382-from-12-16-2024-to-01-15-2025-10312.html" "/var/www/tmp/1/6/Invoices/2025/01/16/Invoice-background-support-inv11382-from-12-16-2024-to-01-15-2025-10312.html" "/var/www/tmp/1/6/Invoices/2025/01/16/Invoice-background-support-inv11382-from-12-16-2024-to-01-15-2025-10312.pdf" [2025-01-16 04:30:08] Production.INFO: [2025-01-16 04:30:08] Production.INFO: /var/www/tmp/1/6/Invoices/2025/01/16/Invoice-background-support-inv11382-from-12-16-2024-to-01-15-2025-10312.html [2025-01-16 04:30:08] Production.INFO: /var/www/tmp/1/6/Invoices/2025/01/16/header-background-support-inv11382-from-12-16-2024-to-01-15-2025-10312.html [2025-01-16 04:30:08] Production.INFO: /var/www/tmp/1/6/Invoices/2025/01/16/footer-background-support-inv11382-from-12-16-2024-to-01-15-2025-10312.html [2025-01-16 04:30:08] Production.INFO: Invoice generation PDF path [2025-01-16 04:30:08] Production.INFO: PDF fullPath 1/6/Invoices/2025/01/16/Invoice-background-support-inv11382-from-12-16-2024-to-01-15-2025-10312.pdf [2025-01-16 04:30:08] Production.INFO: Generate Usage File Start [2025-01-16 04:30:08] Production.INFO: Usage File fullPath 1/6/InvoiceUsageFile/2025/01/16/background-support-16-12-2024-00-00-00-TO-15-01-2025-23-59-59_7585__79cbcda0-d3ec-11ef-ac13-b368697c19af.csv [2025-01-16 04:30:09] Production.INFO: Sending Email to Staff over [2025-01-16 04:30:09] Production.INFO: Email Status 1 [2025-01-16 04:30:09] Production.INFO: Sending Email to Customer [2025-01-16 04:30:10] Production.INFO: Email Try 10312 1 [2025-01-16 04:30:10] Production.INFO: =========== Email Sending over =========== [2025-01-16 04:30:10] Production.INFO: =========== Returning as Success =========== AccountID 6 [2025-01-16 04:30:10] Production.INFO: Invoice::sendInvoice done [2025-01-16 04:30:10] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-01-16 04:30:10] Production.INFO: Invoice Committed AccountID = 6 [2025-01-16 04:30:10] Production.INFO: =========== Updating InvoiceDate =========== [2025-01-16 04:30:10] Production.INFO: NextInvoice 2025-01-16 2025-02-15 [2025-01-16 04:30:10] Production.INFO: new dates [2025-01-16 04:30:10] Production.INFO: LastInvoiceDate 2025-01-16 NextInvoiceDate 2025-02-16 [2025-01-16 04:30:10] Production.INFO: LastChargeDate 2025-01-16 NextChargeDate 2025-02-15 [2025-01-16 04:30:10] Production.INFO: =========== Updated InvoiceDate =========== [2025-01-16 04:30:10] Production.INFO: ========================== Invoice Send End ============================= [2025-01-16 04:30:11] Production.INFO: AccountID =57 FirstInvoiceSend 0 [2025-01-16 04:30:11] Production.INFO: LastInvoiceDate 2024-12-16 NextInvoiceDate 2025-01-16 [2025-01-16 04:30:11] Production.INFO: LastChargeDate 2024-12-16 NextChargeDate 2025-01-15 [2025-01-16 04:30:11] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-01-16 04:30:11] Production.INFO: ========================== Invoice Send Start ============================= [2025-01-16 04:30:11] Production.INFO: Invoice::sendInvoice(1,57,2024-12-16,2025-01-16,billing@onswitchit.ca) [2025-01-16 04:30:11] Production.INFO: start Date =2024-12-16 EndDate =2025-01-15 23:59:59 [2025-01-16 04:30:11] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-01-16 04:30:11] 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-16 04:30:11] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-01-16 04:30:11] Production.INFO: AlreadyBilled [2025-01-16 04:30:11] Production.INFO: Reseller ==> 0 [2025-01-16 04:30:11] Production.INFO: original start date ==>2024-12-16 changed start date ==>2024-12-16 00:00:00 original end date ==>2025-01-15 23:59:59 changed end date ==>2025-01-15 23:59:59 [2025-01-16 04:30:11] Production.INFO: Invoice::getAccountUsageTotal(1,57,2024-12-16,2025-01-15 23:59:59) [2025-01-16 04:30:11] Production.INFO: TotalCharges - 0 [2025-01-16 04:30:11] Production.INFO: TotalUsageCharges - 0.00 [2025-01-16 04:30:11] Production.INFO: Usage Over [2025-01-16 04:30:11] Production.INFO: Call prc_getAccountSubscription(57,0) [2025-01-16 04:30:11] Production.INFO: SUBSCRIPTION 2 [2025-01-16 04:30:11] Production.INFO: ============================Subscription Start ================= [2025-01-16 04:30:11] Production.INFO: SubscriptionID - 5 [2025-01-16 04:30:11] Production.INFO: isAdvanceSubscription - 5 [2025-01-16 04:30:11] Production.INFO: SubscriptionStartDate =2025-01-16 - SubscriptionEndDate = 2025-02-15 [2025-01-16 04:30:11] Production.INFO: NewNextChargeDate =2025-02-15 00:00:00 [2025-01-16 04:30:11] Production.INFO: EndDate =2025-01-15 00:00:00 [2025-01-16 04:30:11] Production.INFO: NewEndDate1 =2025-01-16 [2025-01-16 04:30:11] Production.INFO: SubscriptionDate [2025-01-16 04:30:11] Production.INFO: Array ( [StartDate] => 2025-01-16 [EndDate] => 2025-02-15 00:00:00 [AlreadyCharged] => 0 ) [2025-01-16 04:30:11] Production.INFO: AccountSubscription StartDate 2018-01-15 StartDate 2024-12-16 [2025-01-16 04:30:11] Production.INFO: SubscriptionID - 2025-01-16=====2025-02-15 00:00:00 [2025-01-16 04:30:11] Production.INFO: AccountSubscriptionID - 202 === 2018-01-15=====2026-01-16 [2025-01-16 04:30:11] Production.INFO: regular Advance Subscription [2025-01-16 04:30:11] Production.INFO: First Time False 2018-01-15 2025-01-16 [2025-01-16 04:30:11] Production.INFO: StartDate 2025-01-16 AccountSubscription->StartDate 2018-01-15 EndDate 2025-02-15 00:00:00 AccountSubscription->EndDate 2026-01-16 [2025-01-16 04:30:11] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-16 04:30:11] Production.INFO: AccountSubscription::getSubscriptionAmount(202,2025-01-16,2025-02-15 00:00:00,,0) [2025-01-16 04:30:11] Production.INFO: SubscriptionCharge - 75 [2025-01-16 04:30:11] Production.INFO: Already Invoice Subscription 0 [2025-01-16 04:30:11] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(57,1,5,2025-01-16,2025-02-15 00:00:00,Dominos Pizza - 4 Line Flat Rate,75,75,1,202) [2025-01-16 04:30:11] Production.INFO: DiscountAmount 0.000000 [2025-01-16 04:30:11] Production.INFO: DiscountType [2025-01-16 04:30:11] Production.INFO: SubscriptionCharge 75 [2025-01-16 04:30:11] Production.INFO: New SubscriptionCharge 75 [2025-01-16 04:30:11] Production.INFO: TotalSubscriptionCharge - 75.00 [2025-01-16 04:30:11] Production.INFO: ============================Subscription End ================= [2025-01-16 04:30:11] Production.INFO: ============================Subscription Start ================= [2025-01-16 04:30:11] Production.INFO: SubscriptionID - 4 [2025-01-16 04:30:11] Production.INFO: isAdvanceSubscription - 4 [2025-01-16 04:30:11] Production.INFO: SubscriptionStartDate =2025-01-16 - SubscriptionEndDate = 2025-02-15 [2025-01-16 04:30:11] Production.INFO: NewNextChargeDate =2025-02-15 00:00:00 [2025-01-16 04:30:11] Production.INFO: EndDate =2025-01-15 00:00:00 [2025-01-16 04:30:11] Production.INFO: NewEndDate1 =2025-01-16 [2025-01-16 04:30:11] Production.INFO: SubscriptionDate [2025-01-16 04:30:11] Production.INFO: Array ( [StartDate] => 2025-01-16 [EndDate] => 2025-02-15 00:00:00 [AlreadyCharged] => 0 ) [2025-01-16 04:30:11] Production.INFO: AccountSubscription StartDate 2018-01-15 StartDate 2024-12-16 [2025-01-16 04:30:11] Production.INFO: SubscriptionID - 2025-01-16=====2025-02-15 00:00:00 [2025-01-16 04:30:11] Production.INFO: AccountSubscriptionID - 203 === 2018-01-15=====2026-01-16 [2025-01-16 04:30:11] Production.INFO: regular Advance Subscription [2025-01-16 04:30:11] Production.INFO: First Time False 2018-01-15 2025-01-16 [2025-01-16 04:30:11] Production.INFO: StartDate 2025-01-16 AccountSubscription->StartDate 2018-01-15 EndDate 2025-02-15 00:00:00 AccountSubscription->EndDate 2026-01-16 [2025-01-16 04:30:11] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-16 04:30:11] Production.INFO: AccountSubscription::getSubscriptionAmount(203,2025-01-16,2025-02-15 00:00:00,,0) [2025-01-16 04:30:11] Production.INFO: SubscriptionCharge - 2.5 [2025-01-16 04:30:11] Production.INFO: Already Invoice Subscription 0 [2025-01-16 04:30:11] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(57,1,4,2025-01-16,2025-02-15 00:00:00,e911 address registration (19052572900 - 2387 TRAFALGAR RD UNIT 1 OAKVILLE, ON L6H6K7),2.5,2.5,1,203) [2025-01-16 04:30:11] Production.INFO: DiscountAmount 0.000000 [2025-01-16 04:30:11] Production.INFO: DiscountType [2025-01-16 04:30:11] Production.INFO: SubscriptionCharge 2.5 [2025-01-16 04:30:11] Production.INFO: New SubscriptionCharge 2.5 [2025-01-16 04:30:11] Production.INFO: TotalSubscriptionCharge - 2.50 [2025-01-16 04:30:11] Production.INFO: ============================Subscription End ================= [2025-01-16 04:30:11] Production.INFO: SUBSCRIPTION Over [2025-01-16 04:30:11] Production.INFO: Call prc_getAccountOneOffCharge(57,0,2024-12-16,2025-01-16 23:59:59) [2025-01-16 04:30:11] Production.INFO: AccountOneOffCharge 0 [2025-01-16 04:30:11] Production.INFO: AccountOneOffCharge Over [2025-01-16 04:30:11] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-01-16 04:30:11] Production.INFO: New UsageDates 2024-12-16 - 2025-01-15 23:59:59 [2025-01-16 04:30:11] Production.INFO: SubTotal 77.5 [2025-01-16 04:30:11] Production.INFO: SubTotalWithouttaxTotal 0 [2025-01-16 04:30:11] Production.INFO: AccountOneOffCharge Tax Over [2025-01-16 04:30:11] Production.INFO: TotalTax 10.075 [2025-01-16 04:30:11] Production.INFO: InvoiceGrandTotal 87.575 [2025-01-16 04:30:11] Production.INFO: InvoiceTaxAmount 10.08 [2025-01-16 04:30:11] Production.INFO: GrandTotal 87.58 [2025-01-16 04:30:11] Production.INFO: SubTotal 77.50 [2025-01-16 04:30:11] Production.INFO: TotalDue 87.58 [2025-01-16 04:30:11] Production.INFO: Reseller ==> 0 [2025-01-16 04:30:11] Production.INFO: original start date ==>2024-12-16 changed start date ==>2024-12-16 00:00:00 original end date ==>2025-01-15 23:59:59 changed end date ==>2025-01-15 23:59:59 [2025-01-16 04:30:11] Production.INFO: CALL prc_getInvoiceUsage(1,'57','0','1','2024-12-16 00:00:00','2025-01-15 23:59:59',0) [2025-01-16 04:30:11] Production.INFO: PDF Generation start [2025-01-16 04:30:11] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/57/Invoices/2025/01/16/Invoice-dominos-39041-rishi-kakar-inv11383-from-12-16-2024-to-01-15-2025-10313.pdf [2025-01-16 04:30:11] Production.INFO: On Linux [2025-01-16 04:30:13] 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/01/16/footer-dominos-39041-rishi-kakar-inv11383-from-12-16-2024-to-01-15-2025-10313.html" "/var/www/tmp/1/57/Invoices/2025/01/16/Invoice-dominos-39041-rishi-kakar-inv11383-from-12-16-2024-to-01-15-2025-10313.html" "/var/www/tmp/1/57/Invoices/2025/01/16/Invoice-dominos-39041-rishi-kakar-inv11383-from-12-16-2024-to-01-15-2025-10313.pdf" [2025-01-16 04:30:13] Production.INFO: [2025-01-16 04:30:13] Production.INFO: /var/www/tmp/1/57/Invoices/2025/01/16/Invoice-dominos-39041-rishi-kakar-inv11383-from-12-16-2024-to-01-15-2025-10313.html [2025-01-16 04:30:13] Production.INFO: /var/www/tmp/1/57/Invoices/2025/01/16/header-dominos-39041-rishi-kakar-inv11383-from-12-16-2024-to-01-15-2025-10313.html [2025-01-16 04:30:13] Production.INFO: /var/www/tmp/1/57/Invoices/2025/01/16/footer-dominos-39041-rishi-kakar-inv11383-from-12-16-2024-to-01-15-2025-10313.html [2025-01-16 04:30:13] Production.INFO: Invoice generation PDF path [2025-01-16 04:30:13] Production.INFO: PDF fullPath 1/57/Invoices/2025/01/16/Invoice-dominos-39041-rishi-kakar-inv11383-from-12-16-2024-to-01-15-2025-10313.pdf [2025-01-16 04:30:13] Production.INFO: Generate Usage File Start [2025-01-16 04:30:13] Production.INFO: Usage File fullPath 1/57/InvoiceUsageFile/2025/01/16/dominos-39041-rishi-kakar-16-12-2024-00-00-00-TO-15-01-2025-23-59-59_3883__7cd07d40-d3ec-11ef-ad99-7531a4a4362c.csv [2025-01-16 04:30:14] Production.INFO: Sending Email to Staff over [2025-01-16 04:30:14] Production.INFO: Email Status 1 [2025-01-16 04:30:14] Production.INFO: Sending Email to Customer [2025-01-16 04:30:15] Production.INFO: Email Try 10313 1 [2025-01-16 04:30:15] Production.INFO: =========== Email Sending over =========== [2025-01-16 04:30:15] Production.INFO: =========== Returning as Success =========== AccountID 57 [2025-01-16 04:30:15] Production.INFO: Invoice::sendInvoice done [2025-01-16 04:30:15] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-01-16 04:30:15] Production.INFO: Invoice Committed AccountID = 57 [2025-01-16 04:30:15] Production.INFO: =========== Updating InvoiceDate =========== [2025-01-16 04:30:15] Production.INFO: NextInvoice 2025-01-16 2025-02-15 [2025-01-16 04:30:15] Production.INFO: new dates [2025-01-16 04:30:15] Production.INFO: LastInvoiceDate 2025-01-16 NextInvoiceDate 2025-02-16 [2025-01-16 04:30:15] Production.INFO: LastChargeDate 2025-01-16 NextChargeDate 2025-02-15 [2025-01-16 04:30:15] Production.INFO: =========== Updated InvoiceDate =========== [2025-01-16 04:30:15] Production.INFO: ========================== Invoice Send End ============================= [2025-01-16 04:30:15] Production.INFO: AccountID =59 FirstInvoiceSend 0 [2025-01-16 04:30:15] Production.INFO: LastInvoiceDate 2024-12-16 NextInvoiceDate 2025-01-16 [2025-01-16 04:30:15] Production.INFO: LastChargeDate 2024-12-16 NextChargeDate 2025-01-15 [2025-01-16 04:30:15] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-01-16 04:30:15] Production.INFO: ========================== Invoice Send Start ============================= [2025-01-16 04:30:15] Production.INFO: Invoice::sendInvoice(1,59,2024-12-16,2025-01-16,billing@onswitchit.ca) [2025-01-16 04:30:15] Production.INFO: start Date =2024-12-16 EndDate =2025-01-15 23:59:59 [2025-01-16 04:30:15] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-01-16 04:30:15] 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-16 04:30:15] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-01-16 04:30:15] Production.INFO: AlreadyBilled [2025-01-16 04:30:15] Production.INFO: Reseller ==> 0 [2025-01-16 04:30:15] Production.INFO: original start date ==>2024-12-16 changed start date ==>2024-12-16 00:00:00 original end date ==>2025-01-15 23:59:59 changed end date ==>2025-01-15 23:59:59 [2025-01-16 04:30:15] Production.INFO: Invoice::getAccountUsageTotal(1,59,2024-12-16,2025-01-15 23:59:59) [2025-01-16 04:30:15] Production.INFO: TotalCharges - 0 [2025-01-16 04:30:15] Production.INFO: TotalUsageCharges - 0.00 [2025-01-16 04:30:15] Production.INFO: Usage Over [2025-01-16 04:30:15] Production.INFO: Call prc_getAccountSubscription(59,0) [2025-01-16 04:30:15] Production.INFO: SUBSCRIPTION 7 [2025-01-16 04:30:15] Production.INFO: ============================Subscription Start ================= [2025-01-16 04:30:15] Production.INFO: SubscriptionID - 1 [2025-01-16 04:30:15] Production.INFO: isAdvanceSubscription - 1 [2025-01-16 04:30:15] Production.INFO: SubscriptionStartDate =2025-01-16 - SubscriptionEndDate = 2025-02-15 [2025-01-16 04:30:15] Production.INFO: NewNextChargeDate =2025-02-15 00:00:00 [2025-01-16 04:30:15] Production.INFO: EndDate =2024-05-15 00:00:00 [2025-01-16 04:30:15] Production.INFO: NewEndDate1 =2024-05-16 [2025-01-16 04:30:15] Production.INFO: SubscriptionDate [2025-01-16 04:30:15] Production.INFO: Array ( [StartDate] => 2024-05-16 [EndDate] => 2025-02-15 00:00:00 [AlreadyCharged] => 0 ) [2025-01-16 04:30:15] Production.INFO: AccountSubscription StartDate 2018-02-15 StartDate 2024-12-16 [2025-01-16 04:30:15] Production.INFO: SubscriptionID - 2024-05-16=====2025-02-15 00:00:00 [2025-01-16 04:30:15] Production.INFO: AccountSubscriptionID - 210 === 2018-02-15=====2024-04-26 [2025-01-16 04:30:15] Production.INFO: ============================Subscription End ================= [2025-01-16 04:30:15] Production.INFO: ============================Subscription Start ================= [2025-01-16 04:30:15] Production.INFO: SubscriptionID - 4 [2025-01-16 04:30:15] Production.INFO: isAdvanceSubscription - 4 [2025-01-16 04:30:15] Production.INFO: SubscriptionStartDate =2025-01-16 - SubscriptionEndDate = 2025-02-15 [2025-01-16 04:30:15] Production.INFO: NewNextChargeDate =2025-02-15 00:00:00 [2025-01-16 04:30:15] Production.INFO: EndDate =2024-05-15 00:00:00 [2025-01-16 04:30:15] Production.INFO: NewEndDate1 =2024-05-16 [2025-01-16 04:30:15] Production.INFO: SubscriptionDate [2025-01-16 04:30:15] Production.INFO: Array ( [StartDate] => 2024-05-16 [EndDate] => 2025-02-15 00:00:00 [AlreadyCharged] => 0 ) [2025-01-16 04:30:15] Production.INFO: AccountSubscription StartDate 2018-02-15 StartDate 2024-12-16 [2025-01-16 04:30:15] Production.INFO: SubscriptionID - 2024-05-16=====2025-02-15 00:00:00 [2025-01-16 04:30:15] Production.INFO: AccountSubscriptionID - 211 === 2018-02-15=====2024-04-26 [2025-01-16 04:30:15] Production.INFO: ============================Subscription End ================= [2025-01-16 04:30:15] Production.INFO: ============================Subscription Start ================= [2025-01-16 04:30:15] Production.INFO: SubscriptionID - 15 [2025-01-16 04:30:15] Production.INFO: isAdvanceSubscription - 15 [2025-01-16 04:30:15] Production.INFO: SubscriptionStartDate =2025-01-16 - SubscriptionEndDate = 2025-02-15 [2025-01-16 04:30:15] Production.INFO: NewNextChargeDate =2025-02-15 00:00:00 [2025-01-16 04:30:15] Production.INFO: EndDate =2024-05-15 00:00:00 [2025-01-16 04:30:15] Production.INFO: NewEndDate1 =2024-05-16 [2025-01-16 04:30:15] Production.INFO: SubscriptionDate [2025-01-16 04:30:15] Production.INFO: Array ( [StartDate] => 2024-05-16 [EndDate] => 2025-02-15 00:00:00 [AlreadyCharged] => 0 ) [2025-01-16 04:30:15] Production.INFO: AccountSubscription StartDate 2018-10-01 StartDate 2024-12-16 [2025-01-16 04:30:15] Production.INFO: SubscriptionID - 2024-05-16=====2025-02-15 00:00:00 [2025-01-16 04:30:15] Production.INFO: AccountSubscriptionID - 322 === 2018-10-01=====2024-04-26 [2025-01-16 04:30:15] Production.INFO: ============================Subscription End ================= [2025-01-16 04:30:15] Production.INFO: ============================Subscription Start ================= [2025-01-16 04:30:15] Production.INFO: SubscriptionID - 15 [2025-01-16 04:30:15] Production.INFO: isAdvanceSubscription - 15 [2025-01-16 04:30:15] Production.INFO: SubscriptionStartDate =2025-01-16 - SubscriptionEndDate = 2025-02-15 [2025-01-16 04:30:15] Production.INFO: NewNextChargeDate =2025-02-15 00:00:00 [2025-01-16 04:30:15] Production.INFO: EndDate =2024-05-15 00:00:00 [2025-01-16 04:30:15] Production.INFO: NewEndDate1 =2024-05-16 [2025-01-16 04:30:15] Production.INFO: SubscriptionDate [2025-01-16 04:30:15] Production.INFO: Array ( [StartDate] => 2024-05-16 [EndDate] => 2025-02-15 00:00:00 [AlreadyCharged] => 0 ) [2025-01-16 04:30:15] Production.INFO: AccountSubscription StartDate 2018-10-01 StartDate 2024-12-16 [2025-01-16 04:30:15] Production.INFO: SubscriptionID - 2024-05-16=====2025-02-15 00:00:00 [2025-01-16 04:30:15] Production.INFO: AccountSubscriptionID - 323 === 2018-10-01=====2024-04-26 [2025-01-16 04:30:15] Production.INFO: ============================Subscription End ================= [2025-01-16 04:30:15] Production.INFO: ============================Subscription Start ================= [2025-01-16 04:30:15] Production.INFO: SubscriptionID - 17 [2025-01-16 04:30:15] Production.INFO: isAdvanceSubscription - 17 [2025-01-16 04:30:15] Production.INFO: SubscriptionStartDate =2025-01-16 - SubscriptionEndDate = 2025-02-15 [2025-01-16 04:30:15] Production.INFO: NewNextChargeDate =2025-02-15 00:00:00 [2025-01-16 04:30:15] Production.INFO: EndDate =2024-05-15 00:00:00 [2025-01-16 04:30:15] Production.INFO: NewEndDate1 =2024-05-16 [2025-01-16 04:30:15] Production.INFO: SubscriptionDate [2025-01-16 04:30:15] Production.INFO: Array ( [StartDate] => 2024-05-16 [EndDate] => 2025-02-15 00:00:00 [AlreadyCharged] => 0 ) [2025-01-16 04:30:15] Production.INFO: AccountSubscription StartDate 2021-08-19 StartDate 2024-12-16 [2025-01-16 04:30:15] Production.INFO: SubscriptionID - 2024-05-16=====2025-02-15 00:00:00 [2025-01-16 04:30:15] Production.INFO: AccountSubscriptionID - 603 === 2021-08-19=====2024-04-26 [2025-01-16 04:30:15] Production.INFO: ============================Subscription End ================= [2025-01-16 04:30:15] Production.INFO: ============================Subscription Start ================= [2025-01-16 04:30:15] Production.INFO: SubscriptionID - 24 [2025-01-16 04:30:15] Production.INFO: SubscriptionID - 2024-12-16=====2025-01-15 [2025-01-16 04:30:15] Production.INFO: AccountSubscriptionID - 604 === 2021-08-19=====2024-04-26 [2025-01-16 04:30:15] Production.INFO: ============================Subscription End ================= [2025-01-16 04:30:15] Production.INFO: ============================Subscription Start ================= [2025-01-16 04:30:15] Production.INFO: SubscriptionID - 24 [2025-01-16 04:30:15] Production.INFO: SubscriptionID - 2024-12-16=====2025-01-15 [2025-01-16 04:30:15] Production.INFO: AccountSubscriptionID - 627 === 2021-09-22=====2022-01-22 [2025-01-16 04:30:15] Production.INFO: ============================Subscription End ================= [2025-01-16 04:30:15] Production.INFO: SUBSCRIPTION Over [2025-01-16 04:30:15] Production.INFO: Call prc_getAccountOneOffCharge(59,0,2024-12-16,2025-01-16 23:59:59) [2025-01-16 04:30:15] Production.INFO: AccountOneOffCharge 0 [2025-01-16 04:30:15] Production.INFO: AccountOneOffCharge Over [2025-01-16 04:30:15] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-01-16 04:30:15] Production.INFO: New UsageDates 2024-12-16 - 2025-01-15 23:59:59 [2025-01-16 04:30:15] Production.INFO: SubTotal 0 [2025-01-16 04:30:15] Production.INFO: SubTotalWithouttaxTotal 0 [2025-01-16 04:30:15] Production.INFO: AccountOneOffCharge Tax Over [2025-01-16 04:30:15] Production.INFO: TotalTax 0 [2025-01-16 04:30:15] Production.INFO: InvoiceGrandTotal 0 [2025-01-16 04:30:15] Production.INFO: InvoiceTaxAmount 0 [2025-01-16 04:30:15] Production.INFO: GrandTotal 0 [2025-01-16 04:30:15] Production.INFO: SubTotal 0.00 [2025-01-16 04:30:15] Production.INFO: TotalDue -9.92 [2025-01-16 04:30:15] Production.INFO: Reseller ==> 0 [2025-01-16 04:30:15] Production.INFO: original start date ==>2024-12-16 changed start date ==>2024-12-16 00:00:00 original end date ==>2025-01-15 23:59:59 changed end date ==>2025-01-15 23:59:59 [2025-01-16 04:30:15] Production.INFO: CALL prc_getInvoiceUsage(1,'59','0','1','2024-12-16 00:00:00','2025-01-15 23:59:59',0) [2025-01-16 04:30:15] Production.INFO: PDF Generation start [2025-01-16 04:30:15] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/59/Invoices/2025/01/16/Invoice-mantella-vp-inv11384-from-12-16-2024-to-01-15-2025-10314.pdf [2025-01-16 04:30:15] Production.INFO: On Linux [2025-01-16 04:30:17] 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/01/16/footer-mantella-vp-inv11384-from-12-16-2024-to-01-15-2025-10314.html" "/var/www/tmp/1/59/Invoices/2025/01/16/Invoice-mantella-vp-inv11384-from-12-16-2024-to-01-15-2025-10314.html" "/var/www/tmp/1/59/Invoices/2025/01/16/Invoice-mantella-vp-inv11384-from-12-16-2024-to-01-15-2025-10314.pdf" [2025-01-16 04:30:17] Production.INFO: [2025-01-16 04:30:17] Production.INFO: /var/www/tmp/1/59/Invoices/2025/01/16/Invoice-mantella-vp-inv11384-from-12-16-2024-to-01-15-2025-10314.html [2025-01-16 04:30:17] Production.INFO: /var/www/tmp/1/59/Invoices/2025/01/16/header-mantella-vp-inv11384-from-12-16-2024-to-01-15-2025-10314.html [2025-01-16 04:30:17] Production.INFO: /var/www/tmp/1/59/Invoices/2025/01/16/footer-mantella-vp-inv11384-from-12-16-2024-to-01-15-2025-10314.html [2025-01-16 04:30:17] Production.INFO: Invoice generation PDF path [2025-01-16 04:30:17] Production.INFO: PDF fullPath 1/59/Invoices/2025/01/16/Invoice-mantella-vp-inv11384-from-12-16-2024-to-01-15-2025-10314.pdf [2025-01-16 04:30:17] Production.INFO: Generate Usage File Start [2025-01-16 04:30:17] Production.INFO: Usage File fullPath 1/59/InvoiceUsageFile/2025/01/16/mantella-vp-16-12-2024-00-00-00-TO-15-01-2025-23-59-59_2467__7f5604c0-d3ec-11ef-8170-935da14a5a8c.csv [2025-01-16 04:30:18] Production.INFO: Sending Email to Staff over [2025-01-16 04:30:18] Production.INFO: Email Status 1 [2025-01-16 04:30:18] Production.INFO: Sending Email to Customer [2025-01-16 04:30:18] Production.INFO: =========== Email Sending over =========== [2025-01-16 04:30:18] Production.INFO: =========== Returning as Success =========== AccountID 59 [2025-01-16 04:30:18] Production.INFO: Invoice::sendInvoice done [2025-01-16 04:30:18] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-01-16 04:30:18] Production.INFO: Invoice Committed AccountID = 59 [2025-01-16 04:30:18] Production.INFO: =========== Updating InvoiceDate =========== [2025-01-16 04:30:18] Production.INFO: NextInvoice 2025-01-16 2025-02-15 [2025-01-16 04:30:18] Production.INFO: new dates [2025-01-16 04:30:18] Production.INFO: LastInvoiceDate 2025-01-16 NextInvoiceDate 2025-02-16 [2025-01-16 04:30:18] Production.INFO: LastChargeDate 2025-01-16 NextChargeDate 2025-02-15 [2025-01-16 04:30:18] Production.INFO: =========== Updated InvoiceDate =========== [2025-01-16 04:30:18] Production.INFO: ========================== Invoice Send End ============================= [2025-01-16 04:30:18] Production.INFO: AccountID =107 FirstInvoiceSend 0 [2025-01-16 04:30:18] Production.INFO: LastInvoiceDate 2024-12-16 NextInvoiceDate 2025-01-16 [2025-01-16 04:30:18] Production.INFO: LastChargeDate 2024-12-16 NextChargeDate 2025-01-15 [2025-01-16 04:30:18] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-01-16 04:30:18] Production.INFO: ========================== Invoice Send Start ============================= [2025-01-16 04:30:18] Production.INFO: Invoice::sendInvoice(1,107,2024-12-16,2025-01-16,billing@onswitchit.ca) [2025-01-16 04:30:18] Production.INFO: start Date =2024-12-16 EndDate =2025-01-15 23:59:59 [2025-01-16 04:30:18] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-01-16 04:30:18] 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-16 04:30:18] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-01-16 04:30:18] Production.INFO: AlreadyBilled [2025-01-16 04:30:18] Production.INFO: Reseller ==> 0 [2025-01-16 04:30:18] Production.INFO: original start date ==>2024-12-16 changed start date ==>2024-12-16 02:00:00 original end date ==>2025-01-15 23:59:59 changed end date ==>2025-01-16 01:59:59 [2025-01-16 04:30:18] Production.INFO: Invoice::getAccountUsageTotal(1,107,2024-12-16,2025-01-15 23:59:59) [2025-01-16 04:30:18] Production.INFO: TotalCharges - 0 [2025-01-16 04:30:18] Production.INFO: TotalUsageCharges - 0.00 [2025-01-16 04:30:18] Production.INFO: Usage Over [2025-01-16 04:30:18] Production.INFO: Call prc_getAccountSubscription(107,0) [2025-01-16 04:30:18] Production.INFO: SUBSCRIPTION 2 [2025-01-16 04:30:18] Production.INFO: ============================Subscription Start ================= [2025-01-16 04:30:18] Production.INFO: SubscriptionID - 5 [2025-01-16 04:30:18] Production.INFO: isAdvanceSubscription - 5 [2025-01-16 04:30:18] Production.INFO: SubscriptionStartDate =2025-01-16 - SubscriptionEndDate = 2025-02-15 [2025-01-16 04:30:18] Production.INFO: NewNextChargeDate =2025-02-15 00:00:00 [2025-01-16 04:30:18] Production.INFO: EndDate =2025-01-15 00:00:00 [2025-01-16 04:30:18] Production.INFO: NewEndDate1 =2025-01-16 [2025-01-16 04:30:18] Production.INFO: SubscriptionDate [2025-01-16 04:30:18] Production.INFO: Array ( [StartDate] => 2025-01-16 [EndDate] => 2025-02-15 00:00:00 [AlreadyCharged] => 0 ) [2025-01-16 04:30:18] Production.INFO: New Account Subscription Start [2025-01-16 04:30:18] Production.INFO: AccountSubscription StartDate 2019-02-13 StartDate 2024-12-16 [2025-01-16 04:30:18] Production.INFO: SubscriptionID - 2025-01-16=====2025-02-15 00:00:00 [2025-01-16 04:30:18] Production.INFO: AccountSubscriptionID - 376 === 2019-02-13=====2026-01-16 [2025-01-16 04:30:18] Production.INFO: regular Advance Subscription [2025-01-16 04:30:18] Production.INFO: First Time False 2019-02-13 2025-01-16 [2025-01-16 04:30:18] Production.INFO: StartDate 2025-01-16 AccountSubscription->StartDate 2019-02-13 EndDate 2025-02-15 00:00:00 AccountSubscription->EndDate 2026-01-16 [2025-01-16 04:30:18] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-16 04:30:18] Production.INFO: AccountSubscription::getSubscriptionAmount(376,2025-01-16,2025-02-15 00:00:00,,0) [2025-01-16 04:30:18] Production.INFO: SubscriptionCharge - 50 [2025-01-16 04:30:18] Production.INFO: Already Invoice Subscription 0 [2025-01-16 04:30:18] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(107,1,5,2025-01-16,2025-02-15 00:00:00,Restaurant - 4 Line Flat Rate,50,50,1,376) [2025-01-16 04:30:18] Production.INFO: DiscountAmount 0.000000 [2025-01-16 04:30:18] Production.INFO: DiscountType [2025-01-16 04:30:18] Production.INFO: SubscriptionCharge 50 [2025-01-16 04:30:18] Production.INFO: New SubscriptionCharge 50 [2025-01-16 04:30:18] Production.INFO: TotalSubscriptionCharge - 50.00 [2025-01-16 04:30:18] Production.INFO: ============================Subscription End ================= [2025-01-16 04:30:18] Production.INFO: ============================Subscription Start ================= [2025-01-16 04:30:18] Production.INFO: SubscriptionID - 4 [2025-01-16 04:30:18] Production.INFO: isAdvanceSubscription - 4 [2025-01-16 04:30:18] Production.INFO: SubscriptionStartDate =2025-01-16 - SubscriptionEndDate = 2025-02-15 [2025-01-16 04:30:18] Production.INFO: NewNextChargeDate =2025-02-15 00:00:00 [2025-01-16 04:30:18] Production.INFO: EndDate =2025-01-15 00:00:00 [2025-01-16 04:30:18] Production.INFO: NewEndDate1 =2025-01-16 [2025-01-16 04:30:18] Production.INFO: SubscriptionDate [2025-01-16 04:30:18] Production.INFO: Array ( [StartDate] => 2025-01-16 [EndDate] => 2025-02-15 00:00:00 [AlreadyCharged] => 0 ) [2025-01-16 04:30:18] Production.INFO: New Account Subscription Start [2025-01-16 04:30:18] Production.INFO: AccountSubscription StartDate 2019-02-13 StartDate 2024-12-16 [2025-01-16 04:30:18] Production.INFO: SubscriptionID - 2025-01-16=====2025-02-15 00:00:00 [2025-01-16 04:30:18] Production.INFO: AccountSubscriptionID - 377 === 2019-02-13=====2026-01-16 [2025-01-16 04:30:18] Production.INFO: regular Advance Subscription [2025-01-16 04:30:18] Production.INFO: First Time False 2019-02-13 2025-01-16 [2025-01-16 04:30:18] Production.INFO: StartDate 2025-01-16 AccountSubscription->StartDate 2019-02-13 EndDate 2025-02-15 00:00:00 AccountSubscription->EndDate 2026-01-16 [2025-01-16 04:30:18] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-16 04:30:18] Production.INFO: AccountSubscription::getSubscriptionAmount(377,2025-01-16,2025-02-15 00:00:00,,0) [2025-01-16 04:30:18] Production.INFO: SubscriptionCharge - 2.5 [2025-01-16 04:30:18] Production.INFO: Already Invoice Subscription 0 [2025-01-16 04:30:18] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(107,1,4,2025-01-16,2025-02-15 00:00:00,e911 address registration (17808757725 - 4402 52 Ave 110 Lloydminster, AB T9V 0T9 Canada),2.5,2.5,1,377) [2025-01-16 04:30:18] Production.INFO: DiscountAmount 0.000000 [2025-01-16 04:30:18] Production.INFO: DiscountType [2025-01-16 04:30:18] Production.INFO: SubscriptionCharge 2.5 [2025-01-16 04:30:18] Production.INFO: New SubscriptionCharge 2.5 [2025-01-16 04:30:18] Production.INFO: TotalSubscriptionCharge - 2.50 [2025-01-16 04:30:18] Production.INFO: ============================Subscription End ================= [2025-01-16 04:30:18] Production.INFO: SUBSCRIPTION Over [2025-01-16 04:30:18] Production.INFO: Call prc_getAccountOneOffCharge(107,0,2024-12-16,2025-01-16 23:59:59) [2025-01-16 04:30:18] Production.INFO: AccountOneOffCharge 1 [2025-01-16 04:30:18] Production.INFO: AccountOneOffChargeID - 911 [2025-01-16 04:30:18] Production.INFO: AccountOneOffChargeID - 2024-12-30 00:00:00 [2025-01-16 04:30:18] Production.INFO: AccountOneOffCharge DiscountAmount 0.000000 [2025-01-16 04:30:18] Production.INFO: AccountOneOffCharge DiscountType Flat [2025-01-16 04:30:18] Production.INFO: AccountOneOffCharge LineTotal 40 [2025-01-16 04:30:18] Production.INFO: New LineTotal 40 [2025-01-16 04:30:18] Production.INFO: AccountOneOffCharge Over [2025-01-16 04:30:18] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-01-16 04:30:18] Production.INFO: New UsageDates 2024-12-16 - 2025-01-15 23:59:59 [2025-01-16 04:30:18] Production.INFO: SubTotal 52.5 [2025-01-16 04:30:18] Production.INFO: SubTotalWithouttaxTotal 40 [2025-01-16 04:30:18] Production.INFO: AccountOneOffCharge Tax Over [2025-01-16 04:30:18] Production.INFO: TotalTax 2.625 [2025-01-16 04:30:18] Production.INFO: InvoiceGrandTotal 95.125 [2025-01-16 04:30:18] Production.INFO: InvoiceTaxAmount 2.63 [2025-01-16 04:30:18] Production.INFO: GrandTotal 95.13 [2025-01-16 04:30:18] Production.INFO: SubTotal 92.50 [2025-01-16 04:30:18] Production.INFO: TotalDue 95.13 [2025-01-16 04:30:18] Production.INFO: Reseller ==> 0 [2025-01-16 04:30:18] Production.INFO: original start date ==>2024-12-16 changed start date ==>2024-12-16 02:00:00 original end date ==>2025-01-15 23:59:59 changed end date ==>2025-01-16 01:59:59 [2025-01-16 04:30:18] Production.INFO: CALL prc_getInvoiceUsage(1,'107','0','1','2024-12-16 02:00:00','2025-01-16 01:59:59',0) [2025-01-16 04:30:18] Production.INFO: PDF Generation start [2025-01-16 04:30:18] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/107/Invoices/2025/01/16/Invoice-dominos-10179-akshay-naik-inv11385-from-12-16-2024-to-01-15-2025-10315.pdf [2025-01-16 04:30:18] Production.INFO: On Linux [2025-01-16 04:30:20] 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/01/16/footer-dominos-10179-akshay-naik-inv11385-from-12-16-2024-to-01-15-2025-10315.html" "/var/www/tmp/1/107/Invoices/2025/01/16/Invoice-dominos-10179-akshay-naik-inv11385-from-12-16-2024-to-01-15-2025-10315.html" "/var/www/tmp/1/107/Invoices/2025/01/16/Invoice-dominos-10179-akshay-naik-inv11385-from-12-16-2024-to-01-15-2025-10315.pdf" [2025-01-16 04:30:20] Production.INFO: [2025-01-16 04:30:20] Production.INFO: /var/www/tmp/1/107/Invoices/2025/01/16/Invoice-dominos-10179-akshay-naik-inv11385-from-12-16-2024-to-01-15-2025-10315.html [2025-01-16 04:30:20] Production.INFO: /var/www/tmp/1/107/Invoices/2025/01/16/header-dominos-10179-akshay-naik-inv11385-from-12-16-2024-to-01-15-2025-10315.html [2025-01-16 04:30:20] Production.INFO: /var/www/tmp/1/107/Invoices/2025/01/16/footer-dominos-10179-akshay-naik-inv11385-from-12-16-2024-to-01-15-2025-10315.html [2025-01-16 04:30:20] Production.INFO: Invoice generation PDF path [2025-01-16 04:30:20] Production.INFO: PDF fullPath 1/107/Invoices/2025/01/16/Invoice-dominos-10179-akshay-naik-inv11385-from-12-16-2024-to-01-15-2025-10315.pdf [2025-01-16 04:30:20] Production.INFO: Generate Usage File Start [2025-01-16 04:30:20] Production.INFO: Usage File fullPath 1/107/InvoiceUsageFile/2025/01/16/dominos-10179-akshay-naik-16-12-2024-00-00-00-TO-15-01-2025-23-59-59_8964__8106cb60-d3ec-11ef-b26d-91370ff0f681.csv [2025-01-16 04:30:26] Production.INFO: Sending Email to Staff over [2025-01-16 04:30:26] Production.INFO: Email Status 1 [2025-01-16 04:30:26] Production.INFO: Sending Email to Customer [2025-01-16 04:30:27] Production.INFO: Email Try 10315 1 [2025-01-16 04:30:27] Production.INFO: =========== Email Sending over =========== [2025-01-16 04:30:27] Production.INFO: =========== Returning as Success =========== AccountID 107 [2025-01-16 04:30:27] Production.INFO: Invoice::sendInvoice done [2025-01-16 04:30:27] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-01-16 04:30:27] Production.INFO: Invoice Committed AccountID = 107 [2025-01-16 04:30:27] Production.INFO: =========== Updating InvoiceDate =========== [2025-01-16 04:30:27] Production.INFO: NextInvoice 2025-01-16 2025-02-15 [2025-01-16 04:30:27] Production.INFO: new dates [2025-01-16 04:30:27] Production.INFO: LastInvoiceDate 2025-01-16 NextInvoiceDate 2025-02-16 [2025-01-16 04:30:27] Production.INFO: LastChargeDate 2025-01-16 NextChargeDate 2025-02-15 [2025-01-16 04:30:27] Production.INFO: =========== Updated InvoiceDate =========== [2025-01-16 04:30:27] Production.INFO: ========================== Invoice Send End ============================= [2025-01-16 04:30:27] Production.INFO: AccountID =140 FirstInvoiceSend 0 [2025-01-16 04:30:27] Production.INFO: LastInvoiceDate 2024-12-16 NextInvoiceDate 2025-01-16 [2025-01-16 04:30:27] Production.INFO: LastChargeDate 2024-12-16 NextChargeDate 2025-01-15 [2025-01-16 04:30:27] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-01-16 04:30:27] Production.INFO: ========================== Invoice Send Start ============================= [2025-01-16 04:30:27] Production.INFO: Invoice::sendInvoice(1,140,2024-12-16,2025-01-16,billing@onswitchit.ca) [2025-01-16 04:30:27] Production.INFO: start Date =2024-12-16 EndDate =2025-01-15 23:59:59 [2025-01-16 04:30:27] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-01-16 04:30:27] 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-16 04:30:27] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-01-16 04:30:27] Production.INFO: AlreadyBilled [2025-01-16 04:30:27] Production.INFO: Reseller ==> 0 [2025-01-16 04:30:27] Production.INFO: original start date ==>2024-12-16 changed start date ==>2024-12-16 00:00:00 original end date ==>2025-01-15 23:59:59 changed end date ==>2025-01-15 23:59:59 [2025-01-16 04:30:27] Production.INFO: Invoice::getAccountUsageTotal(1,140,2024-12-16,2025-01-15 23:59:59) [2025-01-16 04:30:27] Production.INFO: TotalCharges - 0 [2025-01-16 04:30:27] Production.INFO: TotalUsageCharges - 0.00 [2025-01-16 04:30:27] Production.INFO: Usage Over [2025-01-16 04:30:27] Production.INFO: Call prc_getAccountSubscription(140,0) [2025-01-16 04:30:27] Production.INFO: SUBSCRIPTION 4 [2025-01-16 04:30:27] Production.INFO: ============================Subscription Start ================= [2025-01-16 04:30:27] Production.INFO: SubscriptionID - 5 [2025-01-16 04:30:27] Production.INFO: isAdvanceSubscription - 5 [2025-01-16 04:30:27] Production.INFO: SubscriptionStartDate =2025-01-16 - SubscriptionEndDate = 2025-02-15 [2025-01-16 04:30:27] Production.INFO: NewNextChargeDate =2025-02-15 00:00:00 [2025-01-16 04:30:27] Production.INFO: EndDate =2025-01-15 00:00:00 [2025-01-16 04:30:27] Production.INFO: NewEndDate1 =2025-01-16 [2025-01-16 04:30:27] Production.INFO: SubscriptionDate [2025-01-16 04:30:27] Production.INFO: Array ( [StartDate] => 2025-01-16 [EndDate] => 2025-02-15 00:00:00 [AlreadyCharged] => 0 ) [2025-01-16 04:30:27] Production.INFO: AccountSubscription StartDate 2020-11-13 StartDate 2024-12-16 [2025-01-16 04:30:27] Production.INFO: SubscriptionID - 2025-01-16=====2025-02-15 00:00:00 [2025-01-16 04:30:27] Production.INFO: AccountSubscriptionID - 549 === 2020-11-13=====2026-01-16 [2025-01-16 04:30:27] Production.INFO: regular Advance Subscription [2025-01-16 04:30:27] Production.INFO: First Time False 2020-11-13 2025-01-16 [2025-01-16 04:30:27] Production.INFO: StartDate 2025-01-16 AccountSubscription->StartDate 2020-11-13 EndDate 2025-02-15 00:00:00 AccountSubscription->EndDate 2026-01-16 [2025-01-16 04:30:27] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-16 04:30:27] Production.INFO: AccountSubscription::getSubscriptionAmount(549,2025-01-16,2025-02-15 00:00:00,,0) [2025-01-16 04:30:27] Production.INFO: SubscriptionCharge - 75 [2025-01-16 04:30:27] Production.INFO: Already Invoice Subscription 0 [2025-01-16 04:30:27] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(140,1,5,2025-01-16,2025-02-15 00:00:00,Retail Phone Service - 3 Channels Dedicated/Burst to 5 Channels,75,75,1,549) [2025-01-16 04:30:27] Production.INFO: DiscountAmount 0.000000 [2025-01-16 04:30:27] Production.INFO: DiscountType [2025-01-16 04:30:27] Production.INFO: SubscriptionCharge 75 [2025-01-16 04:30:27] Production.INFO: New SubscriptionCharge 75 [2025-01-16 04:30:27] Production.INFO: TotalSubscriptionCharge - 75.00 [2025-01-16 04:30:27] Production.INFO: ============================Subscription End ================= [2025-01-16 04:30:27] Production.INFO: ============================Subscription Start ================= [2025-01-16 04:30:27] Production.INFO: SubscriptionID - 4 [2025-01-16 04:30:27] Production.INFO: isAdvanceSubscription - 4 [2025-01-16 04:30:27] Production.INFO: SubscriptionStartDate =2025-01-16 - SubscriptionEndDate = 2025-02-15 [2025-01-16 04:30:27] Production.INFO: NewNextChargeDate =2025-02-15 00:00:00 [2025-01-16 04:30:27] Production.INFO: EndDate =2025-01-15 00:00:00 [2025-01-16 04:30:27] Production.INFO: NewEndDate1 =2025-01-16 [2025-01-16 04:30:27] Production.INFO: SubscriptionDate [2025-01-16 04:30:27] Production.INFO: Array ( [StartDate] => 2025-01-16 [EndDate] => 2025-02-15 00:00:00 [AlreadyCharged] => 0 ) [2025-01-16 04:30:27] Production.INFO: AccountSubscription StartDate 2020-11-13 StartDate 2024-12-16 [2025-01-16 04:30:27] Production.INFO: SubscriptionID - 2025-01-16=====2025-02-15 00:00:00 [2025-01-16 04:30:27] Production.INFO: AccountSubscriptionID - 550 === 2020-11-13=====2026-01-16 [2025-01-16 04:30:27] Production.INFO: regular Advance Subscription [2025-01-16 04:30:27] Production.INFO: First Time False 2020-11-13 2025-01-16 [2025-01-16 04:30:27] Production.INFO: StartDate 2025-01-16 AccountSubscription->StartDate 2020-11-13 EndDate 2025-02-15 00:00:00 AccountSubscription->EndDate 2026-01-16 [2025-01-16 04:30:27] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-16 04:30:27] Production.INFO: AccountSubscription::getSubscriptionAmount(550,2025-01-16,2025-02-15 00:00:00,,0) [2025-01-16 04:30:27] Production.INFO: SubscriptionCharge - 2.5 [2025-01-16 04:30:27] Production.INFO: Already Invoice Subscription 0 [2025-01-16 04:30:27] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(140,1,4,2025-01-16,2025-02-15 00:00:00,e911 address registration (9058622800 - 29 Toronto Street South 1B Uxbridge, ON L9P 1V9),2.5,2.5,1,550) [2025-01-16 04:30:27] Production.INFO: DiscountAmount 0.000000 [2025-01-16 04:30:27] Production.INFO: DiscountType [2025-01-16 04:30:27] Production.INFO: SubscriptionCharge 2.5 [2025-01-16 04:30:27] Production.INFO: New SubscriptionCharge 2.5 [2025-01-16 04:30:27] Production.INFO: TotalSubscriptionCharge - 2.50 [2025-01-16 04:30:27] Production.INFO: ============================Subscription End ================= [2025-01-16 04:30:27] Production.INFO: ============================Subscription Start ================= [2025-01-16 04:30:27] Production.INFO: SubscriptionID - 24 [2025-01-16 04:30:27] Production.INFO: SubscriptionID - 2024-12-16=====2025-01-15 [2025-01-16 04:30:27] Production.INFO: AccountSubscriptionID - 551 === 2020-11-13=====2026-01-16 [2025-01-16 04:30:27] Production.INFO: regular Subscription [2025-01-16 04:30:27] Production.INFO: First Time False 2020-11-13 2024-12-16 [2025-01-16 04:30:27] Production.INFO: StartDate 2024-12-16 AccountSubscription->StartDate 2020-11-13 EndDate 2025-01-15 AccountSubscription->EndDate 2026-01-16 [2025-01-16 04:30:27] Production.INFO: days diff - 31 subscription days 31 quarter days 92 [2025-01-16 04:30:27] Production.INFO: AccountSubscription::getSubscriptionAmount(551,2024-12-16,2025-01-15,,0) [2025-01-16 04:30:27] Production.INFO: SubscriptionCharge - -45 [2025-01-16 04:30:27] Production.INFO: Already Invoice Subscription 0 [2025-01-16 04:30:27] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(140,1,24,2024-12-16,2025-01-15,Discount - Friends and Family (Doug Geary referral),-45,-45,1,551) [2025-01-16 04:30:27] Production.INFO: DiscountAmount 0.000000 [2025-01-16 04:30:27] Production.INFO: DiscountType [2025-01-16 04:30:27] Production.INFO: SubscriptionCharge -45 [2025-01-16 04:30:27] Production.INFO: New SubscriptionCharge -45 [2025-01-16 04:30:27] Production.INFO: TotalSubscriptionCharge - -45.00 [2025-01-16 04:30:27] Production.INFO: ============================Subscription End ================= [2025-01-16 04:30:27] Production.INFO: ============================Subscription Start ================= [2025-01-16 04:30:27] Production.INFO: SubscriptionID - 24 [2025-01-16 04:30:27] Production.INFO: SubscriptionID - 2024-12-16=====2025-01-15 [2025-01-16 04:30:27] Production.INFO: AccountSubscriptionID - 599 === 2021-06-22=====2022-03-21 [2025-01-16 04:30:27] Production.INFO: ============================Subscription End ================= [2025-01-16 04:30:27] Production.INFO: SUBSCRIPTION Over [2025-01-16 04:30:27] Production.INFO: Call prc_getAccountOneOffCharge(140,0,2024-12-16,2025-01-16 23:59:59) [2025-01-16 04:30:27] Production.INFO: AccountOneOffCharge 0 [2025-01-16 04:30:27] Production.INFO: AccountOneOffCharge Over [2025-01-16 04:30:27] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-01-16 04:30:27] Production.INFO: New UsageDates 2024-12-16 - 2025-01-15 23:59:59 [2025-01-16 04:30:27] Production.INFO: SubTotal 32.5 [2025-01-16 04:30:27] Production.INFO: SubTotalWithouttaxTotal 0 [2025-01-16 04:30:27] Production.INFO: AccountOneOffCharge Tax Over [2025-01-16 04:30:27] Production.INFO: TotalTax 4.225 [2025-01-16 04:30:27] Production.INFO: InvoiceGrandTotal 36.725 [2025-01-16 04:30:27] Production.INFO: InvoiceTaxAmount 4.23 [2025-01-16 04:30:27] Production.INFO: GrandTotal 36.73 [2025-01-16 04:30:27] Production.INFO: SubTotal 32.50 [2025-01-16 04:30:27] Production.INFO: TotalDue 36.73 [2025-01-16 04:30:27] Production.INFO: Reseller ==> 0 [2025-01-16 04:30:27] Production.INFO: original start date ==>2024-12-16 changed start date ==>2024-12-16 00:00:00 original end date ==>2025-01-15 23:59:59 changed end date ==>2025-01-15 23:59:59 [2025-01-16 04:30:27] Production.INFO: CALL prc_getInvoiceUsage(1,'140','0','1','2024-12-16 00:00:00','2025-01-15 23:59:59',0) [2025-01-16 04:30:27] Production.INFO: PDF Generation start [2025-01-16 04:30:27] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/140/Invoices/2025/01/16/Invoice-pharmasave-uxbridge-inv11386-from-12-16-2024-to-01-15-2025-10316.pdf [2025-01-16 04:30:27] Production.INFO: On Linux [2025-01-16 04:30:28] 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/01/16/footer-pharmasave-uxbridge-inv11386-from-12-16-2024-to-01-15-2025-10316.html" "/var/www/tmp/1/140/Invoices/2025/01/16/Invoice-pharmasave-uxbridge-inv11386-from-12-16-2024-to-01-15-2025-10316.html" "/var/www/tmp/1/140/Invoices/2025/01/16/Invoice-pharmasave-uxbridge-inv11386-from-12-16-2024-to-01-15-2025-10316.pdf" [2025-01-16 04:30:28] Production.INFO: [2025-01-16 04:30:28] Production.INFO: /var/www/tmp/1/140/Invoices/2025/01/16/Invoice-pharmasave-uxbridge-inv11386-from-12-16-2024-to-01-15-2025-10316.html [2025-01-16 04:30:28] Production.INFO: /var/www/tmp/1/140/Invoices/2025/01/16/header-pharmasave-uxbridge-inv11386-from-12-16-2024-to-01-15-2025-10316.html [2025-01-16 04:30:28] Production.INFO: /var/www/tmp/1/140/Invoices/2025/01/16/footer-pharmasave-uxbridge-inv11386-from-12-16-2024-to-01-15-2025-10316.html [2025-01-16 04:30:28] Production.INFO: Invoice generation PDF path [2025-01-16 04:30:29] Production.INFO: PDF fullPath 1/140/Invoices/2025/01/16/Invoice-pharmasave-uxbridge-inv11386-from-12-16-2024-to-01-15-2025-10316.pdf [2025-01-16 04:30:29] Production.INFO: Generate Usage File Start [2025-01-16 04:30:29] Production.INFO: Usage File fullPath 1/140/InvoiceUsageFile/2025/01/16/pharmasave-uxbridge-16-12-2024-00-00-00-TO-15-01-2025-23-59-59_9155__8642c3b0-d3ec-11ef-a647-19d1ed093c79.csv [2025-01-16 04:30:29] Production.INFO: Sending Email to Staff over [2025-01-16 04:30:29] Production.INFO: Email Status 1 [2025-01-16 04:30:29] Production.INFO: Sending Email to Customer [2025-01-16 04:30:30] Production.INFO: Email Try 10316 1 [2025-01-16 04:30:30] Production.INFO: =========== Email Sending over =========== [2025-01-16 04:30:30] Production.INFO: =========== Returning as Success =========== AccountID 140 [2025-01-16 04:30:30] Production.INFO: Invoice::sendInvoice done [2025-01-16 04:30:30] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-01-16 04:30:30] Production.INFO: Invoice Committed AccountID = 140 [2025-01-16 04:30:30] Production.INFO: =========== Updating InvoiceDate =========== [2025-01-16 04:30:30] Production.INFO: NextInvoice 2025-01-16 2025-02-15 [2025-01-16 04:30:30] Production.INFO: new dates [2025-01-16 04:30:30] Production.INFO: LastInvoiceDate 2025-01-16 NextInvoiceDate 2025-02-16 [2025-01-16 04:30:30] Production.INFO: LastChargeDate 2025-01-16 NextChargeDate 2025-02-15 [2025-01-16 04:30:30] Production.INFO: =========== Updated InvoiceDate =========== [2025-01-16 04:30:30] Production.INFO: ========================== Invoice Send End ============================= [2025-01-16 04:30:30] Production.INFO: AccountID =161 FirstInvoiceSend 0 [2025-01-16 04:30:30] Production.INFO: LastInvoiceDate 2024-12-16 NextInvoiceDate 2025-01-16 [2025-01-16 04:30:30] Production.INFO: LastChargeDate 2024-12-16 NextChargeDate 2025-01-15 [2025-01-16 04:30:30] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-01-16 04:30:30] Production.INFO: ========================== Invoice Send Start ============================= [2025-01-16 04:30:30] Production.INFO: Invoice::sendInvoice(1,161,2024-12-16,2025-01-16,billing@onswitchit.ca) [2025-01-16 04:30:30] Production.INFO: start Date =2024-12-16 EndDate =2025-01-15 23:59:59 [2025-01-16 04:30:30] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-01-16 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-16 04:30:30] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-01-16 04:30:30] Production.INFO: AlreadyBilled [2025-01-16 04:30:30] Production.INFO: Reseller ==> 0 [2025-01-16 04:30:30] Production.INFO: original start date ==>2024-12-16 changed start date ==>2024-12-16 00:00:00 original end date ==>2025-01-15 23:59:59 changed end date ==>2025-01-15 23:59:59 [2025-01-16 04:30:30] Production.INFO: Invoice::getAccountUsageTotal(1,161,2024-12-16,2025-01-15 23:59:59) [2025-01-16 04:30:30] Production.INFO: TotalCharges - 0 [2025-01-16 04:30:30] Production.INFO: TotalUsageCharges - 0.00 [2025-01-16 04:30:30] Production.INFO: Usage Over [2025-01-16 04:30:30] Production.INFO: Call prc_getAccountSubscription(161,0) [2025-01-16 04:30:30] Production.INFO: SUBSCRIPTION 3 [2025-01-16 04:30:30] Production.INFO: ============================Subscription Start ================= [2025-01-16 04:30:30] Production.INFO: SubscriptionID - 5 [2025-01-16 04:30:30] Production.INFO: isAdvanceSubscription - 5 [2025-01-16 04:30:30] Production.INFO: SubscriptionStartDate =2025-01-16 - SubscriptionEndDate = 2025-02-15 [2025-01-16 04:30:30] Production.INFO: NewNextChargeDate =2025-02-15 00:00:00 [2025-01-16 04:30:30] Production.INFO: EndDate =2025-01-15 00:00:00 [2025-01-16 04:30:30] Production.INFO: NewEndDate1 =2025-01-16 [2025-01-16 04:30:30] Production.INFO: SubscriptionDate [2025-01-16 04:30:30] Production.INFO: Array ( [StartDate] => 2025-01-16 [EndDate] => 2025-02-15 00:00:00 [AlreadyCharged] => 0 ) [2025-01-16 04:30:30] Production.INFO: AccountSubscription StartDate 2022-03-16 StartDate 2024-12-16 [2025-01-16 04:30:30] Production.INFO: SubscriptionID - 2025-01-16=====2025-02-15 00:00:00 [2025-01-16 04:30:30] Production.INFO: AccountSubscriptionID - 638 === 2022-03-16=====2026-01-16 [2025-01-16 04:30:30] Production.INFO: regular Advance Subscription [2025-01-16 04:30:30] Production.INFO: First Time False 2022-03-16 2025-01-16 [2025-01-16 04:30:30] Production.INFO: StartDate 2025-01-16 AccountSubscription->StartDate 2022-03-16 EndDate 2025-02-15 00:00:00 AccountSubscription->EndDate 2026-01-16 [2025-01-16 04:30:30] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-16 04:30:30] Production.INFO: AccountSubscription::getSubscriptionAmount(638,2025-01-16,2025-02-15 00:00:00,,0) [2025-01-16 04:30:30] Production.INFO: SubscriptionCharge - 75 [2025-01-16 04:30:30] Production.INFO: Already Invoice Subscription 0 [2025-01-16 04:30:30] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(161,1,5,2025-01-16,2025-02-15 00:00:00,Restaurant - 4 Line Flat Rate,75,75,1,638) [2025-01-16 04:30:30] Production.INFO: DiscountAmount 0.000000 [2025-01-16 04:30:30] Production.INFO: DiscountType Flat [2025-01-16 04:30:30] Production.INFO: SubscriptionCharge 75 [2025-01-16 04:30:30] Production.INFO: New SubscriptionCharge 75 [2025-01-16 04:30:30] Production.INFO: TotalSubscriptionCharge - 75.00 [2025-01-16 04:30:30] Production.INFO: ============================Subscription End ================= [2025-01-16 04:30:30] Production.INFO: ============================Subscription Start ================= [2025-01-16 04:30:30] Production.INFO: SubscriptionID - 11 [2025-01-16 04:30:30] Production.INFO: isAdvanceSubscription - 11 [2025-01-16 04:30:30] Production.INFO: SubscriptionStartDate =2025-01-16 - SubscriptionEndDate = 2025-02-15 [2025-01-16 04:30:30] Production.INFO: NewNextChargeDate =2025-02-15 00:00:00 [2025-01-16 04:30:30] Production.INFO: EndDate =2025-01-15 00:00:00 [2025-01-16 04:30:30] Production.INFO: NewEndDate1 =2025-01-16 [2025-01-16 04:30:30] Production.INFO: SubscriptionDate [2025-01-16 04:30:30] Production.INFO: Array ( [StartDate] => 2025-01-16 [EndDate] => 2025-02-15 00:00:00 [AlreadyCharged] => 0 ) [2025-01-16 04:30:30] Production.INFO: AccountSubscription StartDate 2022-03-16 StartDate 2024-12-16 [2025-01-16 04:30:30] Production.INFO: SubscriptionID - 2025-01-16=====2025-02-15 00:00:00 [2025-01-16 04:30:30] Production.INFO: AccountSubscriptionID - 639 === 2022-03-16=====2026-01-16 [2025-01-16 04:30:30] Production.INFO: regular Advance Subscription [2025-01-16 04:30:30] Production.INFO: First Time False 2022-03-16 2025-01-16 [2025-01-16 04:30:30] Production.INFO: StartDate 2025-01-16 AccountSubscription->StartDate 2022-03-16 EndDate 2025-02-15 00:00:00 AccountSubscription->EndDate 2026-01-16 [2025-01-16 04:30:30] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-16 04:30:30] Production.INFO: AccountSubscription::getSubscriptionAmount(639,2025-01-16,2025-02-15 00:00:00,,0) [2025-01-16 04:30:30] Production.INFO: SubscriptionCharge - -5 [2025-01-16 04:30:30] Production.INFO: Already Invoice Subscription 0 [2025-01-16 04:30:30] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(161,1,11,2025-01-16,2025-02-15 00:00:00,Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service,-25,-5,5,639) [2025-01-16 04:30:30] Production.INFO: DiscountAmount 0.000000 [2025-01-16 04:30:30] Production.INFO: DiscountType Flat [2025-01-16 04:30:30] Production.INFO: SubscriptionCharge -25 [2025-01-16 04:30:30] Production.INFO: New SubscriptionCharge -25 [2025-01-16 04:30:30] Production.INFO: TotalSubscriptionCharge - -25.00 [2025-01-16 04:30:30] Production.INFO: ============================Subscription End ================= [2025-01-16 04:30:30] Production.INFO: ============================Subscription Start ================= [2025-01-16 04:30:30] Production.INFO: SubscriptionID - 4 [2025-01-16 04:30:30] Production.INFO: isAdvanceSubscription - 4 [2025-01-16 04:30:30] Production.INFO: SubscriptionStartDate =2025-01-16 - SubscriptionEndDate = 2025-02-15 [2025-01-16 04:30:30] Production.INFO: NewNextChargeDate =2025-02-15 00:00:00 [2025-01-16 04:30:30] Production.INFO: EndDate =2025-01-15 00:00:00 [2025-01-16 04:30:30] Production.INFO: NewEndDate1 =2025-01-16 [2025-01-16 04:30:30] Production.INFO: SubscriptionDate [2025-01-16 04:30:30] Production.INFO: Array ( [StartDate] => 2025-01-16 [EndDate] => 2025-02-15 00:00:00 [AlreadyCharged] => 0 ) [2025-01-16 04:30:30] Production.INFO: AccountSubscription StartDate 2022-03-16 StartDate 2024-12-16 [2025-01-16 04:30:30] Production.INFO: SubscriptionID - 2025-01-16=====2025-02-15 00:00:00 [2025-01-16 04:30:30] Production.INFO: AccountSubscriptionID - 640 === 2022-03-16=====2026-01-16 [2025-01-16 04:30:30] Production.INFO: regular Advance Subscription [2025-01-16 04:30:30] Production.INFO: First Time False 2022-03-16 2025-01-16 [2025-01-16 04:30:30] Production.INFO: StartDate 2025-01-16 AccountSubscription->StartDate 2022-03-16 EndDate 2025-02-15 00:00:00 AccountSubscription->EndDate 2026-01-16 [2025-01-16 04:30:30] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-16 04:30:30] Production.INFO: AccountSubscription::getSubscriptionAmount(640,2025-01-16,2025-02-15 00:00:00,,0) [2025-01-16 04:30:30] Production.INFO: SubscriptionCharge - 2.5 [2025-01-16 04:30:30] Production.INFO: Already Invoice Subscription 0 [2025-01-16 04:30:30] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(161,1,4,2025-01-16,2025-02-15 00:00:00,e911 address registration (5197490120- 1188 Fischer Hallman Rd Unit 205 Kitchener, ON N2E0B7),2.5,2.5,1,640) [2025-01-16 04:30:30] Production.INFO: DiscountAmount 0.000000 [2025-01-16 04:30:30] Production.INFO: DiscountType Flat [2025-01-16 04:30:30] Production.INFO: SubscriptionCharge 2.5 [2025-01-16 04:30:30] Production.INFO: New SubscriptionCharge 2.5 [2025-01-16 04:30:30] Production.INFO: TotalSubscriptionCharge - 2.50 [2025-01-16 04:30:30] Production.INFO: ============================Subscription End ================= [2025-01-16 04:30:30] Production.INFO: SUBSCRIPTION Over [2025-01-16 04:30:30] Production.INFO: Call prc_getAccountOneOffCharge(161,0,2024-12-16,2025-01-16 23:59:59) [2025-01-16 04:30:30] Production.INFO: AccountOneOffCharge 0 [2025-01-16 04:30:30] Production.INFO: AccountOneOffCharge Over [2025-01-16 04:30:30] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-01-16 04:30:30] Production.INFO: New UsageDates 2024-12-16 - 2025-01-15 23:59:59 [2025-01-16 04:30:30] Production.INFO: SubTotal 52.5 [2025-01-16 04:30:30] Production.INFO: SubTotalWithouttaxTotal 0 [2025-01-16 04:30:30] Production.INFO: AccountOneOffCharge Tax Over [2025-01-16 04:30:30] Production.INFO: TotalTax 6.825 [2025-01-16 04:30:30] Production.INFO: InvoiceGrandTotal 59.325 [2025-01-16 04:30:30] Production.INFO: InvoiceTaxAmount 6.83 [2025-01-16 04:30:30] Production.INFO: GrandTotal 59.33 [2025-01-16 04:30:30] Production.INFO: SubTotal 52.50 [2025-01-16 04:30:30] Production.INFO: TotalDue 59.33 [2025-01-16 04:30:30] Production.INFO: Reseller ==> 0 [2025-01-16 04:30:30] Production.INFO: original start date ==>2024-12-16 changed start date ==>2024-12-16 00:00:00 original end date ==>2025-01-15 23:59:59 changed end date ==>2025-01-15 23:59:59 [2025-01-16 04:30:30] Production.INFO: CALL prc_getInvoiceUsage(1,'161','0','1','2024-12-16 00:00:00','2025-01-15 23:59:59',0) [2025-01-16 04:30:30] Production.INFO: PDF Generation start [2025-01-16 04:30:31] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/161/Invoices/2025/01/16/Invoice-dominos-10476-sandeep-chaudhari-inv11387-from-12-16-2024-to-01-15-2025-10317.pdf [2025-01-16 04:30:31] Production.INFO: On Linux [2025-01-16 04:30:32] 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/01/16/footer-dominos-10476-sandeep-chaudhari-inv11387-from-12-16-2024-to-01-15-2025-10317.html" "/var/www/tmp/1/161/Invoices/2025/01/16/Invoice-dominos-10476-sandeep-chaudhari-inv11387-from-12-16-2024-to-01-15-2025-10317.html" "/var/www/tmp/1/161/Invoices/2025/01/16/Invoice-dominos-10476-sandeep-chaudhari-inv11387-from-12-16-2024-to-01-15-2025-10317.pdf" [2025-01-16 04:30:32] Production.INFO: [2025-01-16 04:30:32] Production.INFO: /var/www/tmp/1/161/Invoices/2025/01/16/Invoice-dominos-10476-sandeep-chaudhari-inv11387-from-12-16-2024-to-01-15-2025-10317.html [2025-01-16 04:30:32] Production.INFO: /var/www/tmp/1/161/Invoices/2025/01/16/header-dominos-10476-sandeep-chaudhari-inv11387-from-12-16-2024-to-01-15-2025-10317.html [2025-01-16 04:30:32] Production.INFO: /var/www/tmp/1/161/Invoices/2025/01/16/footer-dominos-10476-sandeep-chaudhari-inv11387-from-12-16-2024-to-01-15-2025-10317.html [2025-01-16 04:30:32] Production.INFO: Invoice generation PDF path [2025-01-16 04:30:32] Production.INFO: PDF fullPath 1/161/Invoices/2025/01/16/Invoice-dominos-10476-sandeep-chaudhari-inv11387-from-12-16-2024-to-01-15-2025-10317.pdf [2025-01-16 04:30:32] Production.INFO: Generate Usage File Start [2025-01-16 04:30:32] Production.INFO: Usage File fullPath 1/161/InvoiceUsageFile/2025/01/16/dominos-10476-sandeep-chaudhari-16-12-2024-00-00-00-TO-15-01-2025-23-59-59_516__88203250-d3ec-11ef-9bf4-4f2122cece90.csv [2025-01-16 04:30:33] Production.INFO: Sending Email to Staff over [2025-01-16 04:30:33] Production.INFO: Email Status 1 [2025-01-16 04:30:33] Production.INFO: Sending Email to Customer [2025-01-16 04:30:33] Production.INFO: Email Try 10317 1 [2025-01-16 04:30:34] Production.INFO: Email Try 10317 1 [2025-01-16 04:30:34] Production.INFO: =========== Email Sending over =========== [2025-01-16 04:30:34] Production.INFO: =========== Returning as Success =========== AccountID 161 [2025-01-16 04:30:34] Production.INFO: Invoice::sendInvoice done [2025-01-16 04:30:34] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-01-16 04:30:34] Production.INFO: Invoice Committed AccountID = 161 [2025-01-16 04:30:34] Production.INFO: =========== Updating InvoiceDate =========== [2025-01-16 04:30:34] Production.INFO: NextInvoice 2025-01-16 2025-02-15 [2025-01-16 04:30:34] Production.INFO: new dates [2025-01-16 04:30:34] Production.INFO: LastInvoiceDate 2025-01-16 NextInvoiceDate 2025-02-16 [2025-01-16 04:30:34] Production.INFO: LastChargeDate 2025-01-16 NextChargeDate 2025-02-15 [2025-01-16 04:30:34] Production.INFO: =========== Updated InvoiceDate =========== [2025-01-16 04:30:34] Production.INFO: ========================== Invoice Send End ============================= [2025-01-16 04:30:34] Production.INFO: ========================== Recurring invoice Start ============================= [2025-01-16 04:30:34] Production.INFO: recurring invoices ID [2025-01-16 04:30:34] Production.INFO: [2025-01-16 04:30:34] Production.INFO: recurring errorsArray ( ) [2025-01-16 04:30:34] Production.INFO: ========================== Recurring invoice End ============================= [2025-01-16 04:30:34] Production.INFO: ========================== Job Updated ============================= [2025-01-16 04:30:35] Production.INFO: ========================== Job Email Sent ============================= [2025-01-16 04:30:36] Production.ERROR: **Email Sent Status 1 [2025-01-16 04:30:36] Production.ERROR: **Email Sent message Email has been sent [2025-01-16 04:30:36] Production.ERROR: CronJobId end6 [2025-01-16 04:30:36] Production.INFO: ==29557== Releasing lock... [2025-01-16 04:30:36] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Stops# [2025-01-16 04:30:36] Production.INFO: 38.75 MB #Memory Used#