[2025-01-06 04:30:04] Production.INFO: Call prc_getBillingAccounts(1,2025-01-06,'','0') [2025-01-06 04:30:04] Production.INFO: Array ( [0] => stdClass Object ( [AccountID] => 124 [NextInvoiceDate] => 2025-01-06 [AccountName] => Dominos 39009 (Mudassar Zia) [ServiceID] => 0 ) [1] => stdClass Object ( [AccountID] => 153 [NextInvoiceDate] => 2025-01-06 [AccountName] => Dominos 10191 (Chandresh Patel) [ServiceID] => 0 ) [2] => stdClass Object ( [AccountID] => 154 [NextInvoiceDate] => 2025-01-06 [AccountName] => Dominos 10385 (Sandeep Chaudhari) [ServiceID] => 0 ) [3] => stdClass Object ( [AccountID] => 206 [NextInvoiceDate] => 2025-01-06 [AccountName] => G4 Jobs [ServiceID] => 0 ) [4] => stdClass Object ( [AccountID] => 207 [NextInvoiceDate] => 2025-01-06 [AccountName] => Garage Doors 4U [ServiceID] => 0 ) ) [2025-01-06 04:30:04] Production.INFO: AccountID =124 FirstInvoiceSend 0 [2025-01-06 04:30:04] Production.INFO: LastInvoiceDate 2024-12-06 NextInvoiceDate 2025-01-06 [2025-01-06 04:30:04] Production.INFO: LastChargeDate 2024-12-06 NextChargeDate 2025-01-05 [2025-01-06 04:30:04] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-01-06 04:30:04] Production.INFO: ========================== Invoice Send Start ============================= [2025-01-06 04:30:04] Production.INFO: Invoice::sendInvoice(1,124,2024-12-06,2025-01-06,billing@onswitchit.ca) [2025-01-06 04:30:04] Production.INFO: start Date =2024-12-06 EndDate =2025-01-05 23:59:59 [2025-01-06 04:30:04] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-01-06 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-06 04:30:04] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-01-06 04:30:04] Production.INFO: AlreadyBilled [2025-01-06 04:30:04] Production.INFO: Reseller ==> 0 [2025-01-06 04:30:04] Production.INFO: original start date ==>2024-12-06 changed start date ==>2024-12-06 02:00:00 original end date ==>2025-01-05 23:59:59 changed end date ==>2025-01-06 01:59:59 [2025-01-06 04:30:04] Production.INFO: Invoice::getAccountUsageTotal(1,124,2024-12-06,2025-01-05 23:59:59) [2025-01-06 04:30:04] Production.INFO: TotalCharges - 0 [2025-01-06 04:30:04] Production.INFO: TotalUsageCharges - 0.00 [2025-01-06 04:30:04] Production.INFO: Usage Over [2025-01-06 04:30:04] Production.INFO: Call prc_getAccountSubscription(124,0) [2025-01-06 04:30:04] Production.INFO: SUBSCRIPTION 3 [2025-01-06 04:30:04] Production.INFO: ============================Subscription Start ================= [2025-01-06 04:30:04] Production.INFO: SubscriptionID - 5 [2025-01-06 04:30:04] Production.INFO: isAdvanceSubscription - 5 [2025-01-06 04:30:04] Production.INFO: SubscriptionStartDate =2025-01-06 - SubscriptionEndDate = 2025-02-05 [2025-01-06 04:30:04] Production.INFO: NewNextChargeDate =2025-02-05 00:00:00 [2025-01-06 04:30:04] Production.INFO: EndDate =2025-01-05 00:00:00 [2025-01-06 04:30:04] Production.INFO: NewEndDate1 =2025-01-06 [2025-01-06 04:30:04] Production.INFO: SubscriptionDate [2025-01-06 04:30:04] Production.INFO: Array ( [StartDate] => 2025-01-06 [EndDate] => 2025-02-05 00:00:00 [AlreadyCharged] => 0 ) [2025-01-06 04:30:04] Production.INFO: AccountSubscription StartDate 2019-10-04 StartDate 2024-12-06 [2025-01-06 04:30:04] Production.INFO: SubscriptionID - 2025-01-06=====2025-02-05 00:00:00 [2025-01-06 04:30:04] Production.INFO: AccountSubscriptionID - 432 === 2019-10-04=====2026-01-06 [2025-01-06 04:30:04] Production.INFO: regular Advance Subscription [2025-01-06 04:30:04] Production.INFO: First Time False 2019-10-04 2025-01-06 [2025-01-06 04:30:04] Production.INFO: StartDate 2025-01-06 AccountSubscription->StartDate 2019-10-04 EndDate 2025-02-05 00:00:00 AccountSubscription->EndDate 2026-01-06 [2025-01-06 04:30:04] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-06 04:30:04] Production.INFO: AccountSubscription::getSubscriptionAmount(432,2025-01-06,2025-02-05 00:00:00,,0) [2025-01-06 04:30:04] Production.INFO: SubscriptionCharge - 75 [2025-01-06 04:30:04] Production.INFO: Already Invoice Subscription 0 [2025-01-06 04:30:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(124,1,5,2025-01-06,2025-02-05 00:00:00,Restaurant - 4 Line Flat Rate,75,75,1,432) [2025-01-06 04:30:04] Production.INFO: DiscountAmount 0.000000 [2025-01-06 04:30:04] Production.INFO: DiscountType [2025-01-06 04:30:04] Production.INFO: SubscriptionCharge 75 [2025-01-06 04:30:04] Production.INFO: New SubscriptionCharge 75 [2025-01-06 04:30:04] Production.INFO: TotalSubscriptionCharge - 75.00 [2025-01-06 04:30:04] Production.INFO: ============================Subscription End ================= [2025-01-06 04:30:04] Production.INFO: ============================Subscription Start ================= [2025-01-06 04:30:04] Production.INFO: SubscriptionID - 4 [2025-01-06 04:30:04] Production.INFO: isAdvanceSubscription - 4 [2025-01-06 04:30:04] Production.INFO: SubscriptionStartDate =2025-01-06 - SubscriptionEndDate = 2025-02-05 [2025-01-06 04:30:04] Production.INFO: NewNextChargeDate =2025-02-05 00:00:00 [2025-01-06 04:30:04] Production.INFO: EndDate =2025-01-05 00:00:00 [2025-01-06 04:30:04] Production.INFO: NewEndDate1 =2025-01-06 [2025-01-06 04:30:04] Production.INFO: SubscriptionDate [2025-01-06 04:30:04] Production.INFO: Array ( [StartDate] => 2025-01-06 [EndDate] => 2025-02-05 00:00:00 [AlreadyCharged] => 0 ) [2025-01-06 04:30:04] Production.INFO: AccountSubscription StartDate 2019-10-04 StartDate 2024-12-06 [2025-01-06 04:30:04] Production.INFO: SubscriptionID - 2025-01-06=====2025-02-05 00:00:00 [2025-01-06 04:30:04] Production.INFO: AccountSubscriptionID - 433 === 2019-10-04=====2026-01-06 [2025-01-06 04:30:04] Production.INFO: regular Advance Subscription [2025-01-06 04:30:04] Production.INFO: First Time False 2019-10-04 2025-01-06 [2025-01-06 04:30:04] Production.INFO: StartDate 2025-01-06 AccountSubscription->StartDate 2019-10-04 EndDate 2025-02-05 00:00:00 AccountSubscription->EndDate 2026-01-06 [2025-01-06 04:30:04] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-06 04:30:04] Production.INFO: AccountSubscription::getSubscriptionAmount(433,2025-01-06,2025-02-05 00:00:00,,0) [2025-01-06 04:30:04] Production.INFO: SubscriptionCharge - 2.5 [2025-01-06 04:30:04] Production.INFO: Already Invoice Subscription 0 [2025-01-06 04:30:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(124,1,4,2025-01-06,2025-02-05 00:00:00,e911 address registration (14039819191 - 104 River Heights Blvd 4A Cochrane, AB T4C 2T8 Canada),2.5,2.5,1,433) [2025-01-06 04:30:04] Production.INFO: DiscountAmount 0.000000 [2025-01-06 04:30:04] Production.INFO: DiscountType [2025-01-06 04:30:04] Production.INFO: SubscriptionCharge 2.5 [2025-01-06 04:30:04] Production.INFO: New SubscriptionCharge 2.5 [2025-01-06 04:30:04] Production.INFO: TotalSubscriptionCharge - 2.50 [2025-01-06 04:30:04] Production.INFO: ============================Subscription End ================= [2025-01-06 04:30:04] Production.INFO: ============================Subscription Start ================= [2025-01-06 04:30:04] Production.INFO: SubscriptionID - 11 [2025-01-06 04:30:04] Production.INFO: isAdvanceSubscription - 11 [2025-01-06 04:30:04] Production.INFO: SubscriptionStartDate =2025-01-06 - SubscriptionEndDate = 2025-02-05 [2025-01-06 04:30:04] Production.INFO: NewNextChargeDate =2025-02-05 00:00:00 [2025-01-06 04:30:04] Production.INFO: EndDate =2025-01-05 00:00:00 [2025-01-06 04:30:04] Production.INFO: NewEndDate1 =2025-01-06 [2025-01-06 04:30:04] Production.INFO: SubscriptionDate [2025-01-06 04:30:04] Production.INFO: Array ( [StartDate] => 2025-01-06 [EndDate] => 2025-02-05 00:00:00 [AlreadyCharged] => 0 ) [2025-01-06 04:30:04] Production.INFO: AccountSubscription StartDate 2019-10-04 StartDate 2024-12-06 [2025-01-06 04:30:04] Production.INFO: SubscriptionID - 2025-01-06=====2025-02-05 00:00:00 [2025-01-06 04:30:04] Production.INFO: AccountSubscriptionID - 434 === 2019-10-04=====2026-01-06 [2025-01-06 04:30:04] Production.INFO: regular Advance Subscription [2025-01-06 04:30:04] Production.INFO: First Time False 2019-10-04 2025-01-06 [2025-01-06 04:30:04] Production.INFO: StartDate 2025-01-06 AccountSubscription->StartDate 2019-10-04 EndDate 2025-02-05 00:00:00 AccountSubscription->EndDate 2026-01-06 [2025-01-06 04:30:04] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-06 04:30:04] Production.INFO: AccountSubscription::getSubscriptionAmount(434,2025-01-06,2025-02-05 00:00:00,,0) [2025-01-06 04:30:04] Production.INFO: SubscriptionCharge - -5 [2025-01-06 04:30:04] Production.INFO: Already Invoice Subscription 0 [2025-01-06 04:30:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(124,1,11,2025-01-06,2025-02-05 00:00:00,Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service,-15,-5,3,434) [2025-01-06 04:30:04] Production.INFO: DiscountAmount 0.000000 [2025-01-06 04:30:04] Production.INFO: DiscountType [2025-01-06 04:30:04] Production.INFO: SubscriptionCharge -15 [2025-01-06 04:30:04] Production.INFO: New SubscriptionCharge -15 [2025-01-06 04:30:04] Production.INFO: TotalSubscriptionCharge - -15.00 [2025-01-06 04:30:04] Production.INFO: ============================Subscription End ================= [2025-01-06 04:30:04] Production.INFO: SUBSCRIPTION Over [2025-01-06 04:30:04] Production.INFO: Call prc_getAccountOneOffCharge(124,0,2024-12-06,2025-01-06 23:59:59) [2025-01-06 04:30:04] Production.INFO: AccountOneOffCharge 0 [2025-01-06 04:30:04] Production.INFO: AccountOneOffCharge Over [2025-01-06 04:30:04] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-01-06 04:30:04] Production.INFO: New UsageDates 2024-12-06 - 2025-01-05 23:59:59 [2025-01-06 04:30:04] Production.INFO: SubTotal 62.5 [2025-01-06 04:30:04] Production.INFO: SubTotalWithouttaxTotal 0 [2025-01-06 04:30:04] Production.INFO: AccountOneOffCharge Tax Over [2025-01-06 04:30:04] Production.INFO: TotalTax 3.125 [2025-01-06 04:30:04] Production.INFO: InvoiceGrandTotal 65.625 [2025-01-06 04:30:04] Production.INFO: InvoiceTaxAmount 3.13 [2025-01-06 04:30:04] Production.INFO: GrandTotal 65.63 [2025-01-06 04:30:04] Production.INFO: SubTotal 62.50 [2025-01-06 04:30:04] Production.INFO: TotalDue 65.63 [2025-01-06 04:30:04] Production.INFO: Reseller ==> 0 [2025-01-06 04:30:04] Production.INFO: original start date ==>2024-12-06 changed start date ==>2024-12-06 02:00:00 original end date ==>2025-01-05 23:59:59 changed end date ==>2025-01-06 01:59:59 [2025-01-06 04:30:04] Production.INFO: CALL prc_getInvoiceUsage(1,'124','0','1','2024-12-06 02:00:00','2025-01-06 01:59:59',0) [2025-01-06 04:30:04] Production.INFO: PDF Generation start [2025-01-06 04:30:05] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/124/Invoices/2025/01/06/Invoice-dominos-39009-mudassar-zia-inv11316-from-12-06-2024-to-01-05-2025-10241.pdf [2025-01-06 04:30:05] Production.INFO: On Linux [2025-01-06 04:30: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/124/Invoices/2025/01/06/footer-dominos-39009-mudassar-zia-inv11316-from-12-06-2024-to-01-05-2025-10241.html" "/var/www/tmp/1/124/Invoices/2025/01/06/Invoice-dominos-39009-mudassar-zia-inv11316-from-12-06-2024-to-01-05-2025-10241.html" "/var/www/tmp/1/124/Invoices/2025/01/06/Invoice-dominos-39009-mudassar-zia-inv11316-from-12-06-2024-to-01-05-2025-10241.pdf" [2025-01-06 04:30:06] Production.INFO: [2025-01-06 04:30:06] Production.INFO: /var/www/tmp/1/124/Invoices/2025/01/06/Invoice-dominos-39009-mudassar-zia-inv11316-from-12-06-2024-to-01-05-2025-10241.html [2025-01-06 04:30:06] Production.INFO: /var/www/tmp/1/124/Invoices/2025/01/06/header-dominos-39009-mudassar-zia-inv11316-from-12-06-2024-to-01-05-2025-10241.html [2025-01-06 04:30:06] Production.INFO: /var/www/tmp/1/124/Invoices/2025/01/06/footer-dominos-39009-mudassar-zia-inv11316-from-12-06-2024-to-01-05-2025-10241.html [2025-01-06 04:30:06] Production.INFO: Invoice generation PDF path [2025-01-06 04:30:06] Production.INFO: PDF fullPath 1/124/Invoices/2025/01/06/Invoice-dominos-39009-mudassar-zia-inv11316-from-12-06-2024-to-01-05-2025-10241.pdf [2025-01-06 04:30:06] Production.INFO: Generate Usage File Start [2025-01-06 04:30:06] Production.INFO: Usage File fullPath 1/124/InvoiceUsageFile/2025/01/06/dominos-39009-mudassar-zia-06-12-2024-00-00-00-TO-05-01-2025-23-59-59_6638__d0decc90-cc10-11ef-8cde-75dd05a1b679.csv [2025-01-06 04:30:08] Production.INFO: Sending Email to Staff over [2025-01-06 04:30:08] Production.INFO: Email Status 1 [2025-01-06 04:30:08] Production.INFO: Sending Email to Customer [2025-01-06 04:30:09] Production.INFO: Email Try 10241 1 [2025-01-06 04:30:09] Production.INFO: =========== Email Sending over =========== [2025-01-06 04:30:09] Production.INFO: =========== Returning as Success =========== AccountID 124 [2025-01-06 04:30:09] Production.INFO: Invoice::sendInvoice done [2025-01-06 04:30:09] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-01-06 04:30:09] Production.INFO: Invoice Committed AccountID = 124 [2025-01-06 04:30:09] Production.INFO: =========== Updating InvoiceDate =========== [2025-01-06 04:30:09] Production.INFO: NextInvoice 2025-01-06 2025-02-05 [2025-01-06 04:30:09] Production.INFO: new dates [2025-01-06 04:30:09] Production.INFO: LastInvoiceDate 2025-01-06 NextInvoiceDate 2025-02-06 [2025-01-06 04:30:09] Production.INFO: LastChargeDate 2025-01-06 NextChargeDate 2025-02-05 [2025-01-06 04:30:09] Production.INFO: =========== Updated InvoiceDate =========== [2025-01-06 04:30:09] Production.INFO: ========================== Invoice Send End ============================= [2025-01-06 04:30:09] Production.INFO: AccountID =153 FirstInvoiceSend 0 [2025-01-06 04:30:09] Production.INFO: LastInvoiceDate 2024-12-06 NextInvoiceDate 2025-01-06 [2025-01-06 04:30:09] Production.INFO: LastChargeDate 2024-12-06 NextChargeDate 2025-01-05 [2025-01-06 04:30:09] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-01-06 04:30:09] Production.INFO: ========================== Invoice Send Start ============================= [2025-01-06 04:30:09] Production.INFO: Invoice::sendInvoice(1,153,2024-12-06,2025-01-06,billing@onswitchit.ca) [2025-01-06 04:30:09] Production.INFO: start Date =2024-12-06 EndDate =2025-01-05 23:59:59 [2025-01-06 04:30:09] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-01-06 04:30:09] Production.INFO: InvoiceTemplate->Terms =



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


[2025-01-06 04:30:09] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-01-06 04:30:09] Production.INFO: AlreadyBilled [2025-01-06 04:30:09] Production.INFO: Reseller ==> 0 [2025-01-06 04:30:09] Production.INFO: original start date ==>2024-12-06 changed start date ==>2024-12-06 02:00:00 original end date ==>2025-01-05 23:59:59 changed end date ==>2025-01-06 01:59:59 [2025-01-06 04:30:09] Production.INFO: Invoice::getAccountUsageTotal(1,153,2024-12-06,2025-01-05 23:59:59) [2025-01-06 04:30:09] Production.INFO: TotalCharges - 0 [2025-01-06 04:30:09] Production.INFO: TotalUsageCharges - 0.00 [2025-01-06 04:30:09] Production.INFO: Usage Over [2025-01-06 04:30:09] Production.INFO: Call prc_getAccountSubscription(153,0) [2025-01-06 04:30:09] Production.INFO: SUBSCRIPTION 3 [2025-01-06 04:30:09] Production.INFO: ============================Subscription Start ================= [2025-01-06 04:30:09] Production.INFO: SubscriptionID - 5 [2025-01-06 04:30:09] Production.INFO: isAdvanceSubscription - 5 [2025-01-06 04:30:09] Production.INFO: SubscriptionStartDate =2025-01-06 - SubscriptionEndDate = 2025-02-05 [2025-01-06 04:30:09] Production.INFO: NewNextChargeDate =2025-02-05 00:00:00 [2025-01-06 04:30:09] Production.INFO: EndDate =2025-01-05 00:00:00 [2025-01-06 04:30:09] Production.INFO: NewEndDate1 =2025-01-06 [2025-01-06 04:30:09] Production.INFO: SubscriptionDate [2025-01-06 04:30:09] Production.INFO: Array ( [StartDate] => 2025-01-06 [EndDate] => 2025-02-05 00:00:00 [AlreadyCharged] => 0 ) [2025-01-06 04:30:09] Production.INFO: AccountSubscription StartDate 2021-07-05 StartDate 2024-12-06 [2025-01-06 04:30:09] Production.INFO: SubscriptionID - 2025-01-06=====2025-02-05 00:00:00 [2025-01-06 04:30:09] Production.INFO: AccountSubscriptionID - 607 === 2021-07-05=====2026-01-06 [2025-01-06 04:30:09] Production.INFO: regular Advance Subscription [2025-01-06 04:30:09] Production.INFO: First Time False 2021-07-05 2025-01-06 [2025-01-06 04:30:09] Production.INFO: StartDate 2025-01-06 AccountSubscription->StartDate 2021-07-05 EndDate 2025-02-05 00:00:00 AccountSubscription->EndDate 2026-01-06 [2025-01-06 04:30:09] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-06 04:30:09] Production.INFO: AccountSubscription::getSubscriptionAmount(607,2025-01-06,2025-02-05 00:00:00,,0) [2025-01-06 04:30:09] Production.INFO: SubscriptionCharge - 75 [2025-01-06 04:30:09] Production.INFO: Already Invoice Subscription 0 [2025-01-06 04:30:09] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(153,1,5,2025-01-06,2025-02-05 00:00:00,Restaurant - 4 Line Flat Rate,75,75,1,607) [2025-01-06 04:30:09] Production.INFO: DiscountAmount 0.000000 [2025-01-06 04:30:09] Production.INFO: DiscountType [2025-01-06 04:30:09] Production.INFO: SubscriptionCharge 75 [2025-01-06 04:30:09] Production.INFO: New SubscriptionCharge 75 [2025-01-06 04:30:09] Production.INFO: TotalSubscriptionCharge - 75.00 [2025-01-06 04:30:09] Production.INFO: ============================Subscription End ================= [2025-01-06 04:30:09] Production.INFO: ============================Subscription Start ================= [2025-01-06 04:30:09] Production.INFO: SubscriptionID - 11 [2025-01-06 04:30:09] Production.INFO: isAdvanceSubscription - 11 [2025-01-06 04:30:09] Production.INFO: SubscriptionStartDate =2025-01-06 - SubscriptionEndDate = 2025-02-05 [2025-01-06 04:30:09] Production.INFO: NewNextChargeDate =2025-02-05 00:00:00 [2025-01-06 04:30:09] Production.INFO: EndDate =2025-01-05 00:00:00 [2025-01-06 04:30:09] Production.INFO: NewEndDate1 =2025-01-06 [2025-01-06 04:30:09] Production.INFO: SubscriptionDate [2025-01-06 04:30:09] Production.INFO: Array ( [StartDate] => 2025-01-06 [EndDate] => 2025-02-05 00:00:00 [AlreadyCharged] => 0 ) [2025-01-06 04:30:09] Production.INFO: AccountSubscription StartDate 2021-07-05 StartDate 2024-12-06 [2025-01-06 04:30:09] Production.INFO: SubscriptionID - 2025-01-06=====2025-02-05 00:00:00 [2025-01-06 04:30:09] Production.INFO: AccountSubscriptionID - 608 === 2021-07-05=====2026-01-06 [2025-01-06 04:30:09] Production.INFO: regular Advance Subscription [2025-01-06 04:30:09] Production.INFO: First Time False 2021-07-05 2025-01-06 [2025-01-06 04:30:09] Production.INFO: StartDate 2025-01-06 AccountSubscription->StartDate 2021-07-05 EndDate 2025-02-05 00:00:00 AccountSubscription->EndDate 2026-01-06 [2025-01-06 04:30:09] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-06 04:30:09] Production.INFO: AccountSubscription::getSubscriptionAmount(608,2025-01-06,2025-02-05 00:00:00,,0) [2025-01-06 04:30:09] Production.INFO: SubscriptionCharge - -25 [2025-01-06 04:30:09] Production.INFO: Already Invoice Subscription 0 [2025-01-06 04:30:09] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(153,1,11,2025-01-06,2025-02-05 00:00:00,Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service,-25,-25,1,608) [2025-01-06 04:30:09] Production.INFO: DiscountAmount 0.000000 [2025-01-06 04:30:09] Production.INFO: DiscountType [2025-01-06 04:30:09] Production.INFO: SubscriptionCharge -25 [2025-01-06 04:30:09] Production.INFO: New SubscriptionCharge -25 [2025-01-06 04:30:09] Production.INFO: TotalSubscriptionCharge - -25.00 [2025-01-06 04:30:09] Production.INFO: ============================Subscription End ================= [2025-01-06 04:30:09] Production.INFO: ============================Subscription Start ================= [2025-01-06 04:30:09] Production.INFO: SubscriptionID - 4 [2025-01-06 04:30:09] Production.INFO: isAdvanceSubscription - 4 [2025-01-06 04:30:09] Production.INFO: SubscriptionStartDate =2025-01-06 - SubscriptionEndDate = 2025-02-05 [2025-01-06 04:30:09] Production.INFO: NewNextChargeDate =2025-02-05 00:00:00 [2025-01-06 04:30:09] Production.INFO: EndDate =2025-01-05 00:00:00 [2025-01-06 04:30:09] Production.INFO: NewEndDate1 =2025-01-06 [2025-01-06 04:30:09] Production.INFO: SubscriptionDate [2025-01-06 04:30:09] Production.INFO: Array ( [StartDate] => 2025-01-06 [EndDate] => 2025-02-05 00:00:00 [AlreadyCharged] => 0 ) [2025-01-06 04:30:09] Production.INFO: AccountSubscription StartDate 2021-07-05 StartDate 2024-12-06 [2025-01-06 04:30:09] Production.INFO: SubscriptionID - 2025-01-06=====2025-02-05 00:00:00 [2025-01-06 04:30:09] Production.INFO: AccountSubscriptionID - 609 === 2021-07-05=====2026-01-06 [2025-01-06 04:30:09] Production.INFO: regular Advance Subscription [2025-01-06 04:30:09] Production.INFO: First Time False 2021-07-05 2025-01-06 [2025-01-06 04:30:09] Production.INFO: StartDate 2025-01-06 AccountSubscription->StartDate 2021-07-05 EndDate 2025-02-05 00:00:00 AccountSubscription->EndDate 2026-01-06 [2025-01-06 04:30:09] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-06 04:30:09] Production.INFO: AccountSubscription::getSubscriptionAmount(609,2025-01-06,2025-02-05 00:00:00,,0) [2025-01-06 04:30:09] Production.INFO: SubscriptionCharge - 2.5 [2025-01-06 04:30:09] Production.INFO: Already Invoice Subscription 0 [2025-01-06 04:30:09] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(153,1,4,2025-01-06,2025-02-05 00:00:00,e911 address registration (17809689999 - 3919 49 Ave, Unit 121, Stony Plain, AB T7Z2J7),2.5,2.5,1,609) [2025-01-06 04:30:09] Production.INFO: DiscountAmount 0.000000 [2025-01-06 04:30:09] Production.INFO: DiscountType [2025-01-06 04:30:09] Production.INFO: SubscriptionCharge 2.5 [2025-01-06 04:30:09] Production.INFO: New SubscriptionCharge 2.5 [2025-01-06 04:30:09] Production.INFO: TotalSubscriptionCharge - 2.50 [2025-01-06 04:30:09] Production.INFO: ============================Subscription End ================= [2025-01-06 04:30:09] Production.INFO: SUBSCRIPTION Over [2025-01-06 04:30:09] Production.INFO: Call prc_getAccountOneOffCharge(153,0,2024-12-06,2025-01-06 23:59:59) [2025-01-06 04:30:09] Production.INFO: AccountOneOffCharge 0 [2025-01-06 04:30:09] Production.INFO: AccountOneOffCharge Over [2025-01-06 04:30:09] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-01-06 04:30:09] Production.INFO: New UsageDates 2024-12-06 - 2025-01-05 23:59:59 [2025-01-06 04:30:09] Production.INFO: SubTotal 52.5 [2025-01-06 04:30:09] Production.INFO: SubTotalWithouttaxTotal 0 [2025-01-06 04:30:09] Production.INFO: AccountOneOffCharge Tax Over [2025-01-06 04:30:09] Production.INFO: TotalTax 2.625 [2025-01-06 04:30:09] Production.INFO: InvoiceGrandTotal 55.125 [2025-01-06 04:30:09] Production.INFO: InvoiceTaxAmount 2.63 [2025-01-06 04:30:09] Production.INFO: GrandTotal 55.13 [2025-01-06 04:30:09] Production.INFO: SubTotal 52.50 [2025-01-06 04:30:09] Production.INFO: TotalDue 55.13 [2025-01-06 04:30:09] Production.INFO: Reseller ==> 0 [2025-01-06 04:30:09] Production.INFO: original start date ==>2024-12-06 changed start date ==>2024-12-06 02:00:00 original end date ==>2025-01-05 23:59:59 changed end date ==>2025-01-06 01:59:59 [2025-01-06 04:30:09] Production.INFO: CALL prc_getInvoiceUsage(1,'153','0','1','2024-12-06 02:00:00','2025-01-06 01:59:59',0) [2025-01-06 04:30:09] Production.INFO: PDF Generation start [2025-01-06 04:30:09] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/153/Invoices/2025/01/06/Invoice-dominos-10191-chandresh-patel-inv11317-from-12-06-2024-to-01-05-2025-10242.pdf [2025-01-06 04:30:09] Production.INFO: On Linux [2025-01-06 04:30: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/153/Invoices/2025/01/06/footer-dominos-10191-chandresh-patel-inv11317-from-12-06-2024-to-01-05-2025-10242.html" "/var/www/tmp/1/153/Invoices/2025/01/06/Invoice-dominos-10191-chandresh-patel-inv11317-from-12-06-2024-to-01-05-2025-10242.html" "/var/www/tmp/1/153/Invoices/2025/01/06/Invoice-dominos-10191-chandresh-patel-inv11317-from-12-06-2024-to-01-05-2025-10242.pdf" [2025-01-06 04:30:10] Production.INFO: [2025-01-06 04:30:10] Production.INFO: /var/www/tmp/1/153/Invoices/2025/01/06/Invoice-dominos-10191-chandresh-patel-inv11317-from-12-06-2024-to-01-05-2025-10242.html [2025-01-06 04:30:10] Production.INFO: /var/www/tmp/1/153/Invoices/2025/01/06/header-dominos-10191-chandresh-patel-inv11317-from-12-06-2024-to-01-05-2025-10242.html [2025-01-06 04:30:10] Production.INFO: /var/www/tmp/1/153/Invoices/2025/01/06/footer-dominos-10191-chandresh-patel-inv11317-from-12-06-2024-to-01-05-2025-10242.html [2025-01-06 04:30:10] Production.INFO: Invoice generation PDF path [2025-01-06 04:30:10] Production.INFO: PDF fullPath 1/153/Invoices/2025/01/06/Invoice-dominos-10191-chandresh-patel-inv11317-from-12-06-2024-to-01-05-2025-10242.pdf [2025-01-06 04:30:10] Production.INFO: Generate Usage File Start [2025-01-06 04:30:10] Production.INFO: Usage File fullPath 1/153/InvoiceUsageFile/2025/01/06/dominos-10191-chandresh-patel-06-12-2024-00-00-00-TO-05-01-2025-23-59-59_5613__d362c8c0-cc10-11ef-878a-03bd1264b437.csv [2025-01-06 04:30:12] Production.INFO: Sending Email to Staff over [2025-01-06 04:30:12] Production.INFO: Email Status 1 [2025-01-06 04:30:12] Production.INFO: Sending Email to Customer [2025-01-06 04:30:12] Production.INFO: Email Try 10242 1 [2025-01-06 04:30:12] Production.INFO: =========== Email Sending over =========== [2025-01-06 04:30:12] Production.INFO: =========== Returning as Success =========== AccountID 153 [2025-01-06 04:30:12] Production.INFO: Invoice::sendInvoice done [2025-01-06 04:30:12] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-01-06 04:30:12] Production.INFO: Invoice Committed AccountID = 153 [2025-01-06 04:30:12] Production.INFO: =========== Updating InvoiceDate =========== [2025-01-06 04:30:12] Production.INFO: NextInvoice 2025-01-06 2025-02-05 [2025-01-06 04:30:12] Production.INFO: new dates [2025-01-06 04:30:12] Production.INFO: LastInvoiceDate 2025-01-06 NextInvoiceDate 2025-02-06 [2025-01-06 04:30:12] Production.INFO: LastChargeDate 2025-01-06 NextChargeDate 2025-02-05 [2025-01-06 04:30:12] Production.INFO: =========== Updated InvoiceDate =========== [2025-01-06 04:30:12] Production.INFO: ========================== Invoice Send End ============================= [2025-01-06 04:30:12] Production.INFO: AccountID =154 FirstInvoiceSend 0 [2025-01-06 04:30:12] Production.INFO: LastInvoiceDate 2024-12-06 NextInvoiceDate 2025-01-06 [2025-01-06 04:30:12] Production.INFO: LastChargeDate 2024-12-06 NextChargeDate 2025-01-05 [2025-01-06 04:30:12] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-01-06 04:30:12] Production.INFO: ========================== Invoice Send Start ============================= [2025-01-06 04:30:12] Production.INFO: Invoice::sendInvoice(1,154,2024-12-06,2025-01-06,billing@onswitchit.ca) [2025-01-06 04:30:12] Production.INFO: start Date =2024-12-06 EndDate =2025-01-05 23:59:59 [2025-01-06 04:30:12] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-01-06 04:30:12] 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-06 04:30:12] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-01-06 04:30:12] Production.INFO: AlreadyBilled [2025-01-06 04:30:13] Production.INFO: Reseller ==> 0 [2025-01-06 04:30:13] Production.INFO: original start date ==>2024-12-06 changed start date ==>2024-12-06 00:00:00 original end date ==>2025-01-05 23:59:59 changed end date ==>2025-01-05 23:59:59 [2025-01-06 04:30:13] Production.INFO: Invoice::getAccountUsageTotal(1,154,2024-12-06,2025-01-05 23:59:59) [2025-01-06 04:30:13] Production.INFO: TotalCharges - 0 [2025-01-06 04:30:13] Production.INFO: TotalUsageCharges - 0.00 [2025-01-06 04:30:13] Production.INFO: Usage Over [2025-01-06 04:30:13] Production.INFO: Call prc_getAccountSubscription(154,0) [2025-01-06 04:30:13] Production.INFO: SUBSCRIPTION 3 [2025-01-06 04:30:13] Production.INFO: ============================Subscription Start ================= [2025-01-06 04:30:13] Production.INFO: SubscriptionID - 5 [2025-01-06 04:30:13] Production.INFO: isAdvanceSubscription - 5 [2025-01-06 04:30:13] Production.INFO: SubscriptionStartDate =2025-01-06 - SubscriptionEndDate = 2025-02-05 [2025-01-06 04:30:13] Production.INFO: NewNextChargeDate =2025-02-05 00:00:00 [2025-01-06 04:30:13] Production.INFO: EndDate =2025-01-05 00:00:00 [2025-01-06 04:30:13] Production.INFO: NewEndDate1 =2025-01-06 [2025-01-06 04:30:13] Production.INFO: SubscriptionDate [2025-01-06 04:30:13] Production.INFO: Array ( [StartDate] => 2025-01-06 [EndDate] => 2025-02-05 00:00:00 [AlreadyCharged] => 0 ) [2025-01-06 04:30:13] Production.INFO: AccountSubscription StartDate 2021-05-18 StartDate 2024-12-06 [2025-01-06 04:30:13] Production.INFO: SubscriptionID - 2025-01-06=====2025-02-05 00:00:00 [2025-01-06 04:30:13] Production.INFO: AccountSubscriptionID - 610 === 2021-05-18=====2026-01-06 [2025-01-06 04:30:13] Production.INFO: regular Advance Subscription [2025-01-06 04:30:13] Production.INFO: First Time False 2021-05-18 2025-01-06 [2025-01-06 04:30:13] Production.INFO: StartDate 2025-01-06 AccountSubscription->StartDate 2021-05-18 EndDate 2025-02-05 00:00:00 AccountSubscription->EndDate 2026-01-06 [2025-01-06 04:30:13] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-06 04:30:13] Production.INFO: AccountSubscription::getSubscriptionAmount(610,2025-01-06,2025-02-05 00:00:00,,0) [2025-01-06 04:30:13] Production.INFO: SubscriptionCharge - 75 [2025-01-06 04:30:13] Production.INFO: Already Invoice Subscription 0 [2025-01-06 04:30:13] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(154,1,5,2025-01-06,2025-02-05 00:00:00,Restaurant - 4 Line Flat Rate,75,75,1,610) [2025-01-06 04:30:13] Production.INFO: DiscountAmount 0.000000 [2025-01-06 04:30:13] Production.INFO: DiscountType [2025-01-06 04:30:13] Production.INFO: SubscriptionCharge 75 [2025-01-06 04:30:13] Production.INFO: New SubscriptionCharge 75 [2025-01-06 04:30:13] Production.INFO: TotalSubscriptionCharge - 75.00 [2025-01-06 04:30:13] Production.INFO: ============================Subscription End ================= [2025-01-06 04:30:13] Production.INFO: ============================Subscription Start ================= [2025-01-06 04:30:13] Production.INFO: SubscriptionID - 4 [2025-01-06 04:30:13] Production.INFO: isAdvanceSubscription - 4 [2025-01-06 04:30:13] Production.INFO: SubscriptionStartDate =2025-01-06 - SubscriptionEndDate = 2025-02-05 [2025-01-06 04:30:13] Production.INFO: NewNextChargeDate =2025-02-05 00:00:00 [2025-01-06 04:30:13] Production.INFO: EndDate =2025-01-05 00:00:00 [2025-01-06 04:30:13] Production.INFO: NewEndDate1 =2025-01-06 [2025-01-06 04:30:13] Production.INFO: SubscriptionDate [2025-01-06 04:30:13] Production.INFO: Array ( [StartDate] => 2025-01-06 [EndDate] => 2025-02-05 00:00:00 [AlreadyCharged] => 0 ) [2025-01-06 04:30:13] Production.INFO: AccountSubscription StartDate 2021-05-18 StartDate 2024-12-06 [2025-01-06 04:30:13] Production.INFO: SubscriptionID - 2025-01-06=====2025-02-05 00:00:00 [2025-01-06 04:30:13] Production.INFO: AccountSubscriptionID - 611 === 2021-05-18=====2026-01-06 [2025-01-06 04:30:13] Production.INFO: regular Advance Subscription [2025-01-06 04:30:13] Production.INFO: First Time False 2021-05-18 2025-01-06 [2025-01-06 04:30:13] Production.INFO: StartDate 2025-01-06 AccountSubscription->StartDate 2021-05-18 EndDate 2025-02-05 00:00:00 AccountSubscription->EndDate 2026-01-06 [2025-01-06 04:30:13] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-06 04:30:13] Production.INFO: AccountSubscription::getSubscriptionAmount(611,2025-01-06,2025-02-05 00:00:00,,0) [2025-01-06 04:30:13] Production.INFO: SubscriptionCharge - 2.5 [2025-01-06 04:30:13] Production.INFO: Already Invoice Subscription 0 [2025-01-06 04:30:13] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(154,1,4,2025-01-06,2025-02-05 00:00:00,e911 address registration (15197477300 - 450 Columbia St W 2 Waterloo, ON N2T 2W1 Canada),2.5,2.5,1,611) [2025-01-06 04:30:13] Production.INFO: DiscountAmount 0.000000 [2025-01-06 04:30:13] Production.INFO: DiscountType [2025-01-06 04:30:13] Production.INFO: SubscriptionCharge 2.5 [2025-01-06 04:30:13] Production.INFO: New SubscriptionCharge 2.5 [2025-01-06 04:30:13] Production.INFO: TotalSubscriptionCharge - 2.50 [2025-01-06 04:30:13] Production.INFO: ============================Subscription End ================= [2025-01-06 04:30:13] Production.INFO: ============================Subscription Start ================= [2025-01-06 04:30:13] Production.INFO: SubscriptionID - 11 [2025-01-06 04:30:13] Production.INFO: isAdvanceSubscription - 11 [2025-01-06 04:30:13] Production.INFO: SubscriptionStartDate =2025-01-06 - SubscriptionEndDate = 2025-02-05 [2025-01-06 04:30:13] Production.INFO: NewNextChargeDate =2025-02-05 00:00:00 [2025-01-06 04:30:13] Production.INFO: EndDate =2025-01-05 00:00:00 [2025-01-06 04:30:13] Production.INFO: NewEndDate1 =2025-01-06 [2025-01-06 04:30:13] Production.INFO: SubscriptionDate [2025-01-06 04:30:13] Production.INFO: Array ( [StartDate] => 2025-01-06 [EndDate] => 2025-02-05 00:00:00 [AlreadyCharged] => 0 ) [2025-01-06 04:30:13] Production.INFO: AccountSubscription StartDate 2021-05-18 StartDate 2024-12-06 [2025-01-06 04:30:13] Production.INFO: SubscriptionID - 2025-01-06=====2025-02-05 00:00:00 [2025-01-06 04:30:13] Production.INFO: AccountSubscriptionID - 612 === 2021-05-18=====2026-01-06 [2025-01-06 04:30:13] Production.INFO: regular Advance Subscription [2025-01-06 04:30:13] Production.INFO: First Time False 2021-05-18 2025-01-06 [2025-01-06 04:30:13] Production.INFO: StartDate 2025-01-06 AccountSubscription->StartDate 2021-05-18 EndDate 2025-02-05 00:00:00 AccountSubscription->EndDate 2026-01-06 [2025-01-06 04:30:13] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-06 04:30:13] Production.INFO: AccountSubscription::getSubscriptionAmount(612,2025-01-06,2025-02-05 00:00:00,,0) [2025-01-06 04:30:13] Production.INFO: SubscriptionCharge - -5 [2025-01-06 04:30:13] Production.INFO: Already Invoice Subscription 0 [2025-01-06 04:30:13] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(154,1,11,2025-01-06,2025-02-05 00:00:00,Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service,-25,-5,5,612) [2025-01-06 04:30:13] Production.INFO: DiscountAmount 0.000000 [2025-01-06 04:30:13] Production.INFO: DiscountType [2025-01-06 04:30:13] Production.INFO: SubscriptionCharge -25 [2025-01-06 04:30:13] Production.INFO: New SubscriptionCharge -25 [2025-01-06 04:30:13] Production.INFO: TotalSubscriptionCharge - -25.00 [2025-01-06 04:30:13] Production.INFO: ============================Subscription End ================= [2025-01-06 04:30:13] Production.INFO: SUBSCRIPTION Over [2025-01-06 04:30:13] Production.INFO: Call prc_getAccountOneOffCharge(154,0,2024-12-06,2025-01-06 23:59:59) [2025-01-06 04:30:13] Production.INFO: AccountOneOffCharge 0 [2025-01-06 04:30:13] Production.INFO: AccountOneOffCharge Over [2025-01-06 04:30:13] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-01-06 04:30:13] Production.INFO: New UsageDates 2024-12-06 - 2025-01-05 23:59:59 [2025-01-06 04:30:13] Production.INFO: SubTotal 52.5 [2025-01-06 04:30:13] Production.INFO: SubTotalWithouttaxTotal 0 [2025-01-06 04:30:13] Production.INFO: AccountOneOffCharge Tax Over [2025-01-06 04:30:13] Production.INFO: TotalTax 6.825 [2025-01-06 04:30:13] Production.INFO: InvoiceGrandTotal 59.325 [2025-01-06 04:30:13] Production.INFO: InvoiceTaxAmount 6.83 [2025-01-06 04:30:13] Production.INFO: GrandTotal 59.33 [2025-01-06 04:30:13] Production.INFO: SubTotal 52.50 [2025-01-06 04:30:13] Production.INFO: TotalDue 59.33 [2025-01-06 04:30:13] Production.INFO: Reseller ==> 0 [2025-01-06 04:30:13] Production.INFO: original start date ==>2024-12-06 changed start date ==>2024-12-06 00:00:00 original end date ==>2025-01-05 23:59:59 changed end date ==>2025-01-05 23:59:59 [2025-01-06 04:30:13] Production.INFO: CALL prc_getInvoiceUsage(1,'154','0','1','2024-12-06 00:00:00','2025-01-05 23:59:59',0) [2025-01-06 04:30:13] Production.INFO: PDF Generation start [2025-01-06 04:30:13] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/154/Invoices/2025/01/06/Invoice-dominos-10385-sandeep-chaudhari-inv11318-from-12-06-2024-to-01-05-2025-10243.pdf [2025-01-06 04:30:13] Production.INFO: On Linux [2025-01-06 04:30:14] 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/154/Invoices/2025/01/06/footer-dominos-10385-sandeep-chaudhari-inv11318-from-12-06-2024-to-01-05-2025-10243.html" "/var/www/tmp/1/154/Invoices/2025/01/06/Invoice-dominos-10385-sandeep-chaudhari-inv11318-from-12-06-2024-to-01-05-2025-10243.html" "/var/www/tmp/1/154/Invoices/2025/01/06/Invoice-dominos-10385-sandeep-chaudhari-inv11318-from-12-06-2024-to-01-05-2025-10243.pdf" [2025-01-06 04:30:14] Production.INFO: [2025-01-06 04:30:14] Production.INFO: /var/www/tmp/1/154/Invoices/2025/01/06/Invoice-dominos-10385-sandeep-chaudhari-inv11318-from-12-06-2024-to-01-05-2025-10243.html [2025-01-06 04:30:14] Production.INFO: /var/www/tmp/1/154/Invoices/2025/01/06/header-dominos-10385-sandeep-chaudhari-inv11318-from-12-06-2024-to-01-05-2025-10243.html [2025-01-06 04:30:14] Production.INFO: /var/www/tmp/1/154/Invoices/2025/01/06/footer-dominos-10385-sandeep-chaudhari-inv11318-from-12-06-2024-to-01-05-2025-10243.html [2025-01-06 04:30:14] Production.INFO: Invoice generation PDF path [2025-01-06 04:30:14] Production.INFO: PDF fullPath 1/154/Invoices/2025/01/06/Invoice-dominos-10385-sandeep-chaudhari-inv11318-from-12-06-2024-to-01-05-2025-10243.pdf [2025-01-06 04:30:14] Production.INFO: Generate Usage File Start [2025-01-06 04:30:14] Production.INFO: Usage File fullPath 1/154/InvoiceUsageFile/2025/01/06/dominos-10385-sandeep-chaudhari-06-12-2024-00-00-00-TO-05-01-2025-23-59-59_9711__d5c1c330-cc10-11ef-a082-9945973a66fa.csv [2025-01-06 04:30:16] Production.INFO: Sending Email to Staff over [2025-01-06 04:30:16] Production.INFO: Email Status 1 [2025-01-06 04:30:16] Production.INFO: Sending Email to Customer [2025-01-06 04:30:16] Production.INFO: Email Try 10243 1 [2025-01-06 04:30:17] Production.INFO: Email Try 10243 1 [2025-01-06 04:30:17] Production.INFO: =========== Email Sending over =========== [2025-01-06 04:30:17] Production.INFO: =========== Returning as Success =========== AccountID 154 [2025-01-06 04:30:17] Production.INFO: Invoice::sendInvoice done [2025-01-06 04:30:17] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-01-06 04:30:17] Production.INFO: Invoice Committed AccountID = 154 [2025-01-06 04:30:17] Production.INFO: =========== Updating InvoiceDate =========== [2025-01-06 04:30:17] Production.INFO: NextInvoice 2025-01-06 2025-02-05 [2025-01-06 04:30:17] Production.INFO: new dates [2025-01-06 04:30:17] Production.INFO: LastInvoiceDate 2025-01-06 NextInvoiceDate 2025-02-06 [2025-01-06 04:30:17] Production.INFO: LastChargeDate 2025-01-06 NextChargeDate 2025-02-05 [2025-01-06 04:30:17] Production.INFO: =========== Updated InvoiceDate =========== [2025-01-06 04:30:17] Production.INFO: ========================== Invoice Send End ============================= [2025-01-06 04:30:17] Production.INFO: AccountID =206 FirstInvoiceSend 0 [2025-01-06 04:30:17] Production.INFO: LastInvoiceDate 2024-12-06 NextInvoiceDate 2025-01-06 [2025-01-06 04:30:17] Production.INFO: LastChargeDate 2024-12-06 NextChargeDate 2025-01-05 [2025-01-06 04:30:17] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-01-06 04:30:17] Production.INFO: ========================== Invoice Send Start ============================= [2025-01-06 04:30:17] Production.INFO: Invoice::sendInvoice(1,206,2024-12-06,2025-01-06,billing@onswitchit.ca) [2025-01-06 04:30:17] Production.INFO: start Date =2024-12-06 EndDate =2025-01-05 23:59:59 [2025-01-06 04:30:17] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-01-06 04:30: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-01-06 04:30:17] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-01-06 04:30:17] Production.INFO: AlreadyBilled [2025-01-06 04:30:17] Production.INFO: Reseller ==> 0 [2025-01-06 04:30:17] Production.INFO: original start date ==>2024-12-06 changed start date ==>2024-12-06 00:00:00 original end date ==>2025-01-05 23:59:59 changed end date ==>2025-01-05 23:59:59 [2025-01-06 04:30:17] Production.INFO: Invoice::getAccountUsageTotal(1,206,2024-12-06,2025-01-05 23:59:59) [2025-01-06 04:30:17] Production.INFO: TotalCharges - 0 [2025-01-06 04:30:17] Production.INFO: TotalUsageCharges - 0.00 [2025-01-06 04:30:17] Production.INFO: Usage Over [2025-01-06 04:30:17] Production.INFO: Call prc_getAccountSubscription(206,0) [2025-01-06 04:30:17] Production.INFO: SUBSCRIPTION 1 [2025-01-06 04:30:17] Production.INFO: ============================Subscription Start ================= [2025-01-06 04:30:17] Production.INFO: SubscriptionID - 2 [2025-01-06 04:30:17] Production.INFO: isAdvanceSubscription - 2 [2025-01-06 04:30:17] Production.INFO: SubscriptionStartDate =2025-01-06 - SubscriptionEndDate = 2025-02-05 [2025-01-06 04:30:17] Production.INFO: NewNextChargeDate =2025-02-05 00:00:00 [2025-01-06 04:30:17] Production.INFO: EndDate =2025-01-05 00:00:00 [2025-01-06 04:30:17] Production.INFO: NewEndDate1 =2025-01-06 [2025-01-06 04:30:17] Production.INFO: SubscriptionDate [2025-01-06 04:30:17] Production.INFO: Array ( [StartDate] => 2025-01-06 [EndDate] => 2025-02-05 00:00:00 [AlreadyCharged] => 0 ) [2025-01-06 04:30:17] Production.INFO: AccountSubscription StartDate 2023-08-14 StartDate 2024-12-06 [2025-01-06 04:30:17] Production.INFO: SubscriptionID - 2025-01-06=====2025-02-05 00:00:00 [2025-01-06 04:30:17] Production.INFO: AccountSubscriptionID - 722 === 2023-08-14=====2026-01-06 [2025-01-06 04:30:17] Production.INFO: regular Advance Subscription [2025-01-06 04:30:17] Production.INFO: First Time False 2023-08-14 2025-01-06 [2025-01-06 04:30:17] Production.INFO: StartDate 2025-01-06 AccountSubscription->StartDate 2023-08-14 EndDate 2025-02-05 00:00:00 AccountSubscription->EndDate 2026-01-06 [2025-01-06 04:30:17] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-06 04:30:17] Production.INFO: AccountSubscription::getSubscriptionAmount(722,2025-01-06,2025-02-05 00:00:00,,0) [2025-01-06 04:30:17] Production.INFO: SubscriptionCharge - 6 [2025-01-06 04:30:17] Production.INFO: Already Invoice Subscription 0 [2025-01-06 04:30:17] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(206,1,2,2025-01-06,2025-02-05 00:00:00,License for an Unlimited Canada/US Cloud Phone extension with Cloud Softphone license,6,6,1,722) [2025-01-06 04:30:17] Production.INFO: DiscountAmount 0.000000 [2025-01-06 04:30:17] Production.INFO: DiscountType Flat [2025-01-06 04:30:17] Production.INFO: SubscriptionCharge 6 [2025-01-06 04:30:17] Production.INFO: New SubscriptionCharge 6 [2025-01-06 04:30:17] Production.INFO: TotalSubscriptionCharge - 6.00 [2025-01-06 04:30:17] Production.INFO: ============================Subscription End ================= [2025-01-06 04:30:17] Production.INFO: SUBSCRIPTION Over [2025-01-06 04:30:17] Production.INFO: Call prc_getAccountOneOffCharge(206,0,2024-12-06,2025-01-06 23:59:59) [2025-01-06 04:30:17] Production.INFO: AccountOneOffCharge 0 [2025-01-06 04:30:17] Production.INFO: AccountOneOffCharge Over [2025-01-06 04:30:17] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-01-06 04:30:17] Production.INFO: New UsageDates 2024-12-06 - 2025-01-05 23:59:59 [2025-01-06 04:30:17] Production.INFO: SubTotal 6 [2025-01-06 04:30:17] Production.INFO: SubTotalWithouttaxTotal 0 [2025-01-06 04:30:17] Production.INFO: AccountOneOffCharge Tax Over [2025-01-06 04:30:17] Production.INFO: TotalTax 0.78 [2025-01-06 04:30:17] Production.INFO: InvoiceGrandTotal 6.78 [2025-01-06 04:30:17] Production.INFO: InvoiceTaxAmount 0.78 [2025-01-06 04:30:17] Production.INFO: GrandTotal 6.78 [2025-01-06 04:30:17] Production.INFO: SubTotal 6.00 [2025-01-06 04:30:17] Production.INFO: TotalDue 121.08 [2025-01-06 04:30:17] Production.INFO: Reseller ==> 0 [2025-01-06 04:30:17] Production.INFO: original start date ==>2024-12-06 changed start date ==>2024-12-06 00:00:00 original end date ==>2025-01-05 23:59:59 changed end date ==>2025-01-05 23:59:59 [2025-01-06 04:30:17] Production.INFO: CALL prc_getInvoiceUsage(1,'206','0','1','2024-12-06 00:00:00','2025-01-05 23:59:59',0) [2025-01-06 04:30:17] Production.INFO: PDF Generation start [2025-01-06 04:30:18] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/206/Invoices/2025/01/06/Invoice-g4-jobs-inv11319-from-12-06-2024-to-01-05-2025-10244.pdf [2025-01-06 04:30:18] Production.INFO: On Linux [2025-01-06 04:30:18] Production.INFO: /var/www/html/onswitch.neon.service/wkhtmltox/bin/wkhtmltopdf --header-spacing 3 --footer-spacing 1 --header-html --footer-html "/var/www/tmp/1/206/Invoices/2025/01/06/footer-g4-jobs-inv11319-from-12-06-2024-to-01-05-2025-10244.html" "/var/www/tmp/1/206/Invoices/2025/01/06/Invoice-g4-jobs-inv11319-from-12-06-2024-to-01-05-2025-10244.html" "/var/www/tmp/1/206/Invoices/2025/01/06/Invoice-g4-jobs-inv11319-from-12-06-2024-to-01-05-2025-10244.pdf" [2025-01-06 04:30:18] Production.INFO: [2025-01-06 04:30:18] Production.INFO: /var/www/tmp/1/206/Invoices/2025/01/06/Invoice-g4-jobs-inv11319-from-12-06-2024-to-01-05-2025-10244.html [2025-01-06 04:30:18] Production.INFO: /var/www/tmp/1/206/Invoices/2025/01/06/header-g4-jobs-inv11319-from-12-06-2024-to-01-05-2025-10244.html [2025-01-06 04:30:18] Production.INFO: /var/www/tmp/1/206/Invoices/2025/01/06/footer-g4-jobs-inv11319-from-12-06-2024-to-01-05-2025-10244.html [2025-01-06 04:30:18] Production.INFO: Invoice generation PDF path [2025-01-06 04:30:18] Production.INFO: PDF fullPath 1/206/Invoices/2025/01/06/Invoice-g4-jobs-inv11319-from-12-06-2024-to-01-05-2025-10244.pdf [2025-01-06 04:30:18] Production.INFO: Generate Usage File Start [2025-01-06 04:30:19] Production.INFO: Usage File fullPath 1/206/InvoiceUsageFile/2025/01/06/g4-jobs-06-12-2024-00-00-00-TO-05-01-2025-23-59-59_8481__d82aead0-cc10-11ef-95a6-9d665dec0a4e.csv [2025-01-06 04:30:19] Production.INFO: Sending Email to Staff over [2025-01-06 04:30:19] Production.INFO: Email Status 1 [2025-01-06 04:30:19] Production.INFO: Sending Email to Customer [2025-01-06 04:30:20] Production.INFO: Email Try 10244 1 [2025-01-06 04:30:20] Production.INFO: =========== Email Sending over =========== [2025-01-06 04:30:20] Production.INFO: =========== Returning as Success =========== AccountID 206 [2025-01-06 04:30:20] Production.INFO: Invoice::sendInvoice done [2025-01-06 04:30:20] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-01-06 04:30:20] Production.INFO: Invoice Committed AccountID = 206 [2025-01-06 04:30:20] Production.INFO: =========== Updating InvoiceDate =========== [2025-01-06 04:30:20] Production.INFO: NextInvoice 2025-01-06 2025-02-05 [2025-01-06 04:30:20] Production.INFO: new dates [2025-01-06 04:30:20] Production.INFO: LastInvoiceDate 2025-01-06 NextInvoiceDate 2025-02-06 [2025-01-06 04:30:20] Production.INFO: LastChargeDate 2025-01-06 NextChargeDate 2025-02-05 [2025-01-06 04:30:20] Production.INFO: =========== Updated InvoiceDate =========== [2025-01-06 04:30:20] Production.INFO: ========================== Invoice Send End ============================= [2025-01-06 04:30:20] Production.INFO: AccountID =207 FirstInvoiceSend 0 [2025-01-06 04:30:20] Production.INFO: LastInvoiceDate 2024-12-06 NextInvoiceDate 2025-01-06 [2025-01-06 04:30:20] Production.INFO: LastChargeDate 2024-12-06 NextChargeDate 2025-01-05 [2025-01-06 04:30:21] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-01-06 04:30:21] Production.INFO: ========================== Invoice Send Start ============================= [2025-01-06 04:30:21] Production.INFO: Invoice::sendInvoice(1,207,2024-12-06,2025-01-06,billing@onswitchit.ca) [2025-01-06 04:30:21] Production.INFO: start Date =2024-12-06 EndDate =2025-01-05 23:59:59 [2025-01-06 04:30:21] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-01-06 04:30: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-01-06 04:30:21] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-01-06 04:30:21] Production.INFO: AlreadyBilled [2025-01-06 04:30:21] Production.INFO: Reseller ==> 0 [2025-01-06 04:30:21] Production.INFO: original start date ==>2024-12-06 changed start date ==>2024-12-06 00:00:00 original end date ==>2025-01-05 23:59:59 changed end date ==>2025-01-05 23:59:59 [2025-01-06 04:30:21] Production.INFO: Invoice::getAccountUsageTotal(1,207,2024-12-06,2025-01-05 23:59:59) [2025-01-06 04:30:21] Production.INFO: TotalCharges - 0 [2025-01-06 04:30:21] Production.INFO: TotalUsageCharges - 0.00 [2025-01-06 04:30:21] Production.INFO: Usage Over [2025-01-06 04:30:21] Production.INFO: Call prc_getAccountSubscription(207,0) [2025-01-06 04:30:21] Production.INFO: SUBSCRIPTION 1 [2025-01-06 04:30:21] Production.INFO: ============================Subscription Start ================= [2025-01-06 04:30:21] Production.INFO: SubscriptionID - 2 [2025-01-06 04:30:21] Production.INFO: isAdvanceSubscription - 2 [2025-01-06 04:30:21] Production.INFO: SubscriptionStartDate =2025-01-06 - SubscriptionEndDate = 2025-02-05 [2025-01-06 04:30:21] Production.INFO: NewNextChargeDate =2025-02-05 00:00:00 [2025-01-06 04:30:21] Production.INFO: EndDate =2025-01-05 00:00:00 [2025-01-06 04:30:21] Production.INFO: NewEndDate1 =2025-01-06 [2025-01-06 04:30:21] Production.INFO: SubscriptionDate [2025-01-06 04:30:21] Production.INFO: Array ( [StartDate] => 2025-01-06 [EndDate] => 2025-02-05 00:00:00 [AlreadyCharged] => 0 ) [2025-01-06 04:30:21] Production.INFO: AccountSubscription StartDate 2023-06-01 StartDate 2024-12-06 [2025-01-06 04:30:21] Production.INFO: SubscriptionID - 2025-01-06=====2025-02-05 00:00:00 [2025-01-06 04:30:21] Production.INFO: AccountSubscriptionID - 721 === 2023-06-01=====2026-01-06 [2025-01-06 04:30:21] Production.INFO: regular Advance Subscription [2025-01-06 04:30:21] Production.INFO: First Time False 2023-06-01 2025-01-06 [2025-01-06 04:30:21] Production.INFO: StartDate 2025-01-06 AccountSubscription->StartDate 2023-06-01 EndDate 2025-02-05 00:00:00 AccountSubscription->EndDate 2026-01-06 [2025-01-06 04:30:21] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-01-06 04:30:21] Production.INFO: AccountSubscription::getSubscriptionAmount(721,2025-01-06,2025-02-05 00:00:00,,0) [2025-01-06 04:30:21] Production.INFO: SubscriptionCharge - 5 [2025-01-06 04:30:21] Production.INFO: Already Invoice Subscription 0 [2025-01-06 04:30:21] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(207,1,2,2025-01-06,2025-02-05 00:00:00,License for an Unlimited Canada/US Cloud Phone extension with included Cloud Softphone license,5,5,1,721) [2025-01-06 04:30:21] Production.INFO: DiscountAmount 0.000000 [2025-01-06 04:30:21] Production.INFO: DiscountType Flat [2025-01-06 04:30:21] Production.INFO: SubscriptionCharge 5 [2025-01-06 04:30:21] Production.INFO: New SubscriptionCharge 5 [2025-01-06 04:30:21] Production.INFO: TotalSubscriptionCharge - 5.00 [2025-01-06 04:30:21] Production.INFO: ============================Subscription End ================= [2025-01-06 04:30:21] Production.INFO: SUBSCRIPTION Over [2025-01-06 04:30:21] Production.INFO: Call prc_getAccountOneOffCharge(207,0,2024-12-06,2025-01-06 23:59:59) [2025-01-06 04:30:21] Production.INFO: AccountOneOffCharge 0 [2025-01-06 04:30:21] Production.INFO: AccountOneOffCharge Over [2025-01-06 04:30:21] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-01-06 04:30:21] Production.INFO: New UsageDates 2024-12-06 - 2025-01-05 23:59:59 [2025-01-06 04:30:21] Production.INFO: SubTotal 5 [2025-01-06 04:30:21] Production.INFO: SubTotalWithouttaxTotal 0 [2025-01-06 04:30:21] Production.INFO: AccountOneOffCharge Tax Over [2025-01-06 04:30:21] Production.INFO: TotalTax 0.65 [2025-01-06 04:30:21] Production.INFO: InvoiceGrandTotal 5.65 [2025-01-06 04:30:21] Production.INFO: InvoiceTaxAmount 0.65 [2025-01-06 04:30:21] Production.INFO: GrandTotal 5.65 [2025-01-06 04:30:21] Production.INFO: SubTotal 5.00 [2025-01-06 04:30:21] Production.INFO: TotalDue 114.09 [2025-01-06 04:30:21] Production.INFO: Reseller ==> 0 [2025-01-06 04:30:21] Production.INFO: original start date ==>2024-12-06 changed start date ==>2024-12-06 00:00:00 original end date ==>2025-01-05 23:59:59 changed end date ==>2025-01-05 23:59:59 [2025-01-06 04:30:21] Production.INFO: CALL prc_getInvoiceUsage(1,'207','0','1','2024-12-06 00:00:00','2025-01-05 23:59:59',0) [2025-01-06 04:30:21] Production.INFO: PDF Generation start [2025-01-06 04:30:21] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/207/Invoices/2025/01/06/Invoice-garage-doors-4u-inv11320-from-12-06-2024-to-01-05-2025-10245.pdf [2025-01-06 04:30:21] Production.INFO: On Linux [2025-01-06 04:30: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/207/Invoices/2025/01/06/footer-garage-doors-4u-inv11320-from-12-06-2024-to-01-05-2025-10245.html" "/var/www/tmp/1/207/Invoices/2025/01/06/Invoice-garage-doors-4u-inv11320-from-12-06-2024-to-01-05-2025-10245.html" "/var/www/tmp/1/207/Invoices/2025/01/06/Invoice-garage-doors-4u-inv11320-from-12-06-2024-to-01-05-2025-10245.pdf" [2025-01-06 04:30:23] Production.INFO: [2025-01-06 04:30:23] Production.INFO: /var/www/tmp/1/207/Invoices/2025/01/06/Invoice-garage-doors-4u-inv11320-from-12-06-2024-to-01-05-2025-10245.html [2025-01-06 04:30:23] Production.INFO: /var/www/tmp/1/207/Invoices/2025/01/06/header-garage-doors-4u-inv11320-from-12-06-2024-to-01-05-2025-10245.html [2025-01-06 04:30:23] Production.INFO: /var/www/tmp/1/207/Invoices/2025/01/06/footer-garage-doors-4u-inv11320-from-12-06-2024-to-01-05-2025-10245.html [2025-01-06 04:30:23] Production.INFO: Invoice generation PDF path [2025-01-06 04:30:23] Production.INFO: PDF fullPath 1/207/Invoices/2025/01/06/Invoice-garage-doors-4u-inv11320-from-12-06-2024-to-01-05-2025-10245.pdf [2025-01-06 04:30:23] Production.INFO: Generate Usage File Start [2025-01-06 04:30:23] Production.INFO: Usage File fullPath 1/207/InvoiceUsageFile/2025/01/06/garage-doors-4u-06-12-2024-00-00-00-TO-05-01-2025-23-59-59_411__daa1b6c0-cc10-11ef-a941-251bca344282.csv [2025-01-06 04:30:24] Production.INFO: Sending Email to Staff over [2025-01-06 04:30:24] Production.INFO: Email Status 1 [2025-01-06 04:30:24] Production.INFO: Sending Email to Customer [2025-01-06 04:30:24] Production.INFO: Email Try 10245 1 [2025-01-06 04:30:24] Production.INFO: =========== Email Sending over =========== [2025-01-06 04:30:24] Production.INFO: =========== Returning as Success =========== AccountID 207 [2025-01-06 04:30:24] Production.INFO: Invoice::sendInvoice done [2025-01-06 04:30:24] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-01-06 04:30:24] Production.INFO: Invoice Committed AccountID = 207 [2025-01-06 04:30:24] Production.INFO: =========== Updating InvoiceDate =========== [2025-01-06 04:30:24] Production.INFO: NextInvoice 2025-01-06 2025-02-05 [2025-01-06 04:30:24] Production.INFO: new dates [2025-01-06 04:30:24] Production.INFO: LastInvoiceDate 2025-01-06 NextInvoiceDate 2025-02-06 [2025-01-06 04:30:24] Production.INFO: LastChargeDate 2025-01-06 NextChargeDate 2025-02-05 [2025-01-06 04:30:24] Production.INFO: =========== Updated InvoiceDate =========== [2025-01-06 04:30:24] Production.INFO: ========================== Invoice Send End ============================= [2025-01-06 04:30:24] Production.INFO: ========================== Recurring invoice Start ============================= [2025-01-06 04:30:24] Production.INFO: recurring invoices ID [2025-01-06 04:30:24] Production.INFO: [2025-01-06 04:30:24] Production.INFO: recurring errorsArray ( ) [2025-01-06 04:30:24] Production.INFO: ========================== Recurring invoice End ============================= [2025-01-06 04:30:24] Production.INFO: ========================== Job Updated ============================= [2025-01-06 04:30:25] Production.INFO: ========================== Job Email Sent ============================= [2025-01-06 04:30:26] Production.ERROR: **Email Sent Status 1 [2025-01-06 04:30:26] Production.ERROR: **Email Sent message Email has been sent [2025-01-06 04:30:26] Production.ERROR: CronJobId end6 [2025-01-06 04:30:26] Production.INFO: ==6615== Releasing lock... [2025-01-06 04:30:26] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Stops# [2025-01-06 04:30:26] Production.INFO: 38.5 MB #Memory Used#