[2025-02-09 04:31:04] Production.INFO: Call prc_getBillingAccounts(1,2025-02-09,'','0') [2025-02-09 04:31:04] Production.INFO: Array ( [0] => stdClass Object ( [AccountID] => 65 [NextInvoiceDate] => 2025-02-09 [AccountName] => AOPG Inc. [ServiceID] => 0 ) ) [2025-02-09 04:31:04] Production.INFO: AccountID =65 FirstInvoiceSend 0 [2025-02-09 04:31:04] Production.INFO: LastInvoiceDate 2025-01-09 NextInvoiceDate 2025-02-09 [2025-02-09 04:31:04] Production.INFO: LastChargeDate 2025-01-09 NextChargeDate 2025-02-08 [2025-02-09 04:31:04] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-02-09 04:31:04] Production.INFO: ========================== Invoice Send Start ============================= [2025-02-09 04:31:04] Production.INFO: Invoice::sendInvoice(1,65,2025-01-09,2025-02-09,billing@onswitchit.ca) [2025-02-09 04:31:04] Production.INFO: start Date =2025-01-09 EndDate =2025-02-08 23:59:59 [2025-02-09 04:31:04] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-02-09 04:31: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-02-09 04:31:04] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-02-09 04:31:04] Production.INFO: AlreadyBilled [2025-02-09 04:31:04] Production.INFO: Reseller ==> 0 [2025-02-09 04:31:04] Production.INFO: original start date ==>2025-01-09 changed start date ==>2025-01-09 00:00:00 original end date ==>2025-02-08 23:59:59 changed end date ==>2025-02-08 23:59:59 [2025-02-09 04:31:04] Production.INFO: CompanyGatewayID 1 TotalCharges ==>0.39000000 [2025-02-09 04:31:04] Production.INFO: Invoice::getAccountUsageTotal(1,65,2025-01-09,2025-02-08 23:59:59) [2025-02-09 04:31:04] Production.INFO: TotalCharges - 0.39 [2025-02-09 04:31:04] Production.INFO: TotalUsageCharges - 0.39 [2025-02-09 04:31:04] Production.INFO: Usage Over [2025-02-09 04:31:04] Production.INFO: Call prc_getAccountSubscription(65,0) [2025-02-09 04:31:04] Production.INFO: SUBSCRIPTION 5 [2025-02-09 04:31:04] Production.INFO: ============================Subscription Start ================= [2025-02-09 04:31:04] Production.INFO: SubscriptionID - 1 [2025-02-09 04:31:04] Production.INFO: isAdvanceSubscription - 1 [2025-02-09 04:31:04] Production.INFO: SubscriptionStartDate =2025-02-09 - SubscriptionEndDate = 2025-03-08 [2025-02-09 04:31:04] Production.INFO: NewNextChargeDate =2025-03-08 00:00:00 [2025-02-09 04:31:04] Production.INFO: EndDate =2025-02-08 00:00:00 [2025-02-09 04:31:04] Production.INFO: NewEndDate1 =2025-02-09 [2025-02-09 04:31:04] Production.INFO: SubscriptionDate [2025-02-09 04:31:04] Production.INFO: Array ( [StartDate] => 2025-02-09 [EndDate] => 2025-03-08 00:00:00 [AlreadyCharged] => 0 ) [2025-02-09 04:31:04] Production.INFO: AccountSubscription StartDate 2018-02-16 StartDate 2025-01-09 [2025-02-09 04:31:04] Production.INFO: SubscriptionID - 2025-02-09=====2025-03-08 00:00:00 [2025-02-09 04:31:04] Production.INFO: AccountSubscriptionID - 229 === 2018-02-16=====2026-02-09 [2025-02-09 04:31:04] Production.INFO: regular Advance Subscription [2025-02-09 04:31:04] Production.INFO: First Time False 2018-02-16 2025-02-09 [2025-02-09 04:31:04] Production.INFO: StartDate 2025-02-09 AccountSubscription->StartDate 2018-02-16 EndDate 2025-03-08 00:00:00 AccountSubscription->EndDate 2026-02-09 [2025-02-09 04:31:04] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-09 04:31:04] Production.INFO: AccountSubscription::getSubscriptionAmount(229,2025-02-09,2025-03-08 00:00:00,,0) [2025-02-09 04:31:04] Production.INFO: SubscriptionCharge - 7 [2025-02-09 04:31:04] Production.INFO: Already Invoice Subscription 0 [2025-02-09 04:31:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(65,1,1,2025-02-09,2025-03-08 00:00:00,License for a Pay As You Go Cloud Phone extension,21,7,3,229) [2025-02-09 04:31:04] Production.INFO: DiscountAmount 0.000000 [2025-02-09 04:31:04] Production.INFO: DiscountType [2025-02-09 04:31:04] Production.INFO: SubscriptionCharge 21 [2025-02-09 04:31:04] Production.INFO: New SubscriptionCharge 21 [2025-02-09 04:31:04] Production.INFO: TotalSubscriptionCharge - 21.00 [2025-02-09 04:31:04] Production.INFO: ============================Subscription End ================= [2025-02-09 04:31:04] Production.INFO: ============================Subscription Start ================= [2025-02-09 04:31:04] Production.INFO: SubscriptionID - 12 [2025-02-09 04:31:04] Production.INFO: isAdvanceSubscription - 12 [2025-02-09 04:31:04] Production.INFO: SubscriptionStartDate =2025-02-09 - SubscriptionEndDate = 2025-03-08 [2025-02-09 04:31:04] Production.INFO: NewNextChargeDate =2025-03-08 00:00:00 [2025-02-09 04:31:04] Production.INFO: EndDate =2025-02-08 00:00:00 [2025-02-09 04:31:04] Production.INFO: NewEndDate1 =2025-02-09 [2025-02-09 04:31:04] Production.INFO: SubscriptionDate [2025-02-09 04:31:04] Production.INFO: Array ( [StartDate] => 2025-02-09 [EndDate] => 2025-03-08 00:00:00 [AlreadyCharged] => 0 ) [2025-02-09 04:31:04] Production.INFO: AccountSubscription StartDate 2018-02-16 StartDate 2025-01-09 [2025-02-09 04:31:04] Production.INFO: SubscriptionID - 2025-02-09=====2025-03-08 00:00:00 [2025-02-09 04:31:04] Production.INFO: AccountSubscriptionID - 230 === 2018-02-16=====2026-02-09 [2025-02-09 04:31:04] Production.INFO: regular Advance Subscription [2025-02-09 04:31:04] Production.INFO: First Time False 2018-02-16 2025-02-09 [2025-02-09 04:31:04] Production.INFO: StartDate 2025-02-09 AccountSubscription->StartDate 2018-02-16 EndDate 2025-03-08 00:00:00 AccountSubscription->EndDate 2026-02-09 [2025-02-09 04:31:04] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-09 04:31:04] Production.INFO: AccountSubscription::getSubscriptionAmount(230,2025-02-09,2025-03-08 00:00:00,,0) [2025-02-09 04:31:04] Production.INFO: SubscriptionCharge - 0 [2025-02-09 04:31:04] Production.INFO: Already Invoice Subscription 0 [2025-02-09 04:31:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(65,1,12,2025-02-09,2025-03-08 00:00:00,Included DID (16473177297),0,0,1,230) [2025-02-09 04:31:04] Production.INFO: DiscountAmount 0.000000 [2025-02-09 04:31:04] Production.INFO: DiscountType [2025-02-09 04:31:04] Production.INFO: SubscriptionCharge 0 [2025-02-09 04:31:04] Production.INFO: New SubscriptionCharge 0 [2025-02-09 04:31:04] Production.INFO: TotalSubscriptionCharge - 0.00 [2025-02-09 04:31:04] Production.INFO: ============================Subscription End ================= [2025-02-09 04:31:04] Production.INFO: ============================Subscription Start ================= [2025-02-09 04:31:04] Production.INFO: SubscriptionID - 12 [2025-02-09 04:31:04] Production.INFO: isAdvanceSubscription - 12 [2025-02-09 04:31:05] Production.INFO: SubscriptionStartDate =2025-02-09 - SubscriptionEndDate = 2025-03-08 [2025-02-09 04:31:05] Production.INFO: NewNextChargeDate =2025-03-08 00:00:00 [2025-02-09 04:31:05] Production.INFO: EndDate =2025-02-08 00:00:00 [2025-02-09 04:31:05] Production.INFO: NewEndDate1 =2025-02-09 [2025-02-09 04:31:05] Production.INFO: SubscriptionDate [2025-02-09 04:31:05] Production.INFO: Array ( [StartDate] => 2025-02-09 [EndDate] => 2025-03-08 00:00:00 [AlreadyCharged] => 0 ) [2025-02-09 04:31:05] Production.INFO: AccountSubscription StartDate 2018-02-16 StartDate 2025-01-09 [2025-02-09 04:31:05] Production.INFO: SubscriptionID - 2025-02-09=====2025-03-08 00:00:00 [2025-02-09 04:31:05] Production.INFO: AccountSubscriptionID - 231 === 2018-02-16=====2026-02-09 [2025-02-09 04:31:05] Production.INFO: regular Advance Subscription [2025-02-09 04:31:05] Production.INFO: First Time False 2018-02-16 2025-02-09 [2025-02-09 04:31:05] Production.INFO: StartDate 2025-02-09 AccountSubscription->StartDate 2018-02-16 EndDate 2025-03-08 00:00:00 AccountSubscription->EndDate 2026-02-09 [2025-02-09 04:31:05] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-09 04:31:05] Production.INFO: AccountSubscription::getSubscriptionAmount(231,2025-02-09,2025-03-08 00:00:00,,0) [2025-02-09 04:31:05] Production.INFO: SubscriptionCharge - 0 [2025-02-09 04:31:05] Production.INFO: Already Invoice Subscription 0 [2025-02-09 04:31:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(65,1,12,2025-02-09,2025-03-08 00:00:00,Included DID (17134010840),0,0,1,231) [2025-02-09 04:31:05] Production.INFO: DiscountAmount 0.000000 [2025-02-09 04:31:05] Production.INFO: DiscountType [2025-02-09 04:31:05] Production.INFO: SubscriptionCharge 0 [2025-02-09 04:31:05] Production.INFO: New SubscriptionCharge 0 [2025-02-09 04:31:05] Production.INFO: TotalSubscriptionCharge - 0.00 [2025-02-09 04:31:05] Production.INFO: ============================Subscription End ================= [2025-02-09 04:31:05] Production.INFO: ============================Subscription Start ================= [2025-02-09 04:31:05] Production.INFO: SubscriptionID - 12 [2025-02-09 04:31:05] Production.INFO: isAdvanceSubscription - 12 [2025-02-09 04:31:05] Production.INFO: SubscriptionStartDate =2025-02-09 - SubscriptionEndDate = 2025-03-08 [2025-02-09 04:31:05] Production.INFO: NewNextChargeDate =2025-03-08 00:00:00 [2025-02-09 04:31:05] Production.INFO: EndDate =2025-02-08 00:00:00 [2025-02-09 04:31:05] Production.INFO: NewEndDate1 =2025-02-09 [2025-02-09 04:31:05] Production.INFO: SubscriptionDate [2025-02-09 04:31:05] Production.INFO: Array ( [StartDate] => 2025-02-09 [EndDate] => 2025-03-08 00:00:00 [AlreadyCharged] => 0 ) [2025-02-09 04:31:05] Production.INFO: AccountSubscription StartDate 2018-02-16 StartDate 2025-01-09 [2025-02-09 04:31:05] Production.INFO: SubscriptionID - 2025-02-09=====2025-03-08 00:00:00 [2025-02-09 04:31:05] Production.INFO: AccountSubscriptionID - 232 === 2018-02-16=====2026-02-09 [2025-02-09 04:31:05] Production.INFO: regular Advance Subscription [2025-02-09 04:31:05] Production.INFO: First Time False 2018-02-16 2025-02-09 [2025-02-09 04:31:05] Production.INFO: StartDate 2025-02-09 AccountSubscription->StartDate 2018-02-16 EndDate 2025-03-08 00:00:00 AccountSubscription->EndDate 2026-02-09 [2025-02-09 04:31:05] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-09 04:31:05] Production.INFO: AccountSubscription::getSubscriptionAmount(232,2025-02-09,2025-03-08 00:00:00,,0) [2025-02-09 04:31:05] Production.INFO: SubscriptionCharge - 0 [2025-02-09 04:31:05] Production.INFO: Already Invoice Subscription 0 [2025-02-09 04:31:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(65,1,12,2025-02-09,2025-03-08 00:00:00,Included DID (18887829336),0,0,1,232) [2025-02-09 04:31:05] Production.INFO: DiscountAmount 0.000000 [2025-02-09 04:31:05] Production.INFO: DiscountType [2025-02-09 04:31:05] Production.INFO: SubscriptionCharge 0 [2025-02-09 04:31:05] Production.INFO: New SubscriptionCharge 0 [2025-02-09 04:31:05] Production.INFO: TotalSubscriptionCharge - 0.00 [2025-02-09 04:31:05] Production.INFO: ============================Subscription End ================= [2025-02-09 04:31:05] Production.INFO: ============================Subscription Start ================= [2025-02-09 04:31:05] Production.INFO: SubscriptionID - 4 [2025-02-09 04:31:05] Production.INFO: isAdvanceSubscription - 4 [2025-02-09 04:31:05] Production.INFO: SubscriptionStartDate =2025-02-09 - SubscriptionEndDate = 2025-03-08 [2025-02-09 04:31:05] Production.INFO: NewNextChargeDate =2025-03-08 00:00:00 [2025-02-09 04:31:05] Production.INFO: EndDate =2025-02-08 00:00:00 [2025-02-09 04:31:05] Production.INFO: NewEndDate1 =2025-02-09 [2025-02-09 04:31:05] Production.INFO: SubscriptionDate [2025-02-09 04:31:05] Production.INFO: Array ( [StartDate] => 2025-02-09 [EndDate] => 2025-03-08 00:00:00 [AlreadyCharged] => 0 ) [2025-02-09 04:31:05] Production.INFO: AccountSubscription StartDate 2018-02-16 StartDate 2025-01-09 [2025-02-09 04:31:05] Production.INFO: SubscriptionID - 2025-02-09=====2025-03-08 00:00:00 [2025-02-09 04:31:05] Production.INFO: AccountSubscriptionID - 233 === 2018-02-16=====2026-02-09 [2025-02-09 04:31:05] Production.INFO: regular Advance Subscription [2025-02-09 04:31:05] Production.INFO: First Time False 2018-02-16 2025-02-09 [2025-02-09 04:31:05] Production.INFO: StartDate 2025-02-09 AccountSubscription->StartDate 2018-02-16 EndDate 2025-03-08 00:00:00 AccountSubscription->EndDate 2026-02-09 [2025-02-09 04:31:05] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-09 04:31:05] Production.INFO: AccountSubscription::getSubscriptionAmount(233,2025-02-09,2025-03-08 00:00:00,,0) [2025-02-09 04:31:05] Production.INFO: SubscriptionCharge - 2.5 [2025-02-09 04:31:05] Production.INFO: Already Invoice Subscription 0 [2025-02-09 04:31:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(65,1,4,2025-02-09,2025-03-08 00:00:00,e911 address registration (16473177297 - 69 KINGSGATE CRES MOUNT ALBERT, ON L0G1M0),2.5,2.5,1,233) [2025-02-09 04:31:05] Production.INFO: DiscountAmount 0.000000 [2025-02-09 04:31:05] Production.INFO: DiscountType [2025-02-09 04:31:05] Production.INFO: SubscriptionCharge 2.5 [2025-02-09 04:31:05] Production.INFO: New SubscriptionCharge 2.5 [2025-02-09 04:31:05] Production.INFO: TotalSubscriptionCharge - 2.50 [2025-02-09 04:31:05] Production.INFO: ============================Subscription End ================= [2025-02-09 04:31:05] Production.INFO: SUBSCRIPTION Over [2025-02-09 04:31:05] Production.INFO: Call prc_getAccountOneOffCharge(65,0,2025-01-09,2025-02-09 23:59:59) [2025-02-09 04:31:05] Production.INFO: AccountOneOffCharge 0 [2025-02-09 04:31:05] Production.INFO: AccountOneOffCharge Over [2025-02-09 04:31:05] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-02-09 04:31:05] Production.INFO: New UsageDates 2025-01-09 - 2025-02-08 23:59:59 [2025-02-09 04:31:05] Production.INFO: SubTotal 23.89 [2025-02-09 04:31:05] Production.INFO: SubTotalWithouttaxTotal 0 [2025-02-09 04:31:05] Production.INFO: AccountOneOffCharge Tax Over [2025-02-09 04:31:05] Production.INFO: TotalTax 3.1057 [2025-02-09 04:31:05] Production.INFO: InvoiceGrandTotal 26.9957 [2025-02-09 04:31:05] Production.INFO: InvoiceTaxAmount 3.11 [2025-02-09 04:31:05] Production.INFO: GrandTotal 27 [2025-02-09 04:31:05] Production.INFO: SubTotal 23.89 [2025-02-09 04:31:05] Production.INFO: TotalDue 0.29 [2025-02-09 04:31:05] Production.INFO: Reseller ==> 0 [2025-02-09 04:31:05] Production.INFO: original start date ==>2025-01-09 changed start date ==>2025-01-09 00:00:00 original end date ==>2025-02-08 23:59:59 changed end date ==>2025-02-08 23:59:59 [2025-02-09 04:31:05] Production.INFO: CALL prc_getInvoiceUsage(1,'65','0','1','2025-01-09 00:00:00','2025-02-08 23:59:59',0) [2025-02-09 04:31:05] Production.INFO: PDF Generation start [2025-02-09 04:31:05] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/65/Invoices/2025/02/09/Invoice-aopg-inc-inv11502-from-01-09-2025-to-02-08-2025-10437.pdf [2025-02-09 04:31:05] Production.INFO: On Linux [2025-02-09 04:31:07] Production.INFO: /var/www/html/onswitch.neon.service/wkhtmltox/bin/wkhtmltopdf --header-spacing 3 --footer-spacing 1 --header-html --footer-html "/var/www/tmp/1/65/Invoices/2025/02/09/footer-aopg-inc-inv11502-from-01-09-2025-to-02-08-2025-10437.html" "/var/www/tmp/1/65/Invoices/2025/02/09/Invoice-aopg-inc-inv11502-from-01-09-2025-to-02-08-2025-10437.html" "/var/www/tmp/1/65/Invoices/2025/02/09/Invoice-aopg-inc-inv11502-from-01-09-2025-to-02-08-2025-10437.pdf" [2025-02-09 04:31:07] Production.INFO: [2025-02-09 04:31:07] Production.INFO: /var/www/tmp/1/65/Invoices/2025/02/09/Invoice-aopg-inc-inv11502-from-01-09-2025-to-02-08-2025-10437.html [2025-02-09 04:31:07] Production.INFO: /var/www/tmp/1/65/Invoices/2025/02/09/header-aopg-inc-inv11502-from-01-09-2025-to-02-08-2025-10437.html [2025-02-09 04:31:07] Production.INFO: /var/www/tmp/1/65/Invoices/2025/02/09/footer-aopg-inc-inv11502-from-01-09-2025-to-02-08-2025-10437.html [2025-02-09 04:31:07] Production.INFO: Invoice generation PDF path [2025-02-09 04:31:07] Production.INFO: PDF fullPath 1/65/Invoices/2025/02/09/Invoice-aopg-inc-inv11502-from-01-09-2025-to-02-08-2025-10437.pdf [2025-02-09 04:31:07] Production.INFO: Generate Usage File Start [2025-02-09 04:31:07] Production.INFO: Usage File fullPath 1/65/InvoiceUsageFile/2025/02/09/aopg-inc-09-01-2025-00-00-00-TO-08-02-2025-23-59-59_7673__96f20e10-e6c8-11ef-a2c7-015fa2b09100.csv [2025-02-09 04:31:08] Production.INFO: Sending Email to Staff over [2025-02-09 04:31:08] Production.INFO: Email Status 1 [2025-02-09 04:31:08] Production.INFO: Sending Email to Customer [2025-02-09 04:31:09] Production.INFO: Email Try 10437 1 [2025-02-09 04:31:09] Production.INFO: =========== Email Sending over =========== [2025-02-09 04:31:09] Production.INFO: =========== Returning as Success =========== AccountID 65 [2025-02-09 04:31:09] Production.INFO: Invoice::sendInvoice done [2025-02-09 04:31:09] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-02-09 04:31:09] Production.INFO: Invoice Committed AccountID = 65 [2025-02-09 04:31:09] Production.INFO: =========== Updating InvoiceDate =========== [2025-02-09 04:31:09] Production.INFO: NextInvoice 2025-02-09 2025-03-08 [2025-02-09 04:31:09] Production.INFO: new dates [2025-02-09 04:31:09] Production.INFO: LastInvoiceDate 2025-02-09 NextInvoiceDate 2025-03-09 [2025-02-09 04:31:09] Production.INFO: LastChargeDate 2025-02-09 NextChargeDate 2025-03-08 [2025-02-09 04:31:09] Production.INFO: =========== Updated InvoiceDate =========== [2025-02-09 04:31:09] Production.INFO: ========================== Invoice Send End ============================= [2025-02-09 04:31:09] Production.INFO: ========================== Recurring invoice Start ============================= [2025-02-09 04:31:09] Production.INFO: recurring invoices ID [2025-02-09 04:31:09] Production.INFO: [2025-02-09 04:31:09] Production.INFO: recurring errorsArray ( ) [2025-02-09 04:31:09] Production.INFO: ========================== Recurring invoice End ============================= [2025-02-09 04:31:09] Production.INFO: ========================== Job Updated ============================= [2025-02-09 04:31:10] Production.INFO: ========================== Job Email Sent ============================= [2025-02-09 04:31:11] Production.ERROR: **Email Sent Status 1 [2025-02-09 04:31:11] Production.ERROR: **Email Sent message Email has been sent [2025-02-09 04:31:11] Production.ERROR: CronJobId end6 [2025-02-09 04:31:11] Production.INFO: ==18105== Releasing lock... [2025-02-09 04:31:11] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Stops# [2025-02-09 04:31:11] Production.INFO: 38.25 MB #Memory Used# [2025-02-09 19:53:03] Production.INFO: run by user 2 [2025-02-09 19:53:03] Production.INFO: Call prc_getBillingAccounts(1,2025-02-09,'','0') [2025-02-09 19:53:03] Production.INFO: Array ( ) [2025-02-09 19:53:03] Production.INFO: ========================== Recurring invoice Start ============================= [2025-02-09 19:53:03] Production.INFO: recurring invoices ID [2025-02-09 19:53:03] Production.INFO: [2025-02-09 19:53:03] Production.INFO: recurring errorsArray ( ) [2025-02-09 19:53:03] Production.INFO: ========================== Recurring invoice End ============================= [2025-02-09 19:53:03] Production.INFO: ========================== Job Updated ============================= [2025-02-09 19:53:04] Production.INFO: ========================== Job Email Sent ============================= [2025-02-09 19:53:05] Production.ERROR: **Email Sent Status 1 [2025-02-09 19:53:05] Production.ERROR: **Email Sent message Email has been sent [2025-02-09 19:53:05] Production.ERROR: CronJobId end6 [2025-02-09 19:53:05] Production.INFO: ==32094== Releasing lock... [2025-02-09 19:53:05] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Stops# [2025-02-09 19:53:05] Production.INFO: 29.5 MB #Memory Used# [2025-02-09 19:58:03] Production.INFO: run by user 2 [2025-02-09 19:58:03] Production.INFO: Call prc_getBillingAccounts(1,2025-02-09,'','0') [2025-02-09 19:58:03] Production.INFO: Array ( ) [2025-02-09 19:58:03] Production.INFO: ========================== Recurring invoice Start ============================= [2025-02-09 19:58:03] Production.INFO: recurring invoices ID [2025-02-09 19:58:03] Production.INFO: [2025-02-09 19:58:03] Production.INFO: recurring errorsArray ( ) [2025-02-09 19:58:03] Production.INFO: ========================== Recurring invoice End ============================= [2025-02-09 19:58:03] Production.INFO: ========================== Job Updated ============================= [2025-02-09 19:58:04] Production.INFO: ========================== Job Email Sent ============================= [2025-02-09 19:58:05] Production.ERROR: **Email Sent Status 1 [2025-02-09 19:58:05] Production.ERROR: **Email Sent message Email has been sent [2025-02-09 19:58:05] Production.ERROR: CronJobId end6 [2025-02-09 19:58:05] Production.INFO: ==32538== Releasing lock... [2025-02-09 19:58:05] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Stops# [2025-02-09 19:58:05] Production.INFO: 29.5 MB #Memory Used# [2025-02-09 20:05:04] Production.INFO: run by user 2 [2025-02-09 20:05:04] Production.INFO: Call prc_getBillingAccounts(1,2025-02-09,'','0') [2025-02-09 20:05:04] Production.INFO: Array ( [0] => stdClass Object ( [AccountID] => 247 [NextInvoiceDate] => 2025-02-09 [AccountName] => Cancom Security [ServiceID] => 0 ) ) [2025-02-09 20:05:04] Production.INFO: AccountID =247 FirstInvoiceSend 0 [2025-02-09 20:05:04] Production.INFO: LastInvoiceDate 2025-02-05 NextInvoiceDate 2025-02-09 [2025-02-09 20:05:04] Production.INFO: LastChargeDate 2025-02-05 NextChargeDate 2025-02-08 [2025-02-09 20:05:04] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-02-09 20:05:04] Production.INFO: ========================== Invoice Send Start ============================= [2025-02-09 20:05:04] Production.INFO: Invoice::sendInvoice(1,247,2025-02-05,2025-02-09,billing@onswitchit.ca) [2025-02-09 20:05:04] Production.INFO: start Date =2025-02-05 EndDate =2025-02-08 23:59:59 [2025-02-09 20:05:04] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-02-09 20:05: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-02-09 20:05:04] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-02-09 20:05:04] Production.INFO: AlreadyBilled [2025-02-09 20:05:04] Production.INFO: Reseller ==> 0 [2025-02-09 20:05:04] Production.INFO: original start date ==>2025-02-05 changed start date ==>2025-02-05 00:00:00 original end date ==>2025-02-08 23:59:59 changed end date ==>2025-02-08 23:59:59 [2025-02-09 20:05:04] Production.INFO: Invoice::getAccountUsageTotal(1,247,2025-02-05,2025-02-08 23:59:59) [2025-02-09 20:05:04] Production.INFO: TotalCharges - 0 [2025-02-09 20:05:04] Production.INFO: TotalUsageCharges - 0.00 [2025-02-09 20:05:04] Production.INFO: Usage Over [2025-02-09 20:05:04] Production.INFO: Call prc_getAccountSubscription(247,0) [2025-02-09 20:05:04] Production.INFO: SUBSCRIPTION 4 [2025-02-09 20:05:04] Production.INFO: ============================Subscription Start ================= [2025-02-09 20:05:04] Production.INFO: SubscriptionID - 64 [2025-02-09 20:05:04] Production.INFO: isAdvanceSubscription - 64 [2025-02-09 20:05:04] Production.INFO: SubscriptionStartDate =2025-02-09 - SubscriptionEndDate = 2025-03-08 [2025-02-09 20:05:04] Production.INFO: NewNextChargeDate =2025-03-08 00:00:00 [2025-02-09 20:05:04] Production.INFO: SubscriptionDate [2025-02-09 20:05:04] Production.INFO: Array ( [StartDate] => 2025-02-09 [EndDate] => 2025-03-08 [AlreadyCharged] => 0 ) [2025-02-09 20:05:04] Production.INFO: AccountSubscription StartDate 2025-02-05 StartDate 2025-02-05 [2025-02-09 20:05:04] Production.INFO: First Time + Advance Billing - Yes [2025-02-09 20:05:04] Production.INFO: StartDate 2025-02-05 - EndDate 2025-02-08 [2025-02-09 20:05:04] Production.INFO: ACStartDate 2025-02-05 - ACEndDate 2026-02-09 [2025-02-09 20:05:04] Production.INFO: regular Subscription if advance [2025-02-09 20:05:04] Production.INFO: First Time True 2025-02-05 2025-02-05 [2025-02-09 20:05:04] Production.INFO: StartDate 2025-02-05 AccountSubscription->StartDate 2025-02-05 EndDate 2025-02-08 AccountSubscription->EndDate 2026-02-09 [2025-02-09 20:05:04] Production.INFO: days diff - 4 subscription days 28 quarter days 90 [2025-02-09 20:05:04] Production.INFO: AccountSubscription::getSubscriptionAmount(1276,2025-02-05,2025-02-08,1,0) [2025-02-09 20:05:04] Production.INFO: SubscriptionCharge - 1.72 [2025-02-09 20:05:04] Production.INFO: Already Invoice Subscription 0 [2025-02-09 20:05:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(247,1,64,2025-02-05,2025-02-08,CloudPhone.ONE Softphone User - Unlimited Canada/US Calling,44.72,1.72,26,1276) [2025-02-09 20:05:04] Production.INFO: DiscountAmount 5.000000 [2025-02-09 20:05:04] Production.INFO: DiscountType Percentage [2025-02-09 20:05:04] Production.INFO: SubscriptionCharge 44.72 [2025-02-09 20:05:04] Production.INFO: New SubscriptionCharge 42.484 [2025-02-09 20:05:04] Production.INFO: TotalSubscriptionCharge - 42.48 [2025-02-09 20:05:04] Production.INFO: SubscriptionID - 2025-02-09=====2025-03-08 [2025-02-09 20:05:04] Production.INFO: AccountSubscriptionID - 1276 === 2025-02-05=====2026-02-09 [2025-02-09 20:05:04] Production.INFO: regular Advance Subscription [2025-02-09 20:05:04] Production.INFO: First Time False 2025-02-05 2025-02-09 [2025-02-09 20:05:04] Production.INFO: StartDate 2025-02-09 AccountSubscription->StartDate 2025-02-05 EndDate 2025-03-08 AccountSubscription->EndDate 2026-02-09 [2025-02-09 20:05:04] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-09 20:05:04] Production.INFO: AccountSubscription::getSubscriptionAmount(1276,2025-02-09,2025-03-08,,0) [2025-02-09 20:05:04] Production.INFO: SubscriptionCharge - 12.99 [2025-02-09 20:05:04] Production.INFO: Already Invoice Subscription 0 [2025-02-09 20:05:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(247,1,64,2025-02-09,2025-03-08,CloudPhone.ONE Softphone User - Unlimited Canada/US Calling,337.74,12.99,26,1276) [2025-02-09 20:05:04] Production.INFO: DiscountAmount 5.000000 [2025-02-09 20:05:04] Production.INFO: DiscountType Percentage [2025-02-09 20:05:04] Production.INFO: SubscriptionCharge 337.74 [2025-02-09 20:05:04] Production.INFO: New SubscriptionCharge 320.853 [2025-02-09 20:05:04] Production.INFO: TotalSubscriptionCharge - 320.85 [2025-02-09 20:05:04] Production.INFO: ============================Subscription End ================= [2025-02-09 20:05:04] Production.INFO: ============================Subscription Start ================= [2025-02-09 20:05:04] Production.INFO: SubscriptionID - 48 [2025-02-09 20:05:05] Production.INFO: isAdvanceSubscription - 48 [2025-02-09 20:05:05] Production.INFO: SubscriptionStartDate =2025-02-09 - SubscriptionEndDate = 2025-03-08 [2025-02-09 20:05:05] Production.INFO: NewNextChargeDate =2025-03-08 00:00:00 [2025-02-09 20:05:05] Production.INFO: SubscriptionDate [2025-02-09 20:05:05] Production.INFO: Array ( [StartDate] => 2025-02-09 [EndDate] => 2025-03-08 [AlreadyCharged] => 0 ) [2025-02-09 20:05:05] Production.INFO: AccountSubscription StartDate 2025-02-05 StartDate 2025-02-05 [2025-02-09 20:05:05] Production.INFO: First Time + Advance Billing - Yes [2025-02-09 20:05:05] Production.INFO: StartDate 2025-02-05 - EndDate 2025-02-08 [2025-02-09 20:05:05] Production.INFO: ACStartDate 2025-02-05 - ACEndDate 2026-02-09 [2025-02-09 20:05:05] Production.INFO: regular Subscription if advance [2025-02-09 20:05:05] Production.INFO: First Time True 2025-02-05 2025-02-05 [2025-02-09 20:05:05] Production.INFO: StartDate 2025-02-05 AccountSubscription->StartDate 2025-02-05 EndDate 2025-02-08 AccountSubscription->EndDate 2026-02-09 [2025-02-09 20:05:05] Production.INFO: days diff - 4 subscription days 28 quarter days 90 [2025-02-09 20:05:05] Production.INFO: AccountSubscription::getSubscriptionAmount(1277,2025-02-05,2025-02-08,1,0) [2025-02-09 20:05:05] Production.INFO: SubscriptionCharge - 0.64 [2025-02-09 20:05:05] Production.INFO: Already Invoice Subscription 0 [2025-02-09 20:05:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(247,1,48,2025-02-05,2025-02-08,Standby Capacity - Additional calling capacity during emergencies/high demand bursts.,10.88,0.64,17,1277) [2025-02-09 20:05:05] Production.INFO: DiscountAmount 5.000000 [2025-02-09 20:05:05] Production.INFO: DiscountType Percentage [2025-02-09 20:05:05] Production.INFO: SubscriptionCharge 10.88 [2025-02-09 20:05:05] Production.INFO: New SubscriptionCharge 10.336 [2025-02-09 20:05:05] Production.INFO: TotalSubscriptionCharge - 10.34 [2025-02-09 20:05:05] Production.INFO: SubscriptionID - 2025-02-09=====2025-03-08 [2025-02-09 20:05:05] Production.INFO: AccountSubscriptionID - 1277 === 2025-02-05=====2026-02-09 [2025-02-09 20:05:05] Production.INFO: regular Advance Subscription [2025-02-09 20:05:05] Production.INFO: First Time False 2025-02-05 2025-02-09 [2025-02-09 20:05:05] Production.INFO: StartDate 2025-02-09 AccountSubscription->StartDate 2025-02-05 EndDate 2025-03-08 AccountSubscription->EndDate 2026-02-09 [2025-02-09 20:05:05] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-09 20:05:05] Production.INFO: AccountSubscription::getSubscriptionAmount(1277,2025-02-09,2025-03-08,,0) [2025-02-09 20:05:05] Production.INFO: SubscriptionCharge - 4.86 [2025-02-09 20:05:05] Production.INFO: Already Invoice Subscription 0 [2025-02-09 20:05:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(247,1,48,2025-02-09,2025-03-08,Standby Capacity - Additional calling capacity during emergencies/high demand bursts.,82.62,4.86,17,1277) [2025-02-09 20:05:05] Production.INFO: DiscountAmount 5.000000 [2025-02-09 20:05:05] Production.INFO: DiscountType Percentage [2025-02-09 20:05:05] Production.INFO: SubscriptionCharge 82.62 [2025-02-09 20:05:05] Production.INFO: New SubscriptionCharge 78.489 [2025-02-09 20:05:05] Production.INFO: TotalSubscriptionCharge - 78.49 [2025-02-09 20:05:05] Production.INFO: ============================Subscription End ================= [2025-02-09 20:05:05] Production.INFO: ============================Subscription Start ================= [2025-02-09 20:05:05] Production.INFO: SubscriptionID - 4 [2025-02-09 20:05:05] Production.INFO: isAdvanceSubscription - 4 [2025-02-09 20:05:05] Production.INFO: SubscriptionStartDate =2025-02-09 - SubscriptionEndDate = 2025-03-08 [2025-02-09 20:05:05] Production.INFO: NewNextChargeDate =2025-03-08 00:00:00 [2025-02-09 20:05:05] Production.INFO: SubscriptionDate [2025-02-09 20:05:05] Production.INFO: Array ( [StartDate] => 2025-02-09 [EndDate] => 2025-03-08 [AlreadyCharged] => 0 ) [2025-02-09 20:05:05] Production.INFO: AccountSubscription StartDate 2025-02-05 StartDate 2025-02-05 [2025-02-09 20:05:05] Production.INFO: First Time + Advance Billing - Yes [2025-02-09 20:05:05] Production.INFO: StartDate 2025-02-05 - EndDate 2025-02-08 [2025-02-09 20:05:05] Production.INFO: ACStartDate 2025-02-05 - ACEndDate 2026-02-09 [2025-02-09 20:05:05] Production.INFO: regular Subscription if advance [2025-02-09 20:05:05] Production.INFO: First Time True 2025-02-05 2025-02-05 [2025-02-09 20:05:05] Production.INFO: StartDate 2025-02-05 AccountSubscription->StartDate 2025-02-05 EndDate 2025-02-08 AccountSubscription->EndDate 2026-02-09 [2025-02-09 20:05:05] Production.INFO: days diff - 4 subscription days 28 quarter days 90 [2025-02-09 20:05:05] Production.INFO: AccountSubscription::getSubscriptionAmount(1278,2025-02-05,2025-02-08,1,0) [2025-02-09 20:05:05] Production.INFO: SubscriptionCharge - 0.32 [2025-02-09 20:05:05] Production.INFO: Already Invoice Subscription 0 [2025-02-09 20:05:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(247,1,4,2025-02-05,2025-02-08,e911 address registration for one physical location (1183 Finch Ave W, UNIT #205, North York, ON M3J 2G2),0.32,0.32,1,1278) [2025-02-09 20:05:05] Production.INFO: DiscountAmount 0.000000 [2025-02-09 20:05:05] Production.INFO: DiscountType Flat [2025-02-09 20:05:05] Production.INFO: SubscriptionCharge 0.32 [2025-02-09 20:05:05] Production.INFO: New SubscriptionCharge 0.32 [2025-02-09 20:05:05] Production.INFO: TotalSubscriptionCharge - 0.32 [2025-02-09 20:05:05] Production.INFO: SubscriptionID - 2025-02-09=====2025-03-08 [2025-02-09 20:05:05] Production.INFO: AccountSubscriptionID - 1278 === 2025-02-05=====2026-02-09 [2025-02-09 20:05:05] Production.INFO: regular Advance Subscription [2025-02-09 20:05:05] Production.INFO: First Time False 2025-02-05 2025-02-09 [2025-02-09 20:05:05] Production.INFO: StartDate 2025-02-09 AccountSubscription->StartDate 2025-02-05 EndDate 2025-03-08 AccountSubscription->EndDate 2026-02-09 [2025-02-09 20:05:05] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-09 20:05:05] Production.INFO: AccountSubscription::getSubscriptionAmount(1278,2025-02-09,2025-03-08,,0) [2025-02-09 20:05:05] Production.INFO: SubscriptionCharge - 2.5 [2025-02-09 20:05:05] Production.INFO: Already Invoice Subscription 0 [2025-02-09 20:05:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(247,1,4,2025-02-09,2025-03-08,e911 address registration for one physical location (1183 Finch Ave W, UNIT #205, North York, ON M3J 2G2),2.5,2.5,1,1278) [2025-02-09 20:05:05] Production.INFO: DiscountAmount 0.000000 [2025-02-09 20:05:05] Production.INFO: DiscountType Flat [2025-02-09 20:05:05] Production.INFO: SubscriptionCharge 2.5 [2025-02-09 20:05:05] Production.INFO: New SubscriptionCharge 2.5 [2025-02-09 20:05:05] Production.INFO: TotalSubscriptionCharge - 2.50 [2025-02-09 20:05:05] Production.INFO: ============================Subscription End ================= [2025-02-09 20:05:05] Production.INFO: ============================Subscription Start ================= [2025-02-09 20:05:05] Production.INFO: SubscriptionID - 2 [2025-02-09 20:05:05] Production.INFO: isAdvanceSubscription - 2 [2025-02-09 20:05:05] Production.INFO: SubscriptionStartDate =2025-02-09 - SubscriptionEndDate = 2025-03-08 [2025-02-09 20:05:05] Production.INFO: NewNextChargeDate =2025-03-08 00:00:00 [2025-02-09 20:05:05] Production.INFO: SubscriptionDate [2025-02-09 20:05:05] Production.INFO: Array ( [StartDate] => 2025-02-09 [EndDate] => 2025-03-08 [AlreadyCharged] => 0 ) [2025-02-09 20:05:05] Production.INFO: AccountSubscription StartDate 2025-02-05 StartDate 2025-02-05 [2025-02-09 20:05:05] Production.INFO: First Time + Advance Billing - Yes [2025-02-09 20:05:05] Production.INFO: StartDate 2025-02-05 - EndDate 2025-02-08 [2025-02-09 20:05:05] Production.INFO: ACStartDate 2025-02-05 - ACEndDate 2026-02-09 [2025-02-09 20:05:05] Production.INFO: regular Subscription if advance [2025-02-09 20:05:05] Production.INFO: First Time True 2025-02-05 2025-02-05 [2025-02-09 20:05:05] Production.INFO: StartDate 2025-02-05 AccountSubscription->StartDate 2025-02-05 EndDate 2025-02-08 AccountSubscription->EndDate 2026-02-09 [2025-02-09 20:05:05] Production.INFO: days diff - 4 subscription days 28 quarter days 90 [2025-02-09 20:05:05] Production.INFO: AccountSubscription::getSubscriptionAmount(1279,2025-02-05,2025-02-08,1,0) [2025-02-09 20:05:05] Production.INFO: SubscriptionCharge - 3.48 [2025-02-09 20:05:05] Production.INFO: Already Invoice Subscription 0 [2025-02-09 20:05:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(247,1,2,2025-02-05,2025-02-08,CloudPhone.ONE Softphone User - Unlimited Canada/US Calling - NFR Partner Base System,17.4,3.48,5,1279) [2025-02-09 20:05:05] Production.INFO: DiscountAmount 15.000000 [2025-02-09 20:05:05] Production.INFO: DiscountType Percentage [2025-02-09 20:05:05] Production.INFO: SubscriptionCharge 17.4 [2025-02-09 20:05:05] Production.INFO: New SubscriptionCharge 14.79 [2025-02-09 20:05:05] Production.INFO: TotalSubscriptionCharge - 14.79 [2025-02-09 20:05:05] Production.INFO: Already Activatiob Fee 0 [2025-02-09 20:05:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(247,1,2,2025-02-05,2025-02-08,CloudPhone.ONE Softphone User - Unlimited Canada/US Calling - NFR Partner Base System Activation Fee,40,8.00,5,1279) [2025-02-09 20:05:05] Production.INFO: SubscriptionID - 2025-02-09=====2025-03-08 [2025-02-09 20:05:05] Production.INFO: AccountSubscriptionID - 1279 === 2025-02-05=====2026-02-09 [2025-02-09 20:05:05] Production.INFO: regular Advance Subscription [2025-02-09 20:05:05] Production.INFO: First Time False 2025-02-05 2025-02-09 [2025-02-09 20:05:05] Production.INFO: StartDate 2025-02-09 AccountSubscription->StartDate 2025-02-05 EndDate 2025-03-08 AccountSubscription->EndDate 2026-02-09 [2025-02-09 20:05:05] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-09 20:05:05] Production.INFO: AccountSubscription::getSubscriptionAmount(1279,2025-02-09,2025-03-08,,0) [2025-02-09 20:05:05] Production.INFO: SubscriptionCharge - 26 [2025-02-09 20:05:05] Production.INFO: Already Invoice Subscription 0 [2025-02-09 20:05:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(247,1,2,2025-02-09,2025-03-08,CloudPhone.ONE Softphone User - Unlimited Canada/US Calling - NFR Partner Base System,130,26,5,1279) [2025-02-09 20:05:05] Production.INFO: DiscountAmount 15.000000 [2025-02-09 20:05:05] Production.INFO: DiscountType Percentage [2025-02-09 20:05:05] Production.INFO: SubscriptionCharge 130 [2025-02-09 20:05:05] Production.INFO: New SubscriptionCharge 110.5 [2025-02-09 20:05:05] Production.INFO: TotalSubscriptionCharge - 110.50 [2025-02-09 20:05:05] Production.INFO: ============================Subscription End ================= [2025-02-09 20:05:05] Production.INFO: SUBSCRIPTION Over [2025-02-09 20:05:05] Production.INFO: Call prc_getAccountOneOffCharge(247,0,2025-02-05,2025-02-09 23:59:59) [2025-02-09 20:05:05] Production.INFO: AccountOneOffCharge 4 [2025-02-09 20:05:05] Production.INFO: AccountOneOffChargeID - 914 [2025-02-09 20:05:05] Production.INFO: AccountOneOffChargeID - 2025-02-05 00:00:00 [2025-02-09 20:05:05] Production.INFO: AccountOneOffCharge DiscountAmount 30.000000 [2025-02-09 20:05:05] Production.INFO: AccountOneOffCharge DiscountType Percentage [2025-02-09 20:05:05] Production.INFO: AccountOneOffCharge LineTotal 832 [2025-02-09 20:05:05] Production.INFO: New LineTotal 582.4 [2025-02-09 20:05:05] Production.INFO: AccountOneOffChargeID - 915 [2025-02-09 20:05:05] Production.INFO: AccountOneOffChargeID - 2025-02-05 00:00:00 [2025-02-09 20:05:05] Production.INFO: AccountOneOffCharge DiscountAmount 30.000000 [2025-02-09 20:05:05] Production.INFO: AccountOneOffCharge DiscountType Percentage [2025-02-09 20:05:05] Production.INFO: AccountOneOffCharge LineTotal 199 [2025-02-09 20:05:05] Production.INFO: New LineTotal 139.3 [2025-02-09 20:05:05] Production.INFO: AccountOneOffChargeID - 916 [2025-02-09 20:05:05] Production.INFO: AccountOneOffChargeID - 2025-02-05 00:00:00 [2025-02-09 20:05:05] Production.INFO: AccountOneOffCharge DiscountAmount 30.000000 [2025-02-09 20:05:05] Production.INFO: AccountOneOffCharge DiscountType Percentage [2025-02-09 20:05:05] Production.INFO: AccountOneOffCharge LineTotal 520 [2025-02-09 20:05:05] Production.INFO: New LineTotal 364 [2025-02-09 20:05:05] Production.INFO: AccountOneOffChargeID - 917 [2025-02-09 20:05:05] Production.INFO: AccountOneOffChargeID - 2025-02-05 00:00:00 [2025-02-09 20:05:05] Production.INFO: AccountOneOffCharge DiscountAmount 30.000000 [2025-02-09 20:05:05] Production.INFO: AccountOneOffCharge DiscountType Percentage [2025-02-09 20:05:05] Production.INFO: AccountOneOffCharge LineTotal 80 [2025-02-09 20:05:05] Production.INFO: New LineTotal 56 [2025-02-09 20:05:05] Production.INFO: AccountOneOffCharge Over [2025-02-09 20:05:05] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-02-09 20:05:05] Production.INFO: New UsageDates 2025-02-05 - 2025-02-08 23:59:59 [2025-02-09 20:05:05] Production.INFO: SubTotal 620.272 [2025-02-09 20:05:05] Production.INFO: SubTotalWithouttaxTotal 1141.7 [2025-02-09 20:05:05] Production.INFO: AccountOneOffCharge Tax Over [2025-02-09 20:05:05] Production.INFO: TotalTax 80.63536 [2025-02-09 20:05:05] Production.INFO: InvoiceGrandTotal 1842.60736 [2025-02-09 20:05:05] Production.INFO: InvoiceTaxAmount 80.64 [2025-02-09 20:05:05] Production.INFO: GrandTotal 1842.61 [2025-02-09 20:05:05] Production.INFO: SubTotal 1761.97 [2025-02-09 20:05:05] Production.INFO: TotalDue 1842.61 [2025-02-09 20:05:05] Production.INFO: Reseller ==> 0 [2025-02-09 20:05:05] Production.INFO: original start date ==>2025-02-05 changed start date ==>2025-02-05 00:00:00 original end date ==>2025-02-08 23:59:59 changed end date ==>2025-02-08 23:59:59 [2025-02-09 20:05:05] Production.INFO: CALL prc_getInvoiceUsage(1,'247','0','1','2025-02-05 00:00:00','2025-02-08 23:59:59',0) [2025-02-09 20:05:05] Production.INFO: PDF Generation start [2025-02-09 20:05:05] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/247/Invoices/2025/02/09/Invoice-cancom-security-inv11505-from-02-05-2025-to-02-08-2025-10440.pdf [2025-02-09 20:05:05] Production.INFO: On Linux [2025-02-09 20:05:07] Production.INFO: /var/www/html/onswitch.neon.service/wkhtmltox/bin/wkhtmltopdf --header-spacing 3 --footer-spacing 1 --header-html --footer-html "/var/www/tmp/1/247/Invoices/2025/02/09/footer-cancom-security-inv11505-from-02-05-2025-to-02-08-2025-10440.html" "/var/www/tmp/1/247/Invoices/2025/02/09/Invoice-cancom-security-inv11505-from-02-05-2025-to-02-08-2025-10440.html" "/var/www/tmp/1/247/Invoices/2025/02/09/Invoice-cancom-security-inv11505-from-02-05-2025-to-02-08-2025-10440.pdf" [2025-02-09 20:05:07] Production.INFO: [2025-02-09 20:05:07] Production.INFO: /var/www/tmp/1/247/Invoices/2025/02/09/Invoice-cancom-security-inv11505-from-02-05-2025-to-02-08-2025-10440.html [2025-02-09 20:05:07] Production.INFO: /var/www/tmp/1/247/Invoices/2025/02/09/header-cancom-security-inv11505-from-02-05-2025-to-02-08-2025-10440.html [2025-02-09 20:05:07] Production.INFO: /var/www/tmp/1/247/Invoices/2025/02/09/footer-cancom-security-inv11505-from-02-05-2025-to-02-08-2025-10440.html [2025-02-09 20:05:07] Production.INFO: Invoice generation PDF path [2025-02-09 20:05:07] Production.INFO: PDF fullPath 1/247/Invoices/2025/02/09/Invoice-cancom-security-inv11505-from-02-05-2025-to-02-08-2025-10440.pdf [2025-02-09 20:05:07] Production.INFO: Generate Usage File Start [2025-02-09 20:05:07] Production.INFO: Usage File fullPath 1/247/InvoiceUsageFile/2025/02/09/cancom-security-05-02-2025-00-00-00-TO-08-02-2025-23-59-59_8900__11a8f7d0-e74b-11ef-8aae-1b78d8180591.csv [2025-02-09 20:05:08] Production.INFO: Sending Email to Staff over [2025-02-09 20:05:08] Production.INFO: Email Status 1 [2025-02-09 20:05:08] Production.INFO: Sending Email to Customer [2025-02-09 20:05:08] Production.INFO: =========== Email Sending over =========== [2025-02-09 20:05:08] Production.INFO: =========== Returning as Success =========== AccountID 247 [2025-02-09 20:05:08] Production.INFO: Invoice::sendInvoice done [2025-02-09 20:05:08] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-02-09 20:05:08] Production.INFO: Invoice Committed AccountID = 247 [2025-02-09 20:05:08] Production.INFO: =========== Updating InvoiceDate =========== [2025-02-09 20:05:08] Production.INFO: NextInvoice 2025-02-09 2025-03-08 [2025-02-09 20:05:08] Production.INFO: new dates [2025-02-09 20:05:08] Production.INFO: LastInvoiceDate 2025-02-09 NextInvoiceDate 2025-03-09 [2025-02-09 20:05:08] Production.INFO: LastChargeDate 2025-02-09 NextChargeDate 2025-03-08 [2025-02-09 20:05:08] Production.INFO: =========== Updated InvoiceDate =========== [2025-02-09 20:05:08] Production.INFO: ========================== Invoice Send End ============================= [2025-02-09 20:05:08] Production.INFO: ========================== Recurring invoice Start ============================= [2025-02-09 20:05:08] Production.INFO: recurring invoices ID [2025-02-09 20:05:08] Production.INFO: [2025-02-09 20:05:08] Production.INFO: recurring errorsArray ( ) [2025-02-09 20:05:08] Production.INFO: ========================== Recurring invoice End ============================= [2025-02-09 20:05:08] Production.INFO: ========================== Job Updated ============================= [2025-02-09 20:05:09] Production.INFO: ========================== Job Email Sent ============================= [2025-02-09 20:05:10] Production.ERROR: **Email Sent Status 1 [2025-02-09 20:05:10] Production.ERROR: **Email Sent message Email has been sent [2025-02-09 20:05:10] Production.ERROR: CronJobId end6 [2025-02-09 20:05:10] Production.INFO: ==732== Releasing lock... [2025-02-09 20:05:10] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Stops# [2025-02-09 20:05:10] Production.INFO: 37.75 MB #Memory Used#