[2025-02-19 04:31:03] Production.INFO: Call prc_getBillingAccounts(1,2025-02-19,'','0') [2025-02-19 04:31:03] Production.INFO: Array ( [0] => stdClass Object ( [AccountID] => 23 [NextInvoiceDate] => 2025-02-19 [AccountName] => Dominos 10295 & 10516 (Werner Lomker) [ServiceID] => 0 ) [1] => stdClass Object ( [AccountID] => 67 [NextInvoiceDate] => 2025-02-19 [AccountName] => Stars & Maple Tours [ServiceID] => 0 ) [2] => stdClass Object ( [AccountID] => 78 [NextInvoiceDate] => 2025-02-19 [AccountName] => Halcyon Travel [ServiceID] => 0 ) [3] => stdClass Object ( [AccountID] => 102 [NextInvoiceDate] => 2025-02-19 [AccountName] => Dominos 39013 (Mudassar Zia) [ServiceID] => 0 ) [4] => stdClass Object ( [AccountID] => 108 [NextInvoiceDate] => 2025-02-19 [AccountName] => Jamie Lauer [ServiceID] => 0 ) [5] => stdClass Object ( [AccountID] => 143 [NextInvoiceDate] => 2025-02-19 [AccountName] => Orange Contracting [ServiceID] => 0 ) ) [2025-02-19 04:31:03] Production.INFO: AccountID =23 FirstInvoiceSend 0 [2025-02-19 04:31:03] Production.INFO: LastInvoiceDate 2025-01-19 NextInvoiceDate 2025-02-19 [2025-02-19 04:31:03] Production.INFO: LastChargeDate 2025-01-19 NextChargeDate 2025-02-18 [2025-02-19 04:31:03] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-02-19 04:31:03] Production.INFO: ========================== Invoice Send Start ============================= [2025-02-19 04:31:03] Production.INFO: Invoice::sendInvoice(1,23,2025-01-19,2025-02-19,billing@onswitchit.ca) [2025-02-19 04:31:03] Production.INFO: start Date =2025-01-19 EndDate =2025-02-18 23:59:59 [2025-02-19 04:31:03] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-02-19 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-19 04:31:03] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-02-19 04:31:03] Production.INFO: AlreadyBilled [2025-02-19 04:31:03] Production.INFO: Reseller ==> 0 [2025-02-19 04:31:03] Production.INFO: original start date ==>2025-01-19 changed start date ==>2025-01-19 00:00:00 original end date ==>2025-02-18 23:59:59 changed end date ==>2025-02-18 23:59:59 [2025-02-19 04:31:03] Production.INFO: Invoice::getAccountUsageTotal(1,23,2025-01-19,2025-02-18 23:59:59) [2025-02-19 04:31:03] Production.INFO: TotalCharges - 0 [2025-02-19 04:31:03] Production.INFO: TotalUsageCharges - 0.00 [2025-02-19 04:31:03] Production.INFO: Usage Over [2025-02-19 04:31:04] Production.INFO: Call prc_getAccountSubscription(23,0) [2025-02-19 04:31:04] Production.INFO: SUBSCRIPTION 5 [2025-02-19 04:31:04] Production.INFO: ============================Subscription Start ================= [2025-02-19 04:31:04] Production.INFO: SubscriptionID - 5 [2025-02-19 04:31:04] Production.INFO: isAdvanceSubscription - 5 [2025-02-19 04:31:04] Production.INFO: SubscriptionStartDate =2025-02-19 - SubscriptionEndDate = 2025-03-18 [2025-02-19 04:31:04] Production.INFO: NewNextChargeDate =2025-03-18 00:00:00 [2025-02-19 04:31:04] Production.INFO: EndDate =2022-03-18 00:00:00 [2025-02-19 04:31:04] Production.INFO: NewEndDate1 =2022-03-19 [2025-02-19 04:31:04] Production.INFO: SubscriptionDate [2025-02-19 04:31:04] Production.INFO: Array ( [StartDate] => 2022-03-19 [EndDate] => 2025-03-18 00:00:00 [AlreadyCharged] => 0 ) [2025-02-19 04:31:04] Production.INFO: AccountSubscription StartDate 2017-05-18 StartDate 2025-01-19 [2025-02-19 04:31:04] Production.INFO: SubscriptionID - 2022-03-19=====2025-03-18 00:00:00 [2025-02-19 04:31:04] Production.INFO: AccountSubscriptionID - 33 === 2017-05-18=====2021-11-30 [2025-02-19 04:31:04] Production.INFO: ============================Subscription End ================= [2025-02-19 04:31:04] Production.INFO: ============================Subscription Start ================= [2025-02-19 04:31:04] Production.INFO: SubscriptionID - 5 [2025-02-19 04:31:04] Production.INFO: isAdvanceSubscription - 5 [2025-02-19 04:31:04] Production.INFO: SubscriptionStartDate =2025-02-19 - SubscriptionEndDate = 2025-03-18 [2025-02-19 04:31:04] Production.INFO: NewNextChargeDate =2025-03-18 00:00:00 [2025-02-19 04:31:04] Production.INFO: EndDate =2022-03-18 00:00:00 [2025-02-19 04:31:04] Production.INFO: NewEndDate1 =2022-03-19 [2025-02-19 04:31:04] Production.INFO: SubscriptionDate [2025-02-19 04:31:04] Production.INFO: Array ( [StartDate] => 2022-03-19 [EndDate] => 2025-03-18 00:00:00 [AlreadyCharged] => 0 ) [2025-02-19 04:31:04] Production.INFO: AccountSubscription StartDate 2017-05-18 StartDate 2025-01-19 [2025-02-19 04:31:04] Production.INFO: SubscriptionID - 2022-03-19=====2025-03-18 00:00:00 [2025-02-19 04:31:04] Production.INFO: AccountSubscriptionID - 34 === 2017-05-18=====2021-11-30 [2025-02-19 04:31:04] Production.INFO: ============================Subscription End ================= [2025-02-19 04:31:04] Production.INFO: ============================Subscription Start ================= [2025-02-19 04:31:04] Production.INFO: SubscriptionID - 4 [2025-02-19 04:31:04] Production.INFO: isAdvanceSubscription - 4 [2025-02-19 04:31:04] Production.INFO: SubscriptionStartDate =2025-02-19 - SubscriptionEndDate = 2025-03-18 [2025-02-19 04:31:04] Production.INFO: NewNextChargeDate =2025-03-18 00:00:00 [2025-02-19 04:31:04] Production.INFO: EndDate =2022-03-18 00:00:00 [2025-02-19 04:31:04] Production.INFO: NewEndDate1 =2022-03-19 [2025-02-19 04:31:04] Production.INFO: SubscriptionDate [2025-02-19 04:31:04] Production.INFO: Array ( [StartDate] => 2022-03-19 [EndDate] => 2025-03-18 00:00:00 [AlreadyCharged] => 0 ) [2025-02-19 04:31:04] Production.INFO: AccountSubscription StartDate 2017-05-18 StartDate 2025-01-19 [2025-02-19 04:31:04] Production.INFO: SubscriptionID - 2022-03-19=====2025-03-18 00:00:00 [2025-02-19 04:31:04] Production.INFO: AccountSubscriptionID - 35 === 2017-05-18=====2021-11-30 [2025-02-19 04:31:04] Production.INFO: ============================Subscription End ================= [2025-02-19 04:31:04] Production.INFO: ============================Subscription Start ================= [2025-02-19 04:31:04] Production.INFO: SubscriptionID - 4 [2025-02-19 04:31:04] Production.INFO: isAdvanceSubscription - 4 [2025-02-19 04:31:04] Production.INFO: SubscriptionStartDate =2025-02-19 - SubscriptionEndDate = 2025-03-18 [2025-02-19 04:31:04] Production.INFO: NewNextChargeDate =2025-03-18 00:00:00 [2025-02-19 04:31:04] Production.INFO: EndDate =2022-03-18 00:00:00 [2025-02-19 04:31:04] Production.INFO: NewEndDate1 =2022-03-19 [2025-02-19 04:31:04] Production.INFO: SubscriptionDate [2025-02-19 04:31:04] Production.INFO: Array ( [StartDate] => 2022-03-19 [EndDate] => 2025-03-18 00:00:00 [AlreadyCharged] => 0 ) [2025-02-19 04:31:04] Production.INFO: AccountSubscription StartDate 2017-05-18 StartDate 2025-01-19 [2025-02-19 04:31:04] Production.INFO: SubscriptionID - 2022-03-19=====2025-03-18 00:00:00 [2025-02-19 04:31:04] Production.INFO: AccountSubscriptionID - 36 === 2017-05-18=====2021-11-30 [2025-02-19 04:31:04] Production.INFO: ============================Subscription End ================= [2025-02-19 04:31:04] Production.INFO: ============================Subscription Start ================= [2025-02-19 04:31:04] Production.INFO: SubscriptionID - 11 [2025-02-19 04:31:04] Production.INFO: isAdvanceSubscription - 11 [2025-02-19 04:31:04] Production.INFO: SubscriptionStartDate =2025-02-19 - SubscriptionEndDate = 2025-03-18 [2025-02-19 04:31:04] Production.INFO: NewNextChargeDate =2025-03-18 00:00:00 [2025-02-19 04:31:04] Production.INFO: EndDate =2022-03-18 00:00:00 [2025-02-19 04:31:04] Production.INFO: NewEndDate1 =2022-03-19 [2025-02-19 04:31:04] Production.INFO: SubscriptionDate [2025-02-19 04:31:04] Production.INFO: Array ( [StartDate] => 2022-03-19 [EndDate] => 2025-03-18 00:00:00 [AlreadyCharged] => 0 ) [2025-02-19 04:31:04] Production.INFO: AccountSubscription StartDate 2018-02-07 StartDate 2025-01-19 [2025-02-19 04:31:04] Production.INFO: SubscriptionID - 2022-03-19=====2025-03-18 00:00:00 [2025-02-19 04:31:04] Production.INFO: AccountSubscriptionID - 219 === 2018-02-07=====2021-11-30 [2025-02-19 04:31:04] Production.INFO: ============================Subscription End ================= [2025-02-19 04:31:04] Production.INFO: SUBSCRIPTION Over [2025-02-19 04:31:04] Production.INFO: Call prc_getAccountOneOffCharge(23,0,2025-01-19,2025-02-19 23:59:59) [2025-02-19 04:31:04] Production.INFO: AccountOneOffCharge 0 [2025-02-19 04:31:04] Production.INFO: AccountOneOffCharge Over [2025-02-19 04:31:04] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-02-19 04:31:04] Production.INFO: New UsageDates 2025-01-19 - 2025-02-18 23:59:59 [2025-02-19 04:31:04] Production.INFO: SubTotal 0 [2025-02-19 04:31:04] Production.INFO: SubTotalWithouttaxTotal 0 [2025-02-19 04:31:04] Production.INFO: AccountOneOffCharge Tax Over [2025-02-19 04:31:04] Production.INFO: TotalTax 0 [2025-02-19 04:31:04] Production.INFO: InvoiceGrandTotal 0 [2025-02-19 04:31:04] Production.INFO: InvoiceTaxAmount 0 [2025-02-19 04:31:04] Production.INFO: GrandTotal 0 [2025-02-19 04:31:04] Production.INFO: SubTotal 0.00 [2025-02-19 04:31:04] Production.INFO: TotalDue 0.00 [2025-02-19 04:31:04] Production.INFO: Reseller ==> 0 [2025-02-19 04:31:04] Production.INFO: original start date ==>2025-01-19 changed start date ==>2025-01-19 00:00:00 original end date ==>2025-02-18 23:59:59 changed end date ==>2025-02-18 23:59:59 [2025-02-19 04:31:04] Production.INFO: CALL prc_getInvoiceUsage(1,'23','0','1','2025-01-19 00:00:00','2025-02-18 23:59:59',0) [2025-02-19 04:31:04] Production.INFO: PDF Generation start [2025-02-19 04:31:04] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/23/Invoices/2025/02/19/Invoice-dominos-10295-10516-werner-lomker-inv11563-from-01-19-2025-to-02-18-2025-10499.pdf [2025-02-19 04:31:04] Production.INFO: On Linux [2025-02-19 04:31:06] 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/23/Invoices/2025/02/19/footer-dominos-10295-10516-werner-lomker-inv11563-from-01-19-2025-to-02-18-2025-10499.html" "/var/www/tmp/1/23/Invoices/2025/02/19/Invoice-dominos-10295-10516-werner-lomker-inv11563-from-01-19-2025-to-02-18-2025-10499.html" "/var/www/tmp/1/23/Invoices/2025/02/19/Invoice-dominos-10295-10516-werner-lomker-inv11563-from-01-19-2025-to-02-18-2025-10499.pdf" [2025-02-19 04:31:06] Production.INFO: [2025-02-19 04:31:06] Production.INFO: /var/www/tmp/1/23/Invoices/2025/02/19/Invoice-dominos-10295-10516-werner-lomker-inv11563-from-01-19-2025-to-02-18-2025-10499.html [2025-02-19 04:31:06] Production.INFO: /var/www/tmp/1/23/Invoices/2025/02/19/header-dominos-10295-10516-werner-lomker-inv11563-from-01-19-2025-to-02-18-2025-10499.html [2025-02-19 04:31:06] Production.INFO: /var/www/tmp/1/23/Invoices/2025/02/19/footer-dominos-10295-10516-werner-lomker-inv11563-from-01-19-2025-to-02-18-2025-10499.html [2025-02-19 04:31:06] Production.INFO: Invoice generation PDF path [2025-02-19 04:31:06] Production.INFO: PDF fullPath 1/23/Invoices/2025/02/19/Invoice-dominos-10295-10516-werner-lomker-inv11563-from-01-19-2025-to-02-18-2025-10499.pdf [2025-02-19 04:31:06] Production.INFO: Generate Usage File Start [2025-02-19 04:31:06] Production.INFO: Usage File fullPath 1/23/InvoiceUsageFile/2025/02/19/dominos-10295-10516-werner-lomker-19-01-2025-00-00-00-TO-18-02-2025-23-59-59_439__3ec4b400-eea4-11ef-b3a5-9d03f88c613f.csv [2025-02-19 04:31:08] Production.INFO: Sending Email to Staff over [2025-02-19 04:31:08] Production.INFO: Email Status 1 [2025-02-19 04:31:08] Production.INFO: Sending Email to Customer [2025-02-19 04:31:08] Production.INFO: =========== Email Sending over =========== [2025-02-19 04:31:08] Production.INFO: =========== Returning as Success =========== AccountID 23 [2025-02-19 04:31:08] Production.INFO: Invoice::sendInvoice done [2025-02-19 04:31:08] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-02-19 04:31:08] Production.INFO: Invoice Committed AccountID = 23 [2025-02-19 04:31:08] Production.INFO: =========== Updating InvoiceDate =========== [2025-02-19 04:31:08] Production.INFO: NextInvoice 2025-02-19 2025-03-18 [2025-02-19 04:31:08] Production.INFO: new dates [2025-02-19 04:31:08] Production.INFO: LastInvoiceDate 2025-02-19 NextInvoiceDate 2025-03-19 [2025-02-19 04:31:08] Production.INFO: LastChargeDate 2025-02-19 NextChargeDate 2025-03-18 [2025-02-19 04:31:08] Production.INFO: =========== Updated InvoiceDate =========== [2025-02-19 04:31:08] Production.INFO: ========================== Invoice Send End ============================= [2025-02-19 04:31:08] Production.INFO: AccountID =67 FirstInvoiceSend 0 [2025-02-19 04:31:08] Production.INFO: LastInvoiceDate 2025-01-19 NextInvoiceDate 2025-02-19 [2025-02-19 04:31:08] Production.INFO: LastChargeDate 2025-01-19 NextChargeDate 2025-02-18 [2025-02-19 04:31:08] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-02-19 04:31:08] Production.INFO: ========================== Invoice Send Start ============================= [2025-02-19 04:31:08] Production.INFO: Invoice::sendInvoice(1,67,2025-01-19,2025-02-19,billing@onswitchit.ca) [2025-02-19 04:31:08] Production.INFO: start Date =2025-01-19 EndDate =2025-02-18 23:59:59 [2025-02-19 04:31:08] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-02-19 04:31:08] 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-19 04:31:08] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-02-19 04:31:08] Production.INFO: AlreadyBilled [2025-02-19 04:31:08] Production.INFO: Reseller ==> 0 [2025-02-19 04:31:08] Production.INFO: original start date ==>2025-01-19 changed start date ==>2025-01-19 00:00:00 original end date ==>2025-02-18 23:59:59 changed end date ==>2025-02-18 23:59:59 [2025-02-19 04:31:08] Production.INFO: Invoice::getAccountUsageTotal(1,67,2025-01-19,2025-02-18 23:59:59) [2025-02-19 04:31:08] Production.INFO: TotalCharges - 0 [2025-02-19 04:31:08] Production.INFO: TotalUsageCharges - 0.00 [2025-02-19 04:31:08] Production.INFO: Usage Over [2025-02-19 04:31:08] Production.INFO: Call prc_getAccountSubscription(67,0) [2025-02-19 04:31:08] Production.INFO: SUBSCRIPTION 8 [2025-02-19 04:31:08] Production.INFO: ============================Subscription Start ================= [2025-02-19 04:31:08] Production.INFO: SubscriptionID - 2 [2025-02-19 04:31:08] Production.INFO: isAdvanceSubscription - 2 [2025-02-19 04:31:08] Production.INFO: SubscriptionStartDate =2025-02-19 - SubscriptionEndDate = 2025-03-18 [2025-02-19 04:31:08] Production.INFO: NewNextChargeDate =2025-03-18 00:00:00 [2025-02-19 04:31:08] Production.INFO: EndDate =2025-02-18 00:00:00 [2025-02-19 04:31:08] Production.INFO: NewEndDate1 =2025-02-19 [2025-02-19 04:31:08] Production.INFO: SubscriptionDate [2025-02-19 04:31:08] Production.INFO: Array ( [StartDate] => 2025-02-19 [EndDate] => 2025-03-18 00:00:00 [AlreadyCharged] => 0 ) [2025-02-19 04:31:08] Production.INFO: AccountSubscription StartDate 2018-03-15 StartDate 2025-01-19 [2025-02-19 04:31:08] Production.INFO: SubscriptionID - 2025-02-19=====2025-03-18 00:00:00 [2025-02-19 04:31:08] Production.INFO: AccountSubscriptionID - 238 === 2018-03-15=====2026-02-19 [2025-02-19 04:31:08] Production.INFO: regular Advance Subscription [2025-02-19 04:31:08] Production.INFO: First Time False 2018-03-15 2025-02-19 [2025-02-19 04:31:08] Production.INFO: StartDate 2025-02-19 AccountSubscription->StartDate 2018-03-15 EndDate 2025-03-18 00:00:00 AccountSubscription->EndDate 2026-02-19 [2025-02-19 04:31:08] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-19 04:31:08] Production.INFO: AccountSubscription::getSubscriptionAmount(238,2025-02-19,2025-03-18 00:00:00,,0) [2025-02-19 04:31:08] Production.INFO: SubscriptionCharge - 5 [2025-02-19 04:31:08] Production.INFO: Already Invoice Subscription 0 [2025-02-19 04:31:08] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(67,1,2,2025-02-19,2025-03-18 00:00:00,License for an Unlimited Canada/US Cloud Phone extension,25,5,5,238) [2025-02-19 04:31:08] Production.INFO: DiscountAmount 0.000000 [2025-02-19 04:31:08] Production.INFO: DiscountType [2025-02-19 04:31:08] Production.INFO: SubscriptionCharge 25 [2025-02-19 04:31:08] Production.INFO: New SubscriptionCharge 25 [2025-02-19 04:31:08] Production.INFO: TotalSubscriptionCharge - 25.00 [2025-02-19 04:31:08] Production.INFO: ============================Subscription End ================= [2025-02-19 04:31:08] Production.INFO: ============================Subscription Start ================= [2025-02-19 04:31:08] Production.INFO: SubscriptionID - 24 [2025-02-19 04:31:08] Production.INFO: SubscriptionID - 2025-01-19=====2025-02-18 [2025-02-19 04:31:08] Production.INFO: AccountSubscriptionID - 476 === 2020-03-17=====2020-08-31 [2025-02-19 04:31:08] Production.INFO: ============================Subscription End ================= [2025-02-19 04:31:08] Production.INFO: ============================Subscription Start ================= [2025-02-19 04:31:08] Production.INFO: SubscriptionID - 8 [2025-02-19 04:31:08] Production.INFO: isAdvanceSubscription - 8 [2025-02-19 04:31:08] Production.INFO: SubscriptionStartDate =2025-02-19 - SubscriptionEndDate = 2025-03-18 [2025-02-19 04:31:08] Production.INFO: NewNextChargeDate =2025-03-18 00:00:00 [2025-02-19 04:31:08] Production.INFO: EndDate =2025-02-18 00:00:00 [2025-02-19 04:31:08] Production.INFO: NewEndDate1 =2025-02-19 [2025-02-19 04:31:08] Production.INFO: SubscriptionDate [2025-02-19 04:31:08] Production.INFO: Array ( [StartDate] => 2025-02-19 [EndDate] => 2025-03-18 00:00:00 [AlreadyCharged] => 0 ) [2025-02-19 04:31:08] Production.INFO: AccountSubscription StartDate 2020-06-18 StartDate 2025-01-19 [2025-02-19 04:31:08] Production.INFO: SubscriptionID - 2025-02-19=====2025-03-18 00:00:00 [2025-02-19 04:31:08] Production.INFO: AccountSubscriptionID - 493 === 2020-06-18=====2026-02-19 [2025-02-19 04:31:08] Production.INFO: regular Advance Subscription [2025-02-19 04:31:08] Production.INFO: First Time False 2020-06-18 2025-02-19 [2025-02-19 04:31:08] Production.INFO: StartDate 2025-02-19 AccountSubscription->StartDate 2020-06-18 EndDate 2025-03-18 00:00:00 AccountSubscription->EndDate 2026-02-19 [2025-02-19 04:31:08] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-19 04:31:08] Production.INFO: AccountSubscription::getSubscriptionAmount(493,2025-02-19,2025-03-18 00:00:00,,0) [2025-02-19 04:31:08] Production.INFO: SubscriptionCharge - 12 [2025-02-19 04:31:08] Production.INFO: Already Invoice Subscription 0 [2025-02-19 04:31:08] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(67,1,8,2025-02-19,2025-03-18 00:00:00,Additional DID (611800431330) - Australia Toll Free,12,12,1,493) [2025-02-19 04:31:08] Production.INFO: DiscountAmount 0.000000 [2025-02-19 04:31:08] Production.INFO: DiscountType [2025-02-19 04:31:08] Production.INFO: SubscriptionCharge 12 [2025-02-19 04:31:08] Production.INFO: New SubscriptionCharge 12 [2025-02-19 04:31:08] Production.INFO: TotalSubscriptionCharge - 12.00 [2025-02-19 04:31:08] Production.INFO: ============================Subscription End ================= [2025-02-19 04:31:08] Production.INFO: ============================Subscription Start ================= [2025-02-19 04:31:08] Production.INFO: SubscriptionID - 8 [2025-02-19 04:31:08] Production.INFO: isAdvanceSubscription - 8 [2025-02-19 04:31:08] Production.INFO: SubscriptionStartDate =2025-02-19 - SubscriptionEndDate = 2025-03-18 [2025-02-19 04:31:08] Production.INFO: NewNextChargeDate =2025-03-18 00:00:00 [2025-02-19 04:31:08] Production.INFO: EndDate =2025-02-18 00:00:00 [2025-02-19 04:31:08] Production.INFO: NewEndDate1 =2025-02-19 [2025-02-19 04:31:08] Production.INFO: SubscriptionDate [2025-02-19 04:31:08] Production.INFO: Array ( [StartDate] => 2025-02-19 [EndDate] => 2025-03-18 00:00:00 [AlreadyCharged] => 0 ) [2025-02-19 04:31:08] Production.INFO: AccountSubscription StartDate 2020-06-18 StartDate 2025-01-19 [2025-02-19 04:31:08] Production.INFO: SubscriptionID - 2025-02-19=====2025-03-18 00:00:00 [2025-02-19 04:31:08] Production.INFO: AccountSubscriptionID - 494 === 2020-06-18=====2026-02-19 [2025-02-19 04:31:08] Production.INFO: regular Advance Subscription [2025-02-19 04:31:08] Production.INFO: First Time False 2020-06-18 2025-02-19 [2025-02-19 04:31:08] Production.INFO: StartDate 2025-02-19 AccountSubscription->StartDate 2020-06-18 EndDate 2025-03-18 00:00:00 AccountSubscription->EndDate 2026-02-19 [2025-02-19 04:31:08] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-19 04:31:08] Production.INFO: AccountSubscription::getSubscriptionAmount(494,2025-02-19,2025-03-18 00:00:00,,0) [2025-02-19 04:31:08] Production.INFO: SubscriptionCharge - 5 [2025-02-19 04:31:08] Production.INFO: Already Invoice Subscription 0 [2025-02-19 04:31:08] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(67,1,8,2025-02-19,2025-03-18 00:00:00,Additional DID (18772928528) - North America Toll Free,5,5,1,494) [2025-02-19 04:31:08] Production.INFO: DiscountAmount 0.000000 [2025-02-19 04:31:08] Production.INFO: DiscountType [2025-02-19 04:31:08] Production.INFO: SubscriptionCharge 5 [2025-02-19 04:31:08] Production.INFO: New SubscriptionCharge 5 [2025-02-19 04:31:08] Production.INFO: TotalSubscriptionCharge - 5.00 [2025-02-19 04:31:08] Production.INFO: ============================Subscription End ================= [2025-02-19 04:31:08] Production.INFO: ============================Subscription Start ================= [2025-02-19 04:31:08] Production.INFO: SubscriptionID - 12 [2025-02-19 04:31:08] Production.INFO: isAdvanceSubscription - 12 [2025-02-19 04:31:08] Production.INFO: SubscriptionStartDate =2025-02-19 - SubscriptionEndDate = 2025-03-18 [2025-02-19 04:31:08] Production.INFO: NewNextChargeDate =2025-03-18 00:00:00 [2025-02-19 04:31:08] Production.INFO: EndDate =2025-02-18 00:00:00 [2025-02-19 04:31:08] Production.INFO: NewEndDate1 =2025-02-19 [2025-02-19 04:31:08] Production.INFO: SubscriptionDate [2025-02-19 04:31:08] Production.INFO: Array ( [StartDate] => 2025-02-19 [EndDate] => 2025-03-18 00:00:00 [AlreadyCharged] => 0 ) [2025-02-19 04:31:08] Production.INFO: AccountSubscription StartDate 2020-06-18 StartDate 2025-01-19 [2025-02-19 04:31:08] Production.INFO: SubscriptionID - 2025-02-19=====2025-03-18 00:00:00 [2025-02-19 04:31:08] Production.INFO: AccountSubscriptionID - 495 === 2020-06-18=====2026-02-19 [2025-02-19 04:31:08] Production.INFO: regular Advance Subscription [2025-02-19 04:31:08] Production.INFO: First Time False 2020-06-18 2025-02-19 [2025-02-19 04:31:08] Production.INFO: StartDate 2025-02-19 AccountSubscription->StartDate 2020-06-18 EndDate 2025-03-18 00:00:00 AccountSubscription->EndDate 2026-02-19 [2025-02-19 04:31:08] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-19 04:31:08] Production.INFO: AccountSubscription::getSubscriptionAmount(495,2025-02-19,2025-03-18 00:00:00,,0) [2025-02-19 04:31:08] Production.INFO: SubscriptionCharge - 0 [2025-02-19 04:31:08] Production.INFO: Already Invoice Subscription 0 [2025-02-19 04:31:08] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(67,1,12,2025-02-19,2025-03-18 00:00:00,Included DID (14074567067),0,0,1,495) [2025-02-19 04:31:08] Production.INFO: DiscountAmount 0.000000 [2025-02-19 04:31:08] Production.INFO: DiscountType [2025-02-19 04:31:08] Production.INFO: SubscriptionCharge 0 [2025-02-19 04:31:08] Production.INFO: New SubscriptionCharge 0 [2025-02-19 04:31:08] Production.INFO: TotalSubscriptionCharge - 0.00 [2025-02-19 04:31:08] Production.INFO: ============================Subscription End ================= [2025-02-19 04:31:08] Production.INFO: ============================Subscription Start ================= [2025-02-19 04:31:08] Production.INFO: SubscriptionID - 12 [2025-02-19 04:31:08] Production.INFO: isAdvanceSubscription - 12 [2025-02-19 04:31:08] Production.INFO: SubscriptionStartDate =2025-02-19 - SubscriptionEndDate = 2025-03-18 [2025-02-19 04:31:08] Production.INFO: NewNextChargeDate =2025-03-18 00:00:00 [2025-02-19 04:31:08] Production.INFO: EndDate =2025-02-18 00:00:00 [2025-02-19 04:31:08] Production.INFO: NewEndDate1 =2025-02-19 [2025-02-19 04:31:08] Production.INFO: SubscriptionDate [2025-02-19 04:31:08] Production.INFO: Array ( [StartDate] => 2025-02-19 [EndDate] => 2025-03-18 00:00:00 [AlreadyCharged] => 0 ) [2025-02-19 04:31:08] Production.INFO: AccountSubscription StartDate 2020-06-03 StartDate 2025-01-19 [2025-02-19 04:31:08] Production.INFO: SubscriptionID - 2025-02-19=====2025-03-18 00:00:00 [2025-02-19 04:31:08] Production.INFO: AccountSubscriptionID - 498 === 2020-06-03=====2026-02-19 [2025-02-19 04:31:08] Production.INFO: regular Advance Subscription [2025-02-19 04:31:08] Production.INFO: First Time False 2020-06-03 2025-02-19 [2025-02-19 04:31:08] Production.INFO: StartDate 2025-02-19 AccountSubscription->StartDate 2020-06-03 EndDate 2025-03-18 00:00:00 AccountSubscription->EndDate 2026-02-19 [2025-02-19 04:31:08] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-19 04:31:08] Production.INFO: AccountSubscription::getSubscriptionAmount(498,2025-02-19,2025-03-18 00:00:00,,0) [2025-02-19 04:31:08] Production.INFO: SubscriptionCharge - 0 [2025-02-19 04:31:08] Production.INFO: Already Invoice Subscription 0 [2025-02-19 04:31:08] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(67,1,12,2025-02-19,2025-03-18 00:00:00,Included DID (16477944040),0,0,1,498) [2025-02-19 04:31:08] Production.INFO: DiscountAmount 0.000000 [2025-02-19 04:31:08] Production.INFO: DiscountType [2025-02-19 04:31:08] Production.INFO: SubscriptionCharge 0 [2025-02-19 04:31:08] Production.INFO: New SubscriptionCharge 0 [2025-02-19 04:31:08] Production.INFO: TotalSubscriptionCharge - 0.00 [2025-02-19 04:31:08] Production.INFO: ============================Subscription End ================= [2025-02-19 04:31:08] Production.INFO: ============================Subscription Start ================= [2025-02-19 04:31:08] Production.INFO: SubscriptionID - 24 [2025-02-19 04:31:08] Production.INFO: SubscriptionID - 2025-01-19=====2025-02-18 [2025-02-19 04:31:08] Production.INFO: AccountSubscriptionID - 570 === 2021-01-14=====2022-01-14 [2025-02-19 04:31:08] Production.INFO: ============================Subscription End ================= [2025-02-19 04:31:08] Production.INFO: ============================Subscription Start ================= [2025-02-19 04:31:08] Production.INFO: SubscriptionID - 24 [2025-02-19 04:31:08] Production.INFO: SubscriptionID - 2025-01-19=====2025-02-18 [2025-02-19 04:31:08] Production.INFO: AccountSubscriptionID - 571 === 2021-01-14=====2026-02-19 [2025-02-19 04:31:08] Production.INFO: regular Subscription [2025-02-19 04:31:08] Production.INFO: First Time False 2021-01-14 2025-01-19 [2025-02-19 04:31:08] Production.INFO: StartDate 2025-01-19 AccountSubscription->StartDate 2021-01-14 EndDate 2025-02-18 AccountSubscription->EndDate 2026-02-19 [2025-02-19 04:31:08] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-02-19 04:31:08] Production.INFO: AccountSubscription::getSubscriptionAmount(571,2025-01-19,2025-02-18,,0) [2025-02-19 04:31:08] Production.INFO: SubscriptionCharge - -10 [2025-02-19 04:31:08] Production.INFO: Already Invoice Subscription 0 [2025-02-19 04:31:08] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(67,1,24,2025-01-19,2025-02-18,Loyalty discount - $10/month - No expiry (XR),-10,-10,1,571) [2025-02-19 04:31:08] Production.INFO: DiscountAmount 0.000000 [2025-02-19 04:31:08] Production.INFO: DiscountType [2025-02-19 04:31:08] Production.INFO: SubscriptionCharge -10 [2025-02-19 04:31:08] Production.INFO: New SubscriptionCharge -10 [2025-02-19 04:31:08] Production.INFO: TotalSubscriptionCharge - -10.00 [2025-02-19 04:31:08] Production.INFO: ============================Subscription End ================= [2025-02-19 04:31:08] Production.INFO: SUBSCRIPTION Over [2025-02-19 04:31:08] Production.INFO: Call prc_getAccountOneOffCharge(67,0,2025-01-19,2025-02-19 23:59:59) [2025-02-19 04:31:08] Production.INFO: AccountOneOffCharge 0 [2025-02-19 04:31:08] Production.INFO: AccountOneOffCharge Over [2025-02-19 04:31:08] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-02-19 04:31:08] Production.INFO: New UsageDates 2025-01-19 - 2025-02-18 23:59:59 [2025-02-19 04:31:08] Production.INFO: SubTotal 32 [2025-02-19 04:31:08] Production.INFO: SubTotalWithouttaxTotal 0 [2025-02-19 04:31:08] Production.INFO: AccountOneOffCharge Tax Over [2025-02-19 04:31:08] Production.INFO: TotalTax 4.16 [2025-02-19 04:31:08] Production.INFO: InvoiceGrandTotal 36.16 [2025-02-19 04:31:08] Production.INFO: InvoiceTaxAmount 4.16 [2025-02-19 04:31:08] Production.INFO: GrandTotal 36.16 [2025-02-19 04:31:08] Production.INFO: SubTotal 32.00 [2025-02-19 04:31:08] Production.INFO: TotalDue 36.16 [2025-02-19 04:31:08] Production.INFO: Reseller ==> 0 [2025-02-19 04:31:09] Production.INFO: original start date ==>2025-01-19 changed start date ==>2025-01-19 00:00:00 original end date ==>2025-02-18 23:59:59 changed end date ==>2025-02-18 23:59:59 [2025-02-19 04:31:09] Production.INFO: CALL prc_getInvoiceUsage(1,'67','0','1','2025-01-19 00:00:00','2025-02-18 23:59:59',0) [2025-02-19 04:31:09] Production.INFO: PDF Generation start [2025-02-19 04:31:09] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/67/Invoices/2025/02/19/Invoice-stars-maple-tours-inv11564-from-01-19-2025-to-02-18-2025-10500.pdf [2025-02-19 04:31:09] Production.INFO: On Linux [2025-02-19 04:31:10] 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/67/Invoices/2025/02/19/footer-stars-maple-tours-inv11564-from-01-19-2025-to-02-18-2025-10500.html" "/var/www/tmp/1/67/Invoices/2025/02/19/Invoice-stars-maple-tours-inv11564-from-01-19-2025-to-02-18-2025-10500.html" "/var/www/tmp/1/67/Invoices/2025/02/19/Invoice-stars-maple-tours-inv11564-from-01-19-2025-to-02-18-2025-10500.pdf" [2025-02-19 04:31:10] Production.INFO: [2025-02-19 04:31:10] Production.INFO: /var/www/tmp/1/67/Invoices/2025/02/19/Invoice-stars-maple-tours-inv11564-from-01-19-2025-to-02-18-2025-10500.html [2025-02-19 04:31:10] Production.INFO: /var/www/tmp/1/67/Invoices/2025/02/19/header-stars-maple-tours-inv11564-from-01-19-2025-to-02-18-2025-10500.html [2025-02-19 04:31:10] Production.INFO: /var/www/tmp/1/67/Invoices/2025/02/19/footer-stars-maple-tours-inv11564-from-01-19-2025-to-02-18-2025-10500.html [2025-02-19 04:31:10] Production.INFO: Invoice generation PDF path [2025-02-19 04:31:10] Production.INFO: PDF fullPath 1/67/Invoices/2025/02/19/Invoice-stars-maple-tours-inv11564-from-01-19-2025-to-02-18-2025-10500.pdf [2025-02-19 04:31:10] Production.INFO: Generate Usage File Start [2025-02-19 04:31:10] Production.INFO: Usage File fullPath 1/67/InvoiceUsageFile/2025/02/19/stars-maple-tours-19-01-2025-00-00-00-TO-18-02-2025-23-59-59_4759__414adca0-eea4-11ef-a8ef-fbd954626bd9.csv [2025-02-19 04:31:12] Production.INFO: Sending Email to Staff over [2025-02-19 04:31:12] Production.INFO: Email Status 1 [2025-02-19 04:31:12] Production.INFO: Sending Email to Customer [2025-02-19 04:31:12] Production.INFO: Email Try 10500 1 [2025-02-19 04:31:12] Production.INFO: =========== Email Sending over =========== [2025-02-19 04:31:12] Production.INFO: =========== Returning as Success =========== AccountID 67 [2025-02-19 04:31:12] Production.INFO: Invoice::sendInvoice done [2025-02-19 04:31:12] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-02-19 04:31:12] Production.INFO: Invoice Committed AccountID = 67 [2025-02-19 04:31:12] Production.INFO: =========== Updating InvoiceDate =========== [2025-02-19 04:31:12] Production.INFO: NextInvoice 2025-02-19 2025-03-18 [2025-02-19 04:31:12] Production.INFO: new dates [2025-02-19 04:31:12] Production.INFO: LastInvoiceDate 2025-02-19 NextInvoiceDate 2025-03-19 [2025-02-19 04:31:12] Production.INFO: LastChargeDate 2025-02-19 NextChargeDate 2025-03-18 [2025-02-19 04:31:12] Production.INFO: =========== Updated InvoiceDate =========== [2025-02-19 04:31:13] Production.INFO: ========================== Invoice Send End ============================= [2025-02-19 04:31:13] Production.INFO: AccountID =78 FirstInvoiceSend 0 [2025-02-19 04:31:13] Production.INFO: LastInvoiceDate 2025-01-19 NextInvoiceDate 2025-02-19 [2025-02-19 04:31:13] Production.INFO: LastChargeDate 2025-01-19 NextChargeDate 2025-02-18 [2025-02-19 04:31:13] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-02-19 04:31:13] Production.INFO: ========================== Invoice Send Start ============================= [2025-02-19 04:31:13] Production.INFO: Invoice::sendInvoice(1,78,2025-01-19,2025-02-19,billing@onswitchit.ca) [2025-02-19 04:31:13] Production.INFO: start Date =2025-01-19 EndDate =2025-02-18 23:59:59 [2025-02-19 04:31:13] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-02-19 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-19 04:31:13] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-02-19 04:31:13] Production.INFO: AlreadyBilled [2025-02-19 04:31:13] Production.INFO: Reseller ==> 0 [2025-02-19 04:31:13] Production.INFO: original start date ==>2025-01-19 changed start date ==>2025-01-19 00:00:00 original end date ==>2025-02-18 23:59:59 changed end date ==>2025-02-18 23:59:59 [2025-02-19 04:31:13] Production.INFO: CompanyGatewayID 1 TotalCharges ==>2.91000000 [2025-02-19 04:31:13] Production.INFO: Invoice::getAccountUsageTotal(1,78,2025-01-19,2025-02-18 23:59:59) [2025-02-19 04:31:13] Production.INFO: TotalCharges - 2.91 [2025-02-19 04:31:13] Production.INFO: TotalUsageCharges - 2.91 [2025-02-19 04:31:13] Production.INFO: Usage Over [2025-02-19 04:31:13] Production.INFO: Call prc_getAccountSubscription(78,0) [2025-02-19 04:31:13] Production.INFO: SUBSCRIPTION 2 [2025-02-19 04:31:13] Production.INFO: ============================Subscription Start ================= [2025-02-19 04:31:13] Production.INFO: SubscriptionID - 1 [2025-02-19 04:31:13] Production.INFO: isAdvanceSubscription - 1 [2025-02-19 04:31:13] Production.INFO: SubscriptionStartDate =2025-02-19 - SubscriptionEndDate = 2025-03-18 [2025-02-19 04:31:13] Production.INFO: NewNextChargeDate =2025-03-18 00:00:00 [2025-02-19 04:31:13] Production.INFO: EndDate =2025-02-18 00:00:00 [2025-02-19 04:31:13] Production.INFO: NewEndDate1 =2025-02-19 [2025-02-19 04:31:13] Production.INFO: SubscriptionDate [2025-02-19 04:31:13] Production.INFO: Array ( [StartDate] => 2025-02-19 [EndDate] => 2025-03-18 00:00:00 [AlreadyCharged] => 0 ) [2025-02-19 04:31:13] Production.INFO: AccountSubscription StartDate 2018-07-19 StartDate 2025-01-19 [2025-02-19 04:31:13] Production.INFO: SubscriptionID - 2025-02-19=====2025-03-18 00:00:00 [2025-02-19 04:31:13] Production.INFO: AccountSubscriptionID - 314 === 2018-07-19=====2026-02-19 [2025-02-19 04:31:13] Production.INFO: regular Advance Subscription [2025-02-19 04:31:13] Production.INFO: First Time False 2018-07-19 2025-02-19 [2025-02-19 04:31:13] Production.INFO: StartDate 2025-02-19 AccountSubscription->StartDate 2018-07-19 EndDate 2025-03-18 00:00:00 AccountSubscription->EndDate 2026-02-19 [2025-02-19 04:31:13] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-19 04:31:13] Production.INFO: AccountSubscription::getSubscriptionAmount(314,2025-02-19,2025-03-18 00:00:00,,0) [2025-02-19 04:31:13] Production.INFO: SubscriptionCharge - 10 [2025-02-19 04:31:13] Production.INFO: Already Invoice Subscription 0 [2025-02-19 04:31:13] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(78,1,1,2025-02-19,2025-03-18 00:00:00,License for a Pay As You Go Cloud Phone extension,10,10,1,314) [2025-02-19 04:31:13] Production.INFO: DiscountAmount 0.000000 [2025-02-19 04:31:13] Production.INFO: DiscountType [2025-02-19 04:31:13] Production.INFO: SubscriptionCharge 10 [2025-02-19 04:31:13] Production.INFO: New SubscriptionCharge 10 [2025-02-19 04:31:13] Production.INFO: TotalSubscriptionCharge - 10.00 [2025-02-19 04:31:13] Production.INFO: ============================Subscription End ================= [2025-02-19 04:31:13] Production.INFO: ============================Subscription Start ================= [2025-02-19 04:31:13] Production.INFO: SubscriptionID - 4 [2025-02-19 04:31:13] Production.INFO: isAdvanceSubscription - 4 [2025-02-19 04:31:13] Production.INFO: SubscriptionStartDate =2025-02-19 - SubscriptionEndDate = 2025-03-18 [2025-02-19 04:31:13] Production.INFO: NewNextChargeDate =2025-03-18 00:00:00 [2025-02-19 04:31:13] Production.INFO: EndDate =2025-02-18 00:00:00 [2025-02-19 04:31:13] Production.INFO: NewEndDate1 =2025-02-19 [2025-02-19 04:31:13] Production.INFO: SubscriptionDate [2025-02-19 04:31:13] Production.INFO: Array ( [StartDate] => 2025-02-19 [EndDate] => 2025-03-18 00:00:00 [AlreadyCharged] => 0 ) [2025-02-19 04:31:13] Production.INFO: AccountSubscription StartDate 2018-07-19 StartDate 2025-01-19 [2025-02-19 04:31:13] Production.INFO: SubscriptionID - 2025-02-19=====2025-03-18 00:00:00 [2025-02-19 04:31:13] Production.INFO: AccountSubscriptionID - 315 === 2018-07-19=====2026-02-19 [2025-02-19 04:31:13] Production.INFO: regular Advance Subscription [2025-02-19 04:31:13] Production.INFO: First Time False 2018-07-19 2025-02-19 [2025-02-19 04:31:13] Production.INFO: StartDate 2025-02-19 AccountSubscription->StartDate 2018-07-19 EndDate 2025-03-18 00:00:00 AccountSubscription->EndDate 2026-02-19 [2025-02-19 04:31:13] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-19 04:31:13] Production.INFO: AccountSubscription::getSubscriptionAmount(315,2025-02-19,2025-03-18 00:00:00,,0) [2025-02-19 04:31:13] Production.INFO: SubscriptionCharge - 2.5 [2025-02-19 04:31:13] Production.INFO: Already Invoice Subscription 0 [2025-02-19 04:31:13] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(78,1,4,2025-02-19,2025-03-18 00:00:00,e911 address registration (19052019009 - 50 Anderson Ave., Markham, ON L6E 1A6 Canada),2.5,2.5,1,315) [2025-02-19 04:31:13] Production.INFO: DiscountAmount 0.000000 [2025-02-19 04:31:13] Production.INFO: DiscountType [2025-02-19 04:31:13] Production.INFO: SubscriptionCharge 2.5 [2025-02-19 04:31:13] Production.INFO: New SubscriptionCharge 2.5 [2025-02-19 04:31:13] Production.INFO: TotalSubscriptionCharge - 2.50 [2025-02-19 04:31:13] Production.INFO: ============================Subscription End ================= [2025-02-19 04:31:13] Production.INFO: SUBSCRIPTION Over [2025-02-19 04:31:13] Production.INFO: Call prc_getAccountOneOffCharge(78,0,2025-01-19,2025-02-19 23:59:59) [2025-02-19 04:31:13] Production.INFO: AccountOneOffCharge 0 [2025-02-19 04:31:13] Production.INFO: AccountOneOffCharge Over [2025-02-19 04:31:13] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-02-19 04:31:13] Production.INFO: New UsageDates 2025-01-19 - 2025-02-18 23:59:59 [2025-02-19 04:31:13] Production.INFO: SubTotal 15.41 [2025-02-19 04:31:13] Production.INFO: SubTotalWithouttaxTotal 0 [2025-02-19 04:31:13] Production.INFO: AccountOneOffCharge Tax Over [2025-02-19 04:31:13] Production.INFO: TotalTax 2.0033 [2025-02-19 04:31:13] Production.INFO: InvoiceGrandTotal 17.4133 [2025-02-19 04:31:13] Production.INFO: InvoiceTaxAmount 2 [2025-02-19 04:31:13] Production.INFO: GrandTotal 17.41 [2025-02-19 04:31:13] Production.INFO: SubTotal 15.41 [2025-02-19 04:31:13] Production.INFO: TotalDue 17.41 [2025-02-19 04:31:13] Production.INFO: Reseller ==> 0 [2025-02-19 04:31:13] Production.INFO: original start date ==>2025-01-19 changed start date ==>2025-01-19 00:00:00 original end date ==>2025-02-18 23:59:59 changed end date ==>2025-02-18 23:59:59 [2025-02-19 04:31:13] Production.INFO: CALL prc_getInvoiceUsage(1,'78','0','1','2025-01-19 00:00:00','2025-02-18 23:59:59',0) [2025-02-19 04:31:13] Production.INFO: PDF Generation start [2025-02-19 04:31:13] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/78/Invoices/2025/02/19/Invoice-halcyon-travel-inv11565-from-01-19-2025-to-02-18-2025-10501.pdf [2025-02-19 04:31:13] Production.INFO: On Linux [2025-02-19 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/78/Invoices/2025/02/19/footer-halcyon-travel-inv11565-from-01-19-2025-to-02-18-2025-10501.html" "/var/www/tmp/1/78/Invoices/2025/02/19/Invoice-halcyon-travel-inv11565-from-01-19-2025-to-02-18-2025-10501.html" "/var/www/tmp/1/78/Invoices/2025/02/19/Invoice-halcyon-travel-inv11565-from-01-19-2025-to-02-18-2025-10501.pdf" [2025-02-19 04:31:15] Production.INFO: [2025-02-19 04:31:15] Production.INFO: /var/www/tmp/1/78/Invoices/2025/02/19/Invoice-halcyon-travel-inv11565-from-01-19-2025-to-02-18-2025-10501.html [2025-02-19 04:31:15] Production.INFO: /var/www/tmp/1/78/Invoices/2025/02/19/header-halcyon-travel-inv11565-from-01-19-2025-to-02-18-2025-10501.html [2025-02-19 04:31:15] Production.INFO: /var/www/tmp/1/78/Invoices/2025/02/19/footer-halcyon-travel-inv11565-from-01-19-2025-to-02-18-2025-10501.html [2025-02-19 04:31:15] Production.INFO: Invoice generation PDF path [2025-02-19 04:31:15] Production.INFO: PDF fullPath 1/78/Invoices/2025/02/19/Invoice-halcyon-travel-inv11565-from-01-19-2025-to-02-18-2025-10501.pdf [2025-02-19 04:31:15] Production.INFO: Generate Usage File Start [2025-02-19 04:31:15] Production.INFO: Usage File fullPath 1/78/InvoiceUsageFile/2025/02/19/halcyon-travel-19-01-2025-00-00-00-TO-18-02-2025-23-59-59_421__43e72450-eea4-11ef-9dac-757d496bf3c9.csv [2025-02-19 04:31:16] Production.INFO: Sending Email to Staff over [2025-02-19 04:31:16] Production.INFO: Email Status 1 [2025-02-19 04:31:16] Production.INFO: Sending Email to Customer [2025-02-19 04:31:17] Production.INFO: Email Try 10501 1 [2025-02-19 04:31:17] Production.INFO: =========== Email Sending over =========== [2025-02-19 04:31:17] Production.INFO: =========== Returning as Success =========== AccountID 78 [2025-02-19 04:31:17] Production.INFO: Invoice::sendInvoice done [2025-02-19 04:31:17] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-02-19 04:31:17] Production.INFO: Invoice Committed AccountID = 78 [2025-02-19 04:31:17] Production.INFO: =========== Updating InvoiceDate =========== [2025-02-19 04:31:17] Production.INFO: NextInvoice 2025-02-19 2025-03-18 [2025-02-19 04:31:17] Production.INFO: new dates [2025-02-19 04:31:17] Production.INFO: LastInvoiceDate 2025-02-19 NextInvoiceDate 2025-03-19 [2025-02-19 04:31:17] Production.INFO: LastChargeDate 2025-02-19 NextChargeDate 2025-03-18 [2025-02-19 04:31:17] Production.INFO: =========== Updated InvoiceDate =========== [2025-02-19 04:31:17] Production.INFO: ========================== Invoice Send End ============================= [2025-02-19 04:31:17] Production.INFO: AccountID =102 FirstInvoiceSend 0 [2025-02-19 04:31:17] Production.INFO: LastInvoiceDate 2025-01-19 NextInvoiceDate 2025-02-19 [2025-02-19 04:31:17] Production.INFO: LastChargeDate 2025-01-19 NextChargeDate 2025-02-18 [2025-02-19 04:31:17] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-02-19 04:31:17] Production.INFO: ========================== Invoice Send Start ============================= [2025-02-19 04:31:17] Production.INFO: Invoice::sendInvoice(1,102,2025-01-19,2025-02-19,billing@onswitchit.ca) [2025-02-19 04:31:17] Production.INFO: start Date =2025-01-19 EndDate =2025-02-18 23:59:59 [2025-02-19 04:31:17] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-02-19 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-19 04:31:17] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-02-19 04:31:17] Production.INFO: AlreadyBilled [2025-02-19 04:31:17] Production.INFO: Reseller ==> 0 [2025-02-19 04:31:17] Production.INFO: original start date ==>2025-01-19 changed start date ==>2025-01-19 02:00:00 original end date ==>2025-02-18 23:59:59 changed end date ==>2025-02-19 01:59:59 [2025-02-19 04:31:17] Production.INFO: Invoice::getAccountUsageTotal(1,102,2025-01-19,2025-02-18 23:59:59) [2025-02-19 04:31:17] Production.INFO: TotalCharges - 0 [2025-02-19 04:31:17] Production.INFO: TotalUsageCharges - 0.00 [2025-02-19 04:31:17] Production.INFO: Usage Over [2025-02-19 04:31:17] Production.INFO: Call prc_getAccountSubscription(102,0) [2025-02-19 04:31:17] Production.INFO: SUBSCRIPTION 3 [2025-02-19 04:31:17] Production.INFO: ============================Subscription Start ================= [2025-02-19 04:31:17] Production.INFO: SubscriptionID - 5 [2025-02-19 04:31:17] Production.INFO: isAdvanceSubscription - 5 [2025-02-19 04:31:17] Production.INFO: SubscriptionStartDate =2025-02-19 - SubscriptionEndDate = 2025-03-18 [2025-02-19 04:31:17] Production.INFO: NewNextChargeDate =2025-03-18 00:00:00 [2025-02-19 04:31:17] Production.INFO: EndDate =2025-02-18 00:00:00 [2025-02-19 04:31:17] Production.INFO: NewEndDate1 =2025-02-19 [2025-02-19 04:31:17] Production.INFO: SubscriptionDate [2025-02-19 04:31:17] Production.INFO: Array ( [StartDate] => 2025-02-19 [EndDate] => 2025-03-18 00:00:00 [AlreadyCharged] => 0 ) [2025-02-19 04:31:17] Production.INFO: AccountSubscription StartDate 2018-12-17 StartDate 2025-01-19 [2025-02-19 04:31:17] Production.INFO: SubscriptionID - 2025-02-19=====2025-03-18 00:00:00 [2025-02-19 04:31:17] Production.INFO: AccountSubscriptionID - 350 === 2018-12-17=====2026-02-19 [2025-02-19 04:31:17] Production.INFO: regular Advance Subscription [2025-02-19 04:31:17] Production.INFO: First Time False 2018-12-17 2025-02-19 [2025-02-19 04:31:17] Production.INFO: StartDate 2025-02-19 AccountSubscription->StartDate 2018-12-17 EndDate 2025-03-18 00:00:00 AccountSubscription->EndDate 2026-02-19 [2025-02-19 04:31:17] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-19 04:31:17] Production.INFO: AccountSubscription::getSubscriptionAmount(350,2025-02-19,2025-03-18 00:00:00,,0) [2025-02-19 04:31:17] Production.INFO: SubscriptionCharge - 75 [2025-02-19 04:31:17] Production.INFO: Already Invoice Subscription 0 [2025-02-19 04:31:17] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(102,1,5,2025-02-19,2025-03-18 00:00:00,Restaurant - 4 Line Flat Rate,75,75,1,350) [2025-02-19 04:31:17] Production.INFO: DiscountAmount 0.000000 [2025-02-19 04:31:17] Production.INFO: DiscountType [2025-02-19 04:31:17] Production.INFO: SubscriptionCharge 75 [2025-02-19 04:31:17] Production.INFO: New SubscriptionCharge 75 [2025-02-19 04:31:17] Production.INFO: TotalSubscriptionCharge - 75.00 [2025-02-19 04:31:17] Production.INFO: ============================Subscription End ================= [2025-02-19 04:31:17] Production.INFO: ============================Subscription Start ================= [2025-02-19 04:31:17] Production.INFO: SubscriptionID - 4 [2025-02-19 04:31:17] Production.INFO: isAdvanceSubscription - 4 [2025-02-19 04:31:17] Production.INFO: SubscriptionStartDate =2025-02-19 - SubscriptionEndDate = 2025-03-18 [2025-02-19 04:31:17] Production.INFO: NewNextChargeDate =2025-03-18 00:00:00 [2025-02-19 04:31:17] Production.INFO: EndDate =2025-02-18 00:00:00 [2025-02-19 04:31:17] Production.INFO: NewEndDate1 =2025-02-19 [2025-02-19 04:31:17] Production.INFO: SubscriptionDate [2025-02-19 04:31:17] Production.INFO: Array ( [StartDate] => 2025-02-19 [EndDate] => 2025-03-18 00:00:00 [AlreadyCharged] => 0 ) [2025-02-19 04:31:17] Production.INFO: AccountSubscription StartDate 2018-12-17 StartDate 2025-01-19 [2025-02-19 04:31:17] Production.INFO: SubscriptionID - 2025-02-19=====2025-03-18 00:00:00 [2025-02-19 04:31:17] Production.INFO: AccountSubscriptionID - 351 === 2018-12-17=====2026-02-19 [2025-02-19 04:31:17] Production.INFO: regular Advance Subscription [2025-02-19 04:31:17] Production.INFO: First Time False 2018-12-17 2025-02-19 [2025-02-19 04:31:17] Production.INFO: StartDate 2025-02-19 AccountSubscription->StartDate 2018-12-17 EndDate 2025-03-18 00:00:00 AccountSubscription->EndDate 2026-02-19 [2025-02-19 04:31:17] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-19 04:31:17] Production.INFO: AccountSubscription::getSubscriptionAmount(351,2025-02-19,2025-03-18 00:00:00,,0) [2025-02-19 04:31:17] Production.INFO: SubscriptionCharge - 0 [2025-02-19 04:31:17] Production.INFO: Already Invoice Subscription 0 [2025-02-19 04:31:17] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(102,1,4,2025-02-19,2025-03-18 00:00:00,e911 address registration (15876007700 - 2700 Main Street SE 360 Airdrie, AB T4B 2Y1 Canada),0,0,1,351) [2025-02-19 04:31:17] Production.INFO: DiscountAmount 0.000000 [2025-02-19 04:31:17] Production.INFO: DiscountType [2025-02-19 04:31:17] Production.INFO: SubscriptionCharge 0 [2025-02-19 04:31:17] Production.INFO: New SubscriptionCharge 0 [2025-02-19 04:31:17] Production.INFO: TotalSubscriptionCharge - 0.00 [2025-02-19 04:31:17] Production.INFO: ============================Subscription End ================= [2025-02-19 04:31:17] Production.INFO: ============================Subscription Start ================= [2025-02-19 04:31:17] Production.INFO: SubscriptionID - 11 [2025-02-19 04:31:17] Production.INFO: isAdvanceSubscription - 11 [2025-02-19 04:31:17] Production.INFO: SubscriptionStartDate =2025-02-19 - SubscriptionEndDate = 2025-03-18 [2025-02-19 04:31:17] Production.INFO: NewNextChargeDate =2025-03-18 00:00:00 [2025-02-19 04:31:17] Production.INFO: EndDate =2025-02-18 00:00:00 [2025-02-19 04:31:17] Production.INFO: NewEndDate1 =2025-02-19 [2025-02-19 04:31:17] Production.INFO: SubscriptionDate [2025-02-19 04:31:17] Production.INFO: Array ( [StartDate] => 2025-02-19 [EndDate] => 2025-03-18 00:00:00 [AlreadyCharged] => 0 ) [2025-02-19 04:31:17] Production.INFO: AccountSubscription StartDate 2019-05-20 StartDate 2025-01-19 [2025-02-19 04:31:17] Production.INFO: SubscriptionID - 2025-02-19=====2025-03-18 00:00:00 [2025-02-19 04:31:17] Production.INFO: AccountSubscriptionID - 419 === 2019-05-20=====2026-02-19 [2025-02-19 04:31:17] Production.INFO: regular Advance Subscription [2025-02-19 04:31:17] Production.INFO: First Time False 2019-05-20 2025-02-19 [2025-02-19 04:31:17] Production.INFO: StartDate 2025-02-19 AccountSubscription->StartDate 2019-05-20 EndDate 2025-03-18 00:00:00 AccountSubscription->EndDate 2026-02-19 [2025-02-19 04:31:17] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-19 04:31:17] Production.INFO: AccountSubscription::getSubscriptionAmount(419,2025-02-19,2025-03-18 00:00:00,,0) [2025-02-19 04:31:17] Production.INFO: SubscriptionCharge - -5 [2025-02-19 04:31:17] Production.INFO: Already Invoice Subscription 0 [2025-02-19 04:31:17] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(102,1,11,2025-02-19,2025-03-18 00:00:00,Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service,-15,-5,3,419) [2025-02-19 04:31:17] Production.INFO: DiscountAmount 0.000000 [2025-02-19 04:31:17] Production.INFO: DiscountType [2025-02-19 04:31:17] Production.INFO: SubscriptionCharge -15 [2025-02-19 04:31:17] Production.INFO: New SubscriptionCharge -15 [2025-02-19 04:31:17] Production.INFO: TotalSubscriptionCharge - -15.00 [2025-02-19 04:31:17] Production.INFO: ============================Subscription End ================= [2025-02-19 04:31:17] Production.INFO: SUBSCRIPTION Over [2025-02-19 04:31:17] Production.INFO: Call prc_getAccountOneOffCharge(102,0,2025-01-19,2025-02-19 23:59:59) [2025-02-19 04:31:17] Production.INFO: AccountOneOffCharge 0 [2025-02-19 04:31:17] Production.INFO: AccountOneOffCharge Over [2025-02-19 04:31:17] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-02-19 04:31:17] Production.INFO: New UsageDates 2025-01-19 - 2025-02-18 23:59:59 [2025-02-19 04:31:17] Production.INFO: SubTotal 60 [2025-02-19 04:31:17] Production.INFO: SubTotalWithouttaxTotal 0 [2025-02-19 04:31:17] Production.INFO: AccountOneOffCharge Tax Over [2025-02-19 04:31:17] Production.INFO: TotalTax 3 [2025-02-19 04:31:17] Production.INFO: InvoiceGrandTotal 63 [2025-02-19 04:31:17] Production.INFO: InvoiceTaxAmount 3 [2025-02-19 04:31:17] Production.INFO: GrandTotal 63 [2025-02-19 04:31:17] Production.INFO: SubTotal 60.00 [2025-02-19 04:31:17] Production.INFO: TotalDue 63.00 [2025-02-19 04:31:17] Production.INFO: Reseller ==> 0 [2025-02-19 04:31:17] Production.INFO: original start date ==>2025-01-19 changed start date ==>2025-01-19 02:00:00 original end date ==>2025-02-18 23:59:59 changed end date ==>2025-02-19 01:59:59 [2025-02-19 04:31:17] Production.INFO: CALL prc_getInvoiceUsage(1,'102','0','1','2025-01-19 02:00:00','2025-02-19 01:59:59',0) [2025-02-19 04:31:18] Production.INFO: PDF Generation start [2025-02-19 04:31:18] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/102/Invoices/2025/02/19/Invoice-dominos-39013-mudassar-zia-inv11566-from-01-19-2025-to-02-18-2025-10502.pdf [2025-02-19 04:31:18] Production.INFO: On Linux [2025-02-19 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/102/Invoices/2025/02/19/footer-dominos-39013-mudassar-zia-inv11566-from-01-19-2025-to-02-18-2025-10502.html" "/var/www/tmp/1/102/Invoices/2025/02/19/Invoice-dominos-39013-mudassar-zia-inv11566-from-01-19-2025-to-02-18-2025-10502.html" "/var/www/tmp/1/102/Invoices/2025/02/19/Invoice-dominos-39013-mudassar-zia-inv11566-from-01-19-2025-to-02-18-2025-10502.pdf" [2025-02-19 04:31:19] Production.INFO: [2025-02-19 04:31:19] Production.INFO: /var/www/tmp/1/102/Invoices/2025/02/19/Invoice-dominos-39013-mudassar-zia-inv11566-from-01-19-2025-to-02-18-2025-10502.html [2025-02-19 04:31:19] Production.INFO: /var/www/tmp/1/102/Invoices/2025/02/19/header-dominos-39013-mudassar-zia-inv11566-from-01-19-2025-to-02-18-2025-10502.html [2025-02-19 04:31:19] Production.INFO: /var/www/tmp/1/102/Invoices/2025/02/19/footer-dominos-39013-mudassar-zia-inv11566-from-01-19-2025-to-02-18-2025-10502.html [2025-02-19 04:31:19] Production.INFO: Invoice generation PDF path [2025-02-19 04:31:19] Production.INFO: PDF fullPath 1/102/Invoices/2025/02/19/Invoice-dominos-39013-mudassar-zia-inv11566-from-01-19-2025-to-02-18-2025-10502.pdf [2025-02-19 04:31:19] Production.INFO: Generate Usage File Start [2025-02-19 04:31:19] Production.INFO: Usage File fullPath 1/102/InvoiceUsageFile/2025/02/19/dominos-39013-mudassar-zia-19-01-2025-00-00-00-TO-18-02-2025-23-59-59_9468__468b38e0-eea4-11ef-af0f-93fdf428e4c5.csv [2025-02-19 04:31:20] Production.INFO: Sending Email to Staff over [2025-02-19 04:31:20] Production.INFO: Email Status 1 [2025-02-19 04:31:20] Production.INFO: Sending Email to Customer [2025-02-19 04:31:21] Production.INFO: Email Try 10502 1 [2025-02-19 04:31:21] Production.INFO: =========== Email Sending over =========== [2025-02-19 04:31:21] Production.INFO: =========== Returning as Success =========== AccountID 102 [2025-02-19 04:31:21] Production.INFO: Invoice::sendInvoice done [2025-02-19 04:31:21] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-02-19 04:31:21] Production.INFO: Invoice Committed AccountID = 102 [2025-02-19 04:31:21] Production.INFO: =========== Updating InvoiceDate =========== [2025-02-19 04:31:21] Production.INFO: NextInvoice 2025-02-19 2025-03-18 [2025-02-19 04:31:21] Production.INFO: new dates [2025-02-19 04:31:21] Production.INFO: LastInvoiceDate 2025-02-19 NextInvoiceDate 2025-03-19 [2025-02-19 04:31:21] Production.INFO: LastChargeDate 2025-02-19 NextChargeDate 2025-03-18 [2025-02-19 04:31:21] Production.INFO: =========== Updated InvoiceDate =========== [2025-02-19 04:31:21] Production.INFO: ========================== Invoice Send End ============================= [2025-02-19 04:31:21] Production.INFO: AccountID =108 FirstInvoiceSend 0 [2025-02-19 04:31:21] Production.INFO: LastInvoiceDate 2025-01-19 NextInvoiceDate 2025-02-19 [2025-02-19 04:31:21] Production.INFO: LastChargeDate 2025-01-19 NextChargeDate 2025-02-18 [2025-02-19 04:31:21] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-02-19 04:31:21] Production.INFO: ========================== Invoice Send Start ============================= [2025-02-19 04:31:21] Production.INFO: Invoice::sendInvoice(1,108,2025-01-19,2025-02-19,billing@onswitchit.ca) [2025-02-19 04:31:21] Production.INFO: start Date =2025-01-19 EndDate =2025-02-18 23:59:59 [2025-02-19 04:31:21] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-02-19 04:31:21] 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-19 04:31:21] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-02-19 04:31:21] Production.INFO: AlreadyBilled [2025-02-19 04:31:21] Production.INFO: Reseller ==> 0 [2025-02-19 04:31:21] Production.INFO: original start date ==>2025-01-19 changed start date ==>2025-01-19 00:00:00 original end date ==>2025-02-18 23:59:59 changed end date ==>2025-02-18 23:59:59 [2025-02-19 04:31:21] Production.INFO: Invoice::getAccountUsageTotal(1,108,2025-01-19,2025-02-18 23:59:59) [2025-02-19 04:31:21] Production.INFO: TotalCharges - 0 [2025-02-19 04:31:21] Production.INFO: TotalUsageCharges - 0.00 [2025-02-19 04:31:21] Production.INFO: Usage Over [2025-02-19 04:31:21] Production.INFO: Call prc_getAccountSubscription(108,0) [2025-02-19 04:31:21] Production.INFO: SUBSCRIPTION 2 [2025-02-19 04:31:21] Production.INFO: ============================Subscription Start ================= [2025-02-19 04:31:21] Production.INFO: SubscriptionID - 1 [2025-02-19 04:31:21] Production.INFO: isAdvanceSubscription - 1 [2025-02-19 04:31:21] Production.INFO: SubscriptionStartDate =2025-02-19 - SubscriptionEndDate = 2025-03-18 [2025-02-19 04:31:21] Production.INFO: NewNextChargeDate =2025-03-18 00:00:00 [2025-02-19 04:31:21] Production.INFO: EndDate =2025-02-18 00:00:00 [2025-02-19 04:31:21] Production.INFO: NewEndDate1 =2025-02-19 [2025-02-19 04:31:21] Production.INFO: SubscriptionDate [2025-02-19 04:31:21] Production.INFO: Array ( [StartDate] => 2025-02-19 [EndDate] => 2025-03-18 00:00:00 [AlreadyCharged] => 0 ) [2025-02-19 04:31:21] Production.INFO: AccountSubscription StartDate 2019-02-12 StartDate 2025-01-19 [2025-02-19 04:31:21] Production.INFO: SubscriptionID - 2025-02-19=====2025-03-18 00:00:00 [2025-02-19 04:31:21] Production.INFO: AccountSubscriptionID - 375 === 2019-02-12=====2026-02-19 [2025-02-19 04:31:21] Production.INFO: regular Advance Subscription [2025-02-19 04:31:21] Production.INFO: First Time False 2019-02-12 2025-02-19 [2025-02-19 04:31:21] Production.INFO: StartDate 2025-02-19 AccountSubscription->StartDate 2019-02-12 EndDate 2025-03-18 00:00:00 AccountSubscription->EndDate 2026-02-19 [2025-02-19 04:31:21] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-19 04:31:21] Production.INFO: AccountSubscription::getSubscriptionAmount(375,2025-02-19,2025-03-18 00:00:00,,0) [2025-02-19 04:31:21] Production.INFO: SubscriptionCharge - 10 [2025-02-19 04:31:21] Production.INFO: Already Invoice Subscription 0 [2025-02-19 04:31:21] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(108,1,1,2025-02-19,2025-03-18 00:00:00,License for a Pay As You Go Cloud Phone extension,10,10,1,375) [2025-02-19 04:31:21] Production.INFO: DiscountAmount 0.000000 [2025-02-19 04:31:21] Production.INFO: DiscountType [2025-02-19 04:31:21] Production.INFO: SubscriptionCharge 10 [2025-02-19 04:31:21] Production.INFO: New SubscriptionCharge 10 [2025-02-19 04:31:21] Production.INFO: TotalSubscriptionCharge - 10.00 [2025-02-19 04:31:21] Production.INFO: ============================Subscription End ================= [2025-02-19 04:31:21] Production.INFO: ============================Subscription Start ================= [2025-02-19 04:31:21] Production.INFO: SubscriptionID - 24 [2025-02-19 04:31:21] Production.INFO: SubscriptionID - 2025-01-19=====2025-02-18 [2025-02-19 04:31:21] Production.INFO: AccountSubscriptionID - 547 === 2020-10-08=====2026-02-19 [2025-02-19 04:31:21] Production.INFO: regular Subscription [2025-02-19 04:31:21] Production.INFO: First Time False 2020-10-08 2025-01-19 [2025-02-19 04:31:21] Production.INFO: StartDate 2025-01-19 AccountSubscription->StartDate 2020-10-08 EndDate 2025-02-18 AccountSubscription->EndDate 2026-02-19 [2025-02-19 04:31:21] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-02-19 04:31:21] Production.INFO: AccountSubscription::getSubscriptionAmount(547,2025-01-19,2025-02-18,,0) [2025-02-19 04:31:21] Production.INFO: SubscriptionCharge - -10 [2025-02-19 04:31:21] Production.INFO: Already Invoice Subscription 0 [2025-02-19 04:31:21] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(108,1,24,2025-01-19,2025-02-18,Discount - 100% (Approved by Xander Robar),-10,-10,1,547) [2025-02-19 04:31:21] Production.INFO: DiscountAmount 0.000000 [2025-02-19 04:31:21] Production.INFO: DiscountType [2025-02-19 04:31:21] Production.INFO: SubscriptionCharge -10 [2025-02-19 04:31:21] Production.INFO: New SubscriptionCharge -10 [2025-02-19 04:31:21] Production.INFO: TotalSubscriptionCharge - -10.00 [2025-02-19 04:31:21] Production.INFO: ============================Subscription End ================= [2025-02-19 04:31:21] Production.INFO: SUBSCRIPTION Over [2025-02-19 04:31:21] Production.INFO: Call prc_getAccountOneOffCharge(108,0,2025-01-19,2025-02-19 23:59:59) [2025-02-19 04:31:21] Production.INFO: AccountOneOffCharge 0 [2025-02-19 04:31:21] Production.INFO: AccountOneOffCharge Over [2025-02-19 04:31:21] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-02-19 04:31:21] Production.INFO: New UsageDates 2025-01-19 - 2025-02-18 23:59:59 [2025-02-19 04:31:21] Production.INFO: SubTotal 0 [2025-02-19 04:31:21] Production.INFO: SubTotalWithouttaxTotal 0 [2025-02-19 04:31:22] Production.INFO: AccountOneOffCharge Tax Over [2025-02-19 04:31:22] Production.INFO: TotalTax 0 [2025-02-19 04:31:22] Production.INFO: InvoiceGrandTotal 0 [2025-02-19 04:31:22] Production.INFO: InvoiceTaxAmount 0 [2025-02-19 04:31:22] Production.INFO: GrandTotal 0 [2025-02-19 04:31:22] Production.INFO: SubTotal 0.00 [2025-02-19 04:31:22] Production.INFO: TotalDue 0.00 [2025-02-19 04:31:22] Production.INFO: Reseller ==> 0 [2025-02-19 04:31:22] Production.INFO: original start date ==>2025-01-19 changed start date ==>2025-01-19 00:00:00 original end date ==>2025-02-18 23:59:59 changed end date ==>2025-02-18 23:59:59 [2025-02-19 04:31:22] Production.INFO: CALL prc_getInvoiceUsage(1,'108','0','1','2025-01-19 00:00:00','2025-02-18 23:59:59',0) [2025-02-19 04:31:22] Production.INFO: PDF Generation start [2025-02-19 04:31:22] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/108/Invoices/2025/02/19/Invoice-jamie-lauer-inv11567-from-01-19-2025-to-02-18-2025-10503.pdf [2025-02-19 04:31:22] Production.INFO: On Linux [2025-02-19 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/108/Invoices/2025/02/19/footer-jamie-lauer-inv11567-from-01-19-2025-to-02-18-2025-10503.html" "/var/www/tmp/1/108/Invoices/2025/02/19/Invoice-jamie-lauer-inv11567-from-01-19-2025-to-02-18-2025-10503.html" "/var/www/tmp/1/108/Invoices/2025/02/19/Invoice-jamie-lauer-inv11567-from-01-19-2025-to-02-18-2025-10503.pdf" [2025-02-19 04:31:23] Production.INFO: [2025-02-19 04:31:23] Production.INFO: /var/www/tmp/1/108/Invoices/2025/02/19/Invoice-jamie-lauer-inv11567-from-01-19-2025-to-02-18-2025-10503.html [2025-02-19 04:31:23] Production.INFO: /var/www/tmp/1/108/Invoices/2025/02/19/header-jamie-lauer-inv11567-from-01-19-2025-to-02-18-2025-10503.html [2025-02-19 04:31:23] Production.INFO: /var/www/tmp/1/108/Invoices/2025/02/19/footer-jamie-lauer-inv11567-from-01-19-2025-to-02-18-2025-10503.html [2025-02-19 04:31:23] Production.INFO: Invoice generation PDF path [2025-02-19 04:31:23] Production.INFO: PDF fullPath 1/108/Invoices/2025/02/19/Invoice-jamie-lauer-inv11567-from-01-19-2025-to-02-18-2025-10503.pdf [2025-02-19 04:31:23] Production.INFO: Generate Usage File Start [2025-02-19 04:31:23] Production.INFO: Usage File fullPath 1/108/InvoiceUsageFile/2025/02/19/jamie-lauer-19-01-2025-00-00-00-TO-18-02-2025-23-59-59_3689__489ceff0-eea4-11ef-a434-233e301dce0f.csv [2025-02-19 04:31:24] Production.INFO: Sending Email to Staff over [2025-02-19 04:31:24] Production.INFO: Email Status 1 [2025-02-19 04:31:24] Production.INFO: Sending Email to Customer [2025-02-19 04:31:24] Production.INFO: =========== Email Sending over =========== [2025-02-19 04:31:24] Production.INFO: =========== Returning as Success =========== AccountID 108 [2025-02-19 04:31:24] Production.INFO: Invoice::sendInvoice done [2025-02-19 04:31:24] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-02-19 04:31:24] Production.INFO: Invoice Committed AccountID = 108 [2025-02-19 04:31:24] Production.INFO: =========== Updating InvoiceDate =========== [2025-02-19 04:31:24] Production.INFO: NextInvoice 2025-02-19 2025-03-18 [2025-02-19 04:31:24] Production.INFO: new dates [2025-02-19 04:31:24] Production.INFO: LastInvoiceDate 2025-02-19 NextInvoiceDate 2025-03-19 [2025-02-19 04:31:24] Production.INFO: LastChargeDate 2025-02-19 NextChargeDate 2025-03-18 [2025-02-19 04:31:24] Production.INFO: =========== Updated InvoiceDate =========== [2025-02-19 04:31:24] Production.INFO: ========================== Invoice Send End ============================= [2025-02-19 04:31:24] Production.INFO: AccountID =143 FirstInvoiceSend 0 [2025-02-19 04:31:24] Production.INFO: LastInvoiceDate 2025-01-19 NextInvoiceDate 2025-02-19 [2025-02-19 04:31:24] Production.INFO: LastChargeDate 2025-01-19 NextChargeDate 2025-02-18 [2025-02-19 04:31:24] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-02-19 04:31:24] Production.INFO: ========================== Invoice Send Start ============================= [2025-02-19 04:31:24] Production.INFO: Invoice::sendInvoice(1,143,2025-01-19,2025-02-19,billing@onswitchit.ca) [2025-02-19 04:31:24] Production.INFO: start Date =2025-01-19 EndDate =2025-02-18 23:59:59 [2025-02-19 04:31:24] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-02-19 04:31:24] 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-19 04:31:24] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-02-19 04:31:24] Production.INFO: AlreadyBilled [2025-02-19 04:31:24] Production.INFO: Reseller ==> 0 [2025-02-19 04:31:24] Production.INFO: Invoice::getAccountUsageTotal(1,143,2025-01-19,2025-02-18 23:59:59) [2025-02-19 04:31:24] Production.INFO: TotalCharges - 0 [2025-02-19 04:31:24] Production.INFO: TotalUsageCharges - 0.00 [2025-02-19 04:31:24] Production.INFO: Usage Over [2025-02-19 04:31:24] Production.INFO: Call prc_getAccountSubscription(143,0) [2025-02-19 04:31:24] Production.INFO: SUBSCRIPTION 1 [2025-02-19 04:31:24] Production.INFO: ============================Subscription Start ================= [2025-02-19 04:31:24] Production.INFO: SubscriptionID - 7 [2025-02-19 04:31:24] Production.INFO: isAdvanceSubscription - 7 [2025-02-19 04:31:24] Production.INFO: SubscriptionStartDate =2025-02-19 - SubscriptionEndDate = 2025-03-18 [2025-02-19 04:31:24] Production.INFO: NewNextChargeDate =2025-03-18 00:00:00 [2025-02-19 04:31:24] Production.INFO: EndDate =2025-02-18 00:00:00 [2025-02-19 04:31:24] Production.INFO: NewEndDate1 =2025-02-19 [2025-02-19 04:31:24] Production.INFO: SubscriptionDate [2025-02-19 04:31:24] Production.INFO: Array ( [StartDate] => 2025-02-19 [EndDate] => 2025-03-18 00:00:00 [AlreadyCharged] => 0 ) [2025-02-19 04:31:24] Production.INFO: New Account Subscription Start [2025-02-19 04:31:24] Production.INFO: AccountSubscription StartDate 2020-12-19 StartDate 2025-01-19 [2025-02-19 04:31:24] Production.INFO: SubscriptionID - 2025-02-19=====2025-03-18 00:00:00 [2025-02-19 04:31:24] Production.INFO: AccountSubscriptionID - 558 === 2020-12-19=====2025-02-28 [2025-02-19 04:31:24] Production.INFO: advance charge for next month expiring subscription. [2025-02-19 04:31:24] Production.INFO: First Time False 2020-12-19 2025-02-19 [2025-02-19 04:31:24] Production.INFO: StartDate 2025-02-19 AccountSubscription->StartDate 2020-12-19 EndDate 2025-02-28 AccountSubscription->EndDate 2025-02-28 [2025-02-19 04:31:24] Production.INFO: days diff - 10 subscription days 28 quarter days 90 [2025-02-19 04:31:24] Production.INFO: AccountSubscription::getSubscriptionAmount(558,2025-02-19,2025-02-28,,0) [2025-02-19 04:31:24] Production.INFO: SubscriptionCharge - 2.7 [2025-02-19 04:31:24] Production.INFO: Already Invoice Subscription 0 [2025-02-19 04:31:24] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(143,2,7,2025-02-19,2025-02-28,Collaboration and productivity suite, managed by OnSwitch.,8.1,2.7,3,558) [2025-02-19 04:31:24] Production.INFO: DiscountAmount 0.000000 [2025-02-19 04:31:24] Production.INFO: DiscountType [2025-02-19 04:31:24] Production.INFO: SubscriptionCharge 8.1 [2025-02-19 04:31:24] Production.INFO: New SubscriptionCharge 8.1 [2025-02-19 04:31:24] Production.INFO: TotalSubscriptionCharge - 8.10 [2025-02-19 04:31:24] Production.INFO: ============================Subscription End ================= [2025-02-19 04:31:24] Production.INFO: SUBSCRIPTION Over [2025-02-19 04:31:24] Production.INFO: Call prc_getAccountOneOffCharge(143,0,2025-01-19,2025-02-19 23:59:59) [2025-02-19 04:31:24] Production.INFO: AccountOneOffCharge 0 [2025-02-19 04:31:24] Production.INFO: AccountOneOffCharge Over [2025-02-19 04:31:24] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-02-19 04:31:24] Production.INFO: New UsageDates 2025-01-19 - 2025-02-18 23:59:59 [2025-02-19 04:31:24] Production.INFO: SubTotal 8.1 [2025-02-19 04:31:24] Production.INFO: SubTotalWithouttaxTotal 0 [2025-02-19 04:31:24] Production.INFO: AccountOneOffCharge Tax Over [2025-02-19 04:31:24] Production.INFO: TotalTax 1.053 [2025-02-19 04:31:24] Production.INFO: InvoiceGrandTotal 9.153 [2025-02-19 04:31:24] Production.INFO: InvoiceTaxAmount 1.05 [2025-02-19 04:31:24] Production.INFO: GrandTotal 9.15 [2025-02-19 04:31:24] Production.INFO: SubTotal 8.10 [2025-02-19 04:31:24] Production.INFO: TotalDue 64.07 [2025-02-19 04:31:24] Production.INFO: Reseller ==> 0 [2025-02-19 04:31:24] Production.INFO: PDF Generation start [2025-02-19 04:31:24] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/143/Invoices/2025/02/19/Invoice-orange-contracting-inv11568-from-01-19-2025-to-02-18-2025-10504.pdf [2025-02-19 04:31:24] Production.INFO: On Linux [2025-02-19 04:31:25] 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/143/Invoices/2025/02/19/footer-orange-contracting-inv11568-from-01-19-2025-to-02-18-2025-10504.html" "/var/www/tmp/1/143/Invoices/2025/02/19/Invoice-orange-contracting-inv11568-from-01-19-2025-to-02-18-2025-10504.html" "/var/www/tmp/1/143/Invoices/2025/02/19/Invoice-orange-contracting-inv11568-from-01-19-2025-to-02-18-2025-10504.pdf" [2025-02-19 04:31:25] Production.INFO: [2025-02-19 04:31:25] Production.INFO: /var/www/tmp/1/143/Invoices/2025/02/19/Invoice-orange-contracting-inv11568-from-01-19-2025-to-02-18-2025-10504.html [2025-02-19 04:31:25] Production.INFO: /var/www/tmp/1/143/Invoices/2025/02/19/header-orange-contracting-inv11568-from-01-19-2025-to-02-18-2025-10504.html [2025-02-19 04:31:25] Production.INFO: /var/www/tmp/1/143/Invoices/2025/02/19/footer-orange-contracting-inv11568-from-01-19-2025-to-02-18-2025-10504.html [2025-02-19 04:31:25] Production.INFO: Invoice generation PDF path [2025-02-19 04:31:25] Production.INFO: PDF fullPath 1/143/Invoices/2025/02/19/Invoice-orange-contracting-inv11568-from-01-19-2025-to-02-18-2025-10504.pdf [2025-02-19 04:31:25] Production.INFO: Generate Usage File Start [2025-02-19 04:31:25] Production.INFO: Usage File fullPath 1/143/InvoiceUsageFile/2025/02/19/orange-contracting-19-01-2025-00-00-00-TO-18-02-2025-23-59-59_4726__49ed7550-eea4-11ef-8a4c-eb9cb82c885f.csv [2025-02-19 04:31:26] Production.INFO: Sending Email to Staff over [2025-02-19 04:31:26] Production.INFO: Email Status 1 [2025-02-19 04:31:26] Production.INFO: Sending Email to Customer [2025-02-19 04:31:27] Production.INFO: Email Try 10504 1 [2025-02-19 04:31:27] Production.INFO: =========== Email Sending over =========== [2025-02-19 04:31:27] Production.INFO: =========== Returning as Success =========== AccountID 143 [2025-02-19 04:31:27] Production.INFO: Invoice::sendInvoice done [2025-02-19 04:31:27] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-02-19 04:31:27] Production.INFO: Invoice Committed AccountID = 143 [2025-02-19 04:31:27] Production.INFO: =========== Updating InvoiceDate =========== [2025-02-19 04:31:27] Production.INFO: NextInvoice 2025-02-19 2025-03-18 [2025-02-19 04:31:27] Production.INFO: new dates [2025-02-19 04:31:27] Production.INFO: LastInvoiceDate 2025-02-19 NextInvoiceDate 2025-03-19 [2025-02-19 04:31:27] Production.INFO: LastChargeDate 2025-02-19 NextChargeDate 2025-03-18 [2025-02-19 04:31:27] Production.INFO: =========== Updated InvoiceDate =========== [2025-02-19 04:31:27] Production.INFO: ========================== Invoice Send End ============================= [2025-02-19 04:31:27] Production.INFO: ========================== Recurring invoice Start ============================= [2025-02-19 04:31:27] Production.INFO: recurring invoices ID [2025-02-19 04:31:27] Production.INFO: [2025-02-19 04:31:27] Production.INFO: recurring errorsArray ( ) [2025-02-19 04:31:27] Production.INFO: ========================== Recurring invoice End ============================= [2025-02-19 04:31:27] Production.INFO: ========================== Job Updated ============================= [2025-02-19 04:31:27] Production.INFO: ========================== Job Email Sent ============================= [2025-02-19 04:31:28] Production.ERROR: **Email Sent Status 1 [2025-02-19 04:31:28] Production.ERROR: **Email Sent message Email has been sent [2025-02-19 04:31:28] Production.ERROR: CronJobId end6 [2025-02-19 04:31:28] Production.INFO: ==5471== Releasing lock... [2025-02-19 04:31:28] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Stops# [2025-02-19 04:31:28] Production.INFO: 38.75 MB #Memory Used# [2025-02-19 14:17:04] Production.INFO: run by user 2 [2025-02-19 14:17:04] Production.INFO: Call prc_getBillingAccounts(1,2025-02-19,'','0') [2025-02-19 14:17:04] Production.INFO: Array ( ) [2025-02-19 14:17:04] Production.INFO: ========================== Recurring invoice Start ============================= [2025-02-19 14:17:04] Production.INFO: recurring invoices ID [2025-02-19 14:17:04] Production.INFO: [2025-02-19 14:17:04] Production.INFO: recurring errorsArray ( ) [2025-02-19 14:17:04] Production.INFO: ========================== Recurring invoice End ============================= [2025-02-19 14:17:04] Production.INFO: ========================== Job Updated ============================= [2025-02-19 14:17:06] Production.INFO: ========================== Job Email Sent ============================= [2025-02-19 14:17:06] Production.ERROR: **Email Sent Status 1 [2025-02-19 14:17:06] Production.ERROR: **Email Sent message Email has been sent [2025-02-19 14:17:06] Production.ERROR: CronJobId end6 [2025-02-19 14:17:06] Production.INFO: ==20121== Releasing lock... [2025-02-19 14:17:06] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Stops# [2025-02-19 14:17:06] Production.INFO: 29.5 MB #Memory Used#