[2026-04-09 04:31:03] Production.INFO: Call prc_getBillingAccounts(1,2026-04-09,'','0') [2026-04-09 04:31:03] Production.INFO: Array ( [0] => stdClass Object ( [AccountID] => 65 [NextInvoiceDate] => 2026-04-09 [AccountName] => AOPG Inc. [ServiceID] => 0 ) [1] => stdClass Object ( [AccountID] => 247 [NextInvoiceDate] => 2026-04-09 [AccountName] => Cancom Security [ServiceID] => 0 ) [2] => stdClass Object ( [AccountID] => 258 [NextInvoiceDate] => 2025-03-10 [AccountName] => Lion Motors [ServiceID] => 0 ) ) [2026-04-09 04:31:03] Production.INFO: AccountID =65 FirstInvoiceSend 0 [2026-04-09 04:31:03] Production.INFO: LastInvoiceDate 2026-03-09 NextInvoiceDate 2026-04-09 [2026-04-09 04:31:03] Production.INFO: LastChargeDate 2026-03-09 NextChargeDate 2026-04-08 [2026-04-09 04:31:03] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2026-04-09 04:31:03] Production.INFO: ========================== Invoice Send Start ============================= [2026-04-09 04:31:03] Production.INFO: Invoice::sendInvoice(1,65,2026-03-09,2026-04-09,billing@onswitchit.ca) [2026-04-09 04:31:03] Production.INFO: start Date =2026-03-09 EndDate =2026-04-08 23:59:59 [2026-04-09 04:31:03] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2026-04-09 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.


[2026-04-09 04:31:03] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2026-04-09 04:31:03] Production.INFO: AlreadyBilled [2026-04-09 04:31:03] Production.INFO: Reseller ==> 0 [2026-04-09 04:31:03] Production.INFO: original start date ==>2026-03-09 changed start date ==>2026-03-09 00:00:00 original end date ==>2026-04-08 23:59:59 changed end date ==>2026-04-08 23:59:59 [2026-04-09 04:31:03] Production.INFO: CompanyGatewayID 1 TotalCharges ==>0.20000000 [2026-04-09 04:31:03] Production.INFO: Invoice::getAccountUsageTotal(1,65,2026-03-09,2026-04-08 23:59:59) [2026-04-09 04:31:03] Production.INFO: TotalCharges - 0.2 [2026-04-09 04:31:03] Production.INFO: TotalUsageCharges - 0.20 [2026-04-09 04:31:03] Production.INFO: Usage Over [2026-04-09 04:31:03] Production.INFO: Call prc_getAccountSubscription(65,0) [2026-04-09 04:31:03] Production.INFO: SUBSCRIPTION 5 [2026-04-09 04:31:03] Production.INFO: ============================Subscription Start ================= [2026-04-09 04:31:03] Production.INFO: SubscriptionID - 1 [2026-04-09 04:31:03] Production.INFO: isAdvanceSubscription - 1 [2026-04-09 04:31:03] Production.INFO: SubscriptionStartDate =2026-04-09 - SubscriptionEndDate = 2026-05-08 [2026-04-09 04:31:03] Production.INFO: NewNextChargeDate =2026-05-08 00:00:00 [2026-04-09 04:31:03] Production.INFO: EndDate =2026-04-08 00:00:00 [2026-04-09 04:31:03] Production.INFO: NewEndDate1 =2026-04-09 [2026-04-09 04:31:03] Production.INFO: SubscriptionDate [2026-04-09 04:31:03] Production.INFO: Array ( [StartDate] => 2026-04-09 [EndDate] => 2026-05-08 00:00:00 [AlreadyCharged] => 0 ) [2026-04-09 04:31:03] Production.INFO: AccountSubscription StartDate 2018-02-16 StartDate 2026-03-09 [2026-04-09 04:31:03] Production.INFO: SubscriptionID - 2026-04-09=====2026-05-08 00:00:00 [2026-04-09 04:31:03] Production.INFO: AccountSubscriptionID - 229 === 2018-02-16=====2027-04-09 [2026-04-09 04:31:03] Production.INFO: regular Advance Subscription [2026-04-09 04:31:03] Production.INFO: First Time False 2018-02-16 2026-04-09 [2026-04-09 04:31:03] Production.INFO: StartDate 2026-04-09 AccountSubscription->StartDate 2018-02-16 EndDate 2026-05-08 00:00:00 AccountSubscription->EndDate 2027-04-09 [2026-04-09 04:31:03] Production.INFO: days diff - 30 subscription days 30 quarter days 91 [2026-04-09 04:31:03] Production.INFO: AccountSubscription::getSubscriptionAmount(229,2026-04-09,2026-05-08 00:00:00,,0) [2026-04-09 04:31:03] Production.INFO: SubscriptionCharge - 7 [2026-04-09 04:31:03] Production.INFO: Already Invoice Subscription 0 [2026-04-09 04:31:03] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(65,1,1,2026-04-09,2026-05-08 00:00:00,License for a Pay As You Go Cloud Phone extension,21,7,3,229) [2026-04-09 04:31:03] Production.INFO: DiscountAmount 0.000000 [2026-04-09 04:31:03] Production.INFO: DiscountType [2026-04-09 04:31:03] Production.INFO: SubscriptionCharge 21 [2026-04-09 04:31:03] Production.INFO: New SubscriptionCharge 21 [2026-04-09 04:31:03] Production.INFO: TotalSubscriptionCharge - 21.00 [2026-04-09 04:31:03] Production.INFO: ============================Subscription End ================= [2026-04-09 04:31:03] Production.INFO: ============================Subscription Start ================= [2026-04-09 04:31:03] Production.INFO: SubscriptionID - 12 [2026-04-09 04:31:03] Production.INFO: isAdvanceSubscription - 12 [2026-04-09 04:31:04] Production.INFO: SubscriptionStartDate =2026-04-09 - SubscriptionEndDate = 2026-05-08 [2026-04-09 04:31:04] Production.INFO: NewNextChargeDate =2026-05-08 00:00:00 [2026-04-09 04:31:04] Production.INFO: EndDate =2026-04-08 00:00:00 [2026-04-09 04:31:04] Production.INFO: NewEndDate1 =2026-04-09 [2026-04-09 04:31:04] Production.INFO: SubscriptionDate [2026-04-09 04:31:04] Production.INFO: Array ( [StartDate] => 2026-04-09 [EndDate] => 2026-05-08 00:00:00 [AlreadyCharged] => 0 ) [2026-04-09 04:31:04] Production.INFO: AccountSubscription StartDate 2018-02-16 StartDate 2026-03-09 [2026-04-09 04:31:04] Production.INFO: SubscriptionID - 2026-04-09=====2026-05-08 00:00:00 [2026-04-09 04:31:04] Production.INFO: AccountSubscriptionID - 230 === 2018-02-16=====2027-04-09 [2026-04-09 04:31:04] Production.INFO: regular Advance Subscription [2026-04-09 04:31:04] Production.INFO: First Time False 2018-02-16 2026-04-09 [2026-04-09 04:31:04] Production.INFO: StartDate 2026-04-09 AccountSubscription->StartDate 2018-02-16 EndDate 2026-05-08 00:00:00 AccountSubscription->EndDate 2027-04-09 [2026-04-09 04:31:04] Production.INFO: days diff - 30 subscription days 30 quarter days 91 [2026-04-09 04:31:04] Production.INFO: AccountSubscription::getSubscriptionAmount(230,2026-04-09,2026-05-08 00:00:00,,0) [2026-04-09 04:31:04] Production.INFO: SubscriptionCharge - 0 [2026-04-09 04:31:04] Production.INFO: Already Invoice Subscription 0 [2026-04-09 04:31:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(65,1,12,2026-04-09,2026-05-08 00:00:00,Included DID (16473177297),0,0,1,230) [2026-04-09 04:31:04] Production.INFO: DiscountAmount 0.000000 [2026-04-09 04:31:04] Production.INFO: DiscountType [2026-04-09 04:31:04] Production.INFO: SubscriptionCharge 0 [2026-04-09 04:31:04] Production.INFO: New SubscriptionCharge 0 [2026-04-09 04:31:04] Production.INFO: TotalSubscriptionCharge - 0.00 [2026-04-09 04:31:04] Production.INFO: ============================Subscription End ================= [2026-04-09 04:31:04] Production.INFO: ============================Subscription Start ================= [2026-04-09 04:31:04] Production.INFO: SubscriptionID - 12 [2026-04-09 04:31:04] Production.INFO: isAdvanceSubscription - 12 [2026-04-09 04:31:04] Production.INFO: SubscriptionStartDate =2026-04-09 - SubscriptionEndDate = 2026-05-08 [2026-04-09 04:31:04] Production.INFO: NewNextChargeDate =2026-05-08 00:00:00 [2026-04-09 04:31:04] Production.INFO: EndDate =2026-04-08 00:00:00 [2026-04-09 04:31:04] Production.INFO: NewEndDate1 =2026-04-09 [2026-04-09 04:31:04] Production.INFO: SubscriptionDate [2026-04-09 04:31:04] Production.INFO: Array ( [StartDate] => 2026-04-09 [EndDate] => 2026-05-08 00:00:00 [AlreadyCharged] => 0 ) [2026-04-09 04:31:04] Production.INFO: AccountSubscription StartDate 2018-02-16 StartDate 2026-03-09 [2026-04-09 04:31:04] Production.INFO: SubscriptionID - 2026-04-09=====2026-05-08 00:00:00 [2026-04-09 04:31:04] Production.INFO: AccountSubscriptionID - 231 === 2018-02-16=====2027-04-09 [2026-04-09 04:31:04] Production.INFO: regular Advance Subscription [2026-04-09 04:31:04] Production.INFO: First Time False 2018-02-16 2026-04-09 [2026-04-09 04:31:04] Production.INFO: StartDate 2026-04-09 AccountSubscription->StartDate 2018-02-16 EndDate 2026-05-08 00:00:00 AccountSubscription->EndDate 2027-04-09 [2026-04-09 04:31:04] Production.INFO: days diff - 30 subscription days 30 quarter days 91 [2026-04-09 04:31:04] Production.INFO: AccountSubscription::getSubscriptionAmount(231,2026-04-09,2026-05-08 00:00:00,,0) [2026-04-09 04:31:04] Production.INFO: SubscriptionCharge - 0 [2026-04-09 04:31:04] Production.INFO: Already Invoice Subscription 0 [2026-04-09 04:31:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(65,1,12,2026-04-09,2026-05-08 00:00:00,Included DID (17134010840),0,0,1,231) [2026-04-09 04:31:04] Production.INFO: DiscountAmount 0.000000 [2026-04-09 04:31:04] Production.INFO: DiscountType [2026-04-09 04:31:04] Production.INFO: SubscriptionCharge 0 [2026-04-09 04:31:04] Production.INFO: New SubscriptionCharge 0 [2026-04-09 04:31:04] Production.INFO: TotalSubscriptionCharge - 0.00 [2026-04-09 04:31:04] Production.INFO: ============================Subscription End ================= [2026-04-09 04:31:04] Production.INFO: ============================Subscription Start ================= [2026-04-09 04:31:04] Production.INFO: SubscriptionID - 12 [2026-04-09 04:31:04] Production.INFO: isAdvanceSubscription - 12 [2026-04-09 04:31:04] Production.INFO: SubscriptionStartDate =2026-04-09 - SubscriptionEndDate = 2026-05-08 [2026-04-09 04:31:04] Production.INFO: NewNextChargeDate =2026-05-08 00:00:00 [2026-04-09 04:31:04] Production.INFO: EndDate =2026-04-08 00:00:00 [2026-04-09 04:31:04] Production.INFO: NewEndDate1 =2026-04-09 [2026-04-09 04:31:04] Production.INFO: SubscriptionDate [2026-04-09 04:31:04] Production.INFO: Array ( [StartDate] => 2026-04-09 [EndDate] => 2026-05-08 00:00:00 [AlreadyCharged] => 0 ) [2026-04-09 04:31:04] Production.INFO: AccountSubscription StartDate 2018-02-16 StartDate 2026-03-09 [2026-04-09 04:31:04] Production.INFO: SubscriptionID - 2026-04-09=====2026-05-08 00:00:00 [2026-04-09 04:31:04] Production.INFO: AccountSubscriptionID - 232 === 2018-02-16=====2027-04-09 [2026-04-09 04:31:04] Production.INFO: regular Advance Subscription [2026-04-09 04:31:04] Production.INFO: First Time False 2018-02-16 2026-04-09 [2026-04-09 04:31:04] Production.INFO: StartDate 2026-04-09 AccountSubscription->StartDate 2018-02-16 EndDate 2026-05-08 00:00:00 AccountSubscription->EndDate 2027-04-09 [2026-04-09 04:31:04] Production.INFO: days diff - 30 subscription days 30 quarter days 91 [2026-04-09 04:31:04] Production.INFO: AccountSubscription::getSubscriptionAmount(232,2026-04-09,2026-05-08 00:00:00,,0) [2026-04-09 04:31:04] Production.INFO: SubscriptionCharge - 0 [2026-04-09 04:31:04] Production.INFO: Already Invoice Subscription 0 [2026-04-09 04:31:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(65,1,12,2026-04-09,2026-05-08 00:00:00,Included DID (18887829336),0,0,1,232) [2026-04-09 04:31:04] Production.INFO: DiscountAmount 0.000000 [2026-04-09 04:31:04] Production.INFO: DiscountType [2026-04-09 04:31:04] Production.INFO: SubscriptionCharge 0 [2026-04-09 04:31:04] Production.INFO: New SubscriptionCharge 0 [2026-04-09 04:31:04] Production.INFO: TotalSubscriptionCharge - 0.00 [2026-04-09 04:31:04] Production.INFO: ============================Subscription End ================= [2026-04-09 04:31:04] Production.INFO: ============================Subscription Start ================= [2026-04-09 04:31:04] Production.INFO: SubscriptionID - 4 [2026-04-09 04:31:04] Production.INFO: isAdvanceSubscription - 4 [2026-04-09 04:31:04] Production.INFO: SubscriptionStartDate =2026-04-09 - SubscriptionEndDate = 2026-05-08 [2026-04-09 04:31:04] Production.INFO: NewNextChargeDate =2026-05-08 00:00:00 [2026-04-09 04:31:04] Production.INFO: EndDate =2026-04-08 00:00:00 [2026-04-09 04:31:04] Production.INFO: NewEndDate1 =2026-04-09 [2026-04-09 04:31:04] Production.INFO: SubscriptionDate [2026-04-09 04:31:04] Production.INFO: Array ( [StartDate] => 2026-04-09 [EndDate] => 2026-05-08 00:00:00 [AlreadyCharged] => 0 ) [2026-04-09 04:31:04] Production.INFO: AccountSubscription StartDate 2018-02-16 StartDate 2026-03-09 [2026-04-09 04:31:04] Production.INFO: SubscriptionID - 2026-04-09=====2026-05-08 00:00:00 [2026-04-09 04:31:04] Production.INFO: AccountSubscriptionID - 233 === 2018-02-16=====2027-04-09 [2026-04-09 04:31:04] Production.INFO: regular Advance Subscription [2026-04-09 04:31:04] Production.INFO: First Time False 2018-02-16 2026-04-09 [2026-04-09 04:31:04] Production.INFO: StartDate 2026-04-09 AccountSubscription->StartDate 2018-02-16 EndDate 2026-05-08 00:00:00 AccountSubscription->EndDate 2027-04-09 [2026-04-09 04:31:04] Production.INFO: days diff - 30 subscription days 30 quarter days 91 [2026-04-09 04:31:04] Production.INFO: AccountSubscription::getSubscriptionAmount(233,2026-04-09,2026-05-08 00:00:00,,0) [2026-04-09 04:31:04] Production.INFO: SubscriptionCharge - 2.5 [2026-04-09 04:31:04] Production.INFO: Already Invoice Subscription 0 [2026-04-09 04:31:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(65,1,4,2026-04-09,2026-05-08 00:00:00,e911 address registration (16473177297 - 69 KINGSGATE CRES MOUNT ALBERT, ON L0G1M0),2.5,2.5,1,233) [2026-04-09 04:31:04] Production.INFO: DiscountAmount 0.000000 [2026-04-09 04:31:04] Production.INFO: DiscountType [2026-04-09 04:31:04] Production.INFO: SubscriptionCharge 2.5 [2026-04-09 04:31:04] Production.INFO: New SubscriptionCharge 2.5 [2026-04-09 04:31:04] Production.INFO: TotalSubscriptionCharge - 2.50 [2026-04-09 04:31:04] Production.INFO: ============================Subscription End ================= [2026-04-09 04:31:04] Production.INFO: SUBSCRIPTION Over [2026-04-09 04:31:04] Production.INFO: Call prc_getAccountOneOffCharge(65,0,2026-03-09,2026-04-09 23:59:59) [2026-04-09 04:31:04] Production.INFO: AccountOneOffCharge 0 [2026-04-09 04:31:04] Production.INFO: AccountOneOffCharge Over [2026-04-09 04:31:04] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2026-04-09 04:31:04] Production.INFO: New UsageDates 2026-03-09 - 2026-04-08 23:59:59 [2026-04-09 04:31:04] Production.INFO: SubTotal 23.7 [2026-04-09 04:31:04] Production.INFO: SubTotalWithouttaxTotal 0 [2026-04-09 04:31:04] Production.INFO: AccountOneOffCharge Tax Over [2026-04-09 04:31:04] Production.INFO: TotalTax 3.081 [2026-04-09 04:31:04] Production.INFO: InvoiceGrandTotal 26.781 [2026-04-09 04:31:04] Production.INFO: InvoiceTaxAmount 3.08 [2026-04-09 04:31:04] Production.INFO: GrandTotal 26.78 [2026-04-09 04:31:04] Production.INFO: SubTotal 23.70 [2026-04-09 04:31:04] Production.INFO: TotalDue 294.23 [2026-04-09 04:31:04] Production.INFO: Reseller ==> 0 [2026-04-09 04:31:04] Production.INFO: original start date ==>2026-03-09 changed start date ==>2026-03-09 00:00:00 original end date ==>2026-04-08 23:59:59 changed end date ==>2026-04-08 23:59:59 [2026-04-09 04:31:04] Production.INFO: CALL prc_getInvoiceUsage(1,'65','0','1','2026-03-09 00:00:00','2026-04-08 23:59:59',0) [2026-04-09 04:31:04] Production.INFO: PDF Generation start [2026-04-09 04:31:05] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/65/Invoices/2026/04/09/Invoice-aopg-inc-inv13791-from-03-09-2026-to-04-08-2026-12799.pdf [2026-04-09 04:31:05] Production.INFO: On Linux [2026-04-09 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/65/Invoices/2026/04/09/footer-aopg-inc-inv13791-from-03-09-2026-to-04-08-2026-12799.html" "/var/www/tmp/1/65/Invoices/2026/04/09/Invoice-aopg-inc-inv13791-from-03-09-2026-to-04-08-2026-12799.html" "/var/www/tmp/1/65/Invoices/2026/04/09/Invoice-aopg-inc-inv13791-from-03-09-2026-to-04-08-2026-12799.pdf" [2026-04-09 04:31:06] Production.INFO: [2026-04-09 04:31:06] Production.INFO: /var/www/tmp/1/65/Invoices/2026/04/09/Invoice-aopg-inc-inv13791-from-03-09-2026-to-04-08-2026-12799.html [2026-04-09 04:31:06] Production.INFO: /var/www/tmp/1/65/Invoices/2026/04/09/header-aopg-inc-inv13791-from-03-09-2026-to-04-08-2026-12799.html [2026-04-09 04:31:06] Production.INFO: /var/www/tmp/1/65/Invoices/2026/04/09/footer-aopg-inc-inv13791-from-03-09-2026-to-04-08-2026-12799.html [2026-04-09 04:31:06] Production.INFO: Invoice generation PDF path [2026-04-09 04:31:06] Production.INFO: PDF fullPath 1/65/Invoices/2026/04/09/Invoice-aopg-inc-inv13791-from-03-09-2026-to-04-08-2026-12799.pdf [2026-04-09 04:31:06] Production.INFO: Generate Usage File Start [2026-04-09 04:31:06] Production.INFO: Usage File fullPath 1/65/InvoiceUsageFile/2026/04/09/aopg-inc-09-03-2026-00-00-00-TO-08-04-2026-23-59-59_9987__73e41570-33ee-11f1-859f-61ebe9664913.csv [2026-04-09 04:31:10] Production.INFO: Sending Email to Staff over [2026-04-09 04:31:10] Production.INFO: Email Status 1 [2026-04-09 04:31:10] Production.INFO: Sending Email to Customer [2026-04-09 04:31:10] Production.INFO: =========== Email Sending over =========== [2026-04-09 04:31:10] Production.INFO: =========== Returning as Success =========== AccountID 65 [2026-04-09 04:31:10] Production.INFO: Invoice::sendInvoice done [2026-04-09 04:31:10] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2026-04-09 04:31:10] Production.INFO: Invoice Committed AccountID = 65 [2026-04-09 04:31:10] Production.INFO: =========== Updating InvoiceDate =========== [2026-04-09 04:31:10] Production.INFO: NextInvoice 2026-04-09 2026-05-08 [2026-04-09 04:31:10] Production.INFO: new dates [2026-04-09 04:31:10] Production.INFO: LastInvoiceDate 2026-04-09 NextInvoiceDate 2026-05-09 [2026-04-09 04:31:10] Production.INFO: LastChargeDate 2026-04-09 NextChargeDate 2026-05-08 [2026-04-09 04:31:10] Production.INFO: =========== Updated InvoiceDate =========== [2026-04-09 04:31:10] Production.INFO: ========================== Invoice Send End ============================= [2026-04-09 04:31:10] Production.INFO: AccountID =247 FirstInvoiceSend 0 [2026-04-09 04:31:10] Production.INFO: LastInvoiceDate 2026-03-09 NextInvoiceDate 2026-04-09 [2026-04-09 04:31:10] Production.INFO: LastChargeDate 2026-03-09 NextChargeDate 2026-04-08 [2026-04-09 04:31:10] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2026-04-09 04:31:10] Production.INFO: ========================== Invoice Send Start ============================= [2026-04-09 04:31:10] Production.INFO: Invoice::sendInvoice(1,247,2026-03-09,2026-04-09,billing@onswitchit.ca) [2026-04-09 04:31:10] Production.INFO: start Date =2026-03-09 EndDate =2026-04-08 23:59:59 [2026-04-09 04:31:10] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2026-04-09 04:31:10] Production.INFO: InvoiceTemplate->Terms =



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


[2026-04-09 04:31:10] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2026-04-09 04:31:10] Production.INFO: AlreadyBilled [2026-04-09 04:31:10] Production.INFO: Reseller ==> 0 [2026-04-09 04:31:10] Production.INFO: original start date ==>2026-03-09 changed start date ==>2026-03-09 00:00:00 original end date ==>2026-04-08 23:59:59 changed end date ==>2026-04-08 23:59:59 [2026-04-09 04:31:10] Production.INFO: CompanyGatewayID 1 TotalCharges ==>0.24145000 [2026-04-09 04:31:10] Production.INFO: Invoice::getAccountUsageTotal(1,247,2026-03-09,2026-04-08 23:59:59) [2026-04-09 04:31:10] Production.INFO: TotalCharges - 0.24145 [2026-04-09 04:31:10] Production.INFO: TotalUsageCharges - 0.24 [2026-04-09 04:31:10] Production.INFO: Usage Over [2026-04-09 04:31:10] Production.INFO: Call prc_getAccountSubscription(247,0) [2026-04-09 04:31:10] Production.INFO: SUBSCRIPTION 4 [2026-04-09 04:31:10] Production.INFO: ============================Subscription Start ================= [2026-04-09 04:31:10] Production.INFO: SubscriptionID - 64 [2026-04-09 04:31:10] Production.INFO: isAdvanceSubscription - 64 [2026-04-09 04:31:10] Production.INFO: SubscriptionStartDate =2026-04-09 - SubscriptionEndDate = 2026-05-08 [2026-04-09 04:31:10] Production.INFO: NewNextChargeDate =2026-05-08 00:00:00 [2026-04-09 04:31:10] Production.INFO: EndDate =2025-05-08 00:00:00 [2026-04-09 04:31:10] Production.INFO: NewEndDate1 =2025-05-09 [2026-04-09 04:31:10] Production.INFO: SubscriptionDate [2026-04-09 04:31:10] Production.INFO: Array ( [StartDate] => 2025-05-09 [EndDate] => 2026-05-08 00:00:00 [AlreadyCharged] => 0 ) [2026-04-09 04:31:10] Production.INFO: AccountSubscription StartDate 2025-02-05 StartDate 2026-03-09 [2026-04-09 04:31:10] Production.INFO: SubscriptionID - 2025-05-09=====2026-05-08 00:00:00 [2026-04-09 04:31:10] Production.INFO: AccountSubscriptionID - 1276 === 2025-02-05=====2025-05-07 [2026-04-09 04:31:10] Production.INFO: ============================Subscription End ================= [2026-04-09 04:31:10] Production.INFO: ============================Subscription Start ================= [2026-04-09 04:31:10] Production.INFO: SubscriptionID - 48 [2026-04-09 04:31:10] Production.INFO: isAdvanceSubscription - 48 [2026-04-09 04:31:10] Production.INFO: SubscriptionStartDate =2026-04-09 - SubscriptionEndDate = 2026-05-08 [2026-04-09 04:31:10] Production.INFO: NewNextChargeDate =2026-05-08 00:00:00 [2026-04-09 04:31:10] Production.INFO: EndDate =2025-05-08 00:00:00 [2026-04-09 04:31:10] Production.INFO: NewEndDate1 =2025-05-09 [2026-04-09 04:31:10] Production.INFO: SubscriptionDate [2026-04-09 04:31:10] Production.INFO: Array ( [StartDate] => 2025-05-09 [EndDate] => 2026-05-08 00:00:00 [AlreadyCharged] => 0 ) [2026-04-09 04:31:10] Production.INFO: AccountSubscription StartDate 2025-02-05 StartDate 2026-03-09 [2026-04-09 04:31:10] Production.INFO: SubscriptionID - 2025-05-09=====2026-05-08 00:00:00 [2026-04-09 04:31:10] Production.INFO: AccountSubscriptionID - 1277 === 2025-02-05=====2025-05-07 [2026-04-09 04:31:10] Production.INFO: ============================Subscription End ================= [2026-04-09 04:31:10] Production.INFO: ============================Subscription Start ================= [2026-04-09 04:31:10] Production.INFO: SubscriptionID - 4 [2026-04-09 04:31:10] Production.INFO: isAdvanceSubscription - 4 [2026-04-09 04:31:10] Production.INFO: SubscriptionStartDate =2026-04-09 - SubscriptionEndDate = 2026-05-08 [2026-04-09 04:31:10] Production.INFO: NewNextChargeDate =2026-05-08 00:00:00 [2026-04-09 04:31:10] Production.INFO: EndDate =2025-05-08 00:00:00 [2026-04-09 04:31:10] Production.INFO: NewEndDate1 =2025-05-09 [2026-04-09 04:31:10] Production.INFO: SubscriptionDate [2026-04-09 04:31:10] Production.INFO: Array ( [StartDate] => 2025-05-09 [EndDate] => 2026-05-08 00:00:00 [AlreadyCharged] => 0 ) [2026-04-09 04:31:10] Production.INFO: AccountSubscription StartDate 2025-02-05 StartDate 2026-03-09 [2026-04-09 04:31:10] Production.INFO: SubscriptionID - 2025-05-09=====2026-05-08 00:00:00 [2026-04-09 04:31:10] Production.INFO: AccountSubscriptionID - 1278 === 2025-02-05=====2025-05-07 [2026-04-09 04:31:10] Production.INFO: ============================Subscription End ================= [2026-04-09 04:31:10] Production.INFO: ============================Subscription Start ================= [2026-04-09 04:31:10] Production.INFO: SubscriptionID - 2 [2026-04-09 04:31:10] Production.INFO: isAdvanceSubscription - 2 [2026-04-09 04:31:10] Production.INFO: SubscriptionStartDate =2026-04-09 - SubscriptionEndDate = 2026-05-08 [2026-04-09 04:31:10] Production.INFO: NewNextChargeDate =2026-05-08 00:00:00 [2026-04-09 04:31:11] Production.INFO: EndDate =2025-05-08 00:00:00 [2026-04-09 04:31:11] Production.INFO: NewEndDate1 =2025-05-09 [2026-04-09 04:31:11] Production.INFO: SubscriptionDate [2026-04-09 04:31:11] Production.INFO: Array ( [StartDate] => 2025-05-09 [EndDate] => 2026-05-08 00:00:00 [AlreadyCharged] => 0 ) [2026-04-09 04:31:11] Production.INFO: AccountSubscription StartDate 2025-02-05 StartDate 2026-03-09 [2026-04-09 04:31:11] Production.INFO: SubscriptionID - 2025-05-09=====2026-05-08 00:00:00 [2026-04-09 04:31:11] Production.INFO: AccountSubscriptionID - 1279 === 2025-02-05=====2025-05-07 [2026-04-09 04:31:11] Production.INFO: ============================Subscription End ================= [2026-04-09 04:31:11] Production.INFO: SUBSCRIPTION Over [2026-04-09 04:31:11] Production.INFO: Call prc_getAccountOneOffCharge(247,0,2026-03-09,2026-04-09 23:59:59) [2026-04-09 04:31:11] Production.INFO: AccountOneOffCharge 0 [2026-04-09 04:31:11] Production.INFO: AccountOneOffCharge Over [2026-04-09 04:31:11] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2026-04-09 04:31:11] Production.INFO: New UsageDates 2026-03-09 - 2026-04-08 23:59:59 [2026-04-09 04:31:11] Production.INFO: SubTotal 0.24 [2026-04-09 04:31:11] Production.INFO: SubTotalWithouttaxTotal 0 [2026-04-09 04:31:11] Production.INFO: AccountOneOffCharge Tax Over [2026-04-09 04:31:11] Production.INFO: TotalTax 0.0312 [2026-04-09 04:31:11] Production.INFO: InvoiceGrandTotal 0.2712 [2026-04-09 04:31:11] Production.INFO: InvoiceTaxAmount 0.03 [2026-04-09 04:31:11] Production.INFO: GrandTotal 0.27 [2026-04-09 04:31:11] Production.INFO: SubTotal 0.24 [2026-04-09 04:31:11] Production.INFO: TotalDue 3576.74 [2026-04-09 04:31:11] Production.INFO: Reseller ==> 0 [2026-04-09 04:31:11] Production.INFO: original start date ==>2026-03-09 changed start date ==>2026-03-09 00:00:00 original end date ==>2026-04-08 23:59:59 changed end date ==>2026-04-08 23:59:59 [2026-04-09 04:31:11] Production.INFO: CALL prc_getInvoiceUsage(1,'247','0','1','2026-03-09 00:00:00','2026-04-08 23:59:59',0) [2026-04-09 04:31:11] Production.INFO: PDF Generation start [2026-04-09 04:31:11] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/247/Invoices/2026/04/09/Invoice-cancom-security-inv13792-from-03-09-2026-to-04-08-2026-12800.pdf [2026-04-09 04:31:11] Production.INFO: On Linux [2026-04-09 04:31:13] Production.INFO: /var/www/html/onswitch.neon.service/wkhtmltox/bin/wkhtmltopdf --header-spacing 3 --footer-spacing 1 --header-html --footer-html "/var/www/tmp/1/247/Invoices/2026/04/09/footer-cancom-security-inv13792-from-03-09-2026-to-04-08-2026-12800.html" "/var/www/tmp/1/247/Invoices/2026/04/09/Invoice-cancom-security-inv13792-from-03-09-2026-to-04-08-2026-12800.html" "/var/www/tmp/1/247/Invoices/2026/04/09/Invoice-cancom-security-inv13792-from-03-09-2026-to-04-08-2026-12800.pdf" [2026-04-09 04:31:13] Production.INFO: [2026-04-09 04:31:13] Production.INFO: /var/www/tmp/1/247/Invoices/2026/04/09/Invoice-cancom-security-inv13792-from-03-09-2026-to-04-08-2026-12800.html [2026-04-09 04:31:13] Production.INFO: /var/www/tmp/1/247/Invoices/2026/04/09/header-cancom-security-inv13792-from-03-09-2026-to-04-08-2026-12800.html [2026-04-09 04:31:13] Production.INFO: /var/www/tmp/1/247/Invoices/2026/04/09/footer-cancom-security-inv13792-from-03-09-2026-to-04-08-2026-12800.html [2026-04-09 04:31:13] Production.INFO: Invoice generation PDF path [2026-04-09 04:31:13] Production.INFO: PDF fullPath 1/247/Invoices/2026/04/09/Invoice-cancom-security-inv13792-from-03-09-2026-to-04-08-2026-12800.pdf [2026-04-09 04:31:13] Production.INFO: Generate Usage File Start [2026-04-09 04:31:13] Production.INFO: Usage File fullPath 1/247/InvoiceUsageFile/2026/04/09/cancom-security-09-03-2026-00-00-00-TO-08-04-2026-23-59-59_3145__77de1c20-33ee-11f1-9bf3-c910770a22d6.csv [2026-04-09 04:31:14] Production.INFO: Sending Email to Staff over [2026-04-09 04:31:14] Production.INFO: Email Status 1 [2026-04-09 04:31:14] Production.INFO: Sending Email to Customer [2026-04-09 04:31:14] Production.INFO: =========== Email Sending over =========== [2026-04-09 04:31:14] Production.INFO: =========== Returning as Success =========== AccountID 247 [2026-04-09 04:31:14] Production.INFO: Invoice::sendInvoice done [2026-04-09 04:31:14] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2026-04-09 04:31:14] Production.INFO: Invoice Committed AccountID = 247 [2026-04-09 04:31:14] Production.INFO: =========== Updating InvoiceDate =========== [2026-04-09 04:31:14] Production.INFO: NextInvoice 2026-04-09 2026-05-08 [2026-04-09 04:31:14] Production.INFO: new dates [2026-04-09 04:31:14] Production.INFO: LastInvoiceDate 2026-04-09 NextInvoiceDate 2026-05-09 [2026-04-09 04:31:14] Production.INFO: LastChargeDate 2026-04-09 NextChargeDate 2026-05-08 [2026-04-09 04:31:14] Production.INFO: =========== Updated InvoiceDate =========== [2026-04-09 04:31:14] Production.INFO: ========================== Invoice Send End ============================= [2026-04-09 04:31:14] Production.INFO: AccountID =258 FirstInvoiceSend 0 [2026-04-09 04:31:14] Production.INFO: LastInvoiceDate 2025-02-10 NextInvoiceDate 2025-03-10 [2026-04-09 04:31:14] Production.INFO: LastChargeDate 2025-02-10 NextChargeDate 2025-03-09 [2026-04-09 04:31:14] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2026-04-09 04:31:14] Production.INFO: ========================== Invoice Send Start ============================= [2026-04-09 04:31:14] Production.INFO: Invoice::sendInvoice(1,258,2025-02-10,2025-03-10,billing@onswitchit.ca) [2026-04-09 04:31:14] Production.INFO: start Date =2025-02-10 EndDate =2025-03-09 23:59:59 [2026-04-09 04:31:14] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2026-04-09 04:31:14] 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.


[2026-04-09 04:31:14] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2026-04-09 04:31:14] Production.INFO: Invoice::sendInvoice done [2026-04-09 04:31:14] Production.INFO: Invoice rollback AccountID = 258 [2026-04-09 04:31:14] Production.INFO: ========================== Error ============================= [2026-04-09 04:31:14] Production.INFO: Invoice with Error - Array ( [status] => failure [message] => Lion Motors Account is already billed on this duration ) [2026-04-09 04:31:14] Production.INFO: ========================== Invoice Send End ============================= [2026-04-09 04:31:14] Production.INFO: ========================== Recurring invoice Start ============================= [2026-04-09 04:31:14] Production.INFO: recurring invoices ID [2026-04-09 04:31:14] Production.INFO: [2026-04-09 04:31:14] Production.INFO: recurring errorsArray ( ) [2026-04-09 04:31:14] Production.INFO: ========================== Recurring invoice End ============================= [2026-04-09 04:31:15] Production.INFO: ========================== Job Updated ============================= [2026-04-09 04:31:16] Production.INFO: ========================== Job Email Sent ============================= [2026-04-09 04:31:17] Production.ERROR: **Email Sent Status 1 [2026-04-09 04:31:17] Production.ERROR: **Email Sent message Email has been sent [2026-04-09 04:31:17] Production.ERROR: CronJobId end6 [2026-04-09 04:31:17] Production.INFO: ==11161== Releasing lock... [2026-04-09 04:31:17] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Stops# [2026-04-09 04:31:17] Production.INFO: 38.25 MB #Memory Used#