[2025-03-20 08:52:03] Production.INFO: -- Xero Api Check -- [2025-03-20 08:52:04] Production.INFO: -- curl info --Array ( [url] => https://identity.xero.com/connect/token [content_type] => application/json; charset=UTF-8 [http_code] => 200 [header_size] => 854 [request_size] => 352 [filetime] => -1 [ssl_verify_result] => 0 [redirect_count] => 0 [total_time] => 1.182862 [namelookup_time] => 0.528866 [connect_time] => 0.60817 [pretransfer_time] => 0.968204 [size_upload] => 82 [size_download] => 2755 [speed_download] => 2329 [speed_upload] => 69 [download_content_length] => 2755 [upload_content_length] => 82 [starttransfer_time] => 1.182814 [redirect_time] => 0 [redirect_url] => [primary_ip] => 2.21.67.50 [certinfo] => Array ( ) [primary_port] => 443 [local_ip] => 54.39.180.235 [local_port] => 38618 ) [2025-03-20 08:52:04] Production.INFO: -- connection successfully here --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NzUxMjQsImV4cCI6MTc0MjQ3NTQyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzQyNDc1MTI0LCJhdF9oYXNoIjoiMmNMZ2NNOTJvR2dRc3VpSEMxNkFkUSIsInN1YiI6Ijc1NGMxN2Q3MTA0YTUxODViYjEyZmM5ODFiN2VlMzliIiwiYXV0aF90aW1lIjoxNzQyNDY2MzA1LCJ4ZXJvX3VzZXJpZCI6IjFiOGM2ODExLTJmMGItNGU3Mi05Y2JhLTY5ZDVlM2RmOTEyYyIsImdsb2JhbF9zZXNzaW9uX2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJzaWQiOiI5ZWFmZGExM2Y5NWE0NmJjODI2Yzc4N2IxZTRjNWY1MCIsInByZWZlcnJlZF91c2VybmFtZSI6Imx5bmRhQGNsb3VkbWViLmNvbSIsImVtYWlsIjoibHluZGFAY2xvdWRtZWIuY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.RsfhKIc60x7H2G8ETImaGjobfjosl_MPxa6Fy6MyaZJC9HbCF5S9i7cXolW0bwu77IGhiJFBZeE8mLY6PwejFpAVRKYhHZLlZyjkHc_IZN9driovwFsl2Yxt_kcWMxHFF4xW4ZYZ0GdiZQHFvVOhXhAXLLJZKQ6jq3xjUwyrfroUgqQ7OkyTWtCeDJX5rUejmDvIp5QpHoej6CfOqcFZ-w21Ag31Q_f_SMDbu8dm6AvlJ3pvKrhgsZ2qhjdj7mdBZJY8dcy8j2oDMBp5Y72ZNIHdMgqRCBF3j5B2WlwnXUrPnzraEeYnVMz_9GrIz789_GM4kC-XflO0McTkNsXjIw [access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NzUxMjQsImV4cCI6MTc0MjQ3NjkyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI3NTRjMTdkNzEwNGE1MTg1YmIxMmZjOTgxYjdlZTM5YiIsImF1dGhfdGltZSI6MTc0MjQ2NjMwNSwieGVyb191c2VyaWQiOiIxYjhjNjgxMS0yZjBiLTRlNzItOWNiYS02OWQ1ZTNkZjkxMmMiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6IjllYWZkYTEzZjk1YTQ2YmM4MjZjNzg3YjFlNGM1ZjUwIiwic2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJqdGkiOiIyNUNEQkY1RjBBNTRGMjlDNjBDNUE2RjU4Qzg3NzMyQSIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiMGZlNDU1NWEtNmNkMy00YjFkLTljNjEtMzAzMjBmMjBmZGFkIiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.oEiaxteRPGVKWXynDuBUgRnaGGgKISA2cCRrkbTzBx9zG2OxhhijzrGKEnqAOGmLYtMnXG1c-HVwUg9UHLUS6vx-d2nibQX97tJ0oDjl5RrI6u2IFJpLmOKTLq5CFletEXXpyGxDxsPRM0NCH4tbhu-gF8VARS6U66OxCjwLCLskN6III_obU7Y5vuklc2Dx3lINLzLloL_l0qOqYD-9T3jF7hNh8kVI1WJqT4WygaZR5o_iI_jEoMbeN6GczJCpI5B8IJz9CYWYvAnnulbKoplyCsjBGvq8SSQeCRXHiAx3DhpKEUZIqEuDke-1uVTYeTgTYN1c4SD4Prqw1ajnjg [expires_in] => 1800 [token_type] => Bearer [refresh_token] => M5SxNipuYSpGjzwbmaSyCcWdHIHOQ14XvRGfP6pQ3_g [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-03-20 08:52:05] Production.INFO: -- connection successfully --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NzUxMjQsImV4cCI6MTc0MjQ3NTQyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzQyNDc1MTI0LCJhdF9oYXNoIjoiMmNMZ2NNOTJvR2dRc3VpSEMxNkFkUSIsInN1YiI6Ijc1NGMxN2Q3MTA0YTUxODViYjEyZmM5ODFiN2VlMzliIiwiYXV0aF90aW1lIjoxNzQyNDY2MzA1LCJ4ZXJvX3VzZXJpZCI6IjFiOGM2ODExLTJmMGItNGU3Mi05Y2JhLTY5ZDVlM2RmOTEyYyIsImdsb2JhbF9zZXNzaW9uX2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJzaWQiOiI5ZWFmZGExM2Y5NWE0NmJjODI2Yzc4N2IxZTRjNWY1MCIsInByZWZlcnJlZF91c2VybmFtZSI6Imx5bmRhQGNsb3VkbWViLmNvbSIsImVtYWlsIjoibHluZGFAY2xvdWRtZWIuY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.RsfhKIc60x7H2G8ETImaGjobfjosl_MPxa6Fy6MyaZJC9HbCF5S9i7cXolW0bwu77IGhiJFBZeE8mLY6PwejFpAVRKYhHZLlZyjkHc_IZN9driovwFsl2Yxt_kcWMxHFF4xW4ZYZ0GdiZQHFvVOhXhAXLLJZKQ6jq3xjUwyrfroUgqQ7OkyTWtCeDJX5rUejmDvIp5QpHoej6CfOqcFZ-w21Ag31Q_f_SMDbu8dm6AvlJ3pvKrhgsZ2qhjdj7mdBZJY8dcy8j2oDMBp5Y72ZNIHdMgqRCBF3j5B2WlwnXUrPnzraEeYnVMz_9GrIz789_GM4kC-XflO0McTkNsXjIw [access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NzUxMjQsImV4cCI6MTc0MjQ3NjkyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI3NTRjMTdkNzEwNGE1MTg1YmIxMmZjOTgxYjdlZTM5YiIsImF1dGhfdGltZSI6MTc0MjQ2NjMwNSwieGVyb191c2VyaWQiOiIxYjhjNjgxMS0yZjBiLTRlNzItOWNiYS02OWQ1ZTNkZjkxMmMiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6IjllYWZkYTEzZjk1YTQ2YmM4MjZjNzg3YjFlNGM1ZjUwIiwic2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJqdGkiOiIyNUNEQkY1RjBBNTRGMjlDNjBDNUE2RjU4Qzg3NzMyQSIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiMGZlNDU1NWEtNmNkMy00YjFkLTljNjEtMzAzMjBmMjBmZGFkIiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.oEiaxteRPGVKWXynDuBUgRnaGGgKISA2cCRrkbTzBx9zG2OxhhijzrGKEnqAOGmLYtMnXG1c-HVwUg9UHLUS6vx-d2nibQX97tJ0oDjl5RrI6u2IFJpLmOKTLq5CFletEXXpyGxDxsPRM0NCH4tbhu-gF8VARS6U66OxCjwLCLskN6III_obU7Y5vuklc2Dx3lINLzLloL_l0qOqYD-9T3jF7hNh8kVI1WJqT4WygaZR5o_iI_jEoMbeN6GczJCpI5B8IJz9CYWYvAnnulbKoplyCsjBGvq8SSQeCRXHiAx3DhpKEUZIqEuDke-1uVTYeTgTYN1c4SD4Prqw1ajnjg [expires_in] => 1800 [token_type] => Bearer [refresh_token] => M5SxNipuYSpGjzwbmaSyCcWdHIHOQ14XvRGfP6pQ3_g [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-03-20 08:52:05] Production.INFO: AccountID 90 [2025-03-20 08:52:05] Production.INFO: AccountName Terry Anderson [2025-03-20 08:52:05] Production.INFO: Checkcustomer [2025-03-20 08:52:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Terry%20Anderson" [2025-03-20 08:52:08] Production.INFO: Contact id print CheckCustomer Case===d5be271f-e649-44ed-a97e-8af24111fe24 [2025-03-20 08:52:08] Production.INFO: -- count --1 [2025-03-20 08:52:08] Production.INFO: AccountID 117 [2025-03-20 08:52:08] Production.INFO: AccountName Compass ELC - Durham HCC [2025-03-20 08:52:08] Production.INFO: Checkcustomer [2025-03-20 08:52:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Durham%20HCC" [2025-03-20 08:52:11] Production.INFO: Contact id print CheckCustomer Case===f8b88efb-63e8-472e-81a0-aaf95bba55fd [2025-03-20 08:52:11] Production.INFO: -- count --1 [2025-03-20 08:52:11] Production.INFO: AccountID 145 [2025-03-20 08:52:11] Production.INFO: AccountName Factor Direct Corporation [2025-03-20 08:52:11] Production.INFO: Checkcustomer [2025-03-20 08:52:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Factor%20Direct%20Corporation" [2025-03-20 08:52:14] Production.INFO: Contact id print CheckCustomer Case===7c1277f3-bcd9-451c-bc86-2de69f5b3c16 [2025-03-20 08:52:14] Production.INFO: -- count --1 [2025-03-20 08:52:14] Production.INFO: AccountID 211 [2025-03-20 08:52:14] Production.INFO: AccountName Dominos 39052 (Sandeep Chaudhari) [2025-03-20 08:52:14] Production.INFO: Checkcustomer [2025-03-20 08:52:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039052%20%28Sandeep%20Chaudhari%29" [2025-03-20 08:52:17] Production.INFO: Contact id print CheckCustomer Case===fef41f69-d586-4623-95ec-1702df71d8e3 [2025-03-20 08:52:17] Production.INFO: -- count --1 [2025-03-20 08:52:17] Production.INFO: AccountID 219 [2025-03-20 08:52:17] Production.INFO: AccountName Agora Dealer Services Corp. [2025-03-20 08:52:17] Production.INFO: Checkcustomer [2025-03-20 08:52:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Agora%20Dealer%20Services%20Corp." [2025-03-20 08:52:20] Production.INFO: Contact id print CheckCustomer Case===49e5c80a-3116-49fe-9e6f-15ec07433251 [2025-03-20 08:52:20] Production.INFO: -- count --1 [2025-03-20 08:52:20] Production.INFO: AccountID 227 [2025-03-20 08:52:20] Production.INFO: AccountName Quiznos 15184 (Akshay Naik) [2025-03-20 08:52:20] Production.INFO: Checkcustomer [2025-03-20 08:52:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015184%20%28Akshay%20Naik%29" [2025-03-20 08:52:23] Production.INFO: Contact id print CheckCustomer Case===7d4d8a6e-9b66-4daf-be5c-0e7e0524121b [2025-03-20 08:52:23] Production.INFO: -- count --1 [2025-03-20 08:52:23] Production.INFO: AccountID 241 [2025-03-20 08:52:23] Production.INFO: AccountName Quiznos 15192 (Akshay Naik) [2025-03-20 08:52:23] Production.INFO: Checkcustomer [2025-03-20 08:52:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015192%20%28Akshay%20Naik%29" [2025-03-20 08:52:26] Production.INFO: Contact id print CheckCustomer Case===9f823e1c-f0d1-4915-b9fd-4b0d691e058e [2025-03-20 08:52:26] Production.INFO: -- count --1 [2025-03-20 08:52:26] Production.INFO: AccountID 250 [2025-03-20 08:52:26] Production.INFO: AccountName Bennison Smith Law [2025-03-20 08:52:26] Production.INFO: Checkcustomer [2025-03-20 08:52:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bennison%20Smith%20Law" [2025-03-20 08:52:29] Production.INFO: Contact id print CheckCustomer Case===5304e7ac-dae0-4da0-8e3e-3bf1912a47f6 [2025-03-20 08:52:29] Production.INFO: -- count --1 [2025-03-20 08:52:29] Production.INFO: AccountID 254 [2025-03-20 08:52:29] Production.INFO: AccountName Robson Carpenter LLP [2025-03-20 08:52:29] Production.INFO: Checkcustomer [2025-03-20 08:52:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Robson%20Carpenter%20LLP" [2025-03-20 08:52:32] Production.INFO: Contact id print CheckCustomer Case===026264ad-30db-4a13-9750-7dee8e32341c [2025-03-20 08:52:32] Production.INFO: -- count --1 [2025-03-20 08:52:32] Production.INFO: AccountID 155 [2025-03-20 08:52:32] Production.INFO: AccountName Dominos 10388 (Sandeep Chaudhari) [2025-03-20 08:52:32] Production.INFO: Checkcustomer [2025-03-20 08:52:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010388%20%28Sandeep%20Chaudhari%29" [2025-03-20 08:52:34] Production.INFO: Contact id print CheckCustomer Case===f7e4d9d4-d7d6-4a37-b185-fce2c2d150b9 [2025-03-20 08:52:34] Production.INFO: -- count --1 [2025-03-20 08:52:34] Production.INFO: AccountID 157 [2025-03-20 08:52:34] Production.INFO: AccountName Dominos 10588 (Gurinder Saini) [2025-03-20 08:52:34] Production.INFO: Checkcustomer [2025-03-20 08:52:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010588%20%28Gurinder%20Saini%29" [2025-03-20 08:52:37] Production.INFO: Contact id print CheckCustomer Case===1ac67d8d-8981-4be8-9709-0bb5a101fe05 [2025-03-20 08:52:37] Production.INFO: -- count --1 [2025-03-20 08:52:37] Production.INFO: AccountID 232 [2025-03-20 08:52:37] Production.INFO: AccountName Jenopher Inc. [2025-03-20 08:52:37] Production.INFO: Checkcustomer [2025-03-20 08:52:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Jenopher%20Inc." [2025-03-20 08:52:40] Production.INFO: Contact id print CheckCustomer Case===5fa26058-5c6f-4ffe-9c35-4f8d77ccf359 [2025-03-20 08:52:40] Production.INFO: -- count --1 [2025-03-20 08:52:40] Production.INFO: AccountID 124 [2025-03-20 08:52:40] Production.INFO: AccountName Dominos 39009 (Mudassar Zia) [2025-03-20 08:52:40] Production.INFO: Checkcustomer [2025-03-20 08:52:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039009%20%28Mudassar%20Zia%29" [2025-03-20 08:52:43] Production.INFO: Contact id print CheckCustomer Case===40c47681-8e37-4e12-be60-e7c71250891f [2025-03-20 08:52:43] Production.INFO: -- count --1 [2025-03-20 08:52:43] Production.INFO: AccountID 153 [2025-03-20 08:52:43] Production.INFO: AccountName Dominos 10191 (Chandresh Patel) [2025-03-20 08:52:43] Production.INFO: Checkcustomer [2025-03-20 08:52:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010191%20%28Chandresh%20Patel%29" [2025-03-20 08:52:46] Production.INFO: Contact id print CheckCustomer Case===a1f84b26-3d74-4603-893d-c86292f301ef [2025-03-20 08:52:46] Production.INFO: -- count --1 [2025-03-20 08:52:46] Production.INFO: AccountID 154 [2025-03-20 08:52:46] Production.INFO: AccountName Dominos 10385 (Sandeep Chaudhari) [2025-03-20 08:52:46] Production.INFO: Checkcustomer [2025-03-20 08:52:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010385%20%28Sandeep%20Chaudhari%29" [2025-03-20 08:52:48] Production.INFO: Contact id print CheckCustomer Case===f21476d6-c1e8-4e8b-b2a8-87f68276aedf [2025-03-20 08:52:48] Production.INFO: -- count --1 [2025-03-20 08:52:48] Production.INFO: AccountID 30 [2025-03-20 08:52:48] Production.INFO: AccountName Compass ELC - Lindsay [2025-03-20 08:52:48] Production.INFO: Checkcustomer [2025-03-20 08:52:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Lindsay" [2025-03-20 08:52:51] Production.INFO: Contact id print CheckCustomer Case===7cca29b1-b852-4195-aea8-d23ee3e0a552 [2025-03-20 08:52:51] Production.INFO: -- count --1 [2025-03-20 08:52:51] Production.INFO: AccountID 182 [2025-03-20 08:52:51] Production.INFO: AccountName Dominos 39049 (Sandeep Chaudhari) [2025-03-20 08:52:51] Production.INFO: Checkcustomer [2025-03-20 08:52:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039049%20%28Sandeep%20Chaudhari%29" [2025-03-20 08:52:54] Production.INFO: Contact id print CheckCustomer Case===1c0b2017-4eb0-4996-8c28-357329632ba9 [2025-03-20 08:52:54] Production.INFO: -- count --1 [2025-03-20 08:52:54] Production.INFO: AccountID 188 [2025-03-20 08:52:54] Production.INFO: AccountName All Care Insurance Brokers Ltd. [2025-03-20 08:52:54] Production.INFO: Checkcustomer [2025-03-20 08:52:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="All%20Care%20Insurance%20Brokers%20Ltd." [2025-03-20 08:52:56] Production.INFO: Contact id print CheckCustomer Case===6d542d8f-684c-435c-82fd-abdec98b3c10 [2025-03-20 08:52:56] Production.INFO: -- count --1 [2025-03-20 08:52:56] Production.INFO: AccountID 218 [2025-03-20 08:52:56] Production.INFO: AccountName Dominos 10164 (Jordan Hodgson) [2025-03-20 08:52:56] Production.INFO: Checkcustomer [2025-03-20 08:52:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010164%20%28Jordan%20Hodgson%29" [2025-03-20 08:52:59] Production.INFO: Contact id print CheckCustomer Case===9ba9e65f-7bc8-430d-b449-05e224b3e5f6 [2025-03-20 08:52:59] Production.INFO: -- count --1 [2025-03-20 08:52:59] Production.INFO: AccountID 79 [2025-03-20 08:52:59] Production.INFO: AccountName Axxima [2025-03-20 08:52:59] Production.INFO: Checkcustomer [2025-03-20 08:52:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Axxima" [2025-03-20 08:53:02] Production.INFO: Contact id print CheckCustomer Case===5a62af79-4890-44a7-9d0e-f81cfe9497c1 [2025-03-20 08:53:02] Production.INFO: -- count --1 [2025-03-20 08:53:02] Production.INFO: AccountID 90 [2025-03-20 08:53:02] Production.INFO: AccountName Terry Anderson [2025-03-20 08:53:02] Production.INFO: Checkcustomer [2025-03-20 08:53:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Terry%20Anderson" [2025-03-20 08:53:05] Production.INFO: Contact id print CheckCustomer Case===d5be271f-e649-44ed-a97e-8af24111fe24 [2025-03-20 08:53:05] Production.INFO: -- count --1 [2025-03-20 08:53:05] Production.INFO: AccountID 156 [2025-03-20 08:53:05] Production.INFO: AccountName Dominos 10583 (William Prichard) [2025-03-20 08:53:05] Production.INFO: Checkcustomer [2025-03-20 08:53:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010583%20%28William%20Prichard%29" [2025-03-20 08:53:08] Production.INFO: Contact id print CheckCustomer Case===17005aca-7cf0-4aa4-ac3f-3f8f1c2c61ea [2025-03-20 08:53:08] Production.INFO: -- count --1 [2025-03-20 08:53:08] Production.INFO: AccountID 209 [2025-03-20 08:53:08] Production.INFO: AccountName Workside Early Childhood Education Centre [2025-03-20 08:53:08] Production.INFO: Checkcustomer [2025-03-20 08:53:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Workside%20Early%20Childhood%20Education%20Centre" [2025-03-20 08:53:11] Production.INFO: Contact id print CheckCustomer Case===40cecbae-263a-4b0c-adbf-5350531feed1 [2025-03-20 08:53:11] Production.INFO: -- count --1 [2025-03-20 08:53:11] Production.INFO: AccountID 236 [2025-03-20 08:53:11] Production.INFO: AccountName Keogh Construction [2025-03-20 08:53:11] Production.INFO: Checkcustomer [2025-03-20 08:53:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Keogh%20Construction" [2025-03-20 08:53:13] Production.INFO: Contact id print CheckCustomer Case===cad302ad-7c7e-456b-bcf1-bd7729cb22b7 [2025-03-20 08:53:13] Production.INFO: -- count --1 [2025-03-20 08:53:13] Production.INFO: AccountID 53 [2025-03-20 08:53:13] Production.INFO: AccountName Plus Travel Group [2025-03-20 08:53:13] Production.INFO: Checkcustomer [2025-03-20 08:53:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group" [2025-03-20 08:53:16] Production.INFO: Contact id print CheckCustomer Case===5f6b39a6-c5bb-485f-9fdd-a6c7a1eccc47 [2025-03-20 08:53:16] Production.INFO: -- count --1 [2025-03-20 08:53:16] Production.INFO: AccountID 45 [2025-03-20 08:53:16] Production.INFO: AccountName Metro Toronto Collision Centre [2025-03-20 08:53:16] Production.INFO: Checkcustomer [2025-03-20 08:53:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Metro%20Toronto%20Collision%20Centre" [2025-03-20 08:53:19] Production.INFO: Contact id print CheckCustomer Case===639507fe-3c02-40f6-89b2-b3a1c40bc965 [2025-03-20 08:53:19] Production.INFO: -- count --1 [2025-03-20 08:53:19] Production.INFO: AccountID 27 [2025-03-20 08:53:19] Production.INFO: AccountName Compass ELC - Millbrook [2025-03-20 08:53:19] Production.INFO: Checkcustomer [2025-03-20 08:53:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Millbrook" [2025-03-20 08:53:22] Production.INFO: Contact id print CheckCustomer Case===5827757d-9498-4c55-97f7-43de2cbda025 [2025-03-20 08:53:22] Production.INFO: -- count --1 [2025-03-20 08:53:22] Production.INFO: AccountID 99 [2025-03-20 08:53:22] Production.INFO: AccountName LevLending [2025-03-20 08:53:22] Production.INFO: Checkcustomer [2025-03-20 08:53:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="LevLending" [2025-03-20 08:53:25] Production.INFO: Contact id print CheckCustomer Case===0c3388d2-858d-4ab0-82a5-823938ebfea0 [2025-03-20 08:53:25] Production.INFO: -- count --1 [2025-03-20 08:53:25] Production.INFO: AccountID 3 [2025-03-20 08:53:25] Production.INFO: AccountName Tundra [2025-03-20 08:53:25] Production.INFO: Checkcustomer [2025-03-20 08:53:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Tundra" [2025-03-20 08:53:27] Production.INFO: Contact id print CheckCustomer Case===623680fb-29d2-4940-8787-6a04edc9b023 [2025-03-20 08:53:27] Production.INFO: -- count --1 [2025-03-20 08:53:27] Production.INFO: AccountID 37 [2025-03-20 08:53:27] Production.INFO: AccountName Quality Car Rentals (AutoQuest) [2025-03-20 08:53:27] Production.INFO: Checkcustomer [2025-03-20 08:53:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quality%20Car%20Rentals%20%28AutoQuest%29" [2025-03-20 08:53:30] Production.INFO: Contact id print CheckCustomer Case===d97f29cf-e0f8-4b9a-bb8e-aaec76dd5612 [2025-03-20 08:53:30] Production.INFO: -- count --1 [2025-03-20 08:53:30] Production.INFO: AccountID 41 [2025-03-20 08:53:30] Production.INFO: AccountName Law Offices of Diane Staples [2025-03-20 08:53:30] Production.INFO: Checkcustomer [2025-03-20 08:53:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Law%20Offices%20of%20Diane%20Staples" [2025-03-20 08:53:33] Production.INFO: Contact id print CheckCustomer Case===97ef00b2-8eb5-497a-aadd-ae29a942c858 [2025-03-20 08:53:33] Production.INFO: -- count --1 [2025-03-20 08:53:33] Production.INFO: AccountID 95 [2025-03-20 08:53:33] Production.INFO: AccountName CanTrust Insurance Services [2025-03-20 08:53:33] Production.INFO: Checkcustomer [2025-03-20 08:53:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="CanTrust%20Insurance%20Services" [2025-03-20 08:53:36] Production.INFO: Contact id print CheckCustomer Case===d5a46ee9-fef7-49ae-981c-b537df046ad7 [2025-03-20 08:53:36] Production.INFO: -- count --1 [2025-03-20 08:53:36] Production.INFO: AccountID 113 [2025-03-20 08:53:36] Production.INFO: AccountName Dominos 39016 (Chandresh Patel) [2025-03-20 08:53:36] Production.INFO: Checkcustomer [2025-03-20 08:53:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039016%20%28Chandresh%20Patel%29" [2025-03-20 08:53:39] Production.INFO: Contact id print CheckCustomer Case===67dc5e22-ea19-468e-b918-c0db577b9240 [2025-03-20 08:53:39] Production.INFO: -- count --1 [2025-03-20 08:53:39] Production.INFO: AccountID 114 [2025-03-20 08:53:39] Production.INFO: AccountName Dominos 10552 (Werner Lomker) [2025-03-20 08:53:39] Production.INFO: Checkcustomer [2025-03-20 08:53:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010552%20%28Werner%20Lomker%29" [2025-03-20 08:53:41] Production.INFO: Contact id print CheckCustomer Case===6f5d3631-ded1-4310-ab70-a39a8b602341 [2025-03-20 08:53:41] Production.INFO: -- count --1 [2025-03-20 08:53:41] Production.INFO: AccountID 127 [2025-03-20 08:53:41] Production.INFO: AccountName Dominos 10297 (Shane Linthorne) [2025-03-20 08:53:41] Production.INFO: Checkcustomer [2025-03-20 08:53:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010297%20%28Shane%20Linthorne%29" [2025-03-20 08:53:44] Production.INFO: Contact id print CheckCustomer Case===d8f292bb-743b-4f94-916e-1de8803fa73f [2025-03-20 08:53:44] Production.INFO: -- count --1 [2025-03-20 08:53:44] Production.INFO: AccountID 148 [2025-03-20 08:53:44] Production.INFO: AccountName Pharmacy Associates of Port Perry [2025-03-20 08:53:44] Production.INFO: Checkcustomer [2025-03-20 08:53:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Pharmacy%20Associates%20of%20Port%20Perry" [2025-03-20 08:53:47] Production.INFO: Contact id print CheckCustomer Case===c60706d0-0fd9-40ff-a211-387c86733ac7 [2025-03-20 08:53:47] Production.INFO: -- count --1 [2025-03-20 08:53:47] Production.INFO: AccountID 152 [2025-03-20 08:53:47] Production.INFO: AccountName 3G Print Group [2025-03-20 08:53:47] Production.INFO: Checkcustomer [2025-03-20 08:53:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="3G%20Print%20Group" [2025-03-20 08:53:50] Production.INFO: Contact id print CheckCustomer Case===d4a36319-8eb8-433b-a39c-ded75fc85345 [2025-03-20 08:53:50] Production.INFO: -- count --1 [2025-03-20 08:53:50] Production.INFO: AccountID 160 [2025-03-20 08:53:50] Production.INFO: AccountName Avani Rolls & Bowls [2025-03-20 08:53:50] Production.INFO: Checkcustomer [2025-03-20 08:53:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Avani%20Rolls%20%26%20Bowls" [2025-03-20 08:53:53] Production.INFO: Contact id print CheckCustomer Case===08d693ac-f648-4d13-baf5-18b2b59d959f [2025-03-20 08:53:53] Production.INFO: -- count --1 [2025-03-20 08:53:53] Production.INFO: AccountID 235 [2025-03-20 08:53:53] Production.INFO: AccountName All Seasons Learning Center [2025-03-20 08:53:53] Production.INFO: Checkcustomer [2025-03-20 08:53:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="All%20Seasons%20Learning%20Center" [2025-03-20 08:53:56] Production.INFO: Contact id print CheckCustomer Case===680201a7-650c-4c24-b7d7-b8171bdcd911 [2025-03-20 08:53:56] Production.INFO: -- count --1 [2025-03-20 08:53:56] Production.INFO: AccountID 236 [2025-03-20 08:53:56] Production.INFO: AccountName Keogh Construction [2025-03-20 08:53:56] Production.INFO: Checkcustomer [2025-03-20 08:53:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Keogh%20Construction" [2025-03-20 08:53:58] Production.INFO: Contact id print CheckCustomer Case===cad302ad-7c7e-456b-bcf1-bd7729cb22b7 [2025-03-20 08:53:58] Production.INFO: -- count --1 [2025-03-20 08:53:58] Production.INFO: AccountID 237 [2025-03-20 08:53:58] Production.INFO: AccountName Natural Insect Control [2025-03-20 08:53:58] Production.INFO: Checkcustomer [2025-03-20 08:53:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Natural%20Insect%20Control" [2025-03-20 08:54:01] Production.INFO: Contact id print CheckCustomer Case===fcade0cf-7b43-4bfe-86cf-b6c9e33f1686 [2025-03-20 08:54:01] Production.INFO: -- count --1 [2025-03-20 08:54:01] Production.INFO: AccountID 63 [2025-03-20 08:54:01] Production.INFO: AccountName Clek Inc. [2025-03-20 08:54:01] Production.INFO: Checkcustomer [2025-03-20 08:54:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc." [2025-03-20 08:54:04] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b [2025-03-20 08:54:04] Production.INFO: -- count --1 [2025-03-20 08:54:04] Production.INFO: AccountID 208 [2025-03-20 08:54:04] Production.INFO: AccountName Lions Auto Protection [2025-03-20 08:54:04] Production.INFO: Checkcustomer [2025-03-20 08:54:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Lions%20Auto%20Protection" [2025-03-20 08:54:06] Production.INFO: Contact id print CheckCustomer Case===173facd8-68c9-4e18-bac1-f10f211f33e1 [2025-03-20 08:54:06] Production.INFO: -- count --1 [2025-03-20 08:54:06] Production.INFO: AccountID 165 [2025-03-20 08:54:06] Production.INFO: AccountName PharmaSave (Oak Tree Medical) [2025-03-20 08:54:06] Production.INFO: Checkcustomer [2025-03-20 08:54:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="PharmaSave%20%28Oak%20Tree%20Medical%29" [2025-03-20 08:54:09] Production.INFO: Contact id print CheckCustomer Case===dd008964-6378-4903-b54b-a7b8eb03f05f [2025-03-20 08:54:09] Production.INFO: -- count --1 [2025-03-20 08:54:09] Production.INFO: AccountID 205 [2025-03-20 08:54:09] Production.INFO: AccountName Dominos 10459 (Sandeep Chaudhari) [2025-03-20 08:54:09] Production.INFO: Checkcustomer [2025-03-20 08:54:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010459%20%28Sandeep%20Chaudhari%29" [2025-03-20 08:54:12] Production.INFO: Contact id print CheckCustomer Case===9e4e5c67-a78f-406f-bfd6-d013ce749c4a [2025-03-20 08:54:12] Production.INFO: -- count --1 [2025-03-20 08:54:12] Production.INFO: AccountID 92 [2025-03-20 08:54:12] Production.INFO: AccountName Dominos 10443 (Ricky Singh) [2025-03-20 08:54:12] Production.INFO: Checkcustomer [2025-03-20 08:54:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010443%20%28Ricky%20Singh%29" [2025-03-20 08:54:15] Production.INFO: Contact id print CheckCustomer Case===21dc8586-f1ab-42cc-9c64-94234cb72e84 [2025-03-20 08:54:15] Production.INFO: -- count --1 [2025-03-20 08:54:15] Production.INFO: AccountID 97 [2025-03-20 08:54:15] Production.INFO: AccountName Dominos 10416 (David Mills) [2025-03-20 08:54:15] Production.INFO: Checkcustomer [2025-03-20 08:54:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010416%20%28David%20Mills%29" [2025-03-20 08:54:17] Production.INFO: Contact id print CheckCustomer Case===f7785be9-5933-4338-9f5d-47dda0ca47b7 [2025-03-20 08:54:17] Production.INFO: -- count --1 [2025-03-20 08:54:17] Production.INFO: AccountID 25 [2025-03-20 08:54:17] Production.INFO: AccountName Harding Security [2025-03-20 08:54:17] Production.INFO: Checkcustomer [2025-03-20 08:54:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harding%20Security" [2025-03-20 08:54:20] Production.INFO: Contact id print CheckCustomer Case===631aa009-5337-4bbb-817f-724f7ca5f6db [2025-03-20 08:54:20] Production.INFO: -- count --1 [2025-03-20 08:54:20] Production.INFO: AccountID 103 [2025-03-20 08:54:20] Production.INFO: AccountName Cathim Inc [2025-03-20 08:54:20] Production.INFO: Checkcustomer [2025-03-20 08:54:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Cathim%20Inc" [2025-03-20 08:54:23] Production.INFO: Contact id print CheckCustomer Case===b3a32be3-34a8-47ed-9add-6507ade181ac [2025-03-20 08:54:23] Production.INFO: -- count --1 [2025-03-20 08:54:23] Production.INFO: AccountID 104 [2025-03-20 08:54:23] Production.INFO: AccountName Dominos 39017 (Mudassar Zia) [2025-03-20 08:54:23] Production.INFO: Checkcustomer [2025-03-20 08:54:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039017%20%28Mudassar%20Zia%29" [2025-03-20 08:54:26] Production.INFO: Contact id print CheckCustomer Case===5f89a930-66a1-45ba-8124-8b5cbb0531bb [2025-03-20 08:54:26] Production.INFO: -- count --1 [2025-03-20 08:54:26] Production.INFO: -- Xero Add Inovice -- [2025-03-20 08:54:26] Production.INFO: CheckInvoice xerov2: INV11636 [2025-03-20 08:54:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11636 [2025-03-20 08:54:28] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:54:28] Production.INFO: Invoice SubTotal 3.000000 [2025-03-20 08:54:28] Production.INFO: Invoice DetTotal 3 [2025-03-20 08:54:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Terry%20Anderson" [2025-03-20 08:54:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:54:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:54:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:54:41] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 1,UnitAmount : 10.000000,LineAmount : 10.000000},{taxType:"TAX020",AccountCode : 303,"Description": "The "You're Overcharging Me" Discount",Quantity : 1,UnitAmount : -7.000000,LineAmount : -7.000000} [2025-03-20 08:54:44] Production.INFO: ==== result ===== [2025-03-20 08:54:44] Production.INFO: { "ErrorNumber": 14, "Type": "PostDataInvalidException", "Message": "Invalid Json data" } [2025-03-20 08:54:44] 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-03-20 08:54:44] Production.INFO: -- Create Invoice Error --Undefined property: stdClass::$Invoices [2025-03-20 08:54:44] Production.INFO: -- Create Invoice Error -- [2025-03-20 08:54:44] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:54:44] Production.INFO: CheckInvoice xerov2: INV11484 [2025-03-20 08:54:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11484 [2025-03-20 08:54:46] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:54:46] Production.INFO: Invoice SubTotal 74.690000 [2025-03-20 08:54:46] Production.INFO: Invoice DetTotal 74.69 [2025-03-20 08:54:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Durham%20HCC" [2025-03-20 08:54:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:54:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:54:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:54:58] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "VDSL Internet Service (1561 HIGHWAY 2, UNIT 6, COURTICE, ON L1E 2G5 )",Quantity : 1,UnitAmount : 74.690000,LineAmount : 74.690000} [2025-03-20 08:55:01] Production.INFO: ==== result ===== [2025-03-20 08:55:01] Production.INFO: { "Id": "164c0ec5-17a9-47f4-b3fa-b0902ed6e421", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475301697)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "f86b536f-054e-440e-91dd-2a63da91b141", "InvoiceNumber": "INV11484", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 84.40, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "f8b88efb-63e8-472e-81a0-aaf95bba55fd", "ContactStatus": "ACTIVE", "Name": "Compass ELC - Durham HCC", "FirstName": "Judy", "LastName": "Anderson", "EmailAddress": "ap@compasselc.com", "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(1580839519870+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": "VDSL Internet Service (1561 HIGHWAY 2, UNIT 6, COURTICE, ON L1E 2G5 )", "UnitAmount": 74.69, "TaxType": "TAX020", "TaxAmount": 9.71, "LineAmount": 74.69, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "c7b4f03c-55db-423f-9d7f-d66a82fd9f1b", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 74.69, "TotalTax": 9.71, "Total": 84.40, "UpdatedDateUTC": "\/Date(1742475301603+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:55:01] Production.INFO: -- Create Invoice id --f86b536f-054e-440e-91dd-2a63da91b141 [2025-03-20 08:55:01] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:55:01] Production.INFO: CheckInvoice xerov2: INV11486 [2025-03-20 08:55:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11486 [2025-03-20 08:55:04] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:55:05] Production.INFO: Invoice SubTotal 15.900000 [2025-03-20 08:55:05] Production.INFO: Invoice DetTotal 15.9 [2025-03-20 08:55:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Factor%20Direct%20Corporation" [2025-03-20 08:55:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:55:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:55:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:55:16] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-08-2025 To 02-07-2025",Quantity : 1,UnitAmount : 0.900000,LineAmount : 0.900000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 3,UnitAmount : 5.000000,LineAmount : 15.000000} [2025-03-20 08:55:19] Production.INFO: ==== result ===== [2025-03-20 08:55:19] Production.INFO: { "Id": "05526fbb-cb52-489e-bdda-ac13a70c4cd7", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475319319)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "a99f1aba-cb4c-4dcb-a53e-5596410fe2e2", "InvoiceNumber": "INV11486", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 17.97, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "7c1277f3-bcd9-451c-bc86-2de69f5b3c16", "ContactStatus": "ACTIVE", "Name": "Factor Direct Corporation", "FirstName": "Liliya", "LastName": "Erlikh", "EmailAddress": "Liliya@factordirectcorp.com", "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(1629163989493+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": "From 01-08-2025 To 02-07-2025", "UnitAmount": 0.90, "TaxType": "TAX020", "TaxAmount": 0.12, "LineAmount": 0.90, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "a32bd2c7-5dee-41b2-b9fe-d0c408b0a6f7", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for a Pay As You Go Cloud Phone extension", "UnitAmount": 5.00, "TaxType": "TAX020", "TaxAmount": 1.95, "LineAmount": 15.00, "AccountCode": "203", "Tracking": [], "Quantity": 3.0000, "DiscountRate": 0.00, "LineItemID": "09656d8d-a3e1-44b6-9a85-7b19f44d2d46", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 15.90, "TotalTax": 2.07, "Total": 17.97, "UpdatedDateUTC": "\/Date(1742475319257+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:55:19] Production.INFO: -- Create Invoice id --a99f1aba-cb4c-4dcb-a53e-5596410fe2e2 [2025-03-20 08:55:19] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:55:19] Production.INFO: CheckInvoice xerov2: INV11487 [2025-03-20 08:55:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11487 [2025-03-20 08:55:21] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:55:21] Production.INFO: Invoice SubTotal 50.000000 [2025-03-20 08:55:21] Production.INFO: Invoice DetTotal 50 [2025-03-20 08:55:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039052%20%28Sandeep%20Chaudhari%29" [2025-03-20 08:55:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:55:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:55:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:55:34] 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": "Provides a $5/store/month discount when 5+ stores have OnSwitch Cloud Phone service",Quantity : 1,UnitAmount : -25.000000,LineAmount : -25.000000} [2025-03-20 08:55:37] Production.INFO: ==== result ===== [2025-03-20 08:55:37] Production.INFO: { "Id": "f5f4766a-bb41-499d-8604-a0a538d250f5", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475337553)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "0e218806-5e92-428d-9134-8e2d220e00e1", "InvoiceNumber": "INV11487", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 56.50, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "fef41f69-d586-4623-95ec-1702df71d8e3", "ContactStatus": "ACTIVE", "Name": "Dominos 39052 (Sandeep Chaudhari)", "FirstName": "Sandeep", "LastName": "Chaudhari", "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(1697457563547+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": "Restaurant - 4 Line Flat Rate", "UnitAmount": 75.00, "TaxType": "TAX020", "TaxAmount": 9.75, "LineAmount": 75.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "0b07f6c1-389a-444b-85c8-e6c12a108357", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Provides a $5/store/month discount when 5+ stores have OnSwitch Cloud Phone service", "UnitAmount": -25.00, "TaxType": "TAX020", "TaxAmount": -3.25, "LineAmount": -25.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "71213271-9c10-409b-a931-5229a57ad2ee", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 50.00, "TotalTax": 6.50, "Total": 56.50, "UpdatedDateUTC": "\/Date(1742475337477+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:55:37] Production.INFO: -- Create Invoice id --0e218806-5e92-428d-9134-8e2d220e00e1 [2025-03-20 08:55:37] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:55:37] Production.INFO: CheckInvoice xerov2: INV11488 [2025-03-20 08:55:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11488 [2025-03-20 08:55:40] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:55:40] Production.INFO: Invoice SubTotal 617.500000 [2025-03-20 08:55:40] Production.INFO: Invoice DetTotal 617.5 [2025-03-20 08:55:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Agora%20Dealer%20Services%20Corp." [2025-03-20 08:55:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:55:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:55:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:55:51] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (8554624672 - 6285 Northam Dr Suite 100, Mississauga, ON L4V 1X5)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Extension",Quantity : 27,UnitAmount : 21.000000,LineAmount : 567.000000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Softphone License Add-On",Quantity : 27,UnitAmount : 1.000000,LineAmount : 27.000000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Call Recording Add-On",Quantity : 21,UnitAmount : 1.000000,LineAmount : 21.000000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE e-Fax Add-On",Quantity : 21,UnitAmount : 1.000000,LineAmount : 21.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Unbilled Extension - Opus Consulting",Quantity : 1,UnitAmount : -21.000000,LineAmount : -21.000000} [2025-03-20 08:55:54] Production.INFO: ==== result ===== [2025-03-20 08:55:54] Production.INFO: { "Id": "1478b81f-fd0b-49f4-a18b-14efd917e4bd", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475354599)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "99b594fc-d070-4773-bd2c-5b686653b7d5", "InvoiceNumber": "INV11488", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 697.78, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "49e5c80a-3116-49fe-9e6f-15ec07433251", "ContactStatus": "ACTIVE", "Name": "Agora Dealer Services Corp.", "FirstName": "Cristina", "LastName": "Zsoter", "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(1742472987663+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": "e911 address registration (8554624672 - 6285 Northam Dr Suite 100, Mississauga, ON L4V 1X5)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "b4a73529-c1b2-4ae3-9c66-ee86e1b03b07", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Extension", "UnitAmount": 21.00, "TaxType": "TAX020", "TaxAmount": 73.71, "LineAmount": 567.00, "AccountCode": "203", "Tracking": [], "Quantity": 27.0000, "LineItemID": "3b05ef9a-6119-45e0-9a97-fc51e3fc88f9", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 3.51, "LineAmount": 27.00, "AccountCode": "203", "Tracking": [], "Quantity": 27.0000, "LineItemID": "ba597f1f-ea6a-4da6-872a-70c3b0eec6a0", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Call Recording Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 2.73, "LineAmount": 21.00, "AccountCode": "203", "Tracking": [], "Quantity": 21.0000, "LineItemID": "e340e00e-f9e3-4312-b714-a8f7efa288af", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE e-Fax Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 2.73, "LineAmount": 21.00, "AccountCode": "203", "Tracking": [], "Quantity": 21.0000, "LineItemID": "cbec5c5a-f252-4139-af4f-778d7982af2d", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Unbilled Extension - Opus Consulting", "UnitAmount": -21.00, "TaxType": "TAX020", "TaxAmount": -2.73, "LineAmount": -21.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "92ae77b5-79f0-4eff-8a53-82a3918ad4f1", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 617.50, "TotalTax": 80.28, "Total": 697.78, "UpdatedDateUTC": "\/Date(1742475354553+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:55:54] Production.INFO: -- Create Invoice id --99b594fc-d070-4773-bd2c-5b686653b7d5 [2025-03-20 08:55:54] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:55:54] Production.INFO: CheckInvoice xerov2: INV11490 [2025-03-20 08:55:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11490 [2025-03-20 08:55:57] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:55:57] Production.INFO: Invoice SubTotal 7.500000 [2025-03-20 08:55:57] Production.INFO: Invoice DetTotal 7.5 [2025-03-20 08:55:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015184%20%28Akshay%20Naik%29" [2025-03-20 08:56:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:56:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:56:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:56:10] Production.INFO: =========Invoices String here======{taxType:"TAX012",AccountCode : 203,DiscountRate : 75.000000,"Description": "Restaurant - 1 Line Flat Rate",Quantity : 1,UnitAmount : 19.990000,LineAmount : 5.000000},{taxType:"TAX012",AccountCode : 203,"Description": "e911 address registration (15877911400 - 1015 14 Ave Wainwright, AB T9W 1K5 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 08:56:14] Production.INFO: ==== result ===== [2025-03-20 08:56:14] Production.INFO: { "Id": "98455602-ba5f-430b-9ed2-b60665d82fd4", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475374377)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "30f3aa1c-d05c-4495-8116-453d7f9cff63", "InvoiceNumber": "INV11490", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 7.88, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 14.99, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "7d4d8a6e-9b66-4daf-be5c-0e7e0524121b", "ContactStatus": "ACTIVE", "Name": "Quiznos 15184 (Akshay Naik)", "EmailAddress": "akshaynnaik@gmail.com", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "AddressLine1": "1015 14 Ave.", "City": "Wainwright", "Region": "AB", "PostalCode": "T9W 1K5", "Country": "Canada" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1730662363163+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": "Restaurant - 1 Line Flat Rate", "UnitAmount": 19.99, "TaxType": "TAX012", "TaxAmount": 0.25, "LineAmount": 5.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 75.00, "LineItemID": "e37d0051-2302-4ff2-be6c-6779f0cb7741", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 14.9900, "ValidationErrors": [] }, { "Description": "e911 address registration (15877911400 - 1015 14 Ave Wainwright, AB T9W 1K5 Canada)", "UnitAmount": 2.50, "TaxType": "TAX012", "TaxAmount": 0.13, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "af21bebf-bdaa-4df5-8d06-d932aefe784c", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 7.50, "TotalTax": 0.38, "Total": 7.88, "UpdatedDateUTC": "\/Date(1742475374283+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:56:14] Production.INFO: -- Create Invoice id --30f3aa1c-d05c-4495-8116-453d7f9cff63 [2025-03-20 08:56:14] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:56:14] Production.INFO: CheckInvoice xerov2: INV11494 [2025-03-20 08:56:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11494 [2025-03-20 08:56:17] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:56:17] Production.INFO: Invoice SubTotal 7.500000 [2025-03-20 08:56:17] Production.INFO: Invoice DetTotal 7.5 [2025-03-20 08:56:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015192%20%28Akshay%20Naik%29" [2025-03-20 08:56:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:56:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:56:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:56:30] 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-03-20 08:56:34] Production.INFO: ==== result ===== [2025-03-20 08:56:34] Production.INFO: { "Id": "585baed0-1c28-452b-a1cc-6d3c06c4c4c2", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475394087)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "b6887f4b-f25e-4f4d-9328-2e3369bfa551", "InvoiceNumber": "INV11494", "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-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": "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": "d4262b2d-7bad-4809-9f1f-1b8c6b730df3", "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": "bfc8b9db-32de-4a9c-a8f1-14fcdf664b6d", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 7.50, "TotalTax": 0.98, "Total": 8.48, "UpdatedDateUTC": "\/Date(1742475394040+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:56:34] Production.INFO: -- Create Invoice id --b6887f4b-f25e-4f4d-9328-2e3369bfa551 [2025-03-20 08:56:34] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:56:34] Production.INFO: CheckInvoice xerov2: INV11497 [2025-03-20 08:56:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11497 [2025-03-20 08:56:36] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:56:36] Production.INFO: Invoice SubTotal 47.480000 [2025-03-20 08:56:36] Production.INFO: Invoice DetTotal 47.48 [2025-03-20 08:56:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bennison%20Smith%20Law" [2025-03-20 08:56:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:56:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:56:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:56:48] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE - Telephone User",Quantity : 2,UnitAmount : 10.750000,LineAmount : 21.500000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE - Telephone User",Quantity : 2,UnitAmount : 12.990000,LineAmount : 25.980000} [2025-03-20 08:56:51] Production.INFO: ==== result ===== [2025-03-20 08:56:51] Production.INFO: { "Id": "9d866a41-dc0e-42c0-80dc-bfa6166bf7bb", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475411629)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "3eb42024-3004-4083-98d3-9c11bc15301c", "InvoiceNumber": "INV11497", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 53.66, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "5304e7ac-dae0-4da0-8e3e-3bf1912a47f6", "ContactStatus": "ACTIVE", "Name": "Bennison Smith Law", "FirstName": "Bennison", "LastName": "Smith", "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(1742468929230+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": "CloudPhone.ONE - Telephone User", "UnitAmount": 10.75, "TaxType": "TAX020", "TaxAmount": 2.80, "LineAmount": 21.50, "AccountCode": "203", "Tracking": [], "Quantity": 2.0000, "LineItemID": "643cd45f-ff01-4685-a09e-af5865cbbe8e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE - Telephone User", "UnitAmount": 12.99, "TaxType": "TAX020", "TaxAmount": 3.38, "LineAmount": 25.98, "AccountCode": "203", "Tracking": [], "Quantity": 2.0000, "LineItemID": "fa46a630-6e41-4f61-9891-7c549236b09c", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 47.48, "TotalTax": 6.18, "Total": 53.66, "UpdatedDateUTC": "\/Date(1742475411583+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:56:51] Production.INFO: -- Create Invoice id --3eb42024-3004-4083-98d3-9c11bc15301c [2025-03-20 08:56:51] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:56:51] Production.INFO: CheckInvoice xerov2: INV11501 [2025-03-20 08:56:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11501 [2025-03-20 08:56:54] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:56:54] Production.INFO: Invoice SubTotal 521.630000 [2025-03-20 08:56:54] Production.INFO: Invoice DetTotal 521.63 [2025-03-20 08:56:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Robson%20Carpenter%20LLP" [2025-03-20 08:56:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:57:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:57:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:57:06] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Per Person License",Quantity : 37,UnitAmount : 12.990000,LineAmount : 480.630000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Softphone License",Quantity : 18,UnitAmount : 2.000000,LineAmount : 36.000000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Add-On - Fax Line",Quantity : 1,UnitAmount : 5.000000,LineAmount : 5.000000} [2025-03-20 08:57:10] Production.INFO: ==== result ===== [2025-03-20 08:57:10] Production.INFO: { "Id": "33eca9a1-a61a-4c52-a526-f596e5224bd2", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475430135)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "997726a2-bd26-49df-81ce-8dcda9f1eb77", "InvoiceNumber": "INV11501", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 589.44, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "026264ad-30db-4a13-9750-7dee8e32341c", "ContactStatus": "ACTIVE", "Name": "Robson Carpenter LLP", "FirstName": "Jessica", "LastName": "Kerr", "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(1742468949203+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": "CloudPhone.ONE Per Person License", "UnitAmount": 12.99, "TaxType": "TAX020", "TaxAmount": 62.48, "LineAmount": 480.63, "AccountCode": "203", "Tracking": [], "Quantity": 37.0000, "LineItemID": "7bd9640d-c399-4389-aade-c35d94be8cc0", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License", "UnitAmount": 2.00, "TaxType": "TAX020", "TaxAmount": 4.68, "LineAmount": 36.00, "AccountCode": "203", "Tracking": [], "Quantity": 18.0000, "LineItemID": "a6996886-c59d-4528-977b-7aedbdad92f7", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Add-On - Fax Line", "UnitAmount": 5.00, "TaxType": "TAX020", "TaxAmount": 0.65, "LineAmount": 5.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "79f47bba-a6ad-4a43-bb9a-bf6ae5ea2b28", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 521.63, "TotalTax": 67.81, "Total": 589.44, "UpdatedDateUTC": "\/Date(1742475429993+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:57:10] Production.INFO: -- Create Invoice id --997726a2-bd26-49df-81ce-8dcda9f1eb77 [2025-03-20 08:57:10] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:57:10] Production.INFO: CheckInvoice xerov2: INV11478 [2025-03-20 08:57:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11478 [2025-03-20 08:57:13] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:57:13] Production.INFO: Invoice SubTotal 52.500000 [2025-03-20 08:57:13] Production.INFO: Invoice DetTotal 52.5 [2025-03-20 08:57:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010388%20%28Sandeep%20Chaudhari%29" [2025-03-20 08:57:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:57:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:57:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:57:25] 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 (15197463900 - 65 University Ave E Waterloo, ON N2J 2V9 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 5,UnitAmount : -5.000000,LineAmount : -25.000000} [2025-03-20 08:57:28] Production.INFO: ==== result ===== [2025-03-20 08:57:28] Production.INFO: { "Id": "f6238e8f-edde-44e0-af21-e491f43bd3ca", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475448325)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "ee3521d2-6898-48cd-8b9f-c91e6154d49b", "InvoiceNumber": "INV11478", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 59.33, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "f7e4d9d4-d7d6-4a37-b185-fce2c2d150b9", "ContactStatus": "ACTIVE", "Name": "Dominos 10388 (Sandeep Chaudhari)", "FirstName": "Sandeep", "LastName": "Chaudhari", "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(1639845522693+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-07T00:00:00", "Date": "\/Date(1738886400000+0000)\/", "DueDateString": "2025-03-09T00:00:00", "DueDate": "\/Date(1741478400000+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": "25f6bcc6-63c3-440c-ad2e-9cd82ea05b48", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (15197463900 - 65 University Ave E Waterloo, ON N2J 2V9 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "0a2ace77-b618-487c-832e-d590f4351a6e", "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": -3.25, "LineAmount": -25.00, "AccountCode": "303", "Tracking": [], "Quantity": 5.0000, "DiscountRate": 0.00, "LineItemID": "78b8a623-82ef-4d65-9c09-ebefefaa3c61", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 6.83, "Total": 59.33, "UpdatedDateUTC": "\/Date(1742475448293+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:57:28] Production.INFO: -- Create Invoice id --ee3521d2-6898-48cd-8b9f-c91e6154d49b [2025-03-20 08:57:28] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:57:28] Production.INFO: CheckInvoice xerov2: INV11479 [2025-03-20 08:57:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11479 [2025-03-20 08:57:31] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:57:31] Production.INFO: Invoice SubTotal 62.500000 [2025-03-20 08:57:31] Production.INFO: Invoice DetTotal 62.5 [2025-03-20 08:57:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010588%20%28Gurinder%20Saini%29" [2025-03-20 08:57:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:57:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:57:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:57:43] 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 (12268873030 - 23 Wellington St 23 Guelph, ON N1H 3R7 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 3,UnitAmount : -5.000000,LineAmount : -15.000000} [2025-03-20 08:57:46] Production.INFO: ==== result ===== [2025-03-20 08:57:46] Production.INFO: { "Id": "12228619-6a36-488f-818c-5c17fdbb0365", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475466341)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "b64ae0c5-b752-45bc-8daa-1689a6d4dd6e", "InvoiceNumber": "INV11479", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 70.63, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "1ac67d8d-8981-4be8-9709-0bb5a101fe05", "ContactStatus": "ACTIVE", "Name": "Dominos 10588 (Gurinder Saini)", "FirstName": "Gurinder", "LastName": "Saini", "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(1657824306857+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-07T00:00:00", "Date": "\/Date(1738886400000+0000)\/", "DueDateString": "2025-03-09T00:00:00", "DueDate": "\/Date(1741478400000+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": "f76cfec4-cb74-4342-90db-95ef24b14a82", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (12268873030 - 23 Wellington St 23 Guelph, ON N1H 3R7 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "a445c954-29dd-4178-90ab-bdbcf8a15e4c", "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, "DiscountRate": 0.00, "LineItemID": "b5ea6e76-1774-43f0-8924-b1c62f4f2401", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 62.50, "TotalTax": 8.13, "Total": 70.63, "UpdatedDateUTC": "\/Date(1742475466293+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:57:46] Production.INFO: -- Create Invoice id --b64ae0c5-b752-45bc-8daa-1689a6d4dd6e [2025-03-20 08:57:46] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:57:46] Production.INFO: CheckInvoice xerov2: INV11480 [2025-03-20 08:57:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11480 [2025-03-20 08:57:48] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:57:48] Production.INFO: Invoice SubTotal 71.300000 [2025-03-20 08:57:48] Production.INFO: Invoice DetTotal 71.3 [2025-03-20 08:57:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Jenopher%20Inc." [2025-03-20 08:57:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:57:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:57:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:57:59] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 90.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension (discounted - utility phone/low call volume)",Quantity : 5,UnitAmount : 12.990000,LineAmount : 6.500000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Business Essentials subscription. Collaboration and productivity suite, managed by OnSwitch.",Quantity : 8,UnitAmount : 8.100000,LineAmount : 64.800000} [2025-03-20 08:58:02] Production.INFO: ==== result ===== [2025-03-20 08:58:02] Production.INFO: { "Id": "65f6bd61-e69b-4275-aaa5-ae9af1246e58", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475482486)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "4d53d26e-2e02-42c0-8b33-eb421400fcc1", "InvoiceNumber": "INV11480", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 80.57, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 58.46, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "5fa26058-5c6f-4ffe-9c35-4f8d77ccf359", "ContactStatus": "ACTIVE", "Name": "Jenopher Inc.", "FirstName": "Chris", "LastName": "Lumley", "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(1724224696790+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-07T00:00:00", "Date": "\/Date(1738886400000+0000)\/", "DueDateString": "2025-03-09T00:00:00", "DueDate": "\/Date(1741478400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "License for an Unlimited Canada/US Cloud Phone extension (discounted - utility phone/low call volume)", "UnitAmount": 12.99, "TaxType": "TAX020", "TaxAmount": 0.85, "LineAmount": 6.50, "AccountCode": "203", "Tracking": [], "Quantity": 5.0000, "DiscountRate": 90.00, "LineItemID": "33fef9b0-69d4-4fab-a2f9-b96e83f47bb2", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 58.4500, "ValidationErrors": [] }, { "Description": "Microsoft 365 Business Essentials subscription. Collaboration and productivity suite, managed by OnSwitch.", "UnitAmount": 8.10, "TaxType": "TAX020", "TaxAmount": 8.42, "LineAmount": 64.80, "AccountCode": "250", "Tracking": [], "Quantity": 8.0000, "LineItemID": "f4c6d65e-7845-4e64-acf3-81877ec61295", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] } ], "SubTotal": 71.30, "TotalTax": 9.27, "Total": 80.57, "UpdatedDateUTC": "\/Date(1742475482410+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:58:02] Production.INFO: -- Create Invoice id --4d53d26e-2e02-42c0-8b33-eb421400fcc1 [2025-03-20 08:58:02] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:58:02] Production.INFO: CheckInvoice xerov2: INV11473 [2025-03-20 08:58:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11473 [2025-03-20 08:58:05] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:58:05] Production.INFO: Invoice SubTotal 62.500000 [2025-03-20 08:58:05] Production.INFO: Invoice DetTotal 62.5 [2025-03-20 08:58:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039009%20%28Mudassar%20Zia%29" [2025-03-20 08:58:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:58:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:58:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:58:17] Production.INFO: =========Invoices String here======{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14039819191 - 104 River Heights Blvd 4A Cochrane, AB T4C 2T8 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX012",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 3,UnitAmount : -5.000000,LineAmount : -15.000000} [2025-03-20 08:58:20] Production.INFO: ==== result ===== [2025-03-20 08:58:20] Production.INFO: { "Id": "b51d5129-7bbe-4c0f-a1af-ccedeba68963", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475500769)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "95eba47a-7f3f-4bfc-8b02-9adc9107e9ba", "InvoiceNumber": "INV11473", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 65.63, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "40c47681-8e37-4e12-be60-e7c71250891f", "ContactStatus": "ACTIVE", "Name": "Dominos 39009 (Mudassar Zia)", "FirstName": "Mudassar", "LastName": "Zia", "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(1730122119387+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-06T00:00:00", "Date": "\/Date(1738800000000+0000)\/", "DueDateString": "2025-03-08T00:00:00", "DueDate": "\/Date(1741392000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Restaurant - 4 Line Flat Rate", "UnitAmount": 75.00, "TaxType": "TAX012", "TaxAmount": 3.75, "LineAmount": 75.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "59dea1af-5d07-4535-b10c-26679725912c", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (14039819191 - 104 River Heights Blvd 4A Cochrane, AB T4C 2T8 Canada)", "UnitAmount": 2.50, "TaxType": "TAX012", "TaxAmount": 0.13, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "53d12f49-a1f8-4d44-96b3-ae9734bcec68", "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": "TAX012", "TaxAmount": -0.75, "LineAmount": -15.00, "AccountCode": "303", "Tracking": [], "Quantity": 3.0000, "DiscountRate": 0.00, "LineItemID": "38f8fa3a-1f2c-499b-adfd-51d317bc72ef", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 62.50, "TotalTax": 3.13, "Total": 65.63, "UpdatedDateUTC": "\/Date(1742475500723+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:58:20] Production.INFO: -- Create Invoice id --95eba47a-7f3f-4bfc-8b02-9adc9107e9ba [2025-03-20 08:58:20] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:58:20] Production.INFO: CheckInvoice xerov2: INV11474 [2025-03-20 08:58:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11474 [2025-03-20 08:58:23] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:58:23] Production.INFO: Invoice SubTotal 52.500000 [2025-03-20 08:58:23] Production.INFO: Invoice DetTotal 52.5 [2025-03-20 08:58:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010191%20%28Chandresh%20Patel%29" [2025-03-20 08:58:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:58:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:58:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:58:35] Production.INFO: =========Invoices String here======{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX012",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 1,UnitAmount : -25.000000,LineAmount : -25.000000},{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (17809689999 - 3919 49 Ave, Unit 121, Stony Plain, AB T7Z2J7)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 08:58:38] Production.INFO: ==== result ===== [2025-03-20 08:58:38] Production.INFO: { "Id": "31920411-d469-4466-a230-d544c191c097", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475518494)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "ee6d5816-3525-4a6f-ae8d-4bf19579ac92", "InvoiceNumber": "INV11474", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 55.13, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "a1f84b26-3d74-4603-893d-c86292f301ef", "ContactStatus": "ACTIVE", "Name": "Dominos 10191 (Chandresh Patel)", "FirstName": "Chandresh", "LastName": "Patel", "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(1639845523350+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-06T00:00:00", "Date": "\/Date(1738800000000+0000)\/", "DueDateString": "2025-03-08T00:00:00", "DueDate": "\/Date(1741392000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Restaurant - 4 Line Flat Rate", "UnitAmount": 75.00, "TaxType": "TAX012", "TaxAmount": 3.75, "LineAmount": 75.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "bc93b46d-4f2e-4478-ac70-762ef0e3b2ce", "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": -25.00, "TaxType": "TAX012", "TaxAmount": -1.25, "LineAmount": -25.00, "AccountCode": "303", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "a7cdca3e-2a5c-4875-8e7c-e6b70f513f33", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (17809689999 - 3919 49 Ave, Unit 121, Stony Plain, AB T7Z2J7)", "UnitAmount": 2.50, "TaxType": "TAX012", "TaxAmount": 0.13, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "efa303f6-ad42-43a8-b55a-47fd1232378e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 2.63, "Total": 55.13, "UpdatedDateUTC": "\/Date(1742475518463+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:58:38] Production.INFO: -- Create Invoice id --ee6d5816-3525-4a6f-ae8d-4bf19579ac92 [2025-03-20 08:58:38] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:58:38] Production.INFO: CheckInvoice xerov2: INV11475 [2025-03-20 08:58:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11475 [2025-03-20 08:58:41] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:58:41] Production.INFO: Invoice SubTotal 52.500000 [2025-03-20 08:58:41] Production.INFO: Invoice DetTotal 52.5 [2025-03-20 08:58:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010385%20%28Sandeep%20Chaudhari%29" [2025-03-20 08:58:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:58:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:58:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:58:53] 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 (15197477300 - 450 Columbia St W 2 Waterloo, ON N2T 2W1 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 5,UnitAmount : -5.000000,LineAmount : -25.000000} [2025-03-20 08:58:57] Production.INFO: ==== result ===== [2025-03-20 08:58:57] Production.INFO: { "Id": "7de01aac-ac0e-4afd-a56a-acbcd931be93", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475537098)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "c1d23b81-71ff-4dba-b494-afd37803ed41", "InvoiceNumber": "INV11475", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 59.33, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "f21476d6-c1e8-4e8b-b2a8-87f68276aedf", "ContactStatus": "ACTIVE", "Name": "Dominos 10385 (Sandeep Chaudhari)", "FirstName": "Sandeep", "LastName": "Chaudhari", "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(1639845523757+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-06T00:00:00", "Date": "\/Date(1738800000000+0000)\/", "DueDateString": "2025-03-08T00:00:00", "DueDate": "\/Date(1741392000000+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": "72eaf71a-262d-42e7-9ca5-beb0bf123a88", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (15197477300 - 450 Columbia St W 2 Waterloo, ON N2T 2W1 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "589c0ebd-589e-4c57-a32d-6f7aa76f2f8b", "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": -3.25, "LineAmount": -25.00, "AccountCode": "303", "Tracking": [], "Quantity": 5.0000, "DiscountRate": 0.00, "LineItemID": "d453fca1-5c1f-4da0-aa91-f58343159510", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 6.83, "Total": 59.33, "UpdatedDateUTC": "\/Date(1742475537053+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:58:57] Production.INFO: -- Create Invoice id --c1d23b81-71ff-4dba-b494-afd37803ed41 [2025-03-20 08:58:57] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:58:57] Production.INFO: CheckInvoice xerov2: INV11468 [2025-03-20 08:58:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11468 [2025-03-20 08:59:00] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:59:00] Production.INFO: Invoice SubTotal 16.200000 [2025-03-20 08:59:00] Production.INFO: Invoice DetTotal 16.2 [2025-03-20 08:59:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Lindsay" [2025-03-20 08:59:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:59:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:59:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:59:12] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-05-2025 To 02-04-2025",Quantity : 1,UnitAmount : 1.700000,LineAmount : 1.700000},{taxType:"TAX020",AccountCode : 203,"Description": "Capacity Based Billing - 1 Channel, Burstable to 2",Quantity : 1,UnitAmount : 12.000000,LineAmount : 12.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (17057019601 - 320 MARY ST W LINDSAY, ON K9V5X5)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 08:59:15] Production.INFO: ==== result ===== [2025-03-20 08:59:15] Production.INFO: { "Id": "cb84be08-7436-4468-a8d7-8995e25ce225", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475555516)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "63bc5634-271a-41a2-8158-4744449cb5b1", "InvoiceNumber": "INV11468", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 18.31, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "7cca29b1-b852-4195-aea8-d23ee3e0a552", "ContactStatus": "ACTIVE", "Name": "Compass ELC - Lindsay", "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(1533070461280+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-05T00:00:00", "Date": "\/Date(1738713600000+0000)\/", "DueDateString": "2025-03-07T00:00:00", "DueDate": "\/Date(1741305600000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-05-2025 To 02-04-2025", "UnitAmount": 1.70, "TaxType": "TAX020", "TaxAmount": 0.22, "LineAmount": 1.70, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "03c41560-37f7-4a19-b4a6-c1fd4dce6b7d", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Capacity Based Billing - 1 Channel, Burstable to 2", "UnitAmount": 12.00, "TaxType": "TAX020", "TaxAmount": 1.56, "LineAmount": 12.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "11220b02-8dd9-4d93-8615-6a79afc5a5a1", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (17057019601 - 320 MARY ST W LINDSAY, ON K9V5X5)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "45055ef1-6c57-4734-a4bb-7aab1f9bea1e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 16.20, "TotalTax": 2.11, "Total": 18.31, "UpdatedDateUTC": "\/Date(1742475555470+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:59:15] Production.INFO: -- Create Invoice id --63bc5634-271a-41a2-8158-4744449cb5b1 [2025-03-20 08:59:15] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:59:15] Production.INFO: CheckInvoice xerov2: INV11469 [2025-03-20 08:59:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11469 [2025-03-20 08:59:18] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:59:18] Production.INFO: Invoice SubTotal 50.000000 [2025-03-20 08:59:18] Production.INFO: Invoice DetTotal 50 [2025-03-20 08:59:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039049%20%28Sandeep%20Chaudhari%29" [2025-03-20 08:59:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:59:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:59:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:59:30] 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": "Provides a $5/store/month discount when 5+ stores have OnSwitch Cloud Phone service",Quantity : 1,UnitAmount : -25.000000,LineAmount : -25.000000} [2025-03-20 08:59:33] Production.INFO: ==== result ===== [2025-03-20 08:59:33] Production.INFO: { "Id": "d36c7303-5c48-492c-b02d-9c8d04c9890d", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475573597)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "eef2b8e1-1158-4212-9219-f24619bc4e7e", "InvoiceNumber": "INV11469", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 56.50, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "1c0b2017-4eb0-4996-8c28-357329632ba9", "ContactStatus": "ACTIVE", "Name": "Dominos 39049 (Sandeep Chaudhari)", "FirstName": "Sandeep", "LastName": "Chaudhari", "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(1697457583520+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-05T00:00:00", "Date": "\/Date(1738713600000+0000)\/", "DueDateString": "2025-03-07T00:00:00", "DueDate": "\/Date(1741305600000+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": "01902acf-6f44-4ca5-bb24-f776f74ca87b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Provides a $5/store/month discount when 5+ stores have OnSwitch Cloud Phone service", "UnitAmount": -25.00, "TaxType": "TAX020", "TaxAmount": -3.25, "LineAmount": -25.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "97363680-f66c-4923-b7a3-7da771a8a196", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 50.00, "TotalTax": 6.50, "Total": 56.50, "UpdatedDateUTC": "\/Date(1742475573550+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:59:33] Production.INFO: -- Create Invoice id --eef2b8e1-1158-4212-9219-f24619bc4e7e [2025-03-20 08:59:33] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:59:33] Production.INFO: CheckInvoice xerov2: INV11470 [2025-03-20 08:59:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11470 [2025-03-20 08:59:36] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:59:36] Production.INFO: Invoice SubTotal 23.250000 [2025-03-20 08:59:36] Production.INFO: Invoice DetTotal 23.25 [2025-03-20 08:59:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="All%20Care%20Insurance%20Brokers%20Ltd." [2025-03-20 08:59:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:59:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:59:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:59:48] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-05-2025 To 02-04-2025",Quantity : 1,UnitAmount : 10.750000,LineAmount : 10.750000},{taxType:"TAX020",AccountCode : 203,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 1,UnitAmount : 10.000000,LineAmount : 10.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (9053321362 - 1332 Khalsa Drive 11 Mississauga, ON L5S 0A2 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 08:59:51] Production.INFO: ==== result ===== [2025-03-20 08:59:51] Production.INFO: { "Id": "31eded24-10d2-4281-a741-0f80cca582fd", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475591760)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "a8129ace-a4dc-46e9-9f6a-5fa01317b85e", "InvoiceNumber": "INV11470", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 26.28, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "6d542d8f-684c-435c-82fd-abdec98b3c10", "ContactStatus": "ACTIVE", "Name": "All Care Insurance Brokers Ltd.", "FirstName": "Manwinder", "LastName": "Mangat", "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(1696240411443+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-05T00:00:00", "Date": "\/Date(1738713600000+0000)\/", "DueDateString": "2025-03-07T00:00:00", "DueDate": "\/Date(1741305600000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-05-2025 To 02-04-2025", "UnitAmount": 10.75, "TaxType": "TAX020", "TaxAmount": 1.40, "LineAmount": 10.75, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "9bbe3a7d-a080-4e43-9ec9-5ac5cd3546ec", "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": 1.30, "LineAmount": 10.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "24775a2f-89ea-4916-adce-29430d5f7047", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (9053321362 - 1332 Khalsa Drive 11 Mississauga, ON L5S 0A2 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "d59d24d3-06c6-46a6-a087-422d30bcd90a", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 23.25, "TotalTax": 3.03, "Total": 26.28, "UpdatedDateUTC": "\/Date(1742475591683+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:59:51] Production.INFO: -- Create Invoice id --a8129ace-a4dc-46e9-9f6a-5fa01317b85e [2025-03-20 08:59:51] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:59:51] Production.INFO: CheckInvoice xerov2: INV11472 [2025-03-20 08:59:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11472 [2025-03-20 08:59:54] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:59:54] Production.INFO: Invoice SubTotal 78.990000 [2025-03-20 08:59:54] Production.INFO: Invoice DetTotal 78.99 [2025-03-20 08:59:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010164%20%28Jordan%20Hodgson%29" [2025-03-20 08:59:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:00:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:00:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:00:07] Production.INFO: =========Invoices String here======{taxType:"TAX023",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-05-2025 To 02-04-2025",Quantity : 1,UnitAmount : 0.500000,LineAmount : 0.500000},{taxType:"TAX023",AccountCode : 203,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.990000,LineAmount : 75.990000},{taxType:"TAX023",AccountCode : 203,"Description": "e911 address registration (3064452555 - 302 114 Street North Battleford, SK S9A 2M6 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 09:00:10] Production.INFO: ==== result ===== [2025-03-20 09:00:10] Production.INFO: { "Id": "c4cf2c31-f038-4859-b928-5c94b9c61ba2", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475610723)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "812bdfcb-6e8b-41f0-9f21-a81c8df0db7a", "InvoiceNumber": "INV11472", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 87.69, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "9ba9e65f-7bc8-430d-b449-05e224b3e5f6", "ContactStatus": "ACTIVE", "Name": "Dominos 10164 (Jordan Hodgson)", "FirstName": "Jordan", "LastName": "Hodgson", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "AddressLine1": "4-302 114 St", "City": "North Battleford", "Region": "SK", "PostalCode": "S9A 2M6", "Country": "Canada" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1730664962653+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-05T00:00:00", "Date": "\/Date(1738713600000+0000)\/", "DueDateString": "2025-02-12T00:00:00", "DueDate": "\/Date(1739318400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-05-2025 To 02-04-2025", "UnitAmount": 0.50, "TaxType": "TAX023", "TaxAmount": 0.06, "LineAmount": 0.50, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "e5f45ea9-d6fa-4a40-a325-767353fefc09", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Restaurant - 4 Line Flat Rate", "UnitAmount": 75.99, "TaxType": "TAX023", "TaxAmount": 8.36, "LineAmount": 75.99, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "ef33f689-a187-45df-9eae-4fa354ad89f7", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (3064452555 - 302 114 Street North Battleford, SK S9A 2M6 Canada)", "UnitAmount": 2.50, "TaxType": "TAX023", "TaxAmount": 0.28, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "c7fba745-b4a1-4fe9-aa0a-464d398a6f00", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 78.99, "TotalTax": 8.70, "Total": 87.69, "UpdatedDateUTC": "\/Date(1742475610677+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:00:10] Production.INFO: -- Create Invoice id --812bdfcb-6e8b-41f0-9f21-a81c8df0db7a [2025-03-20 09:00:10] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:00:10] Production.INFO: CheckInvoice xerov2: INV11461 [2025-03-20 09:00:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11461 [2025-03-20 09:00:13] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:00:14] Production.INFO: Invoice SubTotal 173.270000 [2025-03-20 09:00:14] Production.INFO: Invoice DetTotal 173.27 [2025-03-20 09:00:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Axxima" [2025-03-20 09:00:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:00:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:00:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:00:26] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-04-2025 To 02-03-2025",Quantity : 1,UnitAmount : 0.270000,LineAmount : 0.270000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 19,UnitAmount : 7.000000,LineAmount : 133.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14506462500 - 2200 Marie-Victorin Road, Suite 201, St. Bruno-de-Montarville, Quebec, J3V 0M2)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional Telephone Numbers",Quantity : 17,UnitAmount : 1.500000,LineAmount : 25.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional Toll Free Telephone Numbers",Quantity : 4,UnitAmount : 3.000000,LineAmount : 12.000000} [2025-03-20 09:00:30] Production.INFO: ==== result ===== [2025-03-20 09:00:30] Production.INFO: { "Id": "50a977a0-ae2c-4ec0-a224-218761c10a7e", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475629878)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "93eda000-6229-48e3-a2a3-89a2bcc337a8", "InvoiceNumber": "INV11461", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 195.81, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "5a62af79-4890-44a7-9d0e-f81cfe9497c1", "ContactStatus": "ACTIVE", "Name": "Axxima", "FirstName": "Norma", "LastName": "Ibbetson", "EmailAddress": "normaibbetson@axxima.ca", "BankAccountDetails": "", "AccountsReceivableTaxType": "TAX022", "AccountsPayableTaxType": "TAX022", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "", "AttentionTo": "" }, { "AddressType": "POBOX", "AddressLine1": "36 Toronto Street", "AddressLine2": "Suite 510", "AddressLine3": "", "AddressLine4": "", "City": "Toronto", "Region": "ON", "PostalCode": "M5C 2C5", "Country": "Canada", "AttentionTo": "Norma Ibbetson" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "18557299462", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "4164085294,5294", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1555602837907+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-04T00:00:00", "Date": "\/Date(1738627200000+0000)\/", "DueDateString": "2025-03-06T00:00:00", "DueDate": "\/Date(1741219200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-04-2025 To 02-03-2025", "UnitAmount": 0.27, "TaxType": "TAX020", "TaxAmount": 0.04, "LineAmount": 0.27, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "9f1bca7b-f376-471f-b427-3be41049444b", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for a Pay As You Go Cloud Phone extension", "UnitAmount": 7.00, "TaxType": "TAX020", "TaxAmount": 17.29, "LineAmount": 133.00, "AccountCode": "203", "Tracking": [], "Quantity": 19.0000, "DiscountRate": 0.00, "LineItemID": "a826478c-136b-4c55-a155-25e2dec4e696", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (14506462500 - 2200 Marie-Victorin Road, Suite 201, St. Bruno-de-Montarville, Quebec, J3V 0M2)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "3d0e79dc-5e36-4846-93a6-5964a3150120", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional Telephone Numbers", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 3.32, "LineAmount": 25.50, "AccountCode": "203", "Tracking": [], "Quantity": 17.0000, "DiscountRate": 0.00, "LineItemID": "f31711bc-2478-4182-9c83-a9aee2b329ba", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional Toll Free Telephone Numbers", "UnitAmount": 3.00, "TaxType": "TAX020", "TaxAmount": 1.56, "LineAmount": 12.00, "AccountCode": "203", "Tracking": [], "Quantity": 4.0000, "DiscountRate": 0.00, "LineItemID": "5c68973d-9d41-4657-b4e2-34f2551b6ee9", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 173.27, "TotalTax": 22.54, "Total": 195.81, "UpdatedDateUTC": "\/Date(1742475629817+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:00:30] Production.INFO: -- Create Invoice id --93eda000-6229-48e3-a2a3-89a2bcc337a8 [2025-03-20 09:00:30] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:00:30] Production.INFO: CheckInvoice xerov2: INV11462 [2025-03-20 09:00:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11462 [2025-03-20 09:00:33] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:00:33] Production.INFO: Invoice SubTotal 3.000000 [2025-03-20 09:00:33] Production.INFO: Invoice DetTotal 3 [2025-03-20 09:00:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Terry%20Anderson" [2025-03-20 09:00:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:00:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:00:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:00:45] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 1,UnitAmount : 10.000000,LineAmount : 10.000000},{taxType:"TAX020",AccountCode : 303,"Description": "The "You're Overcharging Me" Discount",Quantity : 1,UnitAmount : -7.000000,LineAmount : -7.000000} [2025-03-20 09:00:49] Production.INFO: ==== result ===== [2025-03-20 09:00:49] Production.INFO: { "ErrorNumber": 14, "Type": "PostDataInvalidException", "Message": "Invalid Json data" } [2025-03-20 09:00:49] 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-03-20 09:00:49] Production.INFO: -- Create Invoice Error --Undefined property: stdClass::$Invoices [2025-03-20 09:00:49] Production.INFO: -- Create Invoice Error -- [2025-03-20 09:00:49] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:00:49] Production.INFO: CheckInvoice xerov2: INV11463 [2025-03-20 09:00:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11463 [2025-03-20 09:00:52] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:00:52] Production.INFO: Invoice SubTotal 77.500000 [2025-03-20 09:00:52] Production.INFO: Invoice DetTotal 77.5 [2025-03-20 09:00:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010583%20%28William%20Prichard%29" [2025-03-20 09:00:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:00:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:01:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:01:03] 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 (12262272000 - 257 James St Delhi, ON N4B 1X5 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 09:01:06] Production.INFO: ==== result ===== [2025-03-20 09:01:06] Production.INFO: { "Id": "4edb1847-31c4-4fbd-85f5-4f789807f050", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475666811)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "74dfaf98-cbbf-43f1-ac85-89b56c80999a", "InvoiceNumber": "INV11463", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 87.58, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "17005aca-7cf0-4aa4-ac3f-3f8f1c2c61ea", "ContactStatus": "ACTIVE", "Name": "Dominos 10583 (William Prichard)", "FirstName": "William", "LastName": "Prichard", "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(1646697446090+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-04T00:00:00", "Date": "\/Date(1738627200000+0000)\/", "DueDateString": "2025-03-06T00:00:00", "DueDate": "\/Date(1741219200000+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": "2d9156ab-1352-47af-8d49-2540473a4b07", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (12262272000 - 257 James St Delhi, ON N4B 1X5 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "1ff8f685-9b53-4d2b-b4e8-4821c932aed3", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 77.50, "TotalTax": 10.08, "Total": 87.58, "UpdatedDateUTC": "\/Date(1742475666623+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:01:07] Production.INFO: -- Create Invoice id --74dfaf98-cbbf-43f1-ac85-89b56c80999a [2025-03-20 09:01:07] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:01:07] Production.INFO: CheckInvoice xerov2: INV11465 [2025-03-20 09:01:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11465 [2025-03-20 09:01:09] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:01:09] Production.INFO: Invoice SubTotal 46.050000 [2025-03-20 09:01:09] Production.INFO: Invoice DetTotal 46.05 [2025-03-20 09:01:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Workside%20Early%20Childhood%20Education%20Centre" [2025-03-20 09:01:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:01:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:01:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:01:21] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-04-2025 To 02-03-2025",Quantity : 1,UnitAmount : 0.920000,LineAmount : 0.920000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 5.000000,"Description": "e911 address registration (5198226500) (99 Woolwich Street Guelph, ON N1H 3V1 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.380000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 5.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension/digital line",Quantity : 3,UnitAmount : 15.000000,LineAmount : 42.750000} [2025-03-20 09:01:25] Production.INFO: ==== result ===== [2025-03-20 09:01:25] Production.INFO: { "Id": "dcba9ae8-1345-4bfd-a524-61bdc7a6fb09", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475685145)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "2229190b-c7b1-441f-bdaf-6716bc2517db", "InvoiceNumber": "INV11465", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 52.04, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 2.38, "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-02-04T00:00:00", "Date": "\/Date(1738627200000+0000)\/", "DueDateString": "2025-03-06T00:00:00", "DueDate": "\/Date(1741219200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-04-2025 To 02-03-2025", "UnitAmount": 0.92, "TaxType": "TAX020", "TaxAmount": 0.12, "LineAmount": 0.92, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "f9a2aae3-f833-4f7c-9bcc-edd85ed0262e", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (5198226500) (99 Woolwich Street Guelph, ON N1H 3V1 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.31, "LineAmount": 2.38, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 5.00, "LineItemID": "9c5ce34b-2e36-4693-a126-47e7a4be2424", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 0.1200, "ValidationErrors": [] }, { "Description": "License for an Unlimited Canada/US Cloud Phone extension/digital line", "UnitAmount": 15.00, "TaxType": "TAX020", "TaxAmount": 5.56, "LineAmount": 42.75, "AccountCode": "203", "Tracking": [], "Quantity": 3.0000, "DiscountRate": 5.00, "LineItemID": "0b2427bf-7f27-4fcf-8186-60b939145f84", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 2.2500, "ValidationErrors": [] } ], "SubTotal": 46.05, "TotalTax": 5.99, "Total": 52.04, "UpdatedDateUTC": "\/Date(1742475685033+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:01:25] Production.INFO: -- Create Invoice id --2229190b-c7b1-441f-bdaf-6716bc2517db [2025-03-20 09:01:25] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:01:25] Production.INFO: CheckInvoice xerov2: INV11467 [2025-03-20 09:01:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11467 [2025-03-20 09:01:28] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:01:28] Production.INFO: Invoice SubTotal 643.750000 [2025-03-20 09:01:28] Production.INFO: Invoice DetTotal 643.75 [2025-03-20 09:01:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Keogh%20Construction" [2025-03-20 09:01:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:01:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:01:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:01:40] Production.INFO: =========Invoices String here======{taxType:"TAX020",DiscountRate : 0.000000,"Description": "Lenovo ThinkPad/RYZEN 7/16/256/W10P",Quantity : 1,UnitAmount : 556.250000,LineAmount : 556.250000},{taxType:"TAX020",DiscountRate : 0.000000,"Description": "Shipping",Quantity : 1,UnitAmount : 31.250000,LineAmount : 31.250000},{taxType:"TAX020",DiscountRate : 0.000000,"Description": "Bauer 3 Year Depot Warranty",Quantity : 1,UnitAmount : 56.250000,LineAmount : 56.250000} [2025-03-20 09:01:43] Production.INFO: ==== result ===== [2025-03-20 09:01:43] Production.INFO: { "Id": "778556a2-f979-4b5b-9c5e-4e4f06723e9d", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475703351)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "1698052b-72da-429c-ac92-5e8f58328726", "InvoiceNumber": "INV11467", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 727.43, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "cad302ad-7c7e-456b-bcf1-bd7729cb22b7", "ContactNumber": "Keogh Construction", "ContactStatus": "ACTIVE", "Name": "Keogh Construction", "FirstName": "", "LastName": "", "EmailAddress": "", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "AddressLine1": "P.O. Box 534", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Alliston", "Region": "ON", "PostalCode": "L9R 1V7", "Country": "", "AttentionTo": "" }, { "AddressType": "POBOX", "AddressLine1": "P.O. Box 534", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Alliston", "Region": "ON", "PostalCode": "L9R 1V7", "Country": "", "AttentionTo": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "555-555-5555", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "(519) 942-4573", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1719936267550+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "DefaultCurrency": "CAD", "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-04T00:00:00", "Date": "\/Date(1738627200000+0000)\/", "DueDateString": "2025-03-06T00:00:00", "DueDate": "\/Date(1741219200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Lenovo ThinkPad/RYZEN 7/16/256/W10P", "UnitAmount": 556.25, "TaxType": "TAX020", "TaxAmount": 72.31, "LineAmount": 556.25, "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "26d6f077-24af-408a-926b-8c000d11fdca", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Shipping", "UnitAmount": 31.25, "TaxType": "TAX020", "TaxAmount": 4.06, "LineAmount": 31.25, "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "20045ee6-b0ca-4487-a27a-7485d532b784", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Bauer 3 Year Depot Warranty", "UnitAmount": 56.25, "TaxType": "TAX020", "TaxAmount": 7.31, "LineAmount": 56.25, "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "5e7f3707-4aec-464b-8a69-540f94ded264", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 643.75, "TotalTax": 83.68, "Total": 727.43, "UpdatedDateUTC": "\/Date(1742475703273+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:01:43] Production.INFO: -- Create Invoice id --1698052b-72da-429c-ac92-5e8f58328726 [2025-03-20 09:01:43] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:01:43] Production.INFO: CheckInvoice xerov2: INV50017 [2025-03-20 09:01:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV50017 [2025-03-20 09:01:46] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:01:46] Production.INFO: Invoice SubTotal 712.500000 [2025-03-20 09:01:46] Production.INFO: Invoice DetTotal 712.5 [2025-03-20 09:01:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group" [2025-03-20 09:01:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:01:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:01:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:01:58] Production.INFO: =========Invoices String here======{taxType:"TAX020",DiscountRate : 0.000000,"Description": "Lenovo ThinkPad/RYZEN 7/32/512/W10P",Quantity : 1,UnitAmount : 625.000000,LineAmount : 625.000000},{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": "Shipping",Quantity : 1,UnitAmount : 31.250000,LineAmount : 31.250000},{taxType:"TAX020",DiscountRate : 0.000000,"Description": "Bauer 3 Year Depot Warranty",Quantity : 1,UnitAmount : 56.250000,LineAmount : 56.250000} [2025-03-20 09:02:01] Production.INFO: ==== result ===== [2025-03-20 09:02:01] Production.INFO: { "Id": "f3dabb72-717e-4ec4-9ded-1ba293f27acc", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475721710)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "58d58074-364a-403c-a0b6-9d90cfa33f15", "InvoiceNumber": "INV50017", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 805.12, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "5f6b39a6-c5bb-485f-9fdd-a6c7a1eccc47", "ContactNumber": "Plus Travel Group", "ContactStatus": "ACTIVE", "Name": "Plus Travel Group", "FirstName": "", "LastName": "", "EmailAddress": "luiza.rocha-baker@donaldsontravel.com", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "AddressLine1": "73 Water Street North", "AddressLine2": "Unit 300", "AddressLine3": "", "AddressLine4": "", "City": "Cambridge", "Region": "ON", "PostalCode": "N1R 7L6", "Country": "CANADA", "AttentionTo": "" }, { "AddressType": "POBOX", "AddressLine1": "", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "", "Region": "", "PostalCode": "", "Country": "", "AttentionTo": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "9056290329", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "9056290329", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1719936260903+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "DefaultCurrency": "CAD", "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-04T00:00:00", "Date": "\/Date(1738627200000+0000)\/", "DueDateString": "2025-03-06T00:00:00", "DueDate": "\/Date(1741219200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Lenovo ThinkPad/RYZEN 7/32/512/W10P", "UnitAmount": 625.00, "TaxType": "TAX020", "TaxAmount": 81.25, "LineAmount": 625.00, "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "7168b755-74be-447c-be91-60b316778a51", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Shipping", "UnitAmount": 31.25, "TaxType": "TAX020", "TaxAmount": 4.06, "LineAmount": 31.25, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "a01dda11-7db2-489c-a4e9-cbfea3b4ca40", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Bauer 3 Year Depot Warranty", "UnitAmount": 56.25, "TaxType": "TAX020", "TaxAmount": 7.31, "LineAmount": 56.25, "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "cb842d41-a481-4aca-bf08-36a2feeadfe8", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 712.50, "TotalTax": 92.62, "Total": 805.12, "UpdatedDateUTC": "\/Date(1742475721663+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:02:01] Production.INFO: -- Create Invoice id --58d58074-364a-403c-a0b6-9d90cfa33f15 [2025-03-20 09:02:01] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:02:02] Production.INFO: CheckInvoice xerov2: INV11458 [2025-03-20 09:02:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11458 [2025-03-20 09:02:05] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:02:05] Production.INFO: Invoice SubTotal 35.300000 [2025-03-20 09:02:05] Production.INFO: Invoice DetTotal 35.3 [2025-03-20 09:02:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Metro%20Toronto%20Collision%20Centre" [2025-03-20 09:02:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:02:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:02:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:02:16] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-03-2025 To 02-02-2025",Quantity : 1,UnitAmount : 4.800000,LineAmount : 4.800000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 4,UnitAmount : 7.000000,LineAmount : 28.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (16475609483 - 19 VANLEY CRES NORTH YORK, ON M3J2B7)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 09:02:20] Production.INFO: ==== result ===== [2025-03-20 09:02:20] Production.INFO: { "Id": "0aa3afe7-bf6d-466b-8214-9341a3ed15eb", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475739990)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "4ef459dc-0070-4df2-ac71-dc9bc445d9c8", "InvoiceNumber": "INV11458", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 39.89, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "639507fe-3c02-40f6-89b2-b3a1c40bc965", "ContactStatus": "ACTIVE", "Name": "Metro Toronto Collision Centre", "FirstName": "Avi", "LastName": "", "EmailAddress": "mtccinc@gmail.com", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "AddressLine1": "19 Vanley Cres.", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "North York", "Region": "ON", "PostalCode": "M3J 2B7", "Country": "Canada", "AttentionTo": "Avi" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "(416) 4761593", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "4164761593", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1562268200550+0000)\/", "ContactGroups": [ { "ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58", "Name": "Benjamin's Customers", "Status": "ACTIVE", "Contacts": [], "HasValidationErrors": false } ], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-03T00:00:00", "Date": "\/Date(1738540800000+0000)\/", "DueDateString": "2025-03-05T00:00:00", "DueDate": "\/Date(1741132800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-03-2025 To 02-02-2025", "UnitAmount": 4.80, "TaxType": "TAX020", "TaxAmount": 0.62, "LineAmount": 4.80, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "c62705f8-c4f9-4241-8b84-15b7220739ec", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for a Pay As You Go Cloud Phone extension", "UnitAmount": 7.00, "TaxType": "TAX020", "TaxAmount": 3.64, "LineAmount": 28.00, "AccountCode": "203", "Tracking": [], "Quantity": 4.0000, "DiscountRate": 0.00, "LineItemID": "71d83635-c19e-4993-8a36-cd4e5aa727de", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (16475609483 - 19 VANLEY CRES NORTH YORK, ON M3J2B7)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "ca056870-f378-4417-832a-e046e34316f0", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 35.30, "TotalTax": 4.59, "Total": 39.89, "UpdatedDateUTC": "\/Date(1742475739943+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:02:20] Production.INFO: -- Create Invoice id --4ef459dc-0070-4df2-ac71-dc9bc445d9c8 [2025-03-20 09:02:20] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:02:20] Production.INFO: CheckInvoice xerov2: INV11455 [2025-03-20 09:02:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11455 [2025-03-20 09:02:22] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:02:22] Production.INFO: Invoice SubTotal 26.500000 [2025-03-20 09:02:22] Production.INFO: Invoice DetTotal 26.5 [2025-03-20 09:02:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Millbrook" [2025-03-20 09:02:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:02:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:02:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:02:34] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (17052432093 - 47 Tupper Street Millbrook, ON L0A 1G0)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,"Description": "Capacity Based Billing - 2 Channels, Burstable to 3",Quantity : 2,UnitAmount : 12.000000,LineAmount : 24.000000} [2025-03-20 09:02:37] Production.INFO: ==== result ===== [2025-03-20 09:02:37] Production.INFO: { "Id": "9dfbcd37-2ba5-466b-8ed1-3c8fe6efb728", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475757793)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "9dd093d6-e9cd-491d-b82d-9db4d821342d", "InvoiceNumber": "INV11455", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 29.95, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "5827757d-9498-4c55-97f7-43de2cbda025", "ContactStatus": "ACTIVE", "Name": "Compass ELC - Millbrook", "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(1533070460547+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-02T00:00:00", "Date": "\/Date(1738454400000+0000)\/", "DueDateString": "2025-03-04T00:00:00", "DueDate": "\/Date(1741046400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "e911 address registration (17052432093 - 47 Tupper Street Millbrook, ON L0A 1G0)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "a5737c62-433b-4702-b7c1-a2778478d0f1", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Capacity Based Billing - 2 Channels, Burstable to 3", "UnitAmount": 12.00, "TaxType": "TAX020", "TaxAmount": 3.12, "LineAmount": 24.00, "AccountCode": "203", "Tracking": [], "Quantity": 2.0000, "LineItemID": "30b8979a-c562-444a-92d8-ae98f748c4fe", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 26.50, "TotalTax": 3.45, "Total": 29.95, "UpdatedDateUTC": "\/Date(1742475757717+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:02:37] Production.INFO: -- Create Invoice id --9dd093d6-e9cd-491d-b82d-9db4d821342d [2025-03-20 09:02:37] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:02:37] Production.INFO: CheckInvoice xerov2: INV11456 [2025-03-20 09:02:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11456 [2025-03-20 09:02:40] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:02:40] Production.INFO: Invoice SubTotal 77.500000 [2025-03-20 09:02:40] Production.INFO: Invoice DetTotal 77.5 [2025-03-20 09:02:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="LevLending" [2025-03-20 09:02:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:02:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:02:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:02:52] 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 (9057608274 - 11 Buttermill Ave. Unit 2 Concord, ON L4K 3X5 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 09:02:56] Production.INFO: ==== result ===== [2025-03-20 09:02:56] Production.INFO: { "Id": "1f864471-c61f-4605-ab5b-62ed888d0954", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475775837)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "ef07d31f-2f0b-4321-b075-08de12dcf894", "InvoiceNumber": "INV11456", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 87.58, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "0c3388d2-858d-4ab0-82a5-823938ebfea0", "ContactStatus": "ACTIVE", "Name": "LevLending", "FirstName": "Nick", "LastName": "Levin", "EmailAddress": "Nick-levin@hotmail.com", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "AddressLine1": "11 Buttermill Ave.", "AddressLine2": "Unit 2", "AddressLine3": "", "AddressLine4": "", "City": "Concord", "Region": "ON", "PostalCode": "L4K 3X5", "Country": "Canada", "AttentionTo": "Nick Levin" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "4168288127", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "(416) 828-8127", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1542138669507+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-02T00:00:00", "Date": "\/Date(1738454400000+0000)\/", "DueDateString": "2025-03-04T00:00:00", "DueDate": "\/Date(1741046400000+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": "bebfa4a3-68c8-4524-8219-9cb8a7ff7c45", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (9057608274 - 11 Buttermill Ave. Unit 2 Concord, ON L4K 3X5 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "83bdd86c-227e-423d-bf41-7a56592e2ccc", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 77.50, "TotalTax": 10.08, "Total": 87.58, "UpdatedDateUTC": "\/Date(1742475775790+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:02:56] Production.INFO: -- Create Invoice id --ef07d31f-2f0b-4321-b075-08de12dcf894 [2025-03-20 09:02:56] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:02:56] Production.INFO: CheckInvoice xerov2: INV11436 [2025-03-20 09:02:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11436 [2025-03-20 09:02:59] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:02:59] Production.INFO: Invoice SubTotal 258.460000 [2025-03-20 09:02:59] Production.INFO: Invoice DetTotal 258.46 [2025-03-20 09:02:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Tundra" [2025-03-20 09:03:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:03:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:03:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:03:12] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-01-2025 To 01-31-2025",Quantity : 1,UnitAmount : 8.020000,LineAmount : 8.020000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "VDSL Internet Service - Bonded - 2 Circuits (251 Laurier Ave West, Suite 1050, Ottawa, ON K1P 5J6). 36 month agreement ending April 19, 2021.",Quantity : 1,UnitAmount : 240.440000,LineAmount : 240.440000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Fax Adapter (Toronto)",Quantity : 2,UnitAmount : 5.000000,LineAmount : 10.000000} [2025-03-20 09:03:15] Production.INFO: ==== result ===== [2025-03-20 09:03:15] Production.INFO: { "Id": "09073d12-519e-48a9-bbff-c51618851342", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475795663)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "1bbb6fe8-42a0-4acb-ad78-2e260b7d855b", "InvoiceNumber": "INV11436", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 292.06, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "623680fb-29d2-4940-8787-6a04edc9b023", "ContactStatus": "ACTIVE", "Name": "Tundra", "FirstName": "Tundra", "LastName": "Technical", "EmailAddress": "ap@tundratechnical.ca", "BankAccountDetails": "", "AccountsReceivableTaxType": "OUTPUT", "AccountsPayableTaxType": "OUTPUT", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "", "AttentionTo": "" }, { "AddressType": "POBOX", "AddressLine1": "1 Eglinton Ave. East", "AddressLine2": "Suite 705", "AddressLine3": "", "AddressLine4": "", "City": "Toronto", "Region": "ON", "PostalCode": "M4P 3A1", "Country": "", "AttentionTo": "Tundra Technical" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "18669886372", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "18669886372", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "6477607778", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1617722615863+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "DefaultCurrency": "CAD", "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-01T00:00:00", "Date": "\/Date(1738368000000+0000)\/", "DueDateString": "2025-03-03T00:00:00", "DueDate": "\/Date(1740960000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-01-2025 To 01-31-2025", "UnitAmount": 8.02, "TaxType": "TAX020", "TaxAmount": 1.04, "LineAmount": 8.02, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "76b1531b-f049-4ea1-81e3-7a189cf57615", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "VDSL Internet Service - Bonded - 2 Circuits (251 Laurier Ave West, Suite 1050, Ottawa, ON K1P 5J6). 36 month agreement ending April 19, 2021.", "UnitAmount": 240.44, "TaxType": "TAX020", "TaxAmount": 31.26, "LineAmount": 240.44, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "50a59d0e-a8af-42d0-8d99-552112f4af6d", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Fax Adapter (Toronto)", "UnitAmount": 5.00, "TaxType": "TAX020", "TaxAmount": 1.30, "LineAmount": 10.00, "AccountCode": "203", "Tracking": [], "Quantity": 2.0000, "DiscountRate": 0.00, "LineItemID": "922c58c7-1af8-480a-b24f-b41483c26b77", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 258.46, "TotalTax": 33.60, "Total": 292.06, "UpdatedDateUTC": "\/Date(1742475795633+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:03:15] Production.INFO: -- Create Invoice id --1bbb6fe8-42a0-4acb-ad78-2e260b7d855b [2025-03-20 09:03:15] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:03:15] Production.INFO: CheckInvoice xerov2: INV11437 [2025-03-20 09:03:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11437 [2025-03-20 09:03:18] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:03:18] Production.INFO: Invoice SubTotal 348.090000 [2025-03-20 09:03:18] Production.INFO: Invoice DetTotal 348.09 [2025-03-20 09:03:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quality%20Car%20Rentals%20%28AutoQuest%29" [2025-03-20 09:03:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:03:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:03:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:03:31] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-01-2025 To 01-31-2025",Quantity : 1,UnitAmount : 13.830000,LineAmount : 13.830000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 17,UnitAmount : 7.000000,LineAmount : 119.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (8243 YONGE ST MARKHAM, ON L3T2C7)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (5 TANGIERS RD NORTH YORK, ON M3J2B1)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (71 ANNE ST S BARRIE, ON L4N2E2)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14164775948)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14164309608)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14164772862)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14164794438)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (17053001000)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (19054158172)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (19058899642)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "VDSL Internet Service 100mbps/10mbps (1380 Cardiff Blvd Unit 4, Mississauga, ON L5S 1P9)",Quantity : 1,UnitAmount : 131.220000,LineAmount : 131.220000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "LTE Internet Failover Service (1380 Cardiff Blvd Unit 4, Mississauga, ON L5S 1P9)",Quantity : 1,UnitAmount : 63.040000,LineAmount : 63.040000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (17054182705)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (16474175110)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000} [2025-03-20 09:03:34] Production.INFO: ==== result ===== [2025-03-20 09:03:34] Production.INFO: { "Id": "643f1d5a-99bd-43bc-ba08-a757568442a3", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475814533)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "6ee9c136-a7cb-4fca-938a-6af31b41c816", "InvoiceNumber": "INV11437", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 393.41, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "d97f29cf-e0f8-4b9a-bb8e-aaec76dd5612", "ContactStatus": "ACTIVE", "Name": "Quality Car Rentals (AutoQuest)", "FirstName": "Gary", "LastName": "Letechiver", "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(1649250056207+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-01T00:00:00", "Date": "\/Date(1738368000000+0000)\/", "DueDateString": "2025-03-03T00:00:00", "DueDate": "\/Date(1740960000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-01-2025 To 01-31-2025", "UnitAmount": 13.83, "TaxType": "TAX020", "TaxAmount": 1.80, "LineAmount": 13.83, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "e7774a76-dd26-436c-a31c-74b91d6b61b9", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for a Pay As You Go Cloud Phone extension", "UnitAmount": 7.00, "TaxType": "TAX020", "TaxAmount": 15.47, "LineAmount": 119.00, "AccountCode": "203", "Tracking": [], "Quantity": 17.0000, "DiscountRate": 0.00, "LineItemID": "9ff3a932-de8c-4de9-bf3f-74e11af49f1f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (8243 YONGE ST MARKHAM, ON L3T2C7)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "b4f14205-d8eb-4dc7-942e-7e07c43d625b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (5 TANGIERS RD NORTH YORK, ON M3J2B1)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "341c0b9b-4c51-4906-a324-ef0ac3827266", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (71 ANNE ST S BARRIE, ON L4N2E2)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "fc6d7ae7-2116-43b4-9391-8811d2f10dc1", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (14164775948)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "59d51a12-79aa-480d-b380-7f4ef593d4c1", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (14164309608)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "b41b36e8-6fe4-4648-8262-99a82db1d3cb", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (14164772862)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "0560c677-ecfb-476e-99ae-bcf4ec3ca48d", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (14164794438)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "30948376-0de0-4a69-b6ab-1644a6c38d43", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (17053001000)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "3de8f939-f709-4702-9bb2-fab56f990eff", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (19054158172)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "45fc2b11-141a-47ea-82ae-2f6e42cff147", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (19058899642)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "7fe4869a-bac2-4705-b7c4-22994b9acfd8", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "VDSL Internet Service 100mbps/10mbps (1380 Cardiff Blvd Unit 4, Mississauga, ON L5S 1P9)", "UnitAmount": 131.22, "TaxType": "TAX020", "TaxAmount": 17.06, "LineAmount": 131.22, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "1b90df40-d911-4d94-9417-995148fdb6ae", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "LTE Internet Failover Service (1380 Cardiff Blvd Unit 4, Mississauga, ON L5S 1P9)", "UnitAmount": 63.04, "TaxType": "TAX020", "TaxAmount": 8.20, "LineAmount": 63.04, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "4cf6981b-fdb0-4bd4-981d-f9116fc07621", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (17054182705)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "ce8933cb-e2bf-4940-957d-5d1e16893b46", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (16474175110)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "dee5f41b-f53a-483c-bd3e-f3f9c94b5a23", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 348.09, "TotalTax": 45.32, "Total": 393.41, "UpdatedDateUTC": "\/Date(1742475814253+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:03:34] Production.INFO: -- Create Invoice id --6ee9c136-a7cb-4fca-938a-6af31b41c816 [2025-03-20 09:03:34] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:03:34] Production.INFO: CheckInvoice xerov2: INV11438 [2025-03-20 09:03:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11438 [2025-03-20 09:03:37] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:03:37] Production.INFO: Invoice SubTotal 7.000000 [2025-03-20 09:03:37] Production.INFO: Invoice DetTotal 7 [2025-03-20 09:03:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Law%20Offices%20of%20Diane%20Staples" [2025-03-20 09:03:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:03:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:03:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:03:49] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "PAYGo - Voice - 15198330040",Quantity : 1,UnitAmount : 7.000000,LineAmount : 7.000000} [2025-03-20 09:03:52] Production.INFO: ==== result ===== [2025-03-20 09:03:52] Production.INFO: { "Id": "9f00190e-a7fd-44b7-adf7-4b14cf5b88a0", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475832596)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "1b1e4204-e1c7-4ef8-87bd-d1ec7fd551a1", "InvoiceNumber": "INV11438", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 7.91, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "97ef00b2-8eb5-497a-aadd-ae29a942c858", "ContactStatus": "ACTIVE", "Name": "Law Offices of Diane Staples", "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(1533070460420+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-01T00:00:00", "Date": "\/Date(1738368000000+0000)\/", "DueDateString": "2025-03-03T00:00:00", "DueDate": "\/Date(1740960000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "PAYGo - Voice - 15198330040", "UnitAmount": 7.00, "TaxType": "TAX020", "TaxAmount": 0.91, "LineAmount": 7.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "ab1d9e07-1302-4cc4-8032-f87dc8b05752", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 7.00, "TotalTax": 0.91, "Total": 7.91, "UpdatedDateUTC": "\/Date(1742475832550+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:03:52] Production.INFO: -- Create Invoice id --1b1e4204-e1c7-4ef8-87bd-d1ec7fd551a1 [2025-03-20 09:03:52] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:03:52] Production.INFO: CheckInvoice xerov2: INV11440 [2025-03-20 09:03:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11440 [2025-03-20 09:03:55] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:03:55] Production.INFO: Invoice SubTotal 83.240000 [2025-03-20 09:03:55] Production.INFO: Invoice DetTotal 83.24 [2025-03-20 09:03:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="CanTrust%20Insurance%20Services" [2025-03-20 09:03:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:04:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:04:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:04:07] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-01-2025 To 01-31-2025",Quantity : 1,UnitAmount : 32.740000,LineAmount : 32.740000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Inbound Channels",Quantity : 6,UnitAmount : 8.000000,LineAmount : 48.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14168175555 - 3640 Victoria Park Ave. 301, North York, ON M2H 3B2)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 09:04:11] Production.INFO: ==== result ===== [2025-03-20 09:04:11] Production.INFO: { "Id": "0b0416d1-bb50-4209-baa6-1d9ba0713353", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475850865)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "5c73b7d4-a9b7-4cf6-9f34-66bd148c72fa", "InvoiceNumber": "INV11440", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 94.07, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "d5a46ee9-fef7-49ae-981c-b537df046ad7", "ContactStatus": "ACTIVE", "Name": "CanTrust Insurance Services", "FirstName": "Ken", "LastName": "Chen", "EmailAddress": "ken.chen@cantrustcanada.com", "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(1549033984247+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-01T00:00:00", "Date": "\/Date(1738368000000+0000)\/", "DueDateString": "2025-03-03T00:00:00", "DueDate": "\/Date(1740960000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-01-2025 To 01-31-2025", "UnitAmount": 32.74, "TaxType": "TAX020", "TaxAmount": 4.26, "LineAmount": 32.74, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "7021b61d-5881-406b-9622-7774a67485df", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Inbound Channels", "UnitAmount": 8.00, "TaxType": "TAX020", "TaxAmount": 6.24, "LineAmount": 48.00, "AccountCode": "203", "Tracking": [], "Quantity": 6.0000, "DiscountRate": 0.00, "LineItemID": "7c7f15cd-2c87-481c-a872-bd879dc93566", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (14168175555 - 3640 Victoria Park Ave. 301, North York, ON M2H 3B2)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "2d851db7-9a46-4b95-9e84-cb7463ba629a", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 83.24, "TotalTax": 10.83, "Total": 94.07, "UpdatedDateUTC": "\/Date(1742475850817+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:04:11] Production.INFO: -- Create Invoice id --5c73b7d4-a9b7-4cf6-9f34-66bd148c72fa [2025-03-20 09:04:11] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:04:11] Production.INFO: CheckInvoice xerov2: INV11442 [2025-03-20 09:04:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11442 [2025-03-20 09:04:14] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:04:14] Production.INFO: Invoice SubTotal 52.500000 [2025-03-20 09:04:14] Production.INFO: Invoice DetTotal 52.5 [2025-03-20 09:04:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039016%20%28Chandresh%20Patel%29" [2025-03-20 09:04:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:04:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:04:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:04:27] Production.INFO: =========Invoices String here======{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX012",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $25/store/month discount when 3+ stores have OnSwitch Cloud Phone servic",Quantity : 1,UnitAmount : -25.000000,LineAmount : -25.000000},{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (15879180888 - 5 Spruce Village Way 120 Spruce Grove, AB T7X 0B2 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 09:04:31] Production.INFO: ==== result ===== [2025-03-20 09:04:31] Production.INFO: { "Id": "f2226a43-c2de-4fc8-8fc7-1195fbac793a", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475871081)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "6f746306-f1a3-4764-a185-7f86dcddbcf4", "InvoiceNumber": "INV11442", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 55.13, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "67dc5e22-ea19-468e-b918-c0db577b9240", "ContactStatus": "ACTIVE", "Name": "Dominos 39016 (Chandresh Patel)", "FirstName": "Chandresh", "LastName": "Patel", "EmailAddress": "dominos.patel@gmail.com", "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(1580835558757+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-01T00:00:00", "Date": "\/Date(1738368000000+0000)\/", "DueDateString": "2025-03-03T00:00:00", "DueDate": "\/Date(1740960000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Restaurant - 4 Line Flat Rate", "UnitAmount": 75.00, "TaxType": "TAX012", "TaxAmount": 3.75, "LineAmount": 75.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "47971511-80be-4edb-9709-b62378060388", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Provides a $25/store/month discount when 3+ stores have OnSwitch Cloud Phone servic", "UnitAmount": -25.00, "TaxType": "TAX012", "TaxAmount": -1.25, "LineAmount": -25.00, "AccountCode": "303", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "33fedf01-c968-4d00-aae6-2f095e75ce00", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (15879180888 - 5 Spruce Village Way 120 Spruce Grove, AB T7X 0B2 Canada)", "UnitAmount": 2.50, "TaxType": "TAX012", "TaxAmount": 0.13, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "e91e8258-4846-4515-b943-46c4ca75506e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 2.63, "Total": 55.13, "UpdatedDateUTC": "\/Date(1742475871033+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:04:31] Production.INFO: -- Create Invoice id --6f746306-f1a3-4764-a185-7f86dcddbcf4 [2025-03-20 09:04:31] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:04:31] Production.INFO: CheckInvoice xerov2: INV11443 [2025-03-20 09:04:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11443 [2025-03-20 09:04:35] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:04:35] Production.INFO: Invoice SubTotal 96.510000 [2025-03-20 09:04:35] Production.INFO: Invoice DetTotal 96.51 [2025-03-20 09:04:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010552%20%28Werner%20Lomker%29" [2025-03-20 09:04:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:04:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:04:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:04:49] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "VDSL Internet Service - 50x10mbps (3068 Mayfield Rd., Brampton, ON)",Quantity : 1,UnitAmount : 96.510000,LineAmount : 96.510000} [2025-03-20 09:04:52] Production.INFO: ==== result ===== [2025-03-20 09:04:52] Production.INFO: { "Id": "d9eda128-af80-427f-95a7-f6d78b7a3bfb", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475892097)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "8ee48cca-25ec-443e-bce0-15e4511a1b9e", "InvoiceNumber": "INV11443", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 109.06, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "6f5d3631-ded1-4310-ab70-a39a8b602341", "ContactStatus": "ACTIVE", "Name": "Dominos 10552 (Werner Lomker)", "FirstName": "Werner", "LastName": "Lomker", "EmailAddress": "akaiserbun@sympatico.ca", "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(1580835559637+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-01T00:00:00", "Date": "\/Date(1738368000000+0000)\/", "DueDateString": "2025-03-03T00:00:00", "DueDate": "\/Date(1740960000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "VDSL Internet Service - 50x10mbps (3068 Mayfield Rd., Brampton, ON)", "UnitAmount": 96.51, "TaxType": "TAX020", "TaxAmount": 12.55, "LineAmount": 96.51, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "9d92cb82-1ebd-4dea-bd9b-c1696beac479", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 96.51, "TotalTax": 12.55, "Total": 109.06, "UpdatedDateUTC": "\/Date(1742475892050+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:04:52] Production.INFO: -- Create Invoice id --8ee48cca-25ec-443e-bce0-15e4511a1b9e [2025-03-20 09:04:52] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:04:52] Production.INFO: CheckInvoice xerov2: INV11444 [2025-03-20 09:04:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11444 [2025-03-20 09:04:54] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:04:54] Production.INFO: Invoice SubTotal 292.590000 [2025-03-20 09:04:54] Production.INFO: Invoice DetTotal 292.59 [2025-03-20 09:04:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010297%20%28Shane%20Linthorne%29" [2025-03-20 09:04:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:05:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:05:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:05:07] 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 (15198539000 - 352 Queen Street Acton, ON L7J1R2 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",Quantity : 2,UnitAmount : -5.000000,LineAmount : -10.000000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "Cable Internet Service - 120x15 (315 Queen Street, Unit #3, Acton, ON, L7J 1R1)",Quantity : 1,UnitAmount : 160.480000,LineAmount : 160.480000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "LTE Internet Failover Service (315 Queen Street, Unit #3, Acton, ON, L7J 1R1)",Quantity : 1,UnitAmount : 64.610000,LineAmount : 64.610000} [2025-03-20 09:05:11] Production.INFO: ==== result ===== [2025-03-20 09:05:11] Production.INFO: { "Id": "c77a03f1-a43a-4d91-9d20-e56d9c368869", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475910925)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "87202397-0fc4-47df-b45a-b505852933c4", "InvoiceNumber": "INV11444", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 330.63, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "d8f292bb-743b-4f94-916e-1de8803fa73f", "ContactStatus": "ACTIVE", "Name": "Dominos 10297 (Shane Linthorne)", "FirstName": "Shane", "LastName": "Linthorne", "EmailAddress": "poundinpizzainc@gmail.com", "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(1582260450560+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-01T00:00:00", "Date": "\/Date(1738368000000+0000)\/", "DueDateString": "2025-03-03T00:00:00", "DueDate": "\/Date(1740960000000+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": "e39a073c-7f25-474d-ba6c-e2dabacbf4ce", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (15198539000 - 352 Queen Street Acton, ON L7J1R2 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "bfa59333-c482-4b72-880e-ac4e2d04860c", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service", "UnitAmount": -5.00, "TaxType": "TAX020", "TaxAmount": -1.30, "LineAmount": -10.00, "AccountCode": "303", "Tracking": [], "Quantity": 2.0000, "DiscountRate": 0.00, "LineItemID": "3dd7bbe6-1517-4271-bf4a-177222044d28", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Cable Internet Service - 120x15 (315 Queen Street, Unit #3, Acton, ON, L7J 1R1)", "UnitAmount": 160.48, "TaxType": "TAX020", "TaxAmount": 20.86, "LineAmount": 160.48, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "1a1785e1-1bc0-4c62-b211-adc09bbdfca6", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "LTE Internet Failover Service (315 Queen Street, Unit #3, Acton, ON, L7J 1R1)", "UnitAmount": 64.61, "TaxType": "TAX020", "TaxAmount": 8.40, "LineAmount": 64.61, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "b6975de9-45a2-448a-a3ab-cb713e1b1268", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 292.59, "TotalTax": 38.04, "Total": 330.63, "UpdatedDateUTC": "\/Date(1742475910853+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:05:11] Production.INFO: -- Create Invoice id --87202397-0fc4-47df-b45a-b505852933c4 [2025-03-20 09:05:11] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:05:11] Production.INFO: CheckInvoice xerov2: INV11447 [2025-03-20 09:05:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11447 [2025-03-20 09:05:14] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:05:14] Production.INFO: Invoice SubTotal 32.500000 [2025-03-20 09:05:14] Production.INFO: Invoice DetTotal 32.5 [2025-03-20 09:05:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Pharmacy%20Associates%20of%20Port%20Perry" [2025-03-20 09:05:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:05:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:05:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:05:25] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Retail - 3 Line Flat Rate (Burstable to 5 Active Calls)",Quantity : 3,UnitAmount : 10.000000,LineAmount : 30.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19059850200 - 11 Water Street Unit B Port Perry, ON L9L 1H9 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 09:05:28] Production.INFO: ==== result ===== [2025-03-20 09:05:28] Production.INFO: { "Id": "8927107a-3fb9-450f-a240-5a184029fb3f", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475928785)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "e0e312ae-ebcc-449d-b2cb-42faaf3bd458", "InvoiceNumber": "INV11447", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 36.73, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "c60706d0-0fd9-40ff-a211-387c86733ac7", "ContactStatus": "ACTIVE", "Name": "Pharmacy Associates of Port Perry", "FirstName": "Doug", "LastName": "Brown", "EmailAddress": "pharmacyassociates.pp@gmail.com", "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(1620932850877+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-01T00:00:00", "Date": "\/Date(1738368000000+0000)\/", "DueDateString": "2025-03-03T00:00:00", "DueDate": "\/Date(1740960000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Retail - 3 Line Flat Rate (Burstable to 5 Active Calls)", "UnitAmount": 10.00, "TaxType": "TAX020", "TaxAmount": 3.90, "LineAmount": 30.00, "AccountCode": "203", "Tracking": [], "Quantity": 3.0000, "DiscountRate": 0.00, "LineItemID": "bc83147b-6d0b-4819-82a7-95eff2ebe0a9", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (19059850200 - 11 Water Street Unit B Port Perry, ON L9L 1H9 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "d1163827-8685-4c8f-94e2-abed4de0d010", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 32.50, "TotalTax": 4.23, "Total": 36.73, "UpdatedDateUTC": "\/Date(1742475928737+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:05:28] Production.INFO: -- Create Invoice id --e0e312ae-ebcc-449d-b2cb-42faaf3bd458 [2025-03-20 09:05:28] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:05:28] Production.INFO: CheckInvoice xerov2: INV11449 [2025-03-20 09:05:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11449 [2025-03-20 09:05:31] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:05:31] Production.INFO: Invoice SubTotal 65.500000 [2025-03-20 09:05:31] Production.INFO: Invoice DetTotal 65.5 [2025-03-20 09:05:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="3G%20Print%20Group" [2025-03-20 09:05:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:05:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:05:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:05:43] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 9,UnitAmount : 10.000000,LineAmount : 90.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (9057621414 - 9225 Leslie St 5 Richmond Hill, ON L4B 3H6 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,"Description": "Friends & Family Discount",Quantity : 9,UnitAmount : -3.000000,LineAmount : -27.000000} [2025-03-20 09:05:46] Production.INFO: ==== result ===== [2025-03-20 09:05:46] Production.INFO: { "Id": "6eec7f4d-60cd-4a5f-89e5-88fa06814715", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475946606)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "833bc8e4-c76b-425e-927d-a8971a94b8f3", "InvoiceNumber": "INV11449", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 74.02, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "d4a36319-8eb8-433b-a39c-ded75fc85345", "ContactStatus": "ACTIVE", "Name": "3G Print Group", "FirstName": "Glenn", "LastName": "Shaw", "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(1657573744717+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-01T00:00:00", "Date": "\/Date(1738368000000+0000)\/", "DueDateString": "2025-03-03T00:00:00", "DueDate": "\/Date(1740960000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "License for a Pay As You Go Cloud Phone extension", "UnitAmount": 10.00, "TaxType": "TAX020", "TaxAmount": 11.70, "LineAmount": 90.00, "AccountCode": "203", "Tracking": [], "Quantity": 9.0000, "LineItemID": "690d5b6b-79ff-4917-af0e-a87403061617", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (9057621414 - 9225 Leslie St 5 Richmond Hill, ON L4B 3H6 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "f6f38aff-eae3-48e0-baa0-8136b965a65b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Friends & Family Discount", "UnitAmount": -3.00, "TaxType": "TAX020", "TaxAmount": -3.51, "LineAmount": -27.00, "AccountCode": "303", "Tracking": [], "Quantity": 9.0000, "LineItemID": "331ebf1b-fde8-42ac-a6c0-3718ed307784", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "ValidationErrors": [] } ], "SubTotal": 65.50, "TotalTax": 8.52, "Total": 74.02, "UpdatedDateUTC": "\/Date(1742475946577+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:05:46] Production.INFO: -- Create Invoice id --833bc8e4-c76b-425e-927d-a8971a94b8f3 [2025-03-20 09:05:46] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:05:46] Production.INFO: CheckInvoice xerov2: INV11450 [2025-03-20 09:05:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11450 [2025-03-20 09:05:49] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:05:49] Production.INFO: Invoice SubTotal 40.000000 [2025-03-20 09:05:49] Production.INFO: Invoice DetTotal 40 [2025-03-20 09:05:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Avani%20Rolls%20%26%20Bowls" [2025-03-20 09:05:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:05:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:05:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:06:01] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Restaurant - 2 Line Flat Rate",Quantity : 1,UnitAmount : 37.500000,LineAmount : 37.500000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (5198068000 - 802 Main Street East 6 Shelburne, ON L0N 1S4 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 09:06:05] Production.INFO: ==== result ===== [2025-03-20 09:06:05] Production.INFO: { "Id": "1da481f0-1033-4562-888c-02837f35ae5c", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475965272)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "a3e21b4b-9715-498c-8c9a-99950294f812", "InvoiceNumber": "INV11450", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 45.21, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "08d693ac-f648-4d13-baf5-18b2b59d959f", "ContactStatus": "ACTIVE", "Name": "Avani Rolls & Bowls", "FirstName": "Rishi", "LastName": "Kakar", "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(1666687333697+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-01T00:00:00", "Date": "\/Date(1738368000000+0000)\/", "DueDateString": "2025-03-03T00:00:00", "DueDate": "\/Date(1740960000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Restaurant - 2 Line Flat Rate", "UnitAmount": 37.50, "TaxType": "TAX020", "TaxAmount": 4.88, "LineAmount": 37.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "e5a15205-54af-4177-b85f-eb1cb4e697b4", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (5198068000 - 802 Main Street East 6 Shelburne, ON L0N 1S4 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "718a4246-4804-4988-bba1-481527228771", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 40.00, "TotalTax": 5.21, "Total": 45.21, "UpdatedDateUTC": "\/Date(1742475965227+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:06:05] Production.INFO: -- Create Invoice id --a3e21b4b-9715-498c-8c9a-99950294f812 [2025-03-20 09:06:05] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:06:05] Production.INFO: CheckInvoice xerov2: INV11452 [2025-03-20 09:06:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11452 [2025-03-20 09:06:08] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:06:08] Production.INFO: Invoice SubTotal 62.000000 [2025-03-20 09:06:08] Production.INFO: Invoice DetTotal 62 [2025-03-20 09:06:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="All%20Seasons%20Learning%20Center" [2025-03-20 09:06:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:06:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:06:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:06:20] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Managed IT: Workstation",Quantity : 1,UnitAmount : 62.000000,LineAmount : 62.000000} [2025-03-20 09:06:22] Production.INFO: ==== result ===== [2025-03-20 09:06:22] Production.INFO: { "Id": "07943dd8-2975-4de0-8a60-dbd7be6e2740", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475982341)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "d500b184-783c-4cd4-a624-7bab2d4f0cf9", "InvoiceNumber": "INV11452", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 70.06, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "680201a7-650c-4c24-b7d7-b8171bdcd911", "ContactNumber": "All Seasons Learning Center", "ContactStatus": "ACTIVE", "Name": "All Seasons Learning Center", "FirstName": "", "LastName": "", "EmailAddress": "mrixon@cogeco.ca", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "AddressLine1": "217 Townsend Street", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Peterborough", "Region": "ON", "PostalCode": "K9J 2K4", "Country": "CANADA", "AttentionTo": "" }, { "AddressType": "POBOX", "AddressLine1": "217 Townsend Street", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Peterborough", "Region": "ON", "PostalCode": "K9J 2K4", "Country": "CANADA", "AttentionTo": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "(705) 748-2262", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1719936269583+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "DefaultCurrency": "CAD", "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-01T00:00:00", "Date": "\/Date(1738368000000+0000)\/", "DueDateString": "2025-03-03T00:00:00", "DueDate": "\/Date(1740960000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Managed IT: Workstation", "UnitAmount": 62.00, "TaxType": "TAX020", "TaxAmount": 8.06, "LineAmount": 62.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "d38ea5b6-6bba-48cf-a08a-0877c65dace5", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 62.00, "TotalTax": 8.06, "Total": 70.06, "UpdatedDateUTC": "\/Date(1742475982280+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:06:22] Production.INFO: -- Create Invoice id --d500b184-783c-4cd4-a624-7bab2d4f0cf9 [2025-03-20 09:06:22] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:06:22] Production.INFO: CheckInvoice xerov2: INV11453 [2025-03-20 09:06:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11453 [2025-03-20 09:06:25] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:06:25] Production.INFO: Invoice SubTotal 202.800000 [2025-03-20 09:06:25] Production.INFO: Invoice DetTotal 202.8 [2025-03-20 09:06:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Keogh%20Construction" [2025-03-20 09:06:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:06:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:06:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:06:37] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Managed IT: Workstation",Quantity : 2,UnitAmount : 52.000000,LineAmount : 104.000000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Basic collaboration and productivity suite",Quantity : 8,UnitAmount : 8.100000,LineAmount : 64.800000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Standard collaboration and productivity suite",Quantity : 2,UnitAmount : 17.000000,LineAmount : 34.000000} [2025-03-20 09:06:40] Production.INFO: ==== result ===== [2025-03-20 09:06:40] Production.INFO: { "Id": "111d82b8-b91d-47b9-a9d6-cd63bf6845fd", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742476000799)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "e90e23e7-d82e-4d1a-9b9a-6bd9f40538a3", "InvoiceNumber": "INV11453", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 229.16, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "cad302ad-7c7e-456b-bcf1-bd7729cb22b7", "ContactNumber": "Keogh Construction", "ContactStatus": "ACTIVE", "Name": "Keogh Construction", "FirstName": "", "LastName": "", "EmailAddress": "", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "AddressLine1": "P.O. Box 534", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Alliston", "Region": "ON", "PostalCode": "L9R 1V7", "Country": "", "AttentionTo": "" }, { "AddressType": "POBOX", "AddressLine1": "P.O. Box 534", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Alliston", "Region": "ON", "PostalCode": "L9R 1V7", "Country": "", "AttentionTo": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "555-555-5555", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "(519) 942-4573", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1719936267550+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "DefaultCurrency": "CAD", "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-01T00:00:00", "Date": "\/Date(1738368000000+0000)\/", "DueDateString": "2025-03-03T00:00:00", "DueDate": "\/Date(1740960000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Managed IT: Workstation", "UnitAmount": 52.00, "TaxType": "TAX020", "TaxAmount": 13.52, "LineAmount": 104.00, "AccountCode": "203", "Tracking": [], "Quantity": 2.0000, "LineItemID": "145b6fbe-7fcd-4616-9c90-84ef74b10bb8", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft 365 Basic collaboration and productivity suite", "UnitAmount": 8.10, "TaxType": "TAX020", "TaxAmount": 8.42, "LineAmount": 64.80, "AccountCode": "250", "Tracking": [], "Quantity": 8.0000, "LineItemID": "4c5b82db-7e37-4542-986f-db605fb85461", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "Microsoft 365 Standard collaboration and productivity suite", "UnitAmount": 17.00, "TaxType": "TAX020", "TaxAmount": 4.42, "LineAmount": 34.00, "AccountCode": "250", "Tracking": [], "Quantity": 2.0000, "LineItemID": "81ccd05e-ca06-4061-9d29-2722362b2956", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] } ], "SubTotal": 202.80, "TotalTax": 26.36, "Total": 229.16, "UpdatedDateUTC": "\/Date(1742476000753+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:06:40] Production.INFO: -- Create Invoice id --e90e23e7-d82e-4d1a-9b9a-6bd9f40538a3 [2025-03-20 09:06:40] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:06:40] Production.INFO: CheckInvoice xerov2: INV11454 [2025-03-20 09:06:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11454 [2025-03-20 09:06:43] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:06:43] Production.INFO: Invoice SubTotal 900.970000 [2025-03-20 09:06:43] Production.INFO: Invoice DetTotal 900.97 [2025-03-20 09:06:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Natural%20Insect%20Control" [2025-03-20 09:06:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:06:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:06:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:06:55] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 204,"Description": "Managed Hosting: Wordpress (Deluxe) with Website Maintenance Package",Quantity : 1,UnitAmount : 69.770000,LineAmount : 69.770000},{taxType:"TAX020",AccountCode : 212,"Description": "IT: Managed Antivirus subscription (yearly pricing, billed monthly)",Quantity : 8,UnitAmount : 4.000000,LineAmount : 32.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Managed IT: Server (On-premises)",Quantity : 1,UnitAmount : 120.000000,LineAmount : 120.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Managed IT: Workstation (Full Time)",Quantity : 4,UnitAmount : 72.000000,LineAmount : 288.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Managed IT: Workstation (Part Time)",Quantity : 4,UnitAmount : 36.000000,LineAmount : 144.000000},{taxType:"TAX020",AccountCode : 250,"Description": "IT: Microsoft Office 365 - Business Basic subscription",Quantity : 12,UnitAmount : 8.100000,LineAmount : 97.200000},{taxType:"TAX020",AccountCode : 250,"Description": "IT: Microsoft Office 365 - Business Premium subscription",Quantity : 8,UnitAmount : 17.000000,LineAmount : 136.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Ironscales Basic Email Phishing Protection",Quantity : 4,UnitAmount : 3.500000,LineAmount : 14.000000} [2025-03-20 09:06:59] Production.INFO: ==== result ===== [2025-03-20 09:06:59] Production.INFO: { "Id": "1828fbd3-259a-470f-860c-5380625be524", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742476019101)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "62ca352c-d190-4060-b242-a81fd72ad100", "InvoiceNumber": "INV11454", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 1018.10, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "fcade0cf-7b43-4bfe-86cf-b6c9e33f1686", "ContactNumber": "Natural Insect Control", "ContactStatus": "ACTIVE", "Name": "Natural Insect Control", "FirstName": "", "LastName": "", "EmailAddress": "", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "AddressLine1": "3737 Netherby Road", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Stevensville", "Region": "ON", "PostalCode": "L0S 1S0", "Country": "", "AttentionTo": "" }, { "AddressType": "POBOX", "AddressLine1": "3737 Netherby Road", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Stevensville", "Region": "ON", "PostalCode": "L0S 1S0", "Country": "", "AttentionTo": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "(905) 3822904", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "(905) 3822904", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "9053243923", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1719936265023+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "DefaultCurrency": "CAD", "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-01T00:00:00", "Date": "\/Date(1738368000000+0000)\/", "DueDateString": "2025-03-03T00:00:00", "DueDate": "\/Date(1740960000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Managed Hosting: Wordpress (Deluxe) with Website Maintenance Package", "UnitAmount": 69.77, "TaxType": "TAX020", "TaxAmount": 9.07, "LineAmount": 69.77, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "a6950363-3b77-4357-aba6-b7a4a12f92e3", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "IT: Managed Antivirus subscription (yearly pricing, billed monthly)", "UnitAmount": 4.00, "TaxType": "TAX020", "TaxAmount": 4.16, "LineAmount": 32.00, "AccountCode": "212", "Tracking": [], "Quantity": 8.0000, "LineItemID": "eb932055-2efd-4b7f-8ec8-9946242107df", "AccountID": "f910948c-6e7a-46ea-91d4-60d5bab373c8", "ValidationErrors": [] }, { "Description": "Managed IT: Server (On-premises)", "UnitAmount": 120.00, "TaxType": "TAX020", "TaxAmount": 15.60, "LineAmount": 120.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "e475e55d-bc43-48ef-8b0a-e1c2725cbfc3", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Managed IT: Workstation (Full Time)", "UnitAmount": 72.00, "TaxType": "TAX020", "TaxAmount": 37.44, "LineAmount": 288.00, "AccountCode": "203", "Tracking": [], "Quantity": 4.0000, "LineItemID": "e1f6e143-9ce6-4f4e-96d2-fd5aea405d57", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Managed IT: Workstation (Part Time)", "UnitAmount": 36.00, "TaxType": "TAX020", "TaxAmount": 18.72, "LineAmount": 144.00, "AccountCode": "203", "Tracking": [], "Quantity": 4.0000, "LineItemID": "6fad3f09-8b6e-48a7-abc0-dc4076572aca", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "IT: Microsoft Office 365 - Business Basic subscription", "UnitAmount": 8.10, "TaxType": "TAX020", "TaxAmount": 12.64, "LineAmount": 97.20, "AccountCode": "250", "Tracking": [], "Quantity": 12.0000, "LineItemID": "4a88b305-aa00-4ee1-a519-fc8e5c793d9f", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "IT: Microsoft Office 365 - Business Premium subscription", "UnitAmount": 17.00, "TaxType": "TAX020", "TaxAmount": 17.68, "LineAmount": 136.00, "AccountCode": "250", "Tracking": [], "Quantity": 8.0000, "LineItemID": "3e326c6d-09df-46a1-a59b-b038270a8f60", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "Ironscales Basic Email Phishing Protection", "UnitAmount": 3.50, "TaxType": "TAX020", "TaxAmount": 1.82, "LineAmount": 14.00, "AccountCode": "203", "Tracking": [], "Quantity": 4.0000, "LineItemID": "b74bb424-aebe-4ad9-95fc-1ae5c0df2c14", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 900.97, "TotalTax": 117.13, "Total": 1018.10, "UpdatedDateUTC": "\/Date(1742476019053+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:06:59] Production.INFO: -- Create Invoice id --62ca352c-d190-4060-b242-a81fd72ad100 [2025-03-20 09:06:59] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:06:59] Production.INFO: CheckInvoice xerov2: INV50015 [2025-03-20 09:06:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV50015 [2025-03-20 09:07:02] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:07:02] Production.INFO: Invoice SubTotal 4620.030000 [2025-03-20 09:07:02] Production.INFO: Invoice DetTotal 4620.03 [2025-03-20 09:07:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc." [2025-03-20 09:07:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:07:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:07:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:07:14] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 31-12-2024 To 30-01-2025",Quantity : 1,UnitAmount : 7.510000,LineAmount : 7.510000},{taxType:"TAX020",AccountCode : 203,"Description": "Azure AD P1",Quantity : 45,UnitAmount : 9.240000,LineAmount : 415.800000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 37,UnitAmount : 7.500000,LineAmount : 277.500000},{taxType:"TAX020",AccountCode : 203,"Description": "Dropsuite Business Backup License",Quantity : 46,UnitAmount : 3.840000,LineAmount : 176.640000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14164793951 - 226 LESMILL RD TORONTO, ON M3B2T5)",Quantity : 1,UnitAmount : 2.700000,LineAmount : 2.700000},{taxType:"TAX020",AccountCode : 203,"Description": "Ironscales Basic Email Phishing Protection",Quantity : 44,UnitAmount : 3.850000,LineAmount : 169.400000},{taxType:"TAX020",AccountCode : 203,"Description": "M365 Power Automate subscription",Quantity : 1,UnitAmount : 19.100000,LineAmount : 19.100000},{taxType:"TAX020",AccountCode : 203,"Description": "Managed Network Device",Quantity : 13,UnitAmount : 10.500000,LineAmount : 136.500000},{taxType:"TAX020",AccountCode : 203,"Description": "Management of server",Quantity : 1,UnitAmount : 120.000000,LineAmount : 120.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Managed Workstation",Quantity : 38,UnitAmount : 58.000000,LineAmount : 2204.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Microsoft 365 Audio Conferencing",Quantity : 1,UnitAmount : 6.150000,LineAmount : 6.150000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Basic collaboration and productivity suite",Quantity : 17,UnitAmount : 8.100000,LineAmount : 137.700000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Standard collaboration and productivity suite",Quantity : 42,UnitAmount : 17.000000,LineAmount : 714.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Microsoft Azure Information Protection P1",Quantity : 1,UnitAmount : 4.150000,LineAmount : 4.150000},{taxType:"TAX020",AccountCode : 203,"Description": "Microsoft Exchange Online Archiving",Quantity : 4,UnitAmount : 5.000000,LineAmount : 20.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Microsoft Intune Per Device",Quantity : 1,UnitAmount : 3.400000,LineAmount : 3.400000},{taxType:"TAX020",AccountCode : 203,"Description": "Microsoft 365 Visio",Quantity : 1,UnitAmount : 20.280000,LineAmount : 20.280000},{taxType:"TAX020",AccountCode : 203,"Description": "Microsoft 365 Project Pro",Quantity : 1,UnitAmount : 40.550000,LineAmount : 40.550000},{taxType:"TAX020",AccountCode : 203,"Description": "Microsoft 365 ProPlus",Quantity : 1,UnitAmount : 16.900000,LineAmount : 16.900000},{taxType:"TAX020",AccountCode : 203,"Description": "Microsoft 365 Extra File Storage (per GB)",Quantity : 200,UnitAmount : 0.320000,LineAmount : 64.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Production Line Machine Access",Quantity : 17,UnitAmount : 3.750000,LineAmount : 63.750000} [2025-03-20 09:07:17] Production.INFO: ==== result ===== [2025-03-20 09:07:17] Production.INFO: { "Id": "17f2b702-eefc-425d-9dcd-4be51486be02", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742476037399)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "9affbe09-f216-4984-b785-d9f20b1a36e8", "InvoiceNumber": "INV50015", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 5220.64, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "c5a4d0ce-0d87-4131-b0d8-9808badfe70b", "ContactNumber": "Clek Inc.", "ContactStatus": "ACTIVE", "Name": "Clek Inc.", "FirstName": "", "LastName": "", "EmailAddress": "", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "AddressLine1": "226 Lesmill Road", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Toronto", "Region": "ON", "PostalCode": "M3B2T5", "Country": "CANADA", "AttentionTo": "" }, { "AddressType": "POBOX", "AddressLine1": "226 Lesmill Road", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Toronto", "Region": "ON", "PostalCode": "M3B2T5", "Country": "CANADA", "AttentionTo": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "4164793951", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "4164793951,123", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1719936258400+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "DefaultCurrency": "CAD", "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-31T00:00:00", "Date": "\/Date(1738281600000+0000)\/", "DueDateString": "2025-03-02T00:00:00", "DueDate": "\/Date(1740873600000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 31-12-2024 To 30-01-2025", "UnitAmount": 7.51, "TaxType": "TAX020", "TaxAmount": 0.98, "LineAmount": 7.51, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "d0c01fb2-1de1-4786-8c4b-374a316f053d", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Azure AD P1", "UnitAmount": 9.24, "TaxType": "TAX020", "TaxAmount": 54.05, "LineAmount": 415.80, "AccountCode": "203", "Tracking": [], "Quantity": 45.0000, "LineItemID": "9315638a-d804-4fe4-bf08-0914f617c0a1", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "License for a Pay As You Go Cloud Phone extension", "UnitAmount": 7.50, "TaxType": "TAX020", "TaxAmount": 36.08, "LineAmount": 277.50, "AccountCode": "203", "Tracking": [], "Quantity": 37.0000, "DiscountRate": 0.00, "LineItemID": "4e36de55-27cb-4d93-9ffa-42cb070c2cf0", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Dropsuite Business Backup License", "UnitAmount": 3.84, "TaxType": "TAX020", "TaxAmount": 22.96, "LineAmount": 176.64, "AccountCode": "203", "Tracking": [], "Quantity": 46.0000, "LineItemID": "4c0214a1-09ac-45e7-baef-cfb0ce02266d", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (14164793951 - 226 LESMILL RD TORONTO, ON M3B2T5)", "UnitAmount": 2.70, "TaxType": "TAX020", "TaxAmount": 0.35, "LineAmount": 2.70, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "654dc21b-c249-4e72-b639-b576ab687740", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Ironscales Basic Email Phishing Protection", "UnitAmount": 3.85, "TaxType": "TAX020", "TaxAmount": 22.02, "LineAmount": 169.40, "AccountCode": "203", "Tracking": [], "Quantity": 44.0000, "LineItemID": "f6b53bbf-9ec2-4a7f-a99e-777b906d877e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "M365 Power Automate subscription", "UnitAmount": 19.10, "TaxType": "TAX020", "TaxAmount": 2.48, "LineAmount": 19.10, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "28eebd81-f5a8-401b-8373-a2b3631dac8e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Managed Network Device", "UnitAmount": 10.50, "TaxType": "TAX020", "TaxAmount": 17.75, "LineAmount": 136.50, "AccountCode": "203", "Tracking": [], "Quantity": 13.0000, "LineItemID": "b21c9802-64f7-4d26-bb79-074ac39b0269", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Management of server", "UnitAmount": 120.00, "TaxType": "TAX020", "TaxAmount": 15.60, "LineAmount": 120.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "311bf032-acce-4657-9d2e-591beb8d4dc4", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Managed Workstation", "UnitAmount": 58.00, "TaxType": "TAX020", "TaxAmount": 286.52, "LineAmount": 2204.00, "AccountCode": "203", "Tracking": [], "Quantity": 38.0000, "LineItemID": "37f38349-b892-4908-aae4-6815c0597785", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft 365 Audio Conferencing", "UnitAmount": 6.15, "TaxType": "TAX020", "TaxAmount": 0.80, "LineAmount": 6.15, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "6175bff1-26cf-4fa4-a007-10ede12c5cac", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft 365 Basic collaboration and productivity suite", "UnitAmount": 8.10, "TaxType": "TAX020", "TaxAmount": 17.90, "LineAmount": 137.70, "AccountCode": "250", "Tracking": [], "Quantity": 17.0000, "LineItemID": "51041571-f51f-43b2-bad4-8c51987c64b4", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "Microsoft 365 Standard collaboration and productivity suite", "UnitAmount": 17.00, "TaxType": "TAX020", "TaxAmount": 92.82, "LineAmount": 714.00, "AccountCode": "250", "Tracking": [], "Quantity": 42.0000, "LineItemID": "5c9b1789-551c-4931-9c99-ab844c183213", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "Microsoft Azure Information Protection P1", "UnitAmount": 4.15, "TaxType": "TAX020", "TaxAmount": 0.54, "LineAmount": 4.15, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "f0c56d5b-fb39-4345-88fd-f28a6f32beb3", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft Exchange Online Archiving", "UnitAmount": 5.00, "TaxType": "TAX020", "TaxAmount": 2.60, "LineAmount": 20.00, "AccountCode": "203", "Tracking": [], "Quantity": 4.0000, "LineItemID": "3bfa9542-d1e0-427e-a51f-99d58bbdf468", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft Intune Per Device", "UnitAmount": 3.40, "TaxType": "TAX020", "TaxAmount": 0.44, "LineAmount": 3.40, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "7c412a3f-42ce-4ff5-85e3-8b84571549d7", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft 365 Visio", "UnitAmount": 20.28, "TaxType": "TAX020", "TaxAmount": 2.64, "LineAmount": 20.28, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "7456a8ca-49dc-4acd-bda1-6a1a65ea8241", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft 365 Project Pro", "UnitAmount": 40.55, "TaxType": "TAX020", "TaxAmount": 5.27, "LineAmount": 40.55, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "eb3c4077-c468-41ad-aa0d-aea567846bbc", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft 365 ProPlus", "UnitAmount": 16.90, "TaxType": "TAX020", "TaxAmount": 2.20, "LineAmount": 16.90, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "ce8e6821-a580-4fd4-8e66-7f13b1c491e9", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft 365 Extra File Storage (per GB)", "UnitAmount": 0.32, "TaxType": "TAX020", "TaxAmount": 8.32, "LineAmount": 64.00, "AccountCode": "203", "Tracking": [], "Quantity": 200.0000, "LineItemID": "e7209f09-1fbe-4cac-ba67-16b7e1ae0c79", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Production Line Machine Access", "UnitAmount": 3.75, "TaxType": "TAX020", "TaxAmount": 8.29, "LineAmount": 63.75, "AccountCode": "203", "Tracking": [], "Quantity": 17.0000, "LineItemID": "845ae554-6496-4a88-b87b-6dea3215eee8", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 4620.03, "TotalTax": 600.61, "Total": 5220.64, "UpdatedDateUTC": "\/Date(1742476037320+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:07:17] Production.INFO: -- Create Invoice id --9affbe09-f216-4984-b785-d9f20b1a36e8 [2025-03-20 09:07:17] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:07:17] Production.INFO: CheckInvoice xerov2: INV11435 [2025-03-20 09:07:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11435 [2025-03-20 09:07:20] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:07:20] Production.INFO: Invoice SubTotal 91.530000 [2025-03-20 09:07:20] Production.INFO: Invoice DetTotal 91.53 [2025-03-20 09:07:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Lions%20Auto%20Protection" [2025-03-20 09:07:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:07:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:07:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:07:33] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 12-31-2024 To 01-30-2025",Quantity : 1,UnitAmount : 29.030000,LineAmount : 29.030000},{taxType:"TAX020",AccountCode : 203,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 6,UnitAmount : 10.000000,LineAmount : 60.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (9056299698 - 1 Greensborough Drive, Suite 300, Etobicoke, ON M9W1C8)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 09:07:36] Production.INFO: ==== result ===== [2025-03-20 09:07:36] Production.INFO: { "Id": "226d6610-829d-44a4-a0b3-9dd299b9f449", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742476056193)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "2a07052c-d6a4-4dc5-bbe7-c629f10e546c", "InvoiceNumber": "INV11435", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 103.43, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "173facd8-68c9-4e18-bac1-f10f211f33e1", "ContactStatus": "ACTIVE", "Name": "Lions Auto Protection", "FirstName": "Krystyne", "LastName": "V.", "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(1696242146763+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-31T00:00:00", "Date": "\/Date(1738281600000+0000)\/", "DueDateString": "2025-03-02T00:00:00", "DueDate": "\/Date(1740873600000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 12-31-2024 To 01-30-2025", "UnitAmount": 29.03, "TaxType": "TAX020", "TaxAmount": 3.77, "LineAmount": 29.03, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "3d8f7691-4de5-4a47-83be-58227259fe25", "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": 7.80, "LineAmount": 60.00, "AccountCode": "203", "Tracking": [], "Quantity": 6.0000, "LineItemID": "f2a89628-9957-44fb-bb8c-4d5e8623ced2", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (9056299698 - 1 Greensborough Drive, Suite 300, Etobicoke, ON M9W1C8)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "06f2b618-c806-491a-af99-4d5366f24110", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 91.53, "TotalTax": 11.90, "Total": 103.43, "UpdatedDateUTC": "\/Date(1742476056163+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:07:36] Production.INFO: -- Create Invoice id --2a07052c-d6a4-4dc5-bbe7-c629f10e546c [2025-03-20 09:07:36] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:07:36] Production.INFO: CheckInvoice xerov2: INV11433 [2025-03-20 09:07:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11433 [2025-03-20 09:07:39] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:07:39] Production.INFO: Invoice SubTotal 32.500000 [2025-03-20 09:07:39] Production.INFO: Invoice DetTotal 32.5 [2025-03-20 09:07:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="PharmaSave%20%28Oak%20Tree%20Medical%29" [2025-03-20 09:07:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:07:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:07:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:07:50] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Retail Phone Service - 3 Channels Dedicated/Burst to 5 Channels",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (9058521007 - 4B Campbell Drive, Unit 1, Uxbridge, ON L9P1H6)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,"Description": "Discount - Friends and Family (Doug Geary referral)",Quantity : 1,UnitAmount : -45.000000,LineAmount : -45.000000} [2025-03-20 09:07:53] Production.INFO: ==== result ===== [2025-03-20 09:07:53] Production.INFO: { "Id": "643432da-4e88-47a9-b8b9-554861e41c01", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742476073670)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "68f3beb7-5acd-47b7-a5fb-e0772465c39a", "InvoiceNumber": "INV11433", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 36.73, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "dd008964-6378-4903-b54b-a7b8eb03f05f", "ContactStatus": "ACTIVE", "Name": "PharmaSave (Oak Tree Medical)", "FirstName": "Sameer", "LastName": "Remtulla", "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(1666687158210+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-30T00:00:00", "Date": "\/Date(1738195200000+0000)\/", "DueDateString": "2025-03-01T00:00:00", "DueDate": "\/Date(1740787200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Retail Phone Service - 3 Channels Dedicated/Burst to 5 Channels", "UnitAmount": 75.00, "TaxType": "TAX020", "TaxAmount": 9.75, "LineAmount": 75.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "2d610606-27bf-4364-b3d3-0f977b08515a", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (9058521007 - 4B Campbell Drive, Unit 1, Uxbridge, ON L9P1H6)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "3e9fc1cf-c2e0-4735-b493-b9d1c980264f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Discount - Friends and Family (Doug Geary referral)", "UnitAmount": -45.00, "TaxType": "TAX020", "TaxAmount": -5.85, "LineAmount": -45.00, "AccountCode": "303", "Tracking": [], "Quantity": 1.0000, "LineItemID": "3c73bdba-e76a-46b5-8ea9-47ca7f69ad0f", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "ValidationErrors": [] } ], "SubTotal": 32.50, "TotalTax": 4.23, "Total": 36.73, "UpdatedDateUTC": "\/Date(1742476073607+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:07:53] Production.INFO: -- Create Invoice id --68f3beb7-5acd-47b7-a5fb-e0772465c39a [2025-03-20 09:07:53] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:07:53] Production.INFO: CheckInvoice xerov2: INV11434 [2025-03-20 09:07:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11434 [2025-03-20 09:07:56] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:07:56] Production.INFO: Invoice SubTotal 52.500000 [2025-03-20 09:07:56] Production.INFO: Invoice DetTotal 52.5 [2025-03-20 09:07:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010459%20%28Sandeep%20Chaudhari%29" [2025-03-20 09:07:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:08:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:08:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:08:07] 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 (5194424400 - 308 Grand River Street North 3 Paris, ON N3L 3R7 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,"Description": "Provides a $5/store/month discount when 5+ stores have OnSwitch Cloud Phone service",Quantity : 1,UnitAmount : -25.000000,LineAmount : -25.000000} [2025-03-20 09:08:11] Production.INFO: ==== result ===== [2025-03-20 09:08:11] Production.INFO: { "Id": "7a2f39ba-8021-4b02-bb60-83a784303a56", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742476091013)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "11ddb27e-732a-413d-b76e-64dfb4424df9", "InvoiceNumber": "INV11434", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 59.33, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "9e4e5c67-a78f-406f-bfd6-d013ce749c4a", "ContactStatus": "ACTIVE", "Name": "Dominos 10459 (Sandeep Chaudhari)", "FirstName": "Sandeep", "LastName": "Chaudhari", "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(1697457604537+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-30T00:00:00", "Date": "\/Date(1738195200000+0000)\/", "DueDateString": "2025-03-01T00:00:00", "DueDate": "\/Date(1740787200000+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": "2dbdf2d1-28d5-47f0-a041-f0dcb93f98a0", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (5194424400 - 308 Grand River Street North 3 Paris, ON N3L 3R7 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "6048843d-b539-42d8-a1ad-b3a7434d061a", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Provides a $5/store/month discount when 5+ stores have OnSwitch Cloud Phone service", "UnitAmount": -25.00, "TaxType": "TAX020", "TaxAmount": -3.25, "LineAmount": -25.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "636b48ad-6e0a-43b5-8624-d490a0eec75f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 6.83, "Total": 59.33, "UpdatedDateUTC": "\/Date(1742476090950+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:08:11] Production.INFO: -- Create Invoice id --11ddb27e-732a-413d-b76e-64dfb4424df9 [2025-03-20 09:08:11] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:08:11] Production.INFO: CheckInvoice xerov2: INV11431 [2025-03-20 09:08:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11431 [2025-03-20 09:08:14] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:08:14] Production.INFO: Invoice SubTotal 170.000000 [2025-03-20 09:08:14] Production.INFO: Invoice DetTotal 170 [2025-03-20 09:08:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010443%20%28Ricky%20Singh%29" [2025-03-20 09:08:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:08:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:08:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:08:26] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 60.000000,LineAmount : 60.000000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "VDSL Internet Service (54 Brock St. W. Unit 2 Uxbridge, ON L9P 1P4 Canada)",Quantity : 1,UnitAmount : 73.420000,LineAmount : 73.420000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "LTE Internet Failover Service (54 Brock St. W. Unit 2 Uxbridge, ON L9P 1P4 Canada)",Quantity : 1,UnitAmount : 51.580000,LineAmount : 51.580000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",Quantity : 3,UnitAmount : -5.000000,LineAmount : -15.000000} [2025-03-20 09:08:29] Production.INFO: ==== result ===== [2025-03-20 09:08:29] Production.INFO: { "Id": "11dbc961-0069-4d53-8992-9d5a9ae2f856", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742476109446)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "6e70cd1c-f687-48b7-9cce-d0ec3a08cca8", "InvoiceNumber": "INV11431", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 192.10, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "21dc8586-f1ab-42cc-9c64-94234cb72e84", "ContactStatus": "ACTIVE", "Name": "Dominos 10443 (Ricky Singh)", "FirstName": "Ricky", "LastName": "Singh", "EmailAddress": "ricky_bhawar@yahoo.com", "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(1562267972817+0000)\/", "ContactGroups": [ { "ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58", "Name": "Benjamin's Customers", "Status": "ACTIVE", "Contacts": [], "HasValidationErrors": false } ], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-29T00:00:00", "Date": "\/Date(1738108800000+0000)\/", "DueDateString": "2025-02-28T00:00:00", "DueDate": "\/Date(1740700800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Restaurant - 4 Line Flat Rate", "UnitAmount": 60.00, "TaxType": "TAX020", "TaxAmount": 7.80, "LineAmount": 60.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "46510131-1a44-4bb1-8c12-8b6ac2ea9bfe", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "VDSL Internet Service (54 Brock St. W. Unit 2 Uxbridge, ON L9P 1P4 Canada)", "UnitAmount": 73.42, "TaxType": "TAX020", "TaxAmount": 9.54, "LineAmount": 73.42, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "e536b480-e875-454f-808c-7ebddc6df1a0", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "LTE Internet Failover Service (54 Brock St. W. Unit 2 Uxbridge, ON L9P 1P4 Canada)", "UnitAmount": 51.58, "TaxType": "TAX020", "TaxAmount": 6.71, "LineAmount": 51.58, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "c7480cfe-afbf-4bc1-b250-2d6c8df3e9d6", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service", "UnitAmount": -5.00, "TaxType": "TAX020", "TaxAmount": -1.95, "LineAmount": -15.00, "AccountCode": "303", "Tracking": [], "Quantity": 3.0000, "DiscountRate": 0.00, "LineItemID": "a53fd344-f8b5-4f81-ad99-f6b2e57acbf1", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 170.00, "TotalTax": 22.10, "Total": 192.10, "UpdatedDateUTC": "\/Date(1742476109233+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:08:29] Production.INFO: -- Create Invoice id --6e70cd1c-f687-48b7-9cce-d0ec3a08cca8 [2025-03-20 09:08:29] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:08:29] Production.INFO: CheckInvoice xerov2: INV11432 [2025-03-20 09:08:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11432 [2025-03-20 09:08:32] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:08:32] Production.INFO: Invoice SubTotal 181.740000 [2025-03-20 09:08:32] Production.INFO: Invoice DetTotal 181.74 [2025-03-20 09:08:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010416%20%28David%20Mills%29" [2025-03-20 09:08:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:08:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:08:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:08:44] 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 (9058564244 - 4585 Highway 7 Unit 18 Woodbridge, ON L4L 9T8 CANADA)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "VDSL Internet Service (4585 Highway 7, Unit 18 Woodbridge, ON L4L 9T8 CANADA)",Quantity : 1,UnitAmount : 72.660000,LineAmount : 72.660000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "LTE Internet Failover Service (4585 Highway 7, Unit 18 Woodbridge, ON L4L 9T8 CANADA)",Quantity : 1,UnitAmount : 51.580000,LineAmount : 51.580000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 4,UnitAmount : -5.000000,LineAmount : -20.000000} [2025-03-20 09:08:48] Production.INFO: ==== result ===== [2025-03-20 09:08:48] Production.INFO: { "Id": "ed0c25de-fa6f-4aad-87e4-22be9c030c1c", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742476128261)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "af6c8101-d70e-44e0-be07-191af533a155", "InvoiceNumber": "INV11432", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 205.38, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "f7785be9-5933-4338-9f5d-47dda0ca47b7", "ContactStatus": "ACTIVE", "Name": "Dominos 10416 (David Mills)", "FirstName": "David", "LastName": "Mills", "EmailAddress": "david@teamtenfold.com", "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(1580833879373+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-29T00:00:00", "Date": "\/Date(1738108800000+0000)\/", "DueDateString": "2025-02-28T00:00:00", "DueDate": "\/Date(1740700800000+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": "fb0b269c-333c-4a21-9900-3559aea327f8", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (9058564244 - 4585 Highway 7 Unit 18 Woodbridge, ON L4L 9T8 CANADA)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "cae92192-30c6-489e-9dbe-6b082d68f313", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "VDSL Internet Service (4585 Highway 7, Unit 18 Woodbridge, ON L4L 9T8 CANADA)", "UnitAmount": 72.66, "TaxType": "TAX020", "TaxAmount": 9.45, "LineAmount": 72.66, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "6d528553-84ac-48d7-afa1-afad7da69374", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "LTE Internet Failover Service (4585 Highway 7, Unit 18 Woodbridge, ON L4L 9T8 CANADA)", "UnitAmount": 51.58, "TaxType": "TAX020", "TaxAmount": 6.71, "LineAmount": 51.58, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "1fe2eb24-4459-4fd3-855d-a3cbc73d5d54", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "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": -2.60, "LineAmount": -20.00, "AccountCode": "303", "Tracking": [], "Quantity": 4.0000, "DiscountRate": 0.00, "LineItemID": "17a6d663-f473-487e-b6ff-f5f9f3cb4c8a", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 181.74, "TotalTax": 23.64, "Total": 205.38, "UpdatedDateUTC": "\/Date(1742476128183+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:08:48] Production.INFO: -- Create Invoice id --af6c8101-d70e-44e0-be07-191af533a155 [2025-03-20 09:08:48] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:08:48] Production.INFO: CheckInvoice xerov2: INV11426 [2025-03-20 09:08:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11426 [2025-03-20 09:08:51] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:08:51] Production.INFO: Invoice SubTotal 17.850000 [2025-03-20 09:08:51] Production.INFO: Invoice DetTotal 17.85 [2025-03-20 09:08:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harding%20Security" [2025-03-20 09:08:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:08:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:09:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:09:03] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 1,UnitAmount : 23.000000,LineAmount : 23.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14169257474 - 70 SHAFTESBURY AVE TORONTO, ON M4T1A3)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Loyalty Discount",Quantity : 1,UnitAmount : -7.650000,LineAmount : -7.650000} [2025-03-20 09:09:07] Production.INFO: ==== result ===== [2025-03-20 09:09:07] Production.INFO: { "Id": "59f87baa-2e75-4d51-a7f1-15748a2e1be5", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742476147258)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "8eaf2879-c1b7-483c-a055-acb278fb6e65", "InvoiceNumber": "INV11426", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 20.18, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "631aa009-5337-4bbb-817f-724f7ca5f6db", "ContactStatus": "ACTIVE", "Name": "Harding Security", "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(1562268171973+0000)\/", "ContactGroups": [ { "ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58", "Name": "Benjamin's Customers", "Status": "ACTIVE", "Contacts": [], "HasValidationErrors": false } ], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-28T00:00:00", "Date": "\/Date(1738022400000+0000)\/", "DueDateString": "2025-02-27T00:00:00", "DueDate": "\/Date(1740614400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "License for an Unlimited Canada/US Cloud Phone extension", "UnitAmount": 23.00, "TaxType": "TAX020", "TaxAmount": 2.99, "LineAmount": 23.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "21aedf06-02e2-4bef-82fe-239caa4b920f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (14169257474 - 70 SHAFTESBURY AVE TORONTO, ON M4T1A3)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "2beac0d7-9a81-4804-95ad-8cb711c2c4ac", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Loyalty Discount", "UnitAmount": -7.65, "TaxType": "TAX020", "TaxAmount": -0.99, "LineAmount": -7.65, "AccountCode": "303", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "7e11aa13-9299-49cd-98c2-d9fd82b68dde", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 17.85, "TotalTax": 2.33, "Total": 20.18, "UpdatedDateUTC": "\/Date(1742476147213+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:09:07] Production.INFO: -- Create Invoice id --8eaf2879-c1b7-483c-a055-acb278fb6e65 [2025-03-20 09:09:07] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:09:07] Production.INFO: CheckInvoice xerov2: INV11427 [2025-03-20 09:09:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11427 [2025-03-20 09:09:10] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:09:10] Production.INFO: Invoice SubTotal 16.730000 [2025-03-20 09:09:10] Production.INFO: Invoice DetTotal 16.73 [2025-03-20 09:09:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Cathim%20Inc" [2025-03-20 09:09:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:09:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:09:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:09:26] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 12-28-2024 To 01-27-2025",Quantity : 1,UnitAmount : 6.730000,LineAmount : 6.730000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18889888860)",Quantity : 1,UnitAmount : 10.000000,LineAmount : 10.000000} [2025-03-20 09:09:30] Production.INFO: ==== result ===== [2025-03-20 09:09:30] Production.INFO: { "Id": "f46654f5-4421-4589-a300-a03e6d79d141", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742476170321)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "d7d06515-a62a-4e30-bd7a-bd6611e84343", "InvoiceNumber": "INV11427", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 18.90, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "b3a32be3-34a8-47ed-9add-6507ade181ac", "ContactStatus": "ACTIVE", "Name": "Cathim Inc", "FirstName": "Jim", "LastName": "Norfolk", "EmailAddress": "jim@cathim.com", "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(1551296572893+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-28T00:00:00", "Date": "\/Date(1738022400000+0000)\/", "DueDateString": "2025-02-27T00:00:00", "DueDate": "\/Date(1740614400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 12-28-2024 To 01-27-2025", "UnitAmount": 6.73, "TaxType": "TAX020", "TaxAmount": 0.87, "LineAmount": 6.73, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "4ecd73dd-e1c4-4727-afc2-e5eb35456bce", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (18889888860)", "UnitAmount": 10.00, "TaxType": "TAX020", "TaxAmount": 1.30, "LineAmount": 10.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "44beb021-5e1d-4c10-83ce-21478d15e67c", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 16.73, "TotalTax": 2.17, "Total": 18.90, "UpdatedDateUTC": "\/Date(1742476170257+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:09:30] Production.INFO: -- Create Invoice id --d7d06515-a62a-4e30-bd7a-bd6611e84343 [2025-03-20 09:09:30] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:09:30] Production.INFO: CheckInvoice xerov2: INV11428 [2025-03-20 09:09:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11428 [2025-03-20 09:09:33] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:09:33] Production.INFO: Invoice SubTotal 62.500000 [2025-03-20 09:09:33] Production.INFO: Invoice DetTotal 62.5 [2025-03-20 09:09:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039017%20%28Mudassar%20Zia%29" [2025-03-20 09:09:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:09:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:09:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:09:44] Production.INFO: =========Invoices String here======{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "Dominos Pizza - 4 Line Flat Rate with $5 discount (3+ stores)",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14035478500 - 929 17 Ave SW Calgary, AB T2T 0A4 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX012",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 3,UnitAmount : -5.000000,LineAmount : -15.000000} [2025-03-20 09:09:48] Production.INFO: ==== result ===== [2025-03-20 09:09:48] Production.INFO: { "Id": "f0d6d549-cf77-43db-b565-2a46372d2505", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742476188027)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "bd9dc32f-fedd-4e3b-99c0-e790296ec52f", "InvoiceNumber": "INV11428", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 65.63, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "5f89a930-66a1-45ba-8124-8b5cbb0531bb", "ContactStatus": "ACTIVE", "Name": "Dominos 39017 (Mudassar Zia)", "FirstName": "Mudassar", "LastName": "Zia", "EmailAddress": "mudasarzia@gmail.com", "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(1580833878733+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-28T00:00:00", "Date": "\/Date(1738022400000+0000)\/", "DueDateString": "2025-02-27T00:00:00", "DueDate": "\/Date(1740614400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Dominos Pizza - 4 Line Flat Rate with $5 discount (3+ stores)", "UnitAmount": 75.00, "TaxType": "TAX012", "TaxAmount": 3.75, "LineAmount": 75.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "41955407-3a76-40b7-a626-1d44f649fea9", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (14035478500 - 929 17 Ave SW Calgary, AB T2T 0A4 Canada)", "UnitAmount": 2.50, "TaxType": "TAX012", "TaxAmount": 0.13, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "ed9936cb-ebea-4d1b-8a39-9403061c7301", "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": "TAX012", "TaxAmount": -0.75, "LineAmount": -15.00, "AccountCode": "303", "Tracking": [], "Quantity": 3.0000, "DiscountRate": 0.00, "LineItemID": "14119666-4c0b-457e-be07-512d573910cc", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 62.50, "TotalTax": 3.13, "Total": 65.63, "UpdatedDateUTC": "\/Date(1742476187980+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:09:48] Production.INFO: -- Create Invoice id --bd9dc32f-fedd-4e3b-99c0-e790296ec52f [2025-03-20 09:09:48] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:09:48] Production.INFO: -- Xero End Inovice -- [2025-03-20 09:09:48] Production.INFO: ==2392== Releasing lock... [2025-03-20 09:09:48] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10801 #Stops# [2025-03-20 09:09:48] Production.INFO: 33.75 MB #Memory Used#