[2025-08-25 06:21:03] Production.INFO: -- Xero Api Check -- [2025-08-25 06:21:05] Production.INFO: -- curl info --Array ( [url] => https://identity.xero.com/connect/token [content_type] => application/json; charset=UTF-8 [http_code] => 200 [header_size] => 856 [request_size] => 352 [filetime] => -1 [ssl_verify_result] => 0 [redirect_count] => 0 [total_time] => 1.376956 [namelookup_time] => 0.534157 [connect_time] => 0.626218 [pretransfer_time] => 1.102337 [size_upload] => 82 [size_download] => 2755 [speed_download] => 2000 [speed_upload] => 59 [download_content_length] => 2755 [upload_content_length] => 82 [starttransfer_time] => 1.376133 [redirect_time] => 0 [redirect_url] => [primary_ip] => 23.204.132.212 [certinfo] => Array ( ) [primary_port] => 443 [local_ip] => 54.39.180.235 [local_port] => 59550 ) [2025-08-25 06:21:05] Production.INFO: -- connection successfully here --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NTYxMTcyNjUsImV4cCI6MTc1NjExNzU2NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzU2MTE3MjY1LCJhdF9oYXNoIjoiQ2duZE1LWHFKb0ppWHpteC16SlhBdyIsInN1YiI6Ijc1NGMxN2Q3MTA0YTUxODViYjEyZmM5ODFiN2VlMzliIiwiYXV0aF90aW1lIjoxNzQyNDY2MzA1LCJ4ZXJvX3VzZXJpZCI6IjFiOGM2ODExLTJmMGItNGU3Mi05Y2JhLTY5ZDVlM2RmOTEyYyIsImdsb2JhbF9zZXNzaW9uX2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJzaWQiOiI5ZWFmZGExM2Y5NWE0NmJjODI2Yzc4N2IxZTRjNWY1MCIsInByZWZlcnJlZF91c2VybmFtZSI6Imx5bmRhQGNsb3VkbWViLmNvbSIsImVtYWlsIjoibHluZGFAY2xvdWRtZWIuY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.Aojl-ARrA9BgaKSU_X8Wfq4LaIp5Tahk-ywtwC1tap-5JPLHsa_QmBlMMwPswyRCo2Suqqw7ZL5iOvQ0_Jv3hxVqDENOQPY_e-Gra_AyKLkHOKUAwwPmqYfY6iDc73b7OxgmteyHv5OMbDkC0ieKjZ7fHg83bbffcf_cN_IpPUJyDJ-E-DxcioKGFIZBr1qE5Phn1oKZZ5ZXoJgFasYyUWfyNrgp-Ltdz-p0vluMicW0o30qD6xjC6okXQDv9-HgDKOai54nkIjnm9yzvuLGRMbgfqwvUx4djXCbt4gjYUrHew64jO5WsKmjMx9ABKTJnUbWddtMuFwIe8I2oZhXGw [access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NTYxMTcyNjQsImV4cCI6MTc1NjExOTA2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI3NTRjMTdkNzEwNGE1MTg1YmIxMmZjOTgxYjdlZTM5YiIsImF1dGhfdGltZSI6MTc0MjQ2NjMwNSwieGVyb191c2VyaWQiOiIxYjhjNjgxMS0yZjBiLTRlNzItOWNiYS02OWQ1ZTNkZjkxMmMiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6IjllYWZkYTEzZjk1YTQ2YmM4MjZjNzg3YjFlNGM1ZjUwIiwic2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJqdGkiOiIyNUNEQkY1RjBBNTRGMjlDNjBDNUE2RjU4Qzg3NzMyQSIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiMGZlNDU1NWEtNmNkMy00YjFkLTljNjEtMzAzMjBmMjBmZGFkIiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.wSaFffSHiVxFOSvmWp6Le1VxUPMbhMpsdiIZ1HVw-azvnkewEka3adAdPFkD9vIdp5RdHD-gskgGyAM3e_LIIHFXI8-7sw-JNsHEQ_tSe_SmA2GtqzMIP3v1x7fyqzUULof0n-cpF-WHQWKIL-rLcrOgxH-H034Li3jePcWbYDb8AEZrtYFgDhNc3hDHoX6wDOtWYAoH-xdrB1WUFCgmjLcLhYMMSduS40nbuS09yN9lvACcv-0pM4ylxLT0Z5oy15xmmdZ1MjouvIuCz4vbkUxdXlkWDIZ6IdFNE14pf1wupiGBXLt6sxEdIqBeOYwRcLTyp20GzNEbF0t4tjxwdQ [expires_in] => 1800 [token_type] => Bearer [refresh_token] => LT8jOa8b38mIizcvBfOjQxm0lpxUcOjE8jO3KDX9Dmc [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-08-25 06:21:05] Production.INFO: -- connection successfully --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NTYxMTcyNjUsImV4cCI6MTc1NjExNzU2NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzU2MTE3MjY1LCJhdF9oYXNoIjoiQ2duZE1LWHFKb0ppWHpteC16SlhBdyIsInN1YiI6Ijc1NGMxN2Q3MTA0YTUxODViYjEyZmM5ODFiN2VlMzliIiwiYXV0aF90aW1lIjoxNzQyNDY2MzA1LCJ4ZXJvX3VzZXJpZCI6IjFiOGM2ODExLTJmMGItNGU3Mi05Y2JhLTY5ZDVlM2RmOTEyYyIsImdsb2JhbF9zZXNzaW9uX2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJzaWQiOiI5ZWFmZGExM2Y5NWE0NmJjODI2Yzc4N2IxZTRjNWY1MCIsInByZWZlcnJlZF91c2VybmFtZSI6Imx5bmRhQGNsb3VkbWViLmNvbSIsImVtYWlsIjoibHluZGFAY2xvdWRtZWIuY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.Aojl-ARrA9BgaKSU_X8Wfq4LaIp5Tahk-ywtwC1tap-5JPLHsa_QmBlMMwPswyRCo2Suqqw7ZL5iOvQ0_Jv3hxVqDENOQPY_e-Gra_AyKLkHOKUAwwPmqYfY6iDc73b7OxgmteyHv5OMbDkC0ieKjZ7fHg83bbffcf_cN_IpPUJyDJ-E-DxcioKGFIZBr1qE5Phn1oKZZ5ZXoJgFasYyUWfyNrgp-Ltdz-p0vluMicW0o30qD6xjC6okXQDv9-HgDKOai54nkIjnm9yzvuLGRMbgfqwvUx4djXCbt4gjYUrHew64jO5WsKmjMx9ABKTJnUbWddtMuFwIe8I2oZhXGw [access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NTYxMTcyNjQsImV4cCI6MTc1NjExOTA2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI3NTRjMTdkNzEwNGE1MTg1YmIxMmZjOTgxYjdlZTM5YiIsImF1dGhfdGltZSI6MTc0MjQ2NjMwNSwieGVyb191c2VyaWQiOiIxYjhjNjgxMS0yZjBiLTRlNzItOWNiYS02OWQ1ZTNkZjkxMmMiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6IjllYWZkYTEzZjk1YTQ2YmM4MjZjNzg3YjFlNGM1ZjUwIiwic2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJqdGkiOiIyNUNEQkY1RjBBNTRGMjlDNjBDNUE2RjU4Qzg3NzMyQSIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiMGZlNDU1NWEtNmNkMy00YjFkLTljNjEtMzAzMjBmMjBmZGFkIiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.wSaFffSHiVxFOSvmWp6Le1VxUPMbhMpsdiIZ1HVw-azvnkewEka3adAdPFkD9vIdp5RdHD-gskgGyAM3e_LIIHFXI8-7sw-JNsHEQ_tSe_SmA2GtqzMIP3v1x7fyqzUULof0n-cpF-WHQWKIL-rLcrOgxH-H034Li3jePcWbYDb8AEZrtYFgDhNc3hDHoX6wDOtWYAoH-xdrB1WUFCgmjLcLhYMMSduS40nbuS09yN9lvACcv-0pM4ylxLT0Z5oy15xmmdZ1MjouvIuCz4vbkUxdXlkWDIZ6IdFNE14pf1wupiGBXLt6sxEdIqBeOYwRcLTyp20GzNEbF0t4tjxwdQ [expires_in] => 1800 [token_type] => Bearer [refresh_token] => LT8jOa8b38mIizcvBfOjQxm0lpxUcOjE8jO3KDX9Dmc [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-08-25 06:21:05] Production.INFO: AccountID 241 [2025-08-25 06:21:05] Production.INFO: AccountName Quiznos 15192 (Akshay Naik) [2025-08-25 06:21:05] Production.INFO: Checkcustomer [2025-08-25 06:21:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015192%20%28Akshay%20Naik%29" [2025-08-25 06:21:08] Production.INFO: Contact id print CheckCustomer Case===9f823e1c-f0d1-4915-b9fd-4b0d691e058e [2025-08-25 06:21:08] Production.INFO: -- count --1 [2025-08-25 06:21:08] Production.INFO: AccountID 241 [2025-08-25 06:21:08] Production.INFO: AccountName Quiznos 15192 (Akshay Naik) [2025-08-25 06:21:08] Production.INFO: Checkcustomer [2025-08-25 06:21:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015192%20%28Akshay%20Naik%29" [2025-08-25 06:21:11] Production.INFO: Contact id print CheckCustomer Case===9f823e1c-f0d1-4915-b9fd-4b0d691e058e [2025-08-25 06:21:11] Production.INFO: -- count --1 [2025-08-25 06:21:11] Production.INFO: AccountID 6 [2025-08-25 06:21:11] Production.INFO: AccountName Background Support [2025-08-25 06:21:11] Production.INFO: Checkcustomer [2025-08-25 06:21:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Background%20Support" [2025-08-25 06:21:14] Production.INFO: Contact id print CheckCustomer Case===41554961-1d50-4e3f-8e9b-5cac0196e653 [2025-08-25 06:21:14] Production.INFO: -- count --1 [2025-08-25 06:21:14] Production.INFO: AccountID 190 [2025-08-25 06:21:14] Production.INFO: AccountName Behrns Metal Fabricating Inc [2025-08-25 06:21:14] Production.INFO: Checkcustomer [2025-08-25 06:21:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Behrns%20Metal%20Fabricating%20Inc" [2025-08-25 06:21:17] Production.INFO: Contact id print CheckCustomer Case===b5208613-a884-49ac-9417-cb8891a7008b [2025-08-25 06:21:17] Production.INFO: -- count --1 [2025-08-25 06:21:17] Production.INFO: AccountID 209 [2025-08-25 06:21:17] Production.INFO: AccountName Workside Early Childhood Education Centre [2025-08-25 06:21:17] Production.INFO: Checkcustomer [2025-08-25 06:21:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Workside%20Early%20Childhood%20Education%20Centre" [2025-08-25 06:21:20] Production.INFO: Contact id print CheckCustomer Case===40cecbae-263a-4b0c-adbf-5350531feed1 [2025-08-25 06:21:20] Production.INFO: -- count --1 [2025-08-25 06:21:20] Production.INFO: AccountID 150 [2025-08-25 06:21:20] Production.INFO: AccountName Dominos 10581 (Ken Hoose) [2025-08-25 06:21:20] Production.INFO: Checkcustomer [2025-08-25 06:21:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010581%20%28Ken%20Hoose%29" [2025-08-25 06:21:24] Production.INFO: Contact id print CheckCustomer Case===07c709b0-937e-40e5-a0d5-b08ea9074e65 [2025-08-25 06:21:24] Production.INFO: -- count --1 [2025-08-25 06:21:24] Production.INFO: AccountID 149 [2025-08-25 06:21:24] Production.INFO: AccountName Dominos 10471 (Ken Hoose) [2025-08-25 06:21:24] Production.INFO: Checkcustomer [2025-08-25 06:21:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010471%20%28Ken%20Hoose%29" [2025-08-25 06:21:27] Production.INFO: Contact id print CheckCustomer Case===035db9cd-92a8-4776-bb57-e5a70cdb3e03 [2025-08-25 06:21:27] Production.INFO: -- count --1 [2025-08-25 06:21:27] Production.INFO: AccountID 190 [2025-08-25 06:21:27] Production.INFO: AccountName Behrns Metal Fabricating Inc [2025-08-25 06:21:27] Production.INFO: Checkcustomer [2025-08-25 06:21:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Behrns%20Metal%20Fabricating%20Inc" [2025-08-25 06:21:30] Production.INFO: Contact id print CheckCustomer Case===b5208613-a884-49ac-9417-cb8891a7008b [2025-08-25 06:21:30] Production.INFO: -- count --1 [2025-08-25 06:21:30] Production.INFO: AccountID 63 [2025-08-25 06:21:30] Production.INFO: AccountName Clek Inc. [2025-08-25 06:21:30] Production.INFO: Checkcustomer [2025-08-25 06:21:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc." [2025-08-25 06:21:32] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b [2025-08-25 06:21:32] Production.INFO: -- count --1 [2025-08-25 06:21:32] Production.INFO: AccountID 243 [2025-08-25 06:21:32] Production.INFO: AccountName Bio-Ag Consultants & Distributors Inc. [2025-08-25 06:21:32] Production.INFO: Checkcustomer [2025-08-25 06:21:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bio-Ag%20Consultants%20%26%20Distributors%20Inc." [2025-08-25 06:21:35] Production.INFO: Contact id print CheckCustomer Case===d07f68ac-89bd-4e73-ae6e-c60c05b83dae [2025-08-25 06:21:35] Production.INFO: -- count --1 [2025-08-25 06:21:35] Production.INFO: AccountID 243 [2025-08-25 06:21:35] Production.INFO: AccountName Bio-Ag Consultants & Distributors Inc. [2025-08-25 06:21:35] Production.INFO: Checkcustomer [2025-08-25 06:21:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bio-Ag%20Consultants%20%26%20Distributors%20Inc." [2025-08-25 06:21:38] Production.INFO: Contact id print CheckCustomer Case===d07f68ac-89bd-4e73-ae6e-c60c05b83dae [2025-08-25 06:21:38] Production.INFO: -- count --1 [2025-08-25 06:21:38] Production.INFO: AccountID 243 [2025-08-25 06:21:38] Production.INFO: AccountName Bio-Ag Consultants & Distributors Inc. [2025-08-25 06:21:38] Production.INFO: Checkcustomer [2025-08-25 06:21:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bio-Ag%20Consultants%20%26%20Distributors%20Inc." [2025-08-25 06:21:41] Production.INFO: Contact id print CheckCustomer Case===d07f68ac-89bd-4e73-ae6e-c60c05b83dae [2025-08-25 06:21:41] Production.INFO: -- count --1 [2025-08-25 06:21:41] Production.INFO: AccountID 243 [2025-08-25 06:21:41] Production.INFO: AccountName Bio-Ag Consultants & Distributors Inc. [2025-08-25 06:21:41] Production.INFO: Checkcustomer [2025-08-25 06:21:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bio-Ag%20Consultants%20%26%20Distributors%20Inc." [2025-08-25 06:21:44] Production.INFO: Contact id print CheckCustomer Case===d07f68ac-89bd-4e73-ae6e-c60c05b83dae [2025-08-25 06:21:44] Production.INFO: -- count --1 [2025-08-25 06:21:44] Production.INFO: AccountID 243 [2025-08-25 06:21:44] Production.INFO: AccountName Bio-Ag Consultants & Distributors Inc. [2025-08-25 06:21:44] Production.INFO: Checkcustomer [2025-08-25 06:21:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bio-Ag%20Consultants%20%26%20Distributors%20Inc." [2025-08-25 06:21:46] Production.INFO: Contact id print CheckCustomer Case===d07f68ac-89bd-4e73-ae6e-c60c05b83dae [2025-08-25 06:21:46] Production.INFO: -- count --1 [2025-08-25 06:21:46] Production.INFO: AccountID 243 [2025-08-25 06:21:46] Production.INFO: AccountName Bio-Ag Consultants & Distributors Inc. [2025-08-25 06:21:46] Production.INFO: Checkcustomer [2025-08-25 06:21:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bio-Ag%20Consultants%20%26%20Distributors%20Inc." [2025-08-25 06:21:49] Production.INFO: Contact id print CheckCustomer Case===d07f68ac-89bd-4e73-ae6e-c60c05b83dae [2025-08-25 06:21:49] Production.INFO: -- count --1 [2025-08-25 06:21:49] Production.INFO: AccountID 39 [2025-08-25 06:21:49] Production.INFO: AccountName Riavera [2025-08-25 06:21:49] Production.INFO: Checkcustomer [2025-08-25 06:21:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Riavera" [2025-08-25 06:21:52] Production.INFO: Contact id print CheckCustomer Case===e55c0831-3c53-4fcf-8b75-89133eb5af09 [2025-08-25 06:21:52] Production.INFO: -- count --1 [2025-08-25 06:21:52] Production.INFO: -- Xero Add Inovice -- [2025-08-25 06:21:52] Production.INFO: CheckInvoice xerov2: INV12489 [2025-08-25 06:21:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV12489 [2025-08-25 06:21:55] Production.INFO: Check Invoice Id XEROV20 [2025-08-25 06:21:55] Production.INFO: Invoice SubTotal 7.500000 [2025-08-25 06:21:55] Production.INFO: Invoice DetTotal 7.5 [2025-08-25 06:21:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015192%20%28Akshay%20Naik%29" [2025-08-25 06:21:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-08-25 06:22:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-08-25 06:22:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-08-25 06:22:07] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 75.000000,"Description": "Restaurant - 1 Line Flat Rate",Quantity : 1,UnitAmount : 19.990000,LineAmount : 5.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (3433177878 - 133 Bank St. Ottawa, ON K1P 5N7 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-08-25 06:22:11] Production.INFO: ==== result ===== [2025-08-25 06:22:11] Production.INFO: { "Id": "1cf725b5-c9d7-4a42-95d7-a6f7cb2a2ecd", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1756117330914)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "697ac887-5cb4-4ebb-9e35-0f7fc33b92f3", "InvoiceNumber": "INV12489", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 8.48, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 14.99, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "9f823e1c-f0d1-4915-b9fd-4b0d691e058e", "ContactStatus": "ACTIVE", "Name": "Quiznos 15192 (Akshay Naik)", "FirstName": "Akshay", "LastName": "Naik", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1732531690253+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-08-08T00:00:00", "Date": "\/Date(1754611200000+0000)\/", "DueDateString": "2025-09-07T00:00:00", "DueDate": "\/Date(1757203200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Restaurant - 1 Line Flat Rate", "UnitAmount": 19.99, "TaxType": "TAX020", "TaxAmount": 0.65, "LineAmount": 5.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 75.00, "LineItemID": "38896ea5-26cb-48b8-8eb6-d408811659f0", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 14.9900, "ValidationErrors": [] }, { "Description": "e911 address registration (3433177878 - 133 Bank St. Ottawa, ON K1P 5N7 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "c079a6bc-35b1-4fb2-b289-5781d92df218", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 7.50, "TotalTax": 0.98, "Total": 8.48, "UpdatedDateUTC": "\/Date(1756117330853+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-08-25 06:22:11] Production.INFO: -- Create Invoice id --697ac887-5cb4-4ebb-9e35-0f7fc33b92f3 [2025-08-25 06:22:11] Production.INFO: -- Create Invoice Done -- [2025-08-25 06:22:11] Production.INFO: CheckInvoice xerov2: INV12327 [2025-08-25 06:22:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV12327 [2025-08-25 06:22:13] Production.INFO: Check Invoice Id XEROV20 [2025-08-25 06:22:13] Production.INFO: Invoice SubTotal 7.500000 [2025-08-25 06:22:13] Production.INFO: Invoice DetTotal 7.5 [2025-08-25 06:22:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015192%20%28Akshay%20Naik%29" [2025-08-25 06:22:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-08-25 06:22:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-08-25 06:22:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-08-25 06:22:26] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 75.000000,"Description": "Restaurant - 1 Line Flat Rate",Quantity : 1,UnitAmount : 19.990000,LineAmount : 5.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (3433177878 - 133 Bank St. Ottawa, ON K1P 5N7 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-08-25 06:22:29] Production.INFO: ==== result ===== [2025-08-25 06:22:29] Production.INFO: { "Id": "f1d71513-1f12-4605-b45d-8d56adb98912", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1756117349227)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "aaeaaba1-e9c9-48c0-abe8-9288e6b1f7d2", "InvoiceNumber": "INV12327", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 8.48, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 14.99, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "9f823e1c-f0d1-4915-b9fd-4b0d691e058e", "ContactStatus": "ACTIVE", "Name": "Quiznos 15192 (Akshay Naik)", "FirstName": "Akshay", "LastName": "Naik", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1732531690253+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-07-08T00:00:00", "Date": "\/Date(1751932800000+0000)\/", "DueDateString": "2025-08-07T00:00:00", "DueDate": "\/Date(1754524800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Restaurant - 1 Line Flat Rate", "UnitAmount": 19.99, "TaxType": "TAX020", "TaxAmount": 0.65, "LineAmount": 5.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 75.00, "LineItemID": "56d9b5bd-83cf-4e3c-a214-cf8e145be72b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 14.9900, "ValidationErrors": [] }, { "Description": "e911 address registration (3433177878 - 133 Bank St. Ottawa, ON K1P 5N7 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "ee4e8219-669c-46af-a9f2-1f1c10149c36", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 7.50, "TotalTax": 0.98, "Total": 8.48, "UpdatedDateUTC": "\/Date(1756117349163+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-08-25 06:22:29] Production.INFO: -- Create Invoice id --aaeaaba1-e9c9-48c0-abe8-9288e6b1f7d2 [2025-08-25 06:22:29] Production.INFO: -- Create Invoice Done -- [2025-08-25 06:22:29] Production.INFO: CheckInvoice xerov2: INV12216 [2025-08-25 06:22:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV12216 [2025-08-25 06:22:32] Production.INFO: Check Invoice Id XEROV20 [2025-08-25 06:22:32] Production.INFO: Invoice SubTotal 35.350000 [2025-08-25 06:22:32] Production.INFO: Invoice DetTotal 35.35 [2025-08-25 06:22:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Background%20Support" [2025-08-25 06:22:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-08-25 06:22:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-08-25 06:22:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-08-25 06:22:44] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 05-16-2025 To 06-15-2025",Quantity : 1,UnitAmount : 0.350000,LineAmount : 0.350000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 3,UnitAmount : 10.000000,LineAmount : 30.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (6474848647) - Background Support eFax",Quantity : 1,UnitAmount : 5.000000,LineAmount : 5.000000} [2025-08-25 06:22:48] Production.INFO: ==== result ===== [2025-08-25 06:22:48] Production.INFO: { "Id": "71165cff-716a-40cd-9888-8fbaf1f1c1b9", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1756117367916)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "c2ff851e-6c04-43c2-855d-983d44474b5c", "InvoiceNumber": "INV12216", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 39.95, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "41554961-1d50-4e3f-8e9b-5cac0196e653", "ContactStatus": "ACTIVE", "Name": "Background Support", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1503944491253+0000)\/", "ContactGroups": [], "IsSupplier": true, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-06-16T00:00:00", "Date": "\/Date(1750032000000+0000)\/", "DueDateString": "2025-07-16T00:00:00", "DueDate": "\/Date(1752624000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 05-16-2025 To 06-15-2025", "UnitAmount": 0.35, "TaxType": "TAX020", "TaxAmount": 0.05, "LineAmount": 0.35, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "d910cc38-de14-4861-9251-ab23caedd85d", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for a Pay As You Go Cloud Phone extension", "UnitAmount": 10.00, "TaxType": "TAX020", "TaxAmount": 3.90, "LineAmount": 30.00, "AccountCode": "203", "Tracking": [], "Quantity": 3.0000, "DiscountRate": 0.00, "LineItemID": "a3ce7892-c67f-493b-9d66-b4aed41819cd", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (6474848647) - Background Support eFax", "UnitAmount": 5.00, "TaxType": "TAX020", "TaxAmount": 0.65, "LineAmount": 5.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "0777eba8-2b73-4c36-bdd9-627cbf0629c7", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 35.35, "TotalTax": 4.60, "Total": 39.95, "UpdatedDateUTC": "\/Date(1756117367887+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-08-25 06:22:48] Production.INFO: -- Create Invoice id --c2ff851e-6c04-43c2-855d-983d44474b5c [2025-08-25 06:22:48] Production.INFO: -- Create Invoice Done -- [2025-08-25 06:22:48] Production.INFO: CheckInvoice xerov2: INV12195 [2025-08-25 06:22:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV12195 [2025-08-25 06:22:50] Production.INFO: Check Invoice Id XEROV20 [2025-08-25 06:22:50] Production.INFO: Invoice SubTotal 77.090000 [2025-08-25 06:22:50] Production.INFO: Invoice DetTotal 77.09 [2025-08-25 06:22:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Behrns%20Metal%20Fabricating%20Inc" [2025-08-25 06:22:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-08-25 06:22:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-08-25 06:23:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-08-25 06:23:03] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 05-13-2025 To 06-12-2025",Quantity : 1,UnitAmount : 2.590000,LineAmount : 2.590000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 10.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 8,UnitAmount : 10.000000,LineAmount : 72.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (15192914136 - 6650 Perth County Line 88 Gowanstown, ON N0G 1Y0 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-08-25 06:23:06] Production.INFO: ==== result ===== [2025-08-25 06:23:06] Production.INFO: { "Id": "91af8f61-e82b-4083-a546-e4ba93748a96", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1756117386236)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "e012bcf9-7dc7-49ec-a64e-6f09a504d1f7", "InvoiceNumber": "INV12195", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 87.12, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 8.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "b5208613-a884-49ac-9417-cb8891a7008b", "ContactStatus": "ACTIVE", "Name": "Behrns Metal Fabricating Inc", "FirstName": "Janice", "LastName": "George", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1686216462723+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-06-13T00:00:00", "Date": "\/Date(1749772800000+0000)\/", "DueDateString": "2025-07-13T00:00:00", "DueDate": "\/Date(1752364800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 05-13-2025 To 06-12-2025", "UnitAmount": 2.59, "TaxType": "TAX020", "TaxAmount": 0.34, "LineAmount": 2.59, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "c80e196c-60ba-4720-92fd-f6a6d4902b25", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for an Unlimited Canada/US Cloud Phone extension", "UnitAmount": 10.00, "TaxType": "TAX020", "TaxAmount": 9.36, "LineAmount": 72.00, "AccountCode": "203", "Tracking": [], "Quantity": 8.0000, "DiscountRate": 10.00, "LineItemID": "6981b517-1d17-4b5a-a8e1-a0a8db6501ba", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 8.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (15192914136 - 6650 Perth County Line 88 Gowanstown, ON N0G 1Y0 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "0b068d84-7911-4e6d-87af-4f4725ac670f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 77.09, "TotalTax": 10.03, "Total": 87.12, "UpdatedDateUTC": "\/Date(1756117386080+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-08-25 06:23:06] Production.INFO: -- Create Invoice id --e012bcf9-7dc7-49ec-a64e-6f09a504d1f7 [2025-08-25 06:23:06] Production.INFO: -- Create Invoice Done -- [2025-08-25 06:23:06] Production.INFO: CheckInvoice xerov2: INV12138 [2025-08-25 06:23:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV12138 [2025-08-25 06:23:09] Production.INFO: Check Invoice Id XEROV20 [2025-08-25 06:23:09] Production.INFO: Invoice SubTotal 0.400000 [2025-08-25 06:23:09] Production.INFO: Invoice DetTotal 0.4 [2025-08-25 06:23:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Workside%20Early%20Childhood%20Education%20Centre" [2025-08-25 06:23:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-08-25 06:23:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-08-25 06:23:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-08-25 06:23:21] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 05-04-2025 To 06-03-2025",Quantity : 1,UnitAmount : 0.400000,LineAmount : 0.400000} [2025-08-25 06:23:24] Production.INFO: ==== result ===== [2025-08-25 06:23:24] Production.INFO: { "Id": "d9e9bba8-a6b8-46b5-8fd1-52af1971b660", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1756117404555)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "c62dcb46-28e8-4aff-95f4-3af43bd958f3", "InvoiceNumber": "INV12138", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 0.45, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "40cecbae-263a-4b0c-adbf-5350531feed1", "ContactStatus": "ACTIVE", "Name": "Workside Early Childhood Education Centre", "FirstName": "Christina", "LastName": "Roberts Farrell", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1696240431583+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-06-04T00:00:00", "Date": "\/Date(1748995200000+0000)\/", "DueDateString": "2025-07-04T00:00:00", "DueDate": "\/Date(1751587200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 05-04-2025 To 06-03-2025", "UnitAmount": 0.40, "TaxType": "TAX020", "TaxAmount": 0.05, "LineAmount": 0.40, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "0459ff5e-886e-4506-b4e3-b72b8886e0fd", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 0.40, "TotalTax": 0.05, "Total": 0.45, "UpdatedDateUTC": "\/Date(1756117404510+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-08-25 06:23:24] Production.INFO: -- Create Invoice id --c62dcb46-28e8-4aff-95f4-3af43bd958f3 [2025-08-25 06:23:24] Production.INFO: -- Create Invoice Done -- [2025-08-25 06:23:24] Production.INFO: CheckInvoice xerov2: INV12122 [2025-08-25 06:23:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV12122 [2025-08-25 06:23:27] Production.INFO: Check Invoice Id XEROV20 [2025-08-25 06:23:27] Production.INFO: Invoice SubTotal 62.500000 [2025-08-25 06:23:27] Production.INFO: Invoice DetTotal 62.5 [2025-08-25 06:23:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010581%20%28Ken%20Hoose%29" [2025-08-25 06:23:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-08-25 06:23:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-08-25 06:23:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-08-25 06:23:38] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (12265700029- 300 Elm Street St. Thomas, ON N5R 1J7 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 3,UnitAmount : -5.000000,LineAmount : -15.000000} [2025-08-25 06:23:42] Production.INFO: ==== result ===== [2025-08-25 06:23:42] Production.INFO: { "Id": "7b1bf662-d614-4d76-aed1-47f2dd2000cf", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1756117422419)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "32a4f8f4-d204-48e3-a8b8-d0965cb25e7a", "InvoiceNumber": "INV12122", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 70.63, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "07c709b0-937e-40e5-a0d5-b08ea9074e65", "ContactStatus": "ACTIVE", "Name": "Dominos 10581 (Ken Hoose)", "FirstName": "Ken", "LastName": "Hoose", "EmailAddress": "kenhoose94@gmail.com", "BankAccountDetails": "", "AccountsReceivableTaxType": "TAX011", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "", "AttentionTo": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "", "AttentionTo": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1617976682070+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesDefaultAccountCode": "203", "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-06-01T00:00:00", "Date": "\/Date(1748736000000+0000)\/", "DueDateString": "2025-07-01T00:00:00", "DueDate": "\/Date(1751328000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Restaurant - 4 Line Flat Rate", "UnitAmount": 75.00, "TaxType": "TAX020", "TaxAmount": 9.75, "LineAmount": 75.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "5c08d381-dcf3-4fde-a29a-3c142f83e505", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (12265700029- 300 Elm Street St. Thomas, ON N5R 1J7 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "4a2062a8-f071-401c-b23f-9ae29b82829e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service", "UnitAmount": -5.00, "TaxType": "TAX020", "TaxAmount": -1.95, "LineAmount": -15.00, "AccountCode": "303", "Tracking": [], "Quantity": 3.0000, "LineItemID": "0eaee3a8-e121-438f-844c-08751a8754df", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "ValidationErrors": [] } ], "SubTotal": 62.50, "TotalTax": 8.13, "Total": 70.63, "UpdatedDateUTC": "\/Date(1756117422360+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-08-25 06:23:42] Production.INFO: -- Create Invoice id --32a4f8f4-d204-48e3-a8b8-d0965cb25e7a [2025-08-25 06:23:42] Production.INFO: -- Create Invoice Done -- [2025-08-25 06:23:42] Production.INFO: CheckInvoice xerov2: INV12066 [2025-08-25 06:23:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV12066 [2025-08-25 06:23:45] Production.INFO: Check Invoice Id XEROV20 [2025-08-25 06:23:45] Production.INFO: Invoice SubTotal 62.500000 [2025-08-25 06:23:45] Production.INFO: Invoice DetTotal 62.5 [2025-08-25 06:23:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010471%20%28Ken%20Hoose%29" [2025-08-25 06:23:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-08-25 06:23:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-08-25 06:23:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-08-25 06:23:57] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (5196333123 - 965 Talbot St C St Thomas, ON N5P 1E8 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 3,UnitAmount : -5.000000,LineAmount : -15.000000} [2025-08-25 06:24:00] Production.INFO: ==== result ===== [2025-08-25 06:24:00] Production.INFO: { "Id": "0e1018f1-baa0-4f7b-aef2-b606185ac13a", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1756117440049)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "221b967b-245d-4bf3-a68f-a488b440292b", "InvoiceNumber": "INV12066", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 70.63, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "035db9cd-92a8-4776-bb57-e5a70cdb3e03", "ContactStatus": "ACTIVE", "Name": "Dominos 10471 (Ken Hoose)", "FirstName": "Ken", "LastName": "Hoose", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1655925306193+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-05-18T00:00:00", "Date": "\/Date(1747526400000+0000)\/", "DueDateString": "2025-06-17T00:00:00", "DueDate": "\/Date(1750118400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Restaurant - 4 Line Flat Rate", "UnitAmount": 75.00, "TaxType": "TAX020", "TaxAmount": 9.75, "LineAmount": 75.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "d6ad4d3e-129c-4c30-bb9b-2d658be5466f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (5196333123 - 965 Talbot St C St Thomas, ON N5P 1E8 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "427bd111-72d2-4e0b-8d91-e3fe7f3f5843", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service", "UnitAmount": -5.00, "TaxType": "TAX020", "TaxAmount": -1.95, "LineAmount": -15.00, "AccountCode": "303", "Tracking": [], "Quantity": 3.0000, "LineItemID": "1631ea6b-e1a4-48f0-a2d9-a57daad335dd", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "ValidationErrors": [] } ], "SubTotal": 62.50, "TotalTax": 8.13, "Total": 70.63, "UpdatedDateUTC": "\/Date(1756117439987+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-08-25 06:24:00] Production.INFO: -- Create Invoice id --221b967b-245d-4bf3-a68f-a488b440292b [2025-08-25 06:24:00] Production.INFO: -- Create Invoice Done -- [2025-08-25 06:24:00] Production.INFO: CheckInvoice xerov2: INV12033 [2025-08-25 06:24:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV12033 [2025-08-25 06:24:03] Production.INFO: Check Invoice Id XEROV20 [2025-08-25 06:24:03] Production.INFO: Invoice SubTotal 77.420000 [2025-08-25 06:24:03] Production.INFO: Invoice DetTotal 77.42 [2025-08-25 06:24:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Behrns%20Metal%20Fabricating%20Inc" [2025-08-25 06:24:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-08-25 06:24:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-08-25 06:24:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-08-25 06:24:15] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 04-13-2025 To 05-12-2025",Quantity : 1,UnitAmount : 2.920000,LineAmount : 2.920000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 10.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 8,UnitAmount : 10.000000,LineAmount : 72.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (15192914136 - 6650 Perth County Line 88 Gowanstown, ON N0G 1Y0 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-08-25 06:24:18] Production.INFO: ==== result ===== [2025-08-25 06:24:18] Production.INFO: { "Id": "233b3cea-d6ec-4a00-b420-245beea58883", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1756117458377)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "d225cb24-07e2-44df-b19a-79416cec43e1", "InvoiceNumber": "INV12033", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 87.49, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 8.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "b5208613-a884-49ac-9417-cb8891a7008b", "ContactStatus": "ACTIVE", "Name": "Behrns Metal Fabricating Inc", "FirstName": "Janice", "LastName": "George", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1686216462723+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-05-13T00:00:00", "Date": "\/Date(1747094400000+0000)\/", "DueDateString": "2025-06-12T00:00:00", "DueDate": "\/Date(1749686400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 04-13-2025 To 05-12-2025", "UnitAmount": 2.92, "TaxType": "TAX020", "TaxAmount": 0.38, "LineAmount": 2.92, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "b2088cc7-2cb9-43c3-95ba-293ebc52b528", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for an Unlimited Canada/US Cloud Phone extension", "UnitAmount": 10.00, "TaxType": "TAX020", "TaxAmount": 9.36, "LineAmount": 72.00, "AccountCode": "203", "Tracking": [], "Quantity": 8.0000, "DiscountRate": 10.00, "LineItemID": "4cabff03-735f-459f-9143-1ff74d3ab73f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 8.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (15192914136 - 6650 Perth County Line 88 Gowanstown, ON N0G 1Y0 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "8e91ba29-9b95-4ae3-88e4-74c4878bfbee", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 77.42, "TotalTax": 10.07, "Total": 87.49, "UpdatedDateUTC": "\/Date(1756117458330+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-08-25 06:24:18] Production.INFO: -- Create Invoice id --d225cb24-07e2-44df-b19a-79416cec43e1 [2025-08-25 06:24:18] Production.INFO: -- Create Invoice Done -- [2025-08-25 06:24:18] Production.INFO: CheckInvoice xerov2: INV11847 [2025-08-25 06:24:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11847 [2025-08-25 06:24:21] Production.INFO: Check Invoice Id XEROV20 [2025-08-25 06:24:21] Production.INFO: Invoice SubTotal 957.640000 [2025-08-25 06:24:21] Production.INFO: Invoice DetTotal 957.64 [2025-08-25 06:24:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc." [2025-08-25 06:24:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-08-25 06:24:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-08-25 06:24:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-08-25 06:24:33] Production.INFO: =========Invoices String here======{taxType:"TAX020",DiscountRate : 0.000000,"Description": "LAPTOP REFURB THINKPAD P15 CORE I7/11850H | 32GB | 512SSD | 15" | W11P | GEN 2 NOTE: Replacement laptop for Greg Post.",Quantity : 1,UnitAmount : 875.000000,LineAmount : 875.000000},{taxType:"TAX020",DiscountRate : 0.000000,"Description": "3 Year Depot Warranty",Quantity : 1,UnitAmount : 63.000000,LineAmount : 63.000000},{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": "Shipping",Quantity : 1,UnitAmount : 19.640000,LineAmount : 19.640000} [2025-08-25 06:24:37] Production.INFO: ==== result ===== [2025-08-25 06:24:37] Production.INFO: { "ErrorNumber": 14, "Type": "PostDataInvalidException", "Message": "Invalid Json data" } [2025-08-25 06:24:37] Production.ERROR: exception 'ErrorException' with message 'Undefined property: stdClass::$Invoices' in /var/www/html/onswitch.neon.service/app/lib/XeroV2.php:0 Stack trace: #0 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined prope...', '/var/www/html/o...', 0, Array) #1 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->CreateInvoice() #2 /var/www/html/onswitch.neon.service/app/Console/Commands/XeroInvoicePostV2.php(0): App\Lib\XeroV2->addInvoices() #3 [internal function]: App\Console\Commands\XeroInvoicePostV2->fire() #4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array) #5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array) #6 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #8 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\XeroInvoicePostV2), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #12 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #13 {main} [2025-08-25 06:24:37] Production.INFO: -- Create Invoice Error --Undefined property: stdClass::$Invoices [2025-08-25 06:24:37] Production.INFO: -- Create Invoice Error -- [2025-08-25 06:24:37] Production.INFO: -- Create Invoice Done -- [2025-08-25 06:24:37] Production.INFO: CheckInvoice xerov2: INV11836 [2025-08-25 06:24:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11836 [2025-08-25 06:24:39] Production.INFO: Check Invoice Id XEROV20 [2025-08-25 06:24:39] Production.INFO: Invoice SubTotal 112.210000 [2025-08-25 06:24:39] Production.INFO: Invoice DetTotal 112.21 [2025-08-25 06:24:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bio-Ag%20Consultants%20%26%20Distributors%20Inc." [2025-08-25 06:24:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-08-25 06:24:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-08-25 06:24:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-08-25 06:24:52] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 15.000000,"Description": "Capacity Based Billing - Flat Rate Line",Quantity : 5,UnitAmount : 22.990000,LineAmount : 97.710000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Softphone Add-On",Quantity : 12,UnitAmount : 1.000000,LineAmount : 12.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (5196562460 - 1400 Greenwood Hill Rd. Wellesley, ON N0B 2T0 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-08-25 06:24:55] Production.INFO: ==== result ===== [2025-08-25 06:24:55] Production.INFO: { "Id": "7493c604-6aee-4821-9bfc-7d33ba793817", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1756117495623)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "8ef2fc47-c224-4868-87c8-ef66339f9acd", "InvoiceNumber": "INV11836", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 126.80, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 17.24, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "d07f68ac-89bd-4e73-ae6e-c60c05b83dae", "ContactStatus": "ACTIVE", "Name": "Bio-Ag Consultants & Distributors Inc.", "FirstName": "Kartar", "LastName": "Bhutani", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1736241984300+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-04-08T00:00:00", "Date": "\/Date(1744070400000+0000)\/", "DueDateString": "2025-05-08T00:00:00", "DueDate": "\/Date(1746662400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Capacity Based Billing - Flat Rate Line", "UnitAmount": 22.99, "TaxType": "TAX020", "TaxAmount": 12.70, "LineAmount": 97.71, "AccountCode": "203", "Tracking": [], "Quantity": 5.0000, "DiscountRate": 15.00, "LineItemID": "64b464db-0e23-42af-bdd2-8b110a0f1c25", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 17.2400, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 1.56, "LineAmount": 12.00, "AccountCode": "203", "Tracking": [], "Quantity": 12.0000, "LineItemID": "09a35b6a-396e-4cda-821a-0fbc00fcf478", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (5196562460 - 1400 Greenwood Hill Rd. Wellesley, ON N0B 2T0 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "1beed24c-40c8-4a45-ae54-6a09a22ddb8c", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 112.21, "TotalTax": 14.59, "Total": 126.80, "UpdatedDateUTC": "\/Date(1756117495577+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-08-25 06:24:55] Production.INFO: -- Create Invoice id --8ef2fc47-c224-4868-87c8-ef66339f9acd [2025-08-25 06:24:55] Production.INFO: -- Create Invoice Done -- [2025-08-25 06:24:55] Production.INFO: CheckInvoice xerov2: INV11669 [2025-08-25 06:24:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11669 [2025-08-25 06:24:58] Production.INFO: Check Invoice Id XEROV20 [2025-08-25 06:24:58] Production.INFO: Invoice SubTotal 112.210000 [2025-08-25 06:24:58] Production.INFO: Invoice DetTotal 112.21 [2025-08-25 06:24:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bio-Ag%20Consultants%20%26%20Distributors%20Inc." [2025-08-25 06:25:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-08-25 06:25:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-08-25 06:25:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-08-25 06:25:10] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 15.000000,"Description": "Capacity Based Billing - Flat Rate Line",Quantity : 5,UnitAmount : 22.990000,LineAmount : 97.710000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Softphone Add-On",Quantity : 12,UnitAmount : 1.000000,LineAmount : 12.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (5196562460 - 1400 Greenwood Hill Rd. Wellesley, ON N0B 2T0 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-08-25 06:25:14] Production.INFO: ==== result ===== [2025-08-25 06:25:14] Production.INFO: { "Id": "0eb04d8d-5fbb-42c2-a466-3fbc3536f34f", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1756117514061)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "21dc5b0a-a228-4893-8d87-3f84757cd6c8", "InvoiceNumber": "INV11669", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 126.80, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 17.24, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "d07f68ac-89bd-4e73-ae6e-c60c05b83dae", "ContactStatus": "ACTIVE", "Name": "Bio-Ag Consultants & Distributors Inc.", "FirstName": "Kartar", "LastName": "Bhutani", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1736241984300+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-08T00:00:00", "Date": "\/Date(1741392000000+0000)\/", "DueDateString": "2025-04-07T00:00:00", "DueDate": "\/Date(1743984000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Capacity Based Billing - Flat Rate Line", "UnitAmount": 22.99, "TaxType": "TAX020", "TaxAmount": 12.70, "LineAmount": 97.71, "AccountCode": "203", "Tracking": [], "Quantity": 5.0000, "DiscountRate": 15.00, "LineItemID": "5b3794c6-6912-494c-8d0c-0fdc4609c5e1", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 17.2400, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 1.56, "LineAmount": 12.00, "AccountCode": "203", "Tracking": [], "Quantity": 12.0000, "LineItemID": "96e7953e-360e-4130-b6ef-db68b6c49652", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (5196562460 - 1400 Greenwood Hill Rd. Wellesley, ON N0B 2T0 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "e6c6db28-cd0a-4b9e-b865-4ad19a1025eb", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 112.21, "TotalTax": 14.59, "Total": 126.80, "UpdatedDateUTC": "\/Date(1756117514013+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-08-25 06:25:14] Production.INFO: -- Create Invoice id --21dc5b0a-a228-4893-8d87-3f84757cd6c8 [2025-08-25 06:25:14] Production.INFO: -- Create Invoice Done -- [2025-08-25 06:25:14] Production.INFO: CheckInvoice xerov2: INV11496 [2025-08-25 06:25:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11496 [2025-08-25 06:25:16] Production.INFO: Check Invoice Id XEROV20 [2025-08-25 06:25:17] Production.INFO: Invoice SubTotal 112.210000 [2025-08-25 06:25:17] Production.INFO: Invoice DetTotal 112.21 [2025-08-25 06:25:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bio-Ag%20Consultants%20%26%20Distributors%20Inc." [2025-08-25 06:25:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-08-25 06:25:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-08-25 06:25:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-08-25 06:25:29] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 15.000000,"Description": "Capacity Based Billing - Flat Rate Line",Quantity : 5,UnitAmount : 22.990000,LineAmount : 97.710000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Softphone Add-On",Quantity : 12,UnitAmount : 1.000000,LineAmount : 12.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (5196562460 - 1400 Greenwood Hill Rd. Wellesley, ON N0B 2T0 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-08-25 06:25:33] Production.INFO: ==== result ===== [2025-08-25 06:25:33] Production.INFO: { "Id": "cdc62657-2cf2-498e-9928-50fdf9f35dec", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1756117533059)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "c9de9179-55f2-4b11-9f7f-df84274e5423", "InvoiceNumber": "INV11496", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 126.80, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 17.24, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "d07f68ac-89bd-4e73-ae6e-c60c05b83dae", "ContactStatus": "ACTIVE", "Name": "Bio-Ag Consultants & Distributors Inc.", "FirstName": "Kartar", "LastName": "Bhutani", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1736241984300+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-08T00:00:00", "Date": "\/Date(1738972800000+0000)\/", "DueDateString": "2025-03-10T00:00:00", "DueDate": "\/Date(1741564800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Capacity Based Billing - Flat Rate Line", "UnitAmount": 22.99, "TaxType": "TAX020", "TaxAmount": 12.70, "LineAmount": 97.71, "AccountCode": "203", "Tracking": [], "Quantity": 5.0000, "DiscountRate": 15.00, "LineItemID": "b3672980-d4e2-4545-9142-ff4efc7464b8", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 17.2400, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 1.56, "LineAmount": 12.00, "AccountCode": "203", "Tracking": [], "Quantity": 12.0000, "LineItemID": "8166329b-4320-4203-90f0-6ccfc7dc1b4f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (5196562460 - 1400 Greenwood Hill Rd. Wellesley, ON N0B 2T0 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "e3141704-42ab-42ed-a3d8-460bbe013fec", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 112.21, "TotalTax": 14.59, "Total": 126.80, "UpdatedDateUTC": "\/Date(1756117532997+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-08-25 06:25:33] Production.INFO: -- Create Invoice id --c9de9179-55f2-4b11-9f7f-df84274e5423 [2025-08-25 06:25:33] Production.INFO: -- Create Invoice Done -- [2025-08-25 06:25:33] Production.INFO: CheckInvoice xerov2: INV11340 [2025-08-25 06:25:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11340 [2025-08-25 06:25:36] Production.INFO: Check Invoice Id XEROV20 [2025-08-25 06:25:36] Production.INFO: Invoice SubTotal 112.210000 [2025-08-25 06:25:36] Production.INFO: Invoice DetTotal 112.21 [2025-08-25 06:25:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bio-Ag%20Consultants%20%26%20Distributors%20Inc." [2025-08-25 06:25:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-08-25 06:25:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-08-25 06:25:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-08-25 06:25:48] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 15.000000,"Description": "Capacity Based Billing - Flat Rate Line",Quantity : 5,UnitAmount : 22.990000,LineAmount : 97.710000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Softphone Add-On",Quantity : 12,UnitAmount : 1.000000,LineAmount : 12.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (5196562460 - 1400 Greenwood Hill Rd. Wellesley, ON N0B 2T0 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-08-25 06:25:52] Production.INFO: ==== result ===== [2025-08-25 06:25:52] Production.INFO: { "Id": "343b5aae-c41f-4bb6-899e-4a723ab41090", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1756117552066)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "cc82b0bd-ff2b-49b4-bfac-94306d5b4524", "InvoiceNumber": "INV11340", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 126.80, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 17.24, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "d07f68ac-89bd-4e73-ae6e-c60c05b83dae", "ContactStatus": "ACTIVE", "Name": "Bio-Ag Consultants & Distributors Inc.", "FirstName": "Kartar", "LastName": "Bhutani", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1736241984300+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-08T00:00:00", "Date": "\/Date(1736294400000+0000)\/", "DueDateString": "2025-02-07T00:00:00", "DueDate": "\/Date(1738886400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Capacity Based Billing - Flat Rate Line", "UnitAmount": 22.99, "TaxType": "TAX020", "TaxAmount": 12.70, "LineAmount": 97.71, "AccountCode": "203", "Tracking": [], "Quantity": 5.0000, "DiscountRate": 15.00, "LineItemID": "73e3deb6-0373-457d-bf34-a671e27815a9", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 17.2400, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 1.56, "LineAmount": 12.00, "AccountCode": "203", "Tracking": [], "Quantity": 12.0000, "LineItemID": "d1cc7894-30fd-401b-8b02-8b30cc2c2b27", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (5196562460 - 1400 Greenwood Hill Rd. Wellesley, ON N0B 2T0 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "01fd957e-1c16-4aa6-8de3-5f588be6237a", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 112.21, "TotalTax": 14.59, "Total": 126.80, "UpdatedDateUTC": "\/Date(1756117552003+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-08-25 06:25:52] Production.INFO: -- Create Invoice id --cc82b0bd-ff2b-49b4-bfac-94306d5b4524 [2025-08-25 06:25:52] Production.INFO: -- Create Invoice Done -- [2025-08-25 06:25:52] Production.INFO: CheckInvoice xerov2: INV11183 [2025-08-25 06:25:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11183 [2025-08-25 06:25:54] Production.INFO: Check Invoice Id XEROV20 [2025-08-25 06:25:54] Production.INFO: Invoice SubTotal 112.210000 [2025-08-25 06:25:54] Production.INFO: Invoice DetTotal 112.21 [2025-08-25 06:25:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bio-Ag%20Consultants%20%26%20Distributors%20Inc." [2025-08-25 06:25:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-08-25 06:26:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-08-25 06:26:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-08-25 06:26:07] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 15.000000,"Description": "Capacity Based Billing - Flat Rate Line",Quantity : 5,UnitAmount : 22.990000,LineAmount : 97.710000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Softphone Add-On",Quantity : 12,UnitAmount : 1.000000,LineAmount : 12.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (5196562460 - 1400 Greenwood Hill Rd. Wellesley, ON N0B 2T0 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-08-25 06:26:10] Production.INFO: ==== result ===== [2025-08-25 06:26:10] Production.INFO: { "Id": "52233127-2860-49d3-bfcc-ea0873715ffe", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1756117570339)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "9c843dea-4092-48fc-b787-10e5d026d2a6", "InvoiceNumber": "INV11183", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 126.80, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 17.24, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "d07f68ac-89bd-4e73-ae6e-c60c05b83dae", "ContactStatus": "ACTIVE", "Name": "Bio-Ag Consultants & Distributors Inc.", "FirstName": "Kartar", "LastName": "Bhutani", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1736241984300+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-12-08T00:00:00", "Date": "\/Date(1733616000000+0000)\/", "DueDateString": "2025-01-07T00:00:00", "DueDate": "\/Date(1736208000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Capacity Based Billing - Flat Rate Line", "UnitAmount": 22.99, "TaxType": "TAX020", "TaxAmount": 12.70, "LineAmount": 97.71, "AccountCode": "203", "Tracking": [], "Quantity": 5.0000, "DiscountRate": 15.00, "LineItemID": "d9f84ce9-0422-425c-8c90-eeab9c8ca46b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 17.2400, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 1.56, "LineAmount": 12.00, "AccountCode": "203", "Tracking": [], "Quantity": 12.0000, "LineItemID": "040e3584-0d54-44ff-993b-5779051442f3", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (5196562460 - 1400 Greenwood Hill Rd. Wellesley, ON N0B 2T0 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "4cc3851b-4482-463a-81e3-d0420d0f82ae", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 112.21, "TotalTax": 14.59, "Total": 126.80, "UpdatedDateUTC": "\/Date(1756117570307+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-08-25 06:26:10] Production.INFO: -- Create Invoice id --9c843dea-4092-48fc-b787-10e5d026d2a6 [2025-08-25 06:26:10] Production.INFO: -- Create Invoice Done -- [2025-08-25 06:26:10] Production.INFO: CheckInvoice xerov2: INV11024 [2025-08-25 06:26:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11024 [2025-08-25 06:26:13] Production.INFO: Check Invoice Id XEROV20 [2025-08-25 06:26:13] Production.INFO: Invoice SubTotal 112.210000 [2025-08-25 06:26:13] Production.INFO: Invoice DetTotal 112.21 [2025-08-25 06:26:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bio-Ag%20Consultants%20%26%20Distributors%20Inc." [2025-08-25 06:26:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-08-25 06:26:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-08-25 06:26:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-08-25 06:26:25] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 15.000000,"Description": "Capacity Based Billing - Flat Rate Line",Quantity : 5,UnitAmount : 22.990000,LineAmount : 97.710000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Softphone Add-On",Quantity : 12,UnitAmount : 1.000000,LineAmount : 12.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (5196562460 - 1400 Greenwood Hill Rd. Wellesley, ON N0B 2T0 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-08-25 06:26:28] Production.INFO: ==== result ===== [2025-08-25 06:26:28] Production.INFO: { "Id": "a574e3a1-9ff0-4abc-9cdc-e5264b648b56", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1756117588533)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "05144d9c-5662-44aa-954a-6a02582dcd4b", "InvoiceNumber": "INV11024", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 126.80, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 17.24, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "d07f68ac-89bd-4e73-ae6e-c60c05b83dae", "ContactStatus": "ACTIVE", "Name": "Bio-Ag Consultants & Distributors Inc.", "FirstName": "Kartar", "LastName": "Bhutani", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1736241984300+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-11-08T00:00:00", "Date": "\/Date(1731024000000+0000)\/", "DueDateString": "2024-12-08T00:00:00", "DueDate": "\/Date(1733616000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Capacity Based Billing - Flat Rate Line", "UnitAmount": 22.99, "TaxType": "TAX020", "TaxAmount": 12.70, "LineAmount": 97.71, "AccountCode": "203", "Tracking": [], "Quantity": 5.0000, "DiscountRate": 15.00, "LineItemID": "9ae50121-f9cb-46e5-b492-2b4dd44a2f31", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 17.2400, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 1.56, "LineAmount": 12.00, "AccountCode": "203", "Tracking": [], "Quantity": 12.0000, "LineItemID": "2391216d-e8b7-4dbe-b074-d3ab6e13b1fa", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (5196562460 - 1400 Greenwood Hill Rd. Wellesley, ON N0B 2T0 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "f7c840e0-ac03-4013-92e6-75f3577f3562", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 112.21, "TotalTax": 14.59, "Total": 126.80, "UpdatedDateUTC": "\/Date(1756117588457+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-08-25 06:26:28] Production.INFO: -- Create Invoice id --05144d9c-5662-44aa-954a-6a02582dcd4b [2025-08-25 06:26:28] Production.INFO: -- Create Invoice Done -- [2025-08-25 06:26:28] Production.INFO: CheckInvoice xerov2: INV9661 [2025-08-25 06:26:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV9661 [2025-08-25 06:26:31] Production.INFO: Check Invoice Id XEROV21 [2025-08-25 06:26:31] Production.INFO: -- Create Invoice Done -- [2025-08-25 06:26:31] Production.INFO: -- Xero End Inovice -- [2025-08-25 06:26:31] Production.INFO: ==10323== Releasing lock... [2025-08-25 06:26:31] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-11320 #Stops# [2025-08-25 06:26:31] Production.INFO: 33.25 MB #Memory Used#