[2025-04-20 04:30:04] Production.INFO: Call prc_getBillingAccounts(1,2025-04-20,'','0')
[2025-04-20 04:30:04] Production.INFO: Array
(
[0] => stdClass Object
(
[AccountID] => 19
[NextInvoiceDate] => 2025-04-20
[AccountName] => Craig Travel
[ServiceID] => 0
)
[1] => stdClass Object
(
[AccountID] => 121
[NextInvoiceDate] => 2025-04-20
[AccountName] => Dominos 10462 (Anwar Hossain)
[ServiceID] => 0
)
[2] => stdClass Object
(
[AccountID] => 258
[NextInvoiceDate] => 2025-03-10
[AccountName] => Lion Motors
[ServiceID] => 0
)
)
[2025-04-20 04:30:04] Production.INFO: AccountID =19 FirstInvoiceSend 0
[2025-04-20 04:30:04] Production.INFO: LastInvoiceDate 2025-03-20 NextInvoiceDate 2025-04-20
[2025-04-20 04:30:04] Production.INFO: LastChargeDate 2025-03-20 NextChargeDate 2025-04-19
[2025-04-20 04:30:04] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-04-20 04:30:04] Production.INFO: ========================== Invoice Send Start =============================
[2025-04-20 04:30:04] Production.INFO: Invoice::sendInvoice(1,19,2025-03-20,2025-04-20,billing@onswitchit.ca)
[2025-04-20 04:30:04] Production.INFO: start Date =2025-03-20 EndDate =2025-04-19 23:59:59
[2025-04-20 04:30:04] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-04-20 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-04-20 04:30:04] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-04-20 04:30:04] Production.INFO: AlreadyBilled
[2025-04-20 04:30:04] Production.INFO: Reseller ==> 0
[2025-04-20 04:30:04] Production.INFO: original start date ==>2025-03-20 changed start date ==>2025-03-20 00:00:00 original end date ==>2025-04-19 23:59:59 changed end date ==>2025-04-19 23:59:59
[2025-04-20 04:30:04] Production.INFO: CompanyGatewayID 1 TotalCharges ==>48.64000000
[2025-04-20 04:30:04] Production.INFO: Invoice::getAccountUsageTotal(1,19,2025-03-20,2025-04-19 23:59:59)
[2025-04-20 04:30:04] Production.INFO: TotalCharges - 48.64
[2025-04-20 04:30:04] Production.INFO: TotalUsageCharges - 48.64
[2025-04-20 04:30:04] Production.INFO: Usage Over
[2025-04-20 04:30:04] Production.INFO: Call prc_getAccountSubscription(19,0)
[2025-04-20 04:30:04] Production.INFO: SUBSCRIPTION 2
[2025-04-20 04:30:04] Production.INFO: ============================Subscription Start =================
[2025-04-20 04:30:04] Production.INFO: SubscriptionID - 1
[2025-04-20 04:30:04] Production.INFO: isAdvanceSubscription - 1
[2025-04-20 04:30:04] Production.INFO: SubscriptionStartDate =2025-04-20 - SubscriptionEndDate = 2025-05-19
[2025-04-20 04:30:04] Production.INFO: NewNextChargeDate =2025-05-19 00:00:00
[2025-04-20 04:30:04] Production.INFO: EndDate =2025-04-19 00:00:00
[2025-04-20 04:30:04] Production.INFO: NewEndDate1 =2025-04-20
[2025-04-20 04:30:04] Production.INFO: SubscriptionDate
[2025-04-20 04:30:04] Production.INFO: Array
(
[StartDate] => 2025-04-20
[EndDate] => 2025-05-19 00:00:00
[AlreadyCharged] => 0
)
[2025-04-20 04:30:04] Production.INFO: AccountSubscription StartDate 2017-04-20 StartDate 2025-03-20
[2025-04-20 04:30:04] Production.INFO: SubscriptionID - 2025-04-20=====2025-05-19 00:00:00
[2025-04-20 04:30:04] Production.INFO: AccountSubscriptionID - 27 === 2017-04-20=====2026-04-20
[2025-04-20 04:30:04] Production.INFO: regular Advance Subscription
[2025-04-20 04:30:04] Production.INFO: First Time False 2017-04-20 2025-04-20
[2025-04-20 04:30:04] Production.INFO: StartDate 2025-04-20 AccountSubscription->StartDate 2017-04-20 EndDate 2025-05-19 00:00:00 AccountSubscription->EndDate 2026-04-20
[2025-04-20 04:30:05] Production.INFO: days diff - 30 subscription days 30 quarter days 91
[2025-04-20 04:30:05] Production.INFO: AccountSubscription::getSubscriptionAmount(27,2025-04-20,2025-05-19 00:00:00,,0)
[2025-04-20 04:30:05] Production.INFO: SubscriptionCharge - 10
[2025-04-20 04:30:05] Production.INFO: Already Invoice Subscription 0
[2025-04-20 04:30:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(19,1,1,2025-04-20,2025-05-19 00:00:00,License for a Pay As You Go Cloud Phone extension,220,10,22,27)
[2025-04-20 04:30:05] Production.INFO: DiscountAmount 0.000000
[2025-04-20 04:30:05] Production.INFO: DiscountType
[2025-04-20 04:30:05] Production.INFO: SubscriptionCharge 220
[2025-04-20 04:30:05] Production.INFO: New SubscriptionCharge 220
[2025-04-20 04:30:05] Production.INFO: TotalSubscriptionCharge - 220.00
[2025-04-20 04:30:05] Production.INFO: ============================Subscription End =================
[2025-04-20 04:30:05] Production.INFO: ============================Subscription Start =================
[2025-04-20 04:30:05] Production.INFO: SubscriptionID - 4
[2025-04-20 04:30:05] Production.INFO: isAdvanceSubscription - 4
[2025-04-20 04:30:05] Production.INFO: SubscriptionStartDate =2025-04-20 - SubscriptionEndDate = 2025-05-19
[2025-04-20 04:30:05] Production.INFO: NewNextChargeDate =2025-05-19 00:00:00
[2025-04-20 04:30:05] Production.INFO: EndDate =2025-04-19 00:00:00
[2025-04-20 04:30:05] Production.INFO: NewEndDate1 =2025-04-20
[2025-04-20 04:30:05] Production.INFO: SubscriptionDate
[2025-04-20 04:30:05] Production.INFO: Array
(
[StartDate] => 2025-04-20
[EndDate] => 2025-05-19 00:00:00
[AlreadyCharged] => 0
)
[2025-04-20 04:30:05] Production.INFO: AccountSubscription StartDate 2017-04-20 StartDate 2025-03-20
[2025-04-20 04:30:05] Production.INFO: SubscriptionID - 2025-04-20=====2025-05-19 00:00:00
[2025-04-20 04:30:05] Production.INFO: AccountSubscriptionID - 28 === 2017-04-20=====2026-04-20
[2025-04-20 04:30:05] Production.INFO: regular Advance Subscription
[2025-04-20 04:30:05] Production.INFO: First Time False 2017-04-20 2025-04-20
[2025-04-20 04:30:05] Production.INFO: StartDate 2025-04-20 AccountSubscription->StartDate 2017-04-20 EndDate 2025-05-19 00:00:00 AccountSubscription->EndDate 2026-04-20
[2025-04-20 04:30:05] Production.INFO: days diff - 30 subscription days 30 quarter days 91
[2025-04-20 04:30:05] Production.INFO: AccountSubscription::getSubscriptionAmount(28,2025-04-20,2025-05-19 00:00:00,,0)
[2025-04-20 04:30:05] Production.INFO: SubscriptionCharge - 2.5
[2025-04-20 04:30:05] Production.INFO: Already Invoice Subscription 0
[2025-04-20 04:30:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(19,1,4,2025-04-20,2025-05-19 00:00:00,e911 address registration (14164840926 - 1092 MOUNT PLEASANT RD TORONTO, ON M4P2M6),2.5,2.5,1,28)
[2025-04-20 04:30:05] Production.INFO: DiscountAmount 0.000000
[2025-04-20 04:30:05] Production.INFO: DiscountType
[2025-04-20 04:30:05] Production.INFO: SubscriptionCharge 2.5
[2025-04-20 04:30:05] Production.INFO: New SubscriptionCharge 2.5
[2025-04-20 04:30:05] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-04-20 04:30:05] Production.INFO: ============================Subscription End =================
[2025-04-20 04:30:05] Production.INFO: SUBSCRIPTION Over
[2025-04-20 04:30:05] Production.INFO: Call prc_getAccountOneOffCharge(19,0,2025-03-20,2025-04-20 23:59:59)
[2025-04-20 04:30:05] Production.INFO: AccountOneOffCharge 0
[2025-04-20 04:30:05] Production.INFO: AccountOneOffCharge Over
[2025-04-20 04:30:05] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-04-20 04:30:05] Production.INFO: New UsageDates 2025-03-20 - 2025-04-19 23:59:59
[2025-04-20 04:30:05] Production.INFO: SubTotal 271.14
[2025-04-20 04:30:05] Production.INFO: SubTotalWithouttaxTotal 0
[2025-04-20 04:30:05] Production.INFO: AccountOneOffCharge Tax Over
[2025-04-20 04:30:05] Production.INFO: TotalTax 35.2482
[2025-04-20 04:30:05] Production.INFO: InvoiceGrandTotal 306.3882
[2025-04-20 04:30:05] Production.INFO: InvoiceTaxAmount 35.25
[2025-04-20 04:30:05] Production.INFO: GrandTotal 306.39
[2025-04-20 04:30:05] Production.INFO: SubTotal 271.14
[2025-04-20 04:30:05] Production.INFO: TotalDue -310.63
[2025-04-20 04:30:05] Production.INFO: Reseller ==> 0
[2025-04-20 04:30:05] Production.INFO: original start date ==>2025-03-20 changed start date ==>2025-03-20 00:00:00 original end date ==>2025-04-19 23:59:59 changed end date ==>2025-04-19 23:59:59
[2025-04-20 04:30:05] Production.INFO: CALL prc_getInvoiceUsage(1,'19','0','1','2025-03-20 00:00:00','2025-04-19 23:59:59',0)
[2025-04-20 04:30:05] Production.INFO: PDF Generation start
[2025-04-20 04:30:05] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/19/Invoices/2025/04/20/Invoice-craig-travel-inv11912-from-03-20-2025-to-04-19-2025-10860.pdf
[2025-04-20 04:30:05] Production.INFO: On Linux
[2025-04-20 04:30:09] 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/19/Invoices/2025/04/20/footer-craig-travel-inv11912-from-03-20-2025-to-04-19-2025-10860.html" "/var/www/tmp/1/19/Invoices/2025/04/20/Invoice-craig-travel-inv11912-from-03-20-2025-to-04-19-2025-10860.html" "/var/www/tmp/1/19/Invoices/2025/04/20/Invoice-craig-travel-inv11912-from-03-20-2025-to-04-19-2025-10860.pdf"
[2025-04-20 04:30:09] Production.INFO:
[2025-04-20 04:30:09] Production.INFO: /var/www/tmp/1/19/Invoices/2025/04/20/Invoice-craig-travel-inv11912-from-03-20-2025-to-04-19-2025-10860.html
[2025-04-20 04:30:09] Production.INFO: /var/www/tmp/1/19/Invoices/2025/04/20/header-craig-travel-inv11912-from-03-20-2025-to-04-19-2025-10860.html
[2025-04-20 04:30:09] Production.INFO: /var/www/tmp/1/19/Invoices/2025/04/20/footer-craig-travel-inv11912-from-03-20-2025-to-04-19-2025-10860.html
[2025-04-20 04:30:09] Production.INFO: Invoice generation PDF path
[2025-04-20 04:30:09] Production.INFO: PDF fullPath 1/19/Invoices/2025/04/20/Invoice-craig-travel-inv11912-from-03-20-2025-to-04-19-2025-10860.pdf
[2025-04-20 04:30:09] Production.INFO: Generate Usage File Start
[2025-04-20 04:30:09] Production.INFO: Usage File fullPath 1/19/InvoiceUsageFile/2025/04/20/craig-travel-20-03-2025-00-00-00-TO-19-04-2025-23-59-59_8313__ab8de9b0-1dc1-11f0-a442-1daed2e0d2b8.csv
[2025-04-20 04:30:11] Production.INFO: Sending Email to Staff over
[2025-04-20 04:30:11] Production.INFO: Email Status 1
[2025-04-20 04:30:11] Production.INFO: Sending Email to Customer
[2025-04-20 04:30:13] Production.INFO: Email Try 10860 1
[2025-04-20 04:30:13] Production.INFO: =========== Email Sending over ===========
[2025-04-20 04:30:13] Production.INFO: =========== Returning as Success =========== AccountID 19
[2025-04-20 04:30:13] Production.INFO: Invoice::sendInvoice done
[2025-04-20 04:30:13] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-04-20 04:30:13] Production.INFO: Invoice Committed AccountID = 19
[2025-04-20 04:30:13] Production.INFO: =========== Updating InvoiceDate ===========
[2025-04-20 04:30:13] Production.INFO: NextInvoice 2025-04-20 2025-05-19
[2025-04-20 04:30:13] Production.INFO: new dates
[2025-04-20 04:30:13] Production.INFO: LastInvoiceDate 2025-04-20 NextInvoiceDate 2025-05-20
[2025-04-20 04:30:13] Production.INFO: LastChargeDate 2025-04-20 NextChargeDate 2025-05-19
[2025-04-20 04:30:13] Production.INFO: =========== Updated InvoiceDate ===========
[2025-04-20 04:30:13] Production.INFO: ========================== Invoice Send End =============================
[2025-04-20 04:30:13] Production.INFO: AccountID =121 FirstInvoiceSend 0
[2025-04-20 04:30:13] Production.INFO: LastInvoiceDate 2025-03-20 NextInvoiceDate 2025-04-20
[2025-04-20 04:30:13] Production.INFO: LastChargeDate 2025-03-20 NextChargeDate 2025-04-19
[2025-04-20 04:30:13] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-04-20 04:30:13] Production.INFO: ========================== Invoice Send Start =============================
[2025-04-20 04:30:13] Production.INFO: Invoice::sendInvoice(1,121,2025-03-20,2025-04-20,billing@onswitchit.ca)
[2025-04-20 04:30:13] Production.INFO: start Date =2025-03-20 EndDate =2025-04-19 23:59:59
[2025-04-20 04:30:13] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-04-20 04:30:13] Production.INFO: InvoiceTemplate->Terms =
This a summary of your subscription and usage charges for this billing period. Detailed charges, such as a list of all billable calls, can be found on subsequent pages.
[2025-04-20 04:30:13] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-04-20 04:30:13] Production.INFO: AlreadyBilled
[2025-04-20 04:30:13] Production.INFO: Reseller ==> 0
[2025-04-20 04:30:13] Production.INFO: original start date ==>2025-03-20 changed start date ==>2025-03-20 00:00:00 original end date ==>2025-04-19 23:59:59 changed end date ==>2025-04-19 23:59:59
[2025-04-20 04:30:13] Production.INFO: Invoice::getAccountUsageTotal(1,121,2025-03-20,2025-04-19 23:59:59)
[2025-04-20 04:30:13] Production.INFO: TotalCharges - 0
[2025-04-20 04:30:13] Production.INFO: TotalUsageCharges - 0.00
[2025-04-20 04:30:13] Production.INFO: Usage Over
[2025-04-20 04:30:13] Production.INFO: Call prc_getAccountSubscription(121,0)
[2025-04-20 04:30:13] Production.INFO: SUBSCRIPTION 3
[2025-04-20 04:30:13] Production.INFO: ============================Subscription Start =================
[2025-04-20 04:30:13] Production.INFO: SubscriptionID - 5
[2025-04-20 04:30:13] Production.INFO: isAdvanceSubscription - 5
[2025-04-20 04:30:13] Production.INFO: SubscriptionStartDate =2025-04-20 - SubscriptionEndDate = 2025-05-19
[2025-04-20 04:30:13] Production.INFO: NewNextChargeDate =2025-05-19 00:00:00
[2025-04-20 04:30:13] Production.INFO: EndDate =2025-04-19 00:00:00
[2025-04-20 04:30:13] Production.INFO: NewEndDate1 =2025-04-20
[2025-04-20 04:30:13] Production.INFO: SubscriptionDate
[2025-04-20 04:30:13] Production.INFO: Array
(
[StartDate] => 2025-04-20
[EndDate] => 2025-05-19 00:00:00
[AlreadyCharged] => 0
)
[2025-04-20 04:30:13] Production.INFO: AccountSubscription StartDate 2019-09-06 StartDate 2025-03-20
[2025-04-20 04:30:13] Production.INFO: SubscriptionID - 2025-04-20=====2025-05-19 00:00:00
[2025-04-20 04:30:13] Production.INFO: AccountSubscriptionID - 416 === 2019-09-06=====2026-04-20
[2025-04-20 04:30:13] Production.INFO: regular Advance Subscription
[2025-04-20 04:30:13] Production.INFO: First Time False 2019-09-06 2025-04-20
[2025-04-20 04:30:13] Production.INFO: StartDate 2025-04-20 AccountSubscription->StartDate 2019-09-06 EndDate 2025-05-19 00:00:00 AccountSubscription->EndDate 2026-04-20
[2025-04-20 04:30:13] Production.INFO: days diff - 30 subscription days 30 quarter days 91
[2025-04-20 04:30:13] Production.INFO: AccountSubscription::getSubscriptionAmount(416,2025-04-20,2025-05-19 00:00:00,,0)
[2025-04-20 04:30:13] Production.INFO: SubscriptionCharge - 75
[2025-04-20 04:30:13] Production.INFO: Already Invoice Subscription 0
[2025-04-20 04:30:13] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(121,1,5,2025-04-20,2025-05-19 00:00:00,Restaurant - 4 Line Flat Rate,75,75,1,416)
[2025-04-20 04:30:13] Production.INFO: DiscountAmount 0.000000
[2025-04-20 04:30:13] Production.INFO: DiscountType
[2025-04-20 04:30:13] Production.INFO: SubscriptionCharge 75
[2025-04-20 04:30:13] Production.INFO: New SubscriptionCharge 75
[2025-04-20 04:30:13] Production.INFO: TotalSubscriptionCharge - 75.00
[2025-04-20 04:30:13] Production.INFO: ============================Subscription End =================
[2025-04-20 04:30:13] Production.INFO: ============================Subscription Start =================
[2025-04-20 04:30:13] Production.INFO: SubscriptionID - 4
[2025-04-20 04:30:13] Production.INFO: isAdvanceSubscription - 4
[2025-04-20 04:30:13] Production.INFO: SubscriptionStartDate =2025-04-20 - SubscriptionEndDate = 2025-05-19
[2025-04-20 04:30:13] Production.INFO: NewNextChargeDate =2025-05-19 00:00:00
[2025-04-20 04:30:13] Production.INFO: EndDate =2025-04-19 00:00:00
[2025-04-20 04:30:13] Production.INFO: NewEndDate1 =2025-04-20
[2025-04-20 04:30:13] Production.INFO: SubscriptionDate
[2025-04-20 04:30:13] Production.INFO: Array
(
[StartDate] => 2025-04-20
[EndDate] => 2025-05-19 00:00:00
[AlreadyCharged] => 0
)
[2025-04-20 04:30:13] Production.INFO: AccountSubscription StartDate 2019-09-06 StartDate 2025-03-20
[2025-04-20 04:30:13] Production.INFO: SubscriptionID - 2025-04-20=====2025-05-19 00:00:00
[2025-04-20 04:30:13] Production.INFO: AccountSubscriptionID - 417 === 2019-09-06=====2026-04-20
[2025-04-20 04:30:13] Production.INFO: regular Advance Subscription
[2025-04-20 04:30:13] Production.INFO: First Time False 2019-09-06 2025-04-20
[2025-04-20 04:30:13] Production.INFO: StartDate 2025-04-20 AccountSubscription->StartDate 2019-09-06 EndDate 2025-05-19 00:00:00 AccountSubscription->EndDate 2026-04-20
[2025-04-20 04:30:13] Production.INFO: days diff - 30 subscription days 30 quarter days 91
[2025-04-20 04:30:13] Production.INFO: AccountSubscription::getSubscriptionAmount(417,2025-04-20,2025-05-19 00:00:00,,0)
[2025-04-20 04:30:13] Production.INFO: SubscriptionCharge - 2.5
[2025-04-20 04:30:13] Production.INFO: Already Invoice Subscription 0
[2025-04-20 04:30:13] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(121,1,4,2025-04-20,2025-05-19 00:00:00,e911 address registration (17056457700 - 195 Wellington St 1 Bracebridge, ON P1L1C2),2.5,2.5,1,417)
[2025-04-20 04:30:13] Production.INFO: DiscountAmount 0.000000
[2025-04-20 04:30:13] Production.INFO: DiscountType
[2025-04-20 04:30:13] Production.INFO: SubscriptionCharge 2.5
[2025-04-20 04:30:13] Production.INFO: New SubscriptionCharge 2.5
[2025-04-20 04:30:13] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-04-20 04:30:13] Production.INFO: ============================Subscription End =================
[2025-04-20 04:30:13] Production.INFO: ============================Subscription Start =================
[2025-04-20 04:30:13] Production.INFO: SubscriptionID - 11
[2025-04-20 04:30:13] Production.INFO: isAdvanceSubscription - 11
[2025-04-20 04:30:13] Production.INFO: SubscriptionStartDate =2025-04-20 - SubscriptionEndDate = 2025-05-19
[2025-04-20 04:30:13] Production.INFO: NewNextChargeDate =2025-05-19 00:00:00
[2025-04-20 04:30:13] Production.INFO: EndDate =2025-04-19 00:00:00
[2025-04-20 04:30:13] Production.INFO: NewEndDate1 =2025-04-20
[2025-04-20 04:30:13] Production.INFO: SubscriptionDate
[2025-04-20 04:30:13] Production.INFO: Array
(
[StartDate] => 2025-04-20
[EndDate] => 2025-05-19 00:00:00
[AlreadyCharged] => 0
)
[2025-04-20 04:30:13] Production.INFO: AccountSubscription StartDate 2019-09-06 StartDate 2025-03-20
[2025-04-20 04:30:13] Production.INFO: SubscriptionID - 2025-04-20=====2025-05-19 00:00:00
[2025-04-20 04:30:13] Production.INFO: AccountSubscriptionID - 418 === 2019-09-06=====2026-04-20
[2025-04-20 04:30:13] Production.INFO: regular Advance Subscription
[2025-04-20 04:30:13] Production.INFO: First Time False 2019-09-06 2025-04-20
[2025-04-20 04:30:13] Production.INFO: StartDate 2025-04-20 AccountSubscription->StartDate 2019-09-06 EndDate 2025-05-19 00:00:00 AccountSubscription->EndDate 2026-04-20
[2025-04-20 04:30:13] Production.INFO: days diff - 30 subscription days 30 quarter days 91
[2025-04-20 04:30:13] Production.INFO: AccountSubscription::getSubscriptionAmount(418,2025-04-20,2025-05-19 00:00:00,,0)
[2025-04-20 04:30:13] Production.INFO: SubscriptionCharge - -5
[2025-04-20 04:30:13] Production.INFO: Already Invoice Subscription 0
[2025-04-20 04:30:13] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(121,1,11,2025-04-20,2025-05-19 00:00:00,Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service,-10,-5,2,418)
[2025-04-20 04:30:13] Production.INFO: DiscountAmount 0.000000
[2025-04-20 04:30:13] Production.INFO: DiscountType
[2025-04-20 04:30:13] Production.INFO: SubscriptionCharge -10
[2025-04-20 04:30:13] Production.INFO: New SubscriptionCharge -10
[2025-04-20 04:30:13] Production.INFO: TotalSubscriptionCharge - -10.00
[2025-04-20 04:30:13] Production.INFO: ============================Subscription End =================
[2025-04-20 04:30:13] Production.INFO: SUBSCRIPTION Over
[2025-04-20 04:30:13] Production.INFO: Call prc_getAccountOneOffCharge(121,0,2025-03-20,2025-04-20 23:59:59)
[2025-04-20 04:30:13] Production.INFO: AccountOneOffCharge 0
[2025-04-20 04:30:13] Production.INFO: AccountOneOffCharge Over
[2025-04-20 04:30:13] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-04-20 04:30:13] Production.INFO: New UsageDates 2025-03-20 - 2025-04-19 23:59:59
[2025-04-20 04:30:13] Production.INFO: SubTotal 67.5
[2025-04-20 04:30:13] Production.INFO: SubTotalWithouttaxTotal 0
[2025-04-20 04:30:13] Production.INFO: AccountOneOffCharge Tax Over
[2025-04-20 04:30:13] Production.INFO: TotalTax 8.775
[2025-04-20 04:30:13] Production.INFO: InvoiceGrandTotal 76.275
[2025-04-20 04:30:13] Production.INFO: InvoiceTaxAmount 8.78
[2025-04-20 04:30:13] Production.INFO: GrandTotal 76.28
[2025-04-20 04:30:13] Production.INFO: SubTotal 67.50
[2025-04-20 04:30:13] Production.INFO: TotalDue -76.28
[2025-04-20 04:30:13] Production.INFO: Reseller ==> 0
[2025-04-20 04:30:13] Production.INFO: original start date ==>2025-03-20 changed start date ==>2025-03-20 00:00:00 original end date ==>2025-04-19 23:59:59 changed end date ==>2025-04-19 23:59:59
[2025-04-20 04:30:13] Production.INFO: CALL prc_getInvoiceUsage(1,'121','0','1','2025-03-20 00:00:00','2025-04-19 23:59:59',0)
[2025-04-20 04:30:13] Production.INFO: PDF Generation start
[2025-04-20 04:30:13] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/121/Invoices/2025/04/20/Invoice-dominos-10462-anwar-hossain-inv11913-from-03-20-2025-to-04-19-2025-10861.pdf
[2025-04-20 04:30:13] Production.INFO: On Linux
[2025-04-20 04:30:15] Production.INFO: /var/www/html/onswitch.neon.service/wkhtmltox/bin/wkhtmltopdf --header-spacing 3 --footer-spacing 1 --header-html --footer-html "/var/www/tmp/1/121/Invoices/2025/04/20/footer-dominos-10462-anwar-hossain-inv11913-from-03-20-2025-to-04-19-2025-10861.html" "/var/www/tmp/1/121/Invoices/2025/04/20/Invoice-dominos-10462-anwar-hossain-inv11913-from-03-20-2025-to-04-19-2025-10861.html" "/var/www/tmp/1/121/Invoices/2025/04/20/Invoice-dominos-10462-anwar-hossain-inv11913-from-03-20-2025-to-04-19-2025-10861.pdf"
[2025-04-20 04:30:15] Production.INFO:
[2025-04-20 04:30:15] Production.INFO: /var/www/tmp/1/121/Invoices/2025/04/20/Invoice-dominos-10462-anwar-hossain-inv11913-from-03-20-2025-to-04-19-2025-10861.html
[2025-04-20 04:30:15] Production.INFO: /var/www/tmp/1/121/Invoices/2025/04/20/header-dominos-10462-anwar-hossain-inv11913-from-03-20-2025-to-04-19-2025-10861.html
[2025-04-20 04:30:15] Production.INFO: /var/www/tmp/1/121/Invoices/2025/04/20/footer-dominos-10462-anwar-hossain-inv11913-from-03-20-2025-to-04-19-2025-10861.html
[2025-04-20 04:30:15] Production.INFO: Invoice generation PDF path
[2025-04-20 04:30:15] Production.INFO: PDF fullPath 1/121/Invoices/2025/04/20/Invoice-dominos-10462-anwar-hossain-inv11913-from-03-20-2025-to-04-19-2025-10861.pdf
[2025-04-20 04:30:15] Production.INFO: Generate Usage File Start
[2025-04-20 04:30:15] Production.INFO: Usage File fullPath 1/121/InvoiceUsageFile/2025/04/20/dominos-10462-anwar-hossain-20-03-2025-00-00-00-TO-19-04-2025-23-59-59_6325__af1f1440-1dc1-11f0-8918-b929ad85437b.csv
[2025-04-20 04:30:16] Production.INFO: Sending Email to Staff over
[2025-04-20 04:30:16] Production.INFO: Email Status 1
[2025-04-20 04:30:16] Production.INFO: Sending Email to Customer
[2025-04-20 04:30:17] Production.INFO: Email Try 10861 1
[2025-04-20 04:30:17] Production.INFO: =========== Email Sending over ===========
[2025-04-20 04:30:17] Production.INFO: =========== Returning as Success =========== AccountID 121
[2025-04-20 04:30:17] Production.INFO: Invoice::sendInvoice done
[2025-04-20 04:30:17] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-04-20 04:30:17] Production.INFO: Invoice Committed AccountID = 121
[2025-04-20 04:30:17] Production.INFO: =========== Updating InvoiceDate ===========
[2025-04-20 04:30:17] Production.INFO: NextInvoice 2025-04-20 2025-05-19
[2025-04-20 04:30:17] Production.INFO: new dates
[2025-04-20 04:30:17] Production.INFO: LastInvoiceDate 2025-04-20 NextInvoiceDate 2025-05-20
[2025-04-20 04:30:17] Production.INFO: LastChargeDate 2025-04-20 NextChargeDate 2025-05-19
[2025-04-20 04:30:17] Production.INFO: =========== Updated InvoiceDate ===========
[2025-04-20 04:30:17] Production.INFO: ========================== Invoice Send End =============================
[2025-04-20 04:30:17] Production.INFO: AccountID =258 FirstInvoiceSend 0
[2025-04-20 04:30:17] Production.INFO: LastInvoiceDate 2025-02-10 NextInvoiceDate 2025-03-10
[2025-04-20 04:30:17] Production.INFO: LastChargeDate 2025-02-10 NextChargeDate 2025-03-09
[2025-04-20 04:30:17] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-04-20 04:30:17] Production.INFO: ========================== Invoice Send Start =============================
[2025-04-20 04:30:17] Production.INFO: Invoice::sendInvoice(1,258,2025-02-10,2025-03-10,billing@onswitchit.ca)
[2025-04-20 04:30:17] Production.INFO: start Date =2025-02-10 EndDate =2025-03-09 23:59:59
[2025-04-20 04:30:17] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-04-20 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-04-20 04:30:17] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-04-20 04:30:17] Production.INFO: Invoice::sendInvoice done
[2025-04-20 04:30:17] Production.INFO: Invoice rollback AccountID = 258
[2025-04-20 04:30:17] Production.INFO: ========================== Error =============================
[2025-04-20 04:30:17] Production.INFO: Invoice with Error - Array
(
[status] => failure
[message] => Lion Motors Account is already billed on this duration
)
[2025-04-20 04:30:17] Production.INFO: ========================== Invoice Send End =============================
[2025-04-20 04:30:17] Production.INFO: ========================== Recurring invoice Start =============================
[2025-04-20 04:30:17] Production.INFO: recurring invoices ID
[2025-04-20 04:30:17] Production.INFO:
[2025-04-20 04:30:17] Production.INFO: recurring errorsArray
(
)
[2025-04-20 04:30:17] Production.INFO: ========================== Recurring invoice End =============================
[2025-04-20 04:30:17] Production.INFO: ========================== Job Updated =============================
[2025-04-20 04:30:19] Production.INFO: ========================== Job Email Sent =============================
[2025-04-20 04:30:20] Production.ERROR: **Email Sent Status 1
[2025-04-20 04:30:20] Production.ERROR: **Email Sent message Email has been sent
[2025-04-20 04:30:20] Production.ERROR: CronJobId end6
[2025-04-20 04:30:20] Production.INFO: ==10475== Releasing lock...
[2025-04-20 04:30:20] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Stops#
[2025-04-20 04:30:20] Production.INFO: 42.5 MB #Memory Used#