[2025-03-20 07:07:04] Production.INFO: -- Xero Api Check -- [2025-03-20 07:07:06] Production.INFO: -- curl info --Array ( [url] => https://identity.xero.com/connect/token [content_type] => application/json; charset=UTF-8 [http_code] => 200 [header_size] => 856 [request_size] => 352 [filetime] => -1 [ssl_verify_result] => 0 [redirect_count] => 0 [total_time] => 1.580418 [namelookup_time] => 0.531468 [connect_time] => 0.606586 [pretransfer_time] => 0.985623 [size_upload] => 82 [size_download] => 2755 [speed_download] => 1743 [speed_upload] => 51 [download_content_length] => 2755 [upload_content_length] => 82 [starttransfer_time] => 1.580342 [redirect_time] => 0 [redirect_url] => [primary_ip] => 2.21.67.32 [certinfo] => Array ( ) [primary_port] => 443 [local_ip] => 54.39.180.235 [local_port] => 52580 ) [2025-03-20 07:07:06] Production.INFO: -- connection successfully here --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0Njg4MjUsImV4cCI6MTc0MjQ2OTEyNSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzQyNDY4ODI1LCJhdF9oYXNoIjoiYXF5WFZINFFXVUtwMWwtOW1sY0tKQSIsInN1YiI6Ijc1NGMxN2Q3MTA0YTUxODViYjEyZmM5ODFiN2VlMzliIiwiYXV0aF90aW1lIjoxNzQyNDY2MzA1LCJ4ZXJvX3VzZXJpZCI6IjFiOGM2ODExLTJmMGItNGU3Mi05Y2JhLTY5ZDVlM2RmOTEyYyIsImdsb2JhbF9zZXNzaW9uX2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJzaWQiOiI5ZWFmZGExM2Y5NWE0NmJjODI2Yzc4N2IxZTRjNWY1MCIsInByZWZlcnJlZF91c2VybmFtZSI6Imx5bmRhQGNsb3VkbWViLmNvbSIsImVtYWlsIjoibHluZGFAY2xvdWRtZWIuY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.RbJ42kCGAj_pLTyqIjO4a3AD23HXGqDbZO1pYZroS1IpcshpUitClXBGNphcJbS6xOrK72KA4foQBZbD6w27782WzogLkop0MFRMtqoAT41eZJz4sQM5DUcJNtSj-zRM7YkZs9XDker65e_xCCMVcZ-Jp_9OalEOMY5zMbg5POSnBmdIptJrEEO92QYxic06UU5csn9bkGfFMs83a80D_ya4pIgkH77Pd00kRW6IndZvnMHUxbBeugLb6lIxgTWpqj0S_IPXhA-C6XjANVJviDFpAhhlRECyrO3tX5OK1sa3hrRxWdDML0rWCye4dsWNtzAWJdFWTJ2xJCHu-IkO6g [access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0Njg4MjUsImV4cCI6MTc0MjQ3MDYyNSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI3NTRjMTdkNzEwNGE1MTg1YmIxMmZjOTgxYjdlZTM5YiIsImF1dGhfdGltZSI6MTc0MjQ2NjMwNSwieGVyb191c2VyaWQiOiIxYjhjNjgxMS0yZjBiLTRlNzItOWNiYS02OWQ1ZTNkZjkxMmMiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6IjllYWZkYTEzZjk1YTQ2YmM4MjZjNzg3YjFlNGM1ZjUwIiwic2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJqdGkiOiIyNUNEQkY1RjBBNTRGMjlDNjBDNUE2RjU4Qzg3NzMyQSIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiMGZlNDU1NWEtNmNkMy00YjFkLTljNjEtMzAzMjBmMjBmZGFkIiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.Ps-72RFV22tUimcBnu-UzmaTRFdPixdalqSVEikKuheDxaTmBVC_Ied00-ae-7h86-HR-6AIdnMtWiHgnh67-aRpLhgP0rwaOsu3RjEcJbX2oRTf_kxhvp7_T3bRvTkEbKX7Db_SiXoCMFzNDWfZhMZKa0Jl0xq9DKkLAfxbdFyjsk-Bob28Z0QZLVVW0Kx3eSx5RoiBhEZKhrjTsiwcXgkeFp9_prNVYDCAp8UcDg3jK3UxWIKJo7jSzmkx6_a-mq3bw2p6vYN_GOECiYSyAURfwbTtYeteAe4wCLIE4WIRBYf9h-1lYc2HMfTi3oSmit32kQBSa-R1TCWwB0LMsw [expires_in] => 1800 [token_type] => Bearer [refresh_token] => K7xT0OEYNt_rT46vmD034YPh6IqJ5PqtgU4SoT8b34o [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-03-20 07:07:06] Production.INFO: -- connection successfully --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0Njg4MjUsImV4cCI6MTc0MjQ2OTEyNSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzQyNDY4ODI1LCJhdF9oYXNoIjoiYXF5WFZINFFXVUtwMWwtOW1sY0tKQSIsInN1YiI6Ijc1NGMxN2Q3MTA0YTUxODViYjEyZmM5ODFiN2VlMzliIiwiYXV0aF90aW1lIjoxNzQyNDY2MzA1LCJ4ZXJvX3VzZXJpZCI6IjFiOGM2ODExLTJmMGItNGU3Mi05Y2JhLTY5ZDVlM2RmOTEyYyIsImdsb2JhbF9zZXNzaW9uX2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJzaWQiOiI5ZWFmZGExM2Y5NWE0NmJjODI2Yzc4N2IxZTRjNWY1MCIsInByZWZlcnJlZF91c2VybmFtZSI6Imx5bmRhQGNsb3VkbWViLmNvbSIsImVtYWlsIjoibHluZGFAY2xvdWRtZWIuY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.RbJ42kCGAj_pLTyqIjO4a3AD23HXGqDbZO1pYZroS1IpcshpUitClXBGNphcJbS6xOrK72KA4foQBZbD6w27782WzogLkop0MFRMtqoAT41eZJz4sQM5DUcJNtSj-zRM7YkZs9XDker65e_xCCMVcZ-Jp_9OalEOMY5zMbg5POSnBmdIptJrEEO92QYxic06UU5csn9bkGfFMs83a80D_ya4pIgkH77Pd00kRW6IndZvnMHUxbBeugLb6lIxgTWpqj0S_IPXhA-C6XjANVJviDFpAhhlRECyrO3tX5OK1sa3hrRxWdDML0rWCye4dsWNtzAWJdFWTJ2xJCHu-IkO6g [access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0Njg4MjUsImV4cCI6MTc0MjQ3MDYyNSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI3NTRjMTdkNzEwNGE1MTg1YmIxMmZjOTgxYjdlZTM5YiIsImF1dGhfdGltZSI6MTc0MjQ2NjMwNSwieGVyb191c2VyaWQiOiIxYjhjNjgxMS0yZjBiLTRlNzItOWNiYS02OWQ1ZTNkZjkxMmMiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6IjllYWZkYTEzZjk1YTQ2YmM4MjZjNzg3YjFlNGM1ZjUwIiwic2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJqdGkiOiIyNUNEQkY1RjBBNTRGMjlDNjBDNUE2RjU4Qzg3NzMyQSIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiMGZlNDU1NWEtNmNkMy00YjFkLTljNjEtMzAzMjBmMjBmZGFkIiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.Ps-72RFV22tUimcBnu-UzmaTRFdPixdalqSVEikKuheDxaTmBVC_Ied00-ae-7h86-HR-6AIdnMtWiHgnh67-aRpLhgP0rwaOsu3RjEcJbX2oRTf_kxhvp7_T3bRvTkEbKX7Db_SiXoCMFzNDWfZhMZKa0Jl0xq9DKkLAfxbdFyjsk-Bob28Z0QZLVVW0Kx3eSx5RoiBhEZKhrjTsiwcXgkeFp9_prNVYDCAp8UcDg3jK3UxWIKJo7jSzmkx6_a-mq3bw2p6vYN_GOECiYSyAURfwbTtYeteAe4wCLIE4WIRBYf9h-1lYc2HMfTi3oSmit32kQBSa-R1TCWwB0LMsw [expires_in] => 1800 [token_type] => Bearer [refresh_token] => K7xT0OEYNt_rT46vmD034YPh6IqJ5PqtgU4SoT8b34o [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-03-20 07:07:06] Production.INFO: AccountID 32 [2025-03-20 07:07:06] Production.INFO: AccountName Dominos 10353 (Ronny Khan) [2025-03-20 07:07:06] Production.INFO: Checkcustomer [2025-03-20 07:07:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010353%20%28Ronny%20Khan%29" [2025-03-20 07:07:09] Production.INFO: Contact id print CheckCustomer Case===a80d32c8-bbaa-43c9-b4d0-a7fff9d3ef21 [2025-03-20 07:07:09] Production.INFO: -- count --1 [2025-03-20 07:07:09] Production.INFO: AccountID 136 [2025-03-20 07:07:09] Production.INFO: AccountName Dominos 10483 (Ronny Khan) [2025-03-20 07:07:09] Production.INFO: Checkcustomer [2025-03-20 07:07:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010483%20%28Ronny%20Khan%29" [2025-03-20 07:07:11] Production.INFO: Contact id print CheckCustomer Case===39e8e2e7-bbd0-4c58-9676-ff9889ed0960 [2025-03-20 07:07:11] Production.INFO: -- count --1 [2025-03-20 07:07:11] Production.INFO: AccountID 146 [2025-03-20 07:07:11] Production.INFO: AccountName Destawed [2025-03-20 07:07:11] Production.INFO: Checkcustomer [2025-03-20 07:07:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Destawed" [2025-03-20 07:07:14] Production.INFO: Contact id print CheckCustomer Case===4fde2a4c-1ac0-4a92-9312-bc67898ee56e [2025-03-20 07:07:14] Production.INFO: -- count --1 [2025-03-20 07:07:14] Production.INFO: AccountID 184 [2025-03-20 07:07:14] Production.INFO: AccountName TTC (Donlands - Strathmore Subway) - Construction Site (Cancom - Think Secure) [2025-03-20 07:07:14] Production.INFO: Checkcustomer [2025-03-20 07:07:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="TTC%20%28Donlands%20-%20Strathmore%20Subway%29%20-%20Construction%20Site%20%28Cancom%20-%20Think%20Secure%29" [2025-03-20 07:07:17] Production.INFO: Contact id print CheckCustomer Case===bc13c86d-cd70-4f32-948a-d1f4850061a0 [2025-03-20 07:07:17] Production.INFO: -- count --1 [2025-03-20 07:07:17] Production.INFO: AccountID 185 [2025-03-20 07:07:17] Production.INFO: AccountName TTC (College-Subway) - Construction Site (Cancom - Think Secure) [2025-03-20 07:07:17] Production.INFO: Checkcustomer [2025-03-20 07:07:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="TTC%20%28College-Subway%29%20-%20Construction%20Site%20%28Cancom%20-%20Think%20Secure%29" [2025-03-20 07:07:20] Production.INFO: Contact id print CheckCustomer Case===8c5c7d93-c398-4829-91b3-8174fe21f9a7 [2025-03-20 07:07:20] Production.INFO: -- count --1 [2025-03-20 07:07:20] Production.INFO: AccountID 187 [2025-03-20 07:07:20] Production.INFO: AccountName Graybill & Hazlewood - Trial Lawyers [2025-03-20 07:07:20] Production.INFO: Checkcustomer [2025-03-20 07:07:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Graybill%20%26%20Hazlewood%20-%20Trial%20Lawyers" [2025-03-20 07:07:23] Production.INFO: Contact id print CheckCustomer Case===b306e9f3-f561-41b4-bd54-ad2d17a96c90 [2025-03-20 07:07:23] Production.INFO: -- count --1 [2025-03-20 07:07:23] Production.INFO: AccountID 230 [2025-03-20 07:07:23] Production.INFO: AccountName Harbourfront Medicine Cabinet [2025-03-20 07:07:23] Production.INFO: Checkcustomer [2025-03-20 07:07:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harbourfront%20Medicine%20Cabinet" [2025-03-20 07:07:26] Production.INFO: Contact id print CheckCustomer Case===e4609e79-2a2f-49b0-a0f8-9766de2b1774 [2025-03-20 07:07:26] Production.INFO: -- count --1 [2025-03-20 07:07:26] Production.INFO: AccountID 20 [2025-03-20 07:07:26] Production.INFO: AccountName Dominos 10514 (Sandeep Chaudhari) [2025-03-20 07:07:26] Production.INFO: Checkcustomer [2025-03-20 07:07:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010514%20%28Sandeep%20Chaudhari%29" [2025-03-20 07:07:29] Production.INFO: Contact id print CheckCustomer Case===f2764bcf-df27-4f1c-86cf-e8005ea19444 [2025-03-20 07:07:29] Production.INFO: -- count --1 [2025-03-20 07:07:29] Production.INFO: AccountID 21 [2025-03-20 07:07:29] Production.INFO: AccountName Aaxel Insurance Brokers (Peel Ltd.) [2025-03-20 07:07:29] Production.INFO: Checkcustomer [2025-03-20 07:07:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Aaxel%20Insurance%20Brokers%20%28Peel%20Ltd.%29" [2025-03-20 07:07:32] Production.INFO: Contact id print CheckCustomer Case===ae39ade0-cb7f-4596-8b84-41b21b906e54 [2025-03-20 07:07:32] Production.INFO: -- count --1 [2025-03-20 07:07:32] Production.INFO: AccountID 43 [2025-03-20 07:07:32] Production.INFO: AccountName Wattpad [2025-03-20 07:07:32] Production.INFO: Checkcustomer [2025-03-20 07:07:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Wattpad" [2025-03-20 07:07:35] Production.INFO: Contact id print CheckCustomer Case===8c586c5d-b401-441c-8cc4-7ca5911a8c28 [2025-03-20 07:07:35] Production.INFO: -- count --1 [2025-03-20 07:07:35] Production.INFO: AccountID 49 [2025-03-20 07:07:35] Production.INFO: AccountName Technologies for Learning Group [2025-03-20 07:07:35] Production.INFO: Checkcustomer [2025-03-20 07:07:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Technologies%20for%20Learning%20Group" [2025-03-20 07:07:38] Production.INFO: Contact id print CheckCustomer Case===548d87cf-625c-4b68-be89-595b2161a774 [2025-03-20 07:07:38] Production.INFO: -- count --1 [2025-03-20 07:07:38] Production.INFO: AccountID 137 [2025-03-20 07:07:38] Production.INFO: AccountName Dominos 10558 (David Mills) [2025-03-20 07:07:38] Production.INFO: Checkcustomer [2025-03-20 07:07:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010558%20%28David%20Mills%29" [2025-03-20 07:07:40] Production.INFO: Contact id print CheckCustomer Case===2149c89a-278c-4dda-ad9d-2a94478559a8 [2025-03-20 07:07:40] Production.INFO: -- count --1 [2025-03-20 07:07:40] Production.INFO: AccountID 138 [2025-03-20 07:07:40] Production.INFO: AccountName Dominos 10567 (Sandeep Chaudhari) [2025-03-20 07:07:40] Production.INFO: Checkcustomer [2025-03-20 07:07:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010567%20%28Sandeep%20Chaudhari%29" [2025-03-20 07:07:43] Production.INFO: Contact id print CheckCustomer Case===e7245c9e-f77f-4765-a131-4eff2704ecf0 [2025-03-20 07:07:43] Production.INFO: -- count --1 [2025-03-20 07:07:43] Production.INFO: AccountID 192 [2025-03-20 07:07:43] Production.INFO: AccountName Ontario Turtle Conservation Centre [2025-03-20 07:07:43] Production.INFO: Checkcustomer [2025-03-20 07:07:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Ontario%20Turtle%20Conservation%20Centre" [2025-03-20 07:07:45] Production.INFO: Contact id print CheckCustomer Case===24cd1aba-5ae0-4087-aad8-a6d157b1a548 [2025-03-20 07:07:45] Production.INFO: -- count --1 [2025-03-20 07:07:45] Production.INFO: AccountID 260 [2025-03-20 07:07:45] Production.INFO: AccountName Dominos 10136 (Muzafar Ahmad) [2025-03-20 07:07:45] Production.INFO: Checkcustomer [2025-03-20 07:07:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010136%20%28Muzafar%20Ahmad%29" [2025-03-20 07:07:48] Production.INFO: -- count --0 [2025-03-20 07:07:51] Production.INFO: ==== Contact Information 1 [2025-03-20 07:07:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010136%20%28Muzafar%20Ahmad%29" [2025-03-20 07:07:53] Production.INFO: ContactID 2d268a43-b1b6-4222-a260-19561b762b7c [2025-03-20 07:07:53] Production.INFO: -- Create Customer id --2d268a43-b1b6-4222-a260-19561b762b7c [2025-03-20 07:07:53] Production.INFO: -- Create Customer name --test customer [2025-03-20 07:07:53] Production.INFO: AccountID 52 [2025-03-20 07:07:53] Production.INFO: AccountName Dunbloor Medical Centre [2025-03-20 07:07:53] Production.INFO: Checkcustomer [2025-03-20 07:07:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dunbloor%20Medical%20Centre" [2025-03-20 07:07:56] Production.INFO: Contact id print CheckCustomer Case===afd1bd01-a006-445e-9a92-85deb57a3bc0 [2025-03-20 07:07:56] Production.INFO: -- count --1 [2025-03-20 07:07:56] Production.INFO: AccountID 54 [2025-03-20 07:07:56] Production.INFO: AccountName Dominos 10296 (Gurinder Saini) [2025-03-20 07:07:56] Production.INFO: Checkcustomer [2025-03-20 07:07:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010296%20%28Gurinder%20Saini%29" [2025-03-20 07:07:59] Production.INFO: Contact id print CheckCustomer Case===6c1941a7-23be-4018-9a2e-523e55d27a57 [2025-03-20 07:07:59] Production.INFO: -- count --1 [2025-03-20 07:07:59] Production.INFO: AccountID 83 [2025-03-20 07:07:59] Production.INFO: AccountName Dominos 10455 (Ricky Singh) [2025-03-20 07:07:59] Production.INFO: Checkcustomer [2025-03-20 07:07:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010455%20%28Ricky%20Singh%29" [2025-03-20 07:08:02] Production.INFO: Contact id print CheckCustomer Case===40d799a0-fa8e-497f-be5e-788af7a33b55 [2025-03-20 07:08:02] Production.INFO: -- count --1 [2025-03-20 07:08:02] Production.INFO: AccountID 84 [2025-03-20 07:08:02] Production.INFO: AccountName Dominos 10534 (Sandeep Chaudhari) [2025-03-20 07:08:02] Production.INFO: Checkcustomer [2025-03-20 07:08:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010534%20%28Sandeep%20Chaudhari%29" [2025-03-20 07:08:04] Production.INFO: Contact id print CheckCustomer Case===8f094a5b-f8d1-4cb4-be2e-59f80f574839 [2025-03-20 07:08:04] Production.INFO: -- count --1 [2025-03-20 07:08:04] Production.INFO: AccountID 131 [2025-03-20 07:08:04] Production.INFO: AccountName Infinite Possibilities [2025-03-20 07:08:04] Production.INFO: Checkcustomer [2025-03-20 07:08:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Infinite%20Possibilities" [2025-03-20 07:08:07] Production.INFO: Contact id print CheckCustomer Case===a00da236-4e1c-4856-8599-fd3ed8268a07 [2025-03-20 07:08:07] Production.INFO: -- count --1 [2025-03-20 07:08:07] Production.INFO: AccountID 189 [2025-03-20 07:08:07] Production.INFO: AccountName Bauman Group Inc. [2025-03-20 07:08:07] Production.INFO: Checkcustomer [2025-03-20 07:08:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bauman%20Group%20Inc." [2025-03-20 07:08:10] Production.INFO: Contact id print CheckCustomer Case===55837711-2979-41d6-b74d-0bee4c711dc6 [2025-03-20 07:08:10] Production.INFO: -- count --1 [2025-03-20 07:08:10] Production.INFO: AccountID 191 [2025-03-20 07:08:10] Production.INFO: AccountName Lake Life Financial Solutions Inc. [2025-03-20 07:08:10] Production.INFO: Checkcustomer [2025-03-20 07:08:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Lake%20Life%20Financial%20Solutions%20Inc." [2025-03-20 07:08:13] Production.INFO: Contact id print CheckCustomer Case===2ab5d3da-c85d-4d7e-91cc-61b21f64178e [2025-03-20 07:08:13] Production.INFO: -- count --1 [2025-03-20 07:08:13] Production.INFO: AccountID 70 [2025-03-20 07:08:13] Production.INFO: AccountName Dominos 10293 (David Mills) [2025-03-20 07:08:13] Production.INFO: Checkcustomer [2025-03-20 07:08:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010293%20%28David%20Mills%29" [2025-03-20 07:08:15] Production.INFO: Contact id print CheckCustomer Case===dd25779b-67aa-4626-b1f4-381418d46919 [2025-03-20 07:08:15] Production.INFO: -- count --1 [2025-03-20 07:08:15] Production.INFO: AccountID 98 [2025-03-20 07:08:15] Production.INFO: AccountName Dominos 10537 (Brandon Meyers) [2025-03-20 07:08:15] Production.INFO: Checkcustomer [2025-03-20 07:08:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010537%20%28Brandon%20Meyers%29" [2025-03-20 07:08:18] Production.INFO: Contact id print CheckCustomer Case===e432f2ff-87d1-4a0f-b87d-a33325db6e89 [2025-03-20 07:08:18] Production.INFO: -- count --1 [2025-03-20 07:08:18] Production.INFO: AccountID 106 [2025-03-20 07:08:18] Production.INFO: AccountName G4 Broker [2025-03-20 07:08:18] Production.INFO: Checkcustomer [2025-03-20 07:08:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="G4%20Broker" [2025-03-20 07:08:21] Production.INFO: Contact id print CheckCustomer Case===3cfda7a3-4db5-4680-a967-42dbcc00679b [2025-03-20 07:08:21] Production.INFO: -- count --1 [2025-03-20 07:08:21] Production.INFO: AccountID 119 [2025-03-20 07:08:21] Production.INFO: AccountName Dominos 10402 (Anwar Hossain) [2025-03-20 07:08:21] Production.INFO: Checkcustomer [2025-03-20 07:08:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010402%20%28Anwar%20Hossain%29" [2025-03-20 07:08:24] Production.INFO: Contact id print CheckCustomer Case===638629e4-7df5-47ca-ab31-ab7d228ee597 [2025-03-20 07:08:24] Production.INFO: -- count --1 [2025-03-20 07:08:24] Production.INFO: AccountID 123 [2025-03-20 07:08:24] Production.INFO: AccountName Dominos 10547 (Nathan Krishnan) [2025-03-20 07:08:24] Production.INFO: Checkcustomer [2025-03-20 07:08:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010547%20%28Nathan%20Krishnan%29" [2025-03-20 07:08:26] Production.INFO: Contact id print CheckCustomer Case===b7a54595-13f3-43f4-ba4f-ba957a026442 [2025-03-20 07:08:26] Production.INFO: -- count --1 [2025-03-20 07:08:26] Production.INFO: AccountID 229 [2025-03-20 07:08:26] Production.INFO: AccountName Dominos 10096 (Albert Chan) [2025-03-20 07:08:26] Production.INFO: Checkcustomer [2025-03-20 07:08:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010096%20%28Albert%20Chan%29" [2025-03-20 07:08:29] Production.INFO: Contact id print CheckCustomer Case===dc1089bc-e9ac-4fac-8919-44bc3549e60a [2025-03-20 07:08:29] Production.INFO: -- count --1 [2025-03-20 07:08:29] Production.INFO: AccountID 5 [2025-03-20 07:08:29] Production.INFO: AccountName DMCI [2025-03-20 07:08:29] Production.INFO: Checkcustomer [2025-03-20 07:08:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="DMCI" [2025-03-20 07:08:33] Production.INFO: Contact id print CheckCustomer Case===7bc9d577-a1e5-4866-a22c-25fb311cbded [2025-03-20 07:08:33] Production.INFO: -- count --1 [2025-03-20 07:08:33] Production.INFO: AccountID 13 [2025-03-20 07:08:33] Production.INFO: AccountName Rosedale Diner [2025-03-20 07:08:33] Production.INFO: Checkcustomer [2025-03-20 07:08:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Rosedale%20Diner" [2025-03-20 07:08:35] Production.INFO: Contact id print CheckCustomer Case===d315b223-0318-473a-8190-ce14e673da0e [2025-03-20 07:08:35] Production.INFO: -- count --1 [2025-03-20 07:08:35] Production.INFO: AccountID 73 [2025-03-20 07:08:35] Production.INFO: AccountName Discovery Point Nursery [2025-03-20 07:08:35] Production.INFO: Checkcustomer [2025-03-20 07:08:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Discovery%20Point%20Nursery" [2025-03-20 07:08:38] Production.INFO: Contact id print CheckCustomer Case===cb58377f-8ea7-4ab2-9952-d9be1c41b3e2 [2025-03-20 07:08:38] Production.INFO: -- count --1 [2025-03-20 07:08:38] Production.INFO: AccountID 139 [2025-03-20 07:08:38] Production.INFO: AccountName Dominos 10560 (Ricky Singh) [2025-03-20 07:08:38] Production.INFO: Checkcustomer [2025-03-20 07:08:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010560%20%28Ricky%20Singh%29" [2025-03-20 07:08:41] Production.INFO: Contact id print CheckCustomer Case===7c24a24f-0252-42cb-b4ca-aa9aa79c4f0b [2025-03-20 07:08:41] Production.INFO: -- count --1 [2025-03-20 07:08:41] Production.INFO: AccountID 65 [2025-03-20 07:08:41] Production.INFO: AccountName AOPG Inc. [2025-03-20 07:08:41] Production.INFO: Checkcustomer [2025-03-20 07:08:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="AOPG%20Inc." [2025-03-20 07:08:43] Production.INFO: Contact id print CheckCustomer Case===d7433a1b-abec-492c-bcf0-79c422ee5e45 [2025-03-20 07:08:43] Production.INFO: -- count --1 [2025-03-20 07:08:43] Production.INFO: AccountID 250 [2025-03-20 07:08:43] Production.INFO: AccountName Bennison Smith Law [2025-03-20 07:08:43] Production.INFO: Checkcustomer [2025-03-20 07:08:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bennison%20Smith%20Law" [2025-03-20 07:08:46] Production.INFO: -- count --0 [2025-03-20 07:08:49] Production.INFO: ==== Contact Information 1 [2025-03-20 07:08:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bennison%20Smith%20Law" [2025-03-20 07:08:52] Production.INFO: ContactID 5304e7ac-dae0-4da0-8e3e-3bf1912a47f6 [2025-03-20 07:08:52] Production.INFO: -- Create Customer id --5304e7ac-dae0-4da0-8e3e-3bf1912a47f6 [2025-03-20 07:08:52] Production.INFO: -- Create Customer name --test customer [2025-03-20 07:08:52] Production.INFO: AccountID 53 [2025-03-20 07:08:52] Production.INFO: AccountName Plus Travel Group [2025-03-20 07:08:52] Production.INFO: Checkcustomer [2025-03-20 07:08:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group" [2025-03-20 07:08:55] Production.INFO: Contact id print CheckCustomer Case===5f6b39a6-c5bb-485f-9fdd-a6c7a1eccc47 [2025-03-20 07:08:55] Production.INFO: -- count --1 [2025-03-20 07:08:55] Production.INFO: AccountID 211 [2025-03-20 07:08:55] Production.INFO: AccountName Dominos 39052 (Sandeep Chaudhari) [2025-03-20 07:08:55] Production.INFO: Checkcustomer [2025-03-20 07:08:55] 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 07:08:58] Production.INFO: Contact id print CheckCustomer Case===fef41f69-d586-4623-95ec-1702df71d8e3 [2025-03-20 07:08:58] Production.INFO: -- count --1 [2025-03-20 07:08:58] Production.INFO: AccountID 227 [2025-03-20 07:08:58] Production.INFO: AccountName Quiznos 15184 (Akshay Naik) [2025-03-20 07:08:58] Production.INFO: Checkcustomer [2025-03-20 07:08:58] 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 07:09:00] Production.INFO: Contact id print CheckCustomer Case===7d4d8a6e-9b66-4daf-be5c-0e7e0524121b [2025-03-20 07:09:00] Production.INFO: -- count --1 [2025-03-20 07:09:00] Production.INFO: AccountID 241 [2025-03-20 07:09:00] Production.INFO: AccountName Quiznos 15192 (Akshay Naik) [2025-03-20 07:09:00] Production.INFO: Checkcustomer [2025-03-20 07:09:00] 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 07:09:03] Production.INFO: Contact id print CheckCustomer Case===9f823e1c-f0d1-4915-b9fd-4b0d691e058e [2025-03-20 07:09:03] Production.INFO: -- count --1 [2025-03-20 07:09:03] Production.INFO: AccountID 254 [2025-03-20 07:09:03] Production.INFO: AccountName Robson Carpenter LLP [2025-03-20 07:09:03] Production.INFO: Checkcustomer [2025-03-20 07:09:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Robson%20Carpenter%20LLP" [2025-03-20 07:09:06] Production.INFO: -- count --0 [2025-03-20 07:09:09] Production.INFO: ==== Contact Information 1 [2025-03-20 07:09:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Robson%20Carpenter%20LLP" [2025-03-20 07:09:12] Production.INFO: ContactID 026264ad-30db-4a13-9750-7dee8e32341c [2025-03-20 07:09:12] Production.INFO: -- Create Customer id --026264ad-30db-4a13-9750-7dee8e32341c [2025-03-20 07:09:12] Production.INFO: -- Create Customer name --test customer [2025-03-20 07:09:12] Production.INFO: AccountID 155 [2025-03-20 07:09:12] Production.INFO: AccountName Dominos 10388 (Sandeep Chaudhari) [2025-03-20 07:09:12] Production.INFO: Checkcustomer [2025-03-20 07:09:12] 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 07:09:15] Production.INFO: Contact id print CheckCustomer Case===f7e4d9d4-d7d6-4a37-b185-fce2c2d150b9 [2025-03-20 07:09:15] Production.INFO: -- count --1 [2025-03-20 07:09:15] Production.INFO: AccountID 157 [2025-03-20 07:09:15] Production.INFO: AccountName Dominos 10588 (Gurinder Saini) [2025-03-20 07:09:15] Production.INFO: Checkcustomer [2025-03-20 07:09:15] 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 07:09:17] Production.INFO: Contact id print CheckCustomer Case===1ac67d8d-8981-4be8-9709-0bb5a101fe05 [2025-03-20 07:09:17] Production.INFO: -- count --1 [2025-03-20 07:09:17] Production.INFO: AccountID 232 [2025-03-20 07:09:17] Production.INFO: AccountName Jenopher Inc. [2025-03-20 07:09:17] Production.INFO: Checkcustomer [2025-03-20 07:09:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Jenopher%20Inc." [2025-03-20 07:09:20] Production.INFO: Contact id print CheckCustomer Case===5fa26058-5c6f-4ffe-9c35-4f8d77ccf359 [2025-03-20 07:09:20] Production.INFO: -- count --1 [2025-03-20 07:09:20] Production.INFO: AccountID 124 [2025-03-20 07:09:20] Production.INFO: AccountName Dominos 39009 (Mudassar Zia) [2025-03-20 07:09:20] Production.INFO: Checkcustomer [2025-03-20 07:09:20] 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 07:09:22] Production.INFO: Contact id print CheckCustomer Case===40c47681-8e37-4e12-be60-e7c71250891f [2025-03-20 07:09:22] Production.INFO: -- count --1 [2025-03-20 07:09:22] Production.INFO: AccountID 153 [2025-03-20 07:09:22] Production.INFO: AccountName Dominos 10191 (Chandresh Patel) [2025-03-20 07:09:22] Production.INFO: Checkcustomer [2025-03-20 07:09:22] 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 07:09:26] Production.INFO: Contact id print CheckCustomer Case===a1f84b26-3d74-4603-893d-c86292f301ef [2025-03-20 07:09:26] Production.INFO: -- count --1 [2025-03-20 07:09:26] Production.INFO: AccountID 154 [2025-03-20 07:09:26] Production.INFO: AccountName Dominos 10385 (Sandeep Chaudhari) [2025-03-20 07:09:26] Production.INFO: Checkcustomer [2025-03-20 07:09:26] 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 07:09:29] Production.INFO: Contact id print CheckCustomer Case===f21476d6-c1e8-4e8b-b2a8-87f68276aedf [2025-03-20 07:09:29] Production.INFO: -- count --1 [2025-03-20 07:09:29] Production.INFO: AccountID 30 [2025-03-20 07:09:29] Production.INFO: AccountName Compass ELC - Lindsay [2025-03-20 07:09:29] Production.INFO: Checkcustomer [2025-03-20 07:09:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Lindsay" [2025-03-20 07:09:31] Production.INFO: Contact id print CheckCustomer Case===7cca29b1-b852-4195-aea8-d23ee3e0a552 [2025-03-20 07:09:31] Production.INFO: -- count --1 [2025-03-20 07:09:31] Production.INFO: AccountID 182 [2025-03-20 07:09:31] Production.INFO: AccountName Dominos 39049 (Sandeep Chaudhari) [2025-03-20 07:09:31] Production.INFO: Checkcustomer [2025-03-20 07:09:31] 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 07:09:34] Production.INFO: Contact id print CheckCustomer Case===1c0b2017-4eb0-4996-8c28-357329632ba9 [2025-03-20 07:09:34] Production.INFO: -- count --1 [2025-03-20 07:09:34] Production.INFO: AccountID 188 [2025-03-20 07:09:34] Production.INFO: AccountName All Care Insurance Brokers Ltd. [2025-03-20 07:09:34] Production.INFO: Checkcustomer [2025-03-20 07:09:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="All%20Care%20Insurance%20Brokers%20Ltd." [2025-03-20 07:09:37] Production.INFO: Contact id print CheckCustomer Case===6d542d8f-684c-435c-82fd-abdec98b3c10 [2025-03-20 07:09:37] Production.INFO: -- count --1 [2025-03-20 07:09:37] Production.INFO: AccountID 218 [2025-03-20 07:09:37] Production.INFO: AccountName Dominos 10164 (Jordan Hodgson) [2025-03-20 07:09:37] Production.INFO: Checkcustomer [2025-03-20 07:09:37] 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 07:09:39] Production.INFO: Contact id print CheckCustomer Case===9ba9e65f-7bc8-430d-b449-05e224b3e5f6 [2025-03-20 07:09:39] Production.INFO: -- count --1 [2025-03-20 07:09:39] Production.INFO: AccountID 79 [2025-03-20 07:09:39] Production.INFO: AccountName Axxima [2025-03-20 07:09:39] Production.INFO: Checkcustomer [2025-03-20 07:09:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Axxima" [2025-03-20 07:09:42] Production.INFO: Contact id print CheckCustomer Case===5a62af79-4890-44a7-9d0e-f81cfe9497c1 [2025-03-20 07:09:42] Production.INFO: -- count --1 [2025-03-20 07:09:42] Production.INFO: -- Xero Add Inovice -- [2025-03-20 07:09:42] Production.INFO: CheckInvoice xerov2: INV11712 [2025-03-20 07:09:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11712 [2025-03-20 07:09:45] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:09:45] Production.INFO: Invoice SubTotal 57.500000 [2025-03-20 07:09:45] Production.INFO: Invoice DetTotal 57.5 [2025-03-20 07:09:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010353%20%28Ronny%20Khan%29" [2025-03-20 07:09:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:09:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:09:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:09:57] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Dominos Pizza - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14164292929 - 784 Eglinton Avenue East Toronto, ON M4G2L1)",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 : 4,UnitAmount : -5.000000,LineAmount : -20.000000} [2025-03-20 07:10:00] Production.INFO: ==== result ===== [2025-03-20 07:10:00] Production.INFO: { "Id": "a608ef04-5127-42ec-8ad0-3d80e07d2b1f", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469000834)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "12f9bb20-fb62-4353-84d9-917bf275bc61", "InvoiceNumber": "INV11712", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 64.98, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "a80d32c8-bbaa-43c9-b4d0-a7fff9d3ef21", "ContactStatus": "ACTIVE", "Name": "Dominos 10353 (Ronny Khan)", "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(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-03-15T00:00:00", "Date": "\/Date(1741996800000+0000)\/", "DueDateString": "2025-04-14T00:00:00", "DueDate": "\/Date(1744588800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Dominos Pizza - 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": "cca2ffcf-ecec-4f0c-bb64-f460796f57d0", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (14164292929 - 784 Eglinton Avenue East Toronto, ON M4G2L1)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "5feb7c21-017f-4941-a2fa-81983799a4cd", "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": -2.60, "LineAmount": -20.00, "AccountCode": "303", "Tracking": [], "Quantity": 4.0000, "DiscountRate": 0.00, "LineItemID": "50417631-090f-4aa2-9c3f-6a4226755276", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 57.50, "TotalTax": 7.48, "Total": 64.98, "UpdatedDateUTC": "\/Date(1742469000787+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:10:00] Production.INFO: -- Create Invoice id --12f9bb20-fb62-4353-84d9-917bf275bc61 [2025-03-20 07:10:00] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:10:00] Production.INFO: CheckInvoice xerov2: INV11713 [2025-03-20 07:10:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11713 [2025-03-20 07:10:04] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:10:04] Production.INFO: Invoice SubTotal 57.500000 [2025-03-20 07:10:04] Production.INFO: Invoice DetTotal 57.5 [2025-03-20 07:10:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010483%20%28Ronny%20Khan%29" [2025-03-20 07:10:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:10:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:10:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:10:15] 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 (6473525055 - 10 Mallard Rd 52 North York, ON M3B 0A7)",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 : 4,UnitAmount : -5.000000,LineAmount : -20.000000} [2025-03-20 07:10:18] Production.INFO: ==== result ===== [2025-03-20 07:10:18] Production.INFO: { "Id": "0422ddc9-dd27-40a2-beaf-a41ef946bb79", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469018722)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "5c8fb352-e8bc-412e-9ca5-4c0330a6cd0d", "InvoiceNumber": "INV11713", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 64.98, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "39e8e2e7-bbd0-4c58-9676-ff9889ed0960", "ContactStatus": "ACTIVE", "Name": "Dominos 10483 (Ronny Khan)", "FirstName": "Ronny", "LastName": "Khan", "EmailAddress": "sarwar247@hotmail.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(1602454226393+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-15T00:00:00", "Date": "\/Date(1741996800000+0000)\/", "DueDateString": "2025-04-14T00:00:00", "DueDate": "\/Date(1744588800000+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": "0d9f5ccc-ab3d-4bc2-a44d-6d7345635855", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (6473525055 - 10 Mallard Rd 52 North York, ON M3B 0A7)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "83f03c4b-d835-4d94-af9a-0063d36ebb24", "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": -2.60, "LineAmount": -20.00, "AccountCode": "303", "Tracking": [], "Quantity": 4.0000, "DiscountRate": 0.00, "LineItemID": "9c35e396-e565-4605-83ff-6b06e0fda7b0", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 57.50, "TotalTax": 7.48, "Total": 64.98, "UpdatedDateUTC": "\/Date(1742469018660+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:10:18] Production.INFO: -- Create Invoice id --5c8fb352-e8bc-412e-9ca5-4c0330a6cd0d [2025-03-20 07:10:18] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:10:18] Production.INFO: CheckInvoice xerov2: INV11714 [2025-03-20 07:10:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11714 [2025-03-20 07:10:21] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:10:21] Production.INFO: Invoice SubTotal 18.000000 [2025-03-20 07:10:21] Production.INFO: Invoice DetTotal 18 [2025-03-20 07:10:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Destawed" [2025-03-20 07:10:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:10:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:10:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:10:32] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 6,UnitAmount : 2.000000,LineAmount : 12.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (1-83-DESTAWED)",Quantity : 1,UnitAmount : 3.000000,LineAmount : 3.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (1-833-457-SUIT)",Quantity : 1,UnitAmount : 3.000000,LineAmount : 3.000000} [2025-03-20 07:10:35] Production.INFO: ==== result ===== [2025-03-20 07:10:35] Production.INFO: { "Id": "a88fbd99-89df-4e96-9ca6-8ec0b60221ed", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469035795)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "ea49f2ae-02fb-4473-92f8-8f34f5b59ca6", "InvoiceNumber": "INV11714", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 20.34, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "4fde2a4c-1ac0-4a92-9312-bc67898ee56e", "ContactStatus": "ACTIVE", "Name": "Destawed", "FirstName": "Amitt", "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(1646681546973+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-15T00:00:00", "Date": "\/Date(1741996800000+0000)\/", "DueDateString": "2025-04-14T00:00:00", "DueDate": "\/Date(1744588800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "License for a Pay As You Go Cloud Phone extension", "UnitAmount": 2.00, "TaxType": "TAX020", "TaxAmount": 1.56, "LineAmount": 12.00, "AccountCode": "203", "Tracking": [], "Quantity": 6.0000, "DiscountRate": 0.00, "LineItemID": "04e47b07-8521-418d-bd03-9d2b2b0ac4fb", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (1-83-DESTAWED)", "UnitAmount": 3.00, "TaxType": "TAX020", "TaxAmount": 0.39, "LineAmount": 3.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "a1af296b-84a5-4d7c-b9d2-e56b1dbb457d", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (1-833-457-SUIT)", "UnitAmount": 3.00, "TaxType": "TAX020", "TaxAmount": 0.39, "LineAmount": 3.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "89ca46c8-6006-4978-87e0-a22e47d4f86f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 18.00, "TotalTax": 2.34, "Total": 20.34, "UpdatedDateUTC": "\/Date(1742469035733+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:10:35] Production.INFO: -- Create Invoice id --ea49f2ae-02fb-4473-92f8-8f34f5b59ca6 [2025-03-20 07:10:35] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:10:35] Production.INFO: CheckInvoice xerov2: INV11715 [2025-03-20 07:10:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11715 [2025-03-20 07:10:38] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:10:38] Production.INFO: Invoice SubTotal 76.860000 [2025-03-20 07:10:38] Production.INFO: Invoice DetTotal 76.86 [2025-03-20 07:10:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="TTC%20%28Donlands%20-%20Strathmore%20Subway%29%20-%20Construction%20Site%20%28Cancom%20-%20Think%20Secure%29" [2025-03-20 07:10:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:10:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:10:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:10:50] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 204,"Description": "LTE Primary Internet (30 Donalds Ave, Toronto, ON M4J3N6) - 10GB/month",Quantity : 1,UnitAmount : 76.860000,LineAmount : 76.860000} [2025-03-20 07:10:53] Production.INFO: ==== result ===== [2025-03-20 07:10:53] Production.INFO: { "Id": "4c060c82-ea39-422c-9227-7fc5c7e7891e", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469053673)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "11d7a30a-a3df-4987-8ac2-e15b1051d383", "InvoiceNumber": "INV11715", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 86.85, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "bc13c86d-cd70-4f32-948a-d1f4850061a0", "ContactStatus": "ACTIVE", "Name": "TTC (Donlands - Strathmore Subway) - Construction Site (Cancom - Think Secure)", "FirstName": "Darcy", "LastName": "Chelvan", "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(1657573506193+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-15T00:00:00", "Date": "\/Date(1741996800000+0000)\/", "DueDateString": "2025-04-14T00:00:00", "DueDate": "\/Date(1744588800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "LTE Primary Internet (30 Donalds Ave, Toronto, ON M4J3N6) - 10GB/month", "UnitAmount": 76.86, "TaxType": "TAX020", "TaxAmount": 9.99, "LineAmount": 76.86, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "8403afdc-bbe4-4d9f-810d-5b8d7c71c9f5", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] } ], "SubTotal": 76.86, "TotalTax": 9.99, "Total": 86.85, "UpdatedDateUTC": "\/Date(1742469053610+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:10:53] Production.INFO: -- Create Invoice id --11d7a30a-a3df-4987-8ac2-e15b1051d383 [2025-03-20 07:10:53] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:10:53] Production.INFO: CheckInvoice xerov2: INV11716 [2025-03-20 07:10:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11716 [2025-03-20 07:10:56] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:10:56] Production.INFO: Invoice SubTotal 76.860000 [2025-03-20 07:10:56] Production.INFO: Invoice DetTotal 76.86 [2025-03-20 07:10:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="TTC%20%28College-Subway%29%20-%20Construction%20Site%20%28Cancom%20-%20Think%20Secure%29" [2025-03-20 07:10:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:11:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:11:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:11:08] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 204,"Description": "LTE Primary Internet (3 Carlton St., Toronto, ON M5B 1L2) - 10GB/month",Quantity : 1,UnitAmount : 76.860000,LineAmount : 76.860000} [2025-03-20 07:11:11] Production.INFO: ==== result ===== [2025-03-20 07:11:11] Production.INFO: { "Id": "4b6871de-e851-4b18-a309-6c60fe127a89", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469071470)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "95fa8e11-9279-4426-8ada-7c1e4e1bc4fd", "InvoiceNumber": "INV11716", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 86.85, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "8c5c7d93-c398-4829-91b3-8174fe21f9a7", "ContactStatus": "ACTIVE", "Name": "TTC (College-Subway) - Construction Site (Cancom - Think Secure)", "FirstName": "Darcy", "LastName": "Chelvans", "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(1657574345580+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-15T00:00:00", "Date": "\/Date(1741996800000+0000)\/", "DueDateString": "2025-04-14T00:00:00", "DueDate": "\/Date(1744588800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "LTE Primary Internet (3 Carlton St., Toronto, ON M5B 1L2) - 10GB/month", "UnitAmount": 76.86, "TaxType": "TAX020", "TaxAmount": 9.99, "LineAmount": 76.86, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "bc5e285b-618b-4c71-8e4a-61f76ca797a0", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] } ], "SubTotal": 76.86, "TotalTax": 9.99, "Total": 86.85, "UpdatedDateUTC": "\/Date(1742469071423+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:11:11] Production.INFO: -- Create Invoice id --95fa8e11-9279-4426-8ada-7c1e4e1bc4fd [2025-03-20 07:11:11] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:11:11] Production.INFO: CheckInvoice xerov2: INV11717 [2025-03-20 07:11:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11717 [2025-03-20 07:11:14] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:11:14] Production.INFO: Invoice SubTotal 40.500000 [2025-03-20 07:11:14] Production.INFO: Invoice DetTotal 40.5 [2025-03-20 07:11:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Graybill%20%26%20Hazlewood%20-%20Trial%20Lawyers" [2025-03-20 07:11:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:11:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:11:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:11:26] Production.INFO: =========Invoices String here======{AccountCode : 250,"Description": "Microsoft Office 365 Business - Security Add-on - IronScales Core",Quantity : 9,UnitAmount : 4.500000,LineAmount : 40.500000} [2025-03-20 07:11:29] Production.INFO: ==== result ===== [2025-03-20 07:11:29] Production.INFO: { "Id": "4a8f429f-ef62-43ab-bc72-2d6d1a2740f2", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469089343)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "a96356a1-b0f3-4ade-b766-90d1eff5c00c", "InvoiceNumber": "INV11717", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 45.77, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "b306e9f3-f561-41b4-bd54-ad2d17a96c90", "ContactStatus": "ACTIVE", "Name": "Graybill & Hazlewood - Trial Lawyers", "FirstName": "Russ", "LastName": "Hazlewood", "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(1682945560397+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-15T00:00:00", "Date": "\/Date(1741996800000+0000)\/", "DueDateString": "2025-03-22T00:00:00", "DueDate": "\/Date(1742601600000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Microsoft Office 365 Business - Security Add-on - IronScales Core", "UnitAmount": 4.50, "TaxType": "OUTPUT", "TaxAmount": 5.27, "LineAmount": 40.50, "AccountCode": "250", "Tracking": [], "Quantity": 9.0000, "LineItemID": "28209455-fcf9-4d51-8b36-29886d7df2e4", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] } ], "SubTotal": 40.50, "TotalTax": 5.27, "Total": 45.77, "UpdatedDateUTC": "\/Date(1742469089297+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:11:29] Production.INFO: -- Create Invoice id --a96356a1-b0f3-4ade-b766-90d1eff5c00c [2025-03-20 07:11:29] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:11:29] Production.INFO: CheckInvoice xerov2: INV11718 [2025-03-20 07:11:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11718 [2025-03-20 07:11:32] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:11:32] Production.INFO: Invoice SubTotal 70.000000 [2025-03-20 07:11:32] Production.INFO: Invoice DetTotal 70 [2025-03-20 07:11:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harbourfront%20Medicine%20Cabinet" [2025-03-20 07:11:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:11:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:11:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:11:44] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Phone channel for capacity-based billing",Quantity : 7,UnitAmount : 10.000000,LineAmount : 70.000000} [2025-03-20 07:11:47] Production.INFO: ==== result ===== [2025-03-20 07:11:47] Production.INFO: { "Id": "1ee4c55a-1be5-4767-930c-71bcd0f34771", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469107117)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "8c70cbe5-b40c-4e2b-a5e9-9210a0bef428", "InvoiceNumber": "INV11718", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 79.10, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "e4609e79-2a2f-49b0-a0f8-9766de2b1774", "ContactStatus": "ACTIVE", "Name": "Harbourfront Medicine Cabinet", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "AddressLine1": "205 Ava Rd", "City": "Toronto", "Region": "ON", "PostalCode": "M6C 1W8", "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(1730664962810+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-15T00:00:00", "Date": "\/Date(1741996800000+0000)\/", "DueDateString": "2025-04-14T00:00:00", "DueDate": "\/Date(1744588800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Phone channel for capacity-based billing", "UnitAmount": 10.00, "TaxType": "TAX020", "TaxAmount": 9.10, "LineAmount": 70.00, "AccountCode": "203", "Tracking": [], "Quantity": 7.0000, "LineItemID": "45fca9f9-a934-4170-b48a-09340b555793", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 70.00, "TotalTax": 9.10, "Total": 79.10, "UpdatedDateUTC": "\/Date(1742469107040+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:11:47] Production.INFO: -- Create Invoice id --8c70cbe5-b40c-4e2b-a5e9-9210a0bef428 [2025-03-20 07:11:47] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:11:47] Production.INFO: CheckInvoice xerov2: INV11700 [2025-03-20 07:11:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11700 [2025-03-20 07:11:49] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:11:49] Production.INFO: Invoice SubTotal 52.500000 [2025-03-20 07:11:49] Production.INFO: Invoice DetTotal 52.5 [2025-03-20 07:11:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010514%20%28Sandeep%20Chaudhari%29" [2025-03-20 07:11:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:11:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:11:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:12:01] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Dominos Pizza - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (15198880012 - 221 HOLIDAY INN DR CAMBRIDGE, ON N3C3T2)",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 07:12:04] Production.INFO: ==== result ===== [2025-03-20 07:12:04] Production.INFO: { "Id": "fb3b868d-9948-49a6-a60d-e7e630c84a44", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469124874)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "07e114c8-e5aa-4c91-be3e-4634babad022", "InvoiceNumber": "INV11700", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 59.33, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "f2764bcf-df27-4f1c-86cf-e8005ea19444", "ContactStatus": "ACTIVE", "Name": "Dominos 10514 (Sandeep 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(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-03-14T00:00:00", "Date": "\/Date(1741910400000+0000)\/", "DueDateString": "2025-04-13T00:00:00", "DueDate": "\/Date(1744502400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Dominos Pizza - 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": "5b7a14d5-c095-4226-9085-86a88869423d", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (15198880012 - 221 HOLIDAY INN DR CAMBRIDGE, ON N3C3T2)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "1f2d14b7-ddf2-466f-a06e-a460e62cddc1", "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": "c4a832fa-f4c8-4436-a8d2-012d566daee0", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 6.83, "Total": 59.33, "UpdatedDateUTC": "\/Date(1742469124813+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:12:05] Production.INFO: -- Create Invoice id --07e114c8-e5aa-4c91-be3e-4634babad022 [2025-03-20 07:12:05] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:12:05] Production.INFO: CheckInvoice xerov2: INV11701 [2025-03-20 07:12:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11701 [2025-03-20 07:12:08] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:12:08] Production.INFO: Invoice SubTotal 172.800000 [2025-03-20 07:12:08] Production.INFO: Invoice DetTotal 172.8 [2025-03-20 07:12:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Aaxel%20Insurance%20Brokers%20%28Peel%20Ltd.%29" [2025-03-20 07:12:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:12:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:12:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:12:19] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 02-14-2025 To 03-13-2025",Quantity : 1,UnitAmount : 53.050000,LineAmount : 53.050000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 18,UnitAmount : 7.500000,LineAmount : 135.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19055656644 - 1332 KHALSA DR UNIT 11 MISSISSAUGA, ON L5S0A2)",Quantity : 1,UnitAmount : 2.750000,LineAmount : 2.750000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Discount - 10+ Extensions ($1 off per extension per month)",Quantity : 18,UnitAmount : -1.000000,LineAmount : -18.000000} [2025-03-20 07:12:22] Production.INFO: ==== result ===== [2025-03-20 07:12:22] Production.INFO: { "Id": "3dcf2199-9408-4416-befa-22a02f4bde27", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469142855)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "ff19333e-1c60-4008-9b42-10d75b66402d", "InvoiceNumber": "INV11701", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 195.27, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "ae39ade0-cb7f-4596-8b84-41b21b906e54", "ContactStatus": "ACTIVE", "Name": "Aaxel Insurance Brokers (Peel Ltd.)", "FirstName": "Kuldip", "LastName": "Chahal", "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(1655917145357+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-14T00:00:00", "Date": "\/Date(1741910400000+0000)\/", "DueDateString": "2025-04-13T00:00:00", "DueDate": "\/Date(1744502400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 02-14-2025 To 03-13-2025", "UnitAmount": 53.05, "TaxType": "TAX020", "TaxAmount": 6.90, "LineAmount": 53.05, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "75e0c0a3-0286-4f90-8619-b406c0311e32", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for a Pay As You Go Cloud Phone extension", "UnitAmount": 7.50, "TaxType": "TAX020", "TaxAmount": 17.55, "LineAmount": 135.00, "AccountCode": "203", "Tracking": [], "Quantity": 18.0000, "DiscountRate": 0.00, "LineItemID": "b16c3678-eac8-4fc2-a12d-cd73b00b1682", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (19055656644 - 1332 KHALSA DR UNIT 11 MISSISSAUGA, ON L5S0A2)", "UnitAmount": 2.75, "TaxType": "TAX020", "TaxAmount": 0.36, "LineAmount": 2.75, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "0a4ba3a9-1f08-4445-9bc4-02751a6b6cf3", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Discount - 10+ Extensions ($1 off per extension per month)", "UnitAmount": -1.00, "TaxType": "TAX020", "TaxAmount": -2.34, "LineAmount": -18.00, "AccountCode": "303", "Tracking": [], "Quantity": 18.0000, "DiscountRate": 0.00, "LineItemID": "23af5b05-1fa5-4fc0-8637-7df7d57a29c6", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 172.80, "TotalTax": 22.47, "Total": 195.27, "UpdatedDateUTC": "\/Date(1742469142793+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:12:22] Production.INFO: -- Create Invoice id --ff19333e-1c60-4008-9b42-10d75b66402d [2025-03-20 07:12:22] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:12:22] Production.INFO: CheckInvoice xerov2: INV11702 [2025-03-20 07:12:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11702 [2025-03-20 07:12:26] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:12:26] Production.INFO: Invoice SubTotal 200.500000 [2025-03-20 07:12:26] Production.INFO: Invoice DetTotal 200.5 [2025-03-20 07:12:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Wattpad" [2025-03-20 07:12:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:12:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:12:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:12:37] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 18,UnitAmount : 7.750000,LineAmount : 139.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14164799694 - 36 WELLINGTON ST E STE 200 TORONTO, ON M5E1C7)",Quantity : 1,UnitAmount : 2.750000,LineAmount : 2.750000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Softphone users",Quantity : 18,UnitAmount : 3.000000,LineAmount : 54.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (1-833-WATTPAD (1-833-928-8723))",Quantity : 1,UnitAmount : 2.750000,LineAmount : 2.750000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (16474178599)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000} [2025-03-20 07:12:41] Production.INFO: ==== result ===== [2025-03-20 07:12:41] Production.INFO: { "Id": "978273f7-3f96-4a3a-95b8-6c0c7c7dd5ff", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469161262)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "96082640-1791-45ad-8529-9b5696f7988d", "InvoiceNumber": "INV11702", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 226.58, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "8c586c5d-b401-441c-8cc4-7ca5911a8c28", "ContactStatus": "ACTIVE", "Name": "Wattpad", "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(1533070462703+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-14T00:00:00", "Date": "\/Date(1741910400000+0000)\/", "DueDateString": "2025-04-13T00:00:00", "DueDate": "\/Date(1744502400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "License for a Pay As You Go Cloud Phone extension", "UnitAmount": 7.75, "TaxType": "TAX020", "TaxAmount": 18.14, "LineAmount": 139.50, "AccountCode": "203", "Tracking": [], "Quantity": 18.0000, "DiscountRate": 0.00, "LineItemID": "fe0513bd-9e96-4269-b40d-7fba4412ad7b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (14164799694 - 36 WELLINGTON ST E STE 200 TORONTO, ON M5E1C7)", "UnitAmount": 2.75, "TaxType": "TAX020", "TaxAmount": 0.36, "LineAmount": 2.75, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "8d1509b7-9b66-44c3-beff-564e7610e488", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Softphone users", "UnitAmount": 3.00, "TaxType": "TAX020", "TaxAmount": 7.02, "LineAmount": 54.00, "AccountCode": "203", "Tracking": [], "Quantity": 18.0000, "DiscountRate": 0.00, "LineItemID": "c227882d-73fd-47d2-9b59-d65c9cd05afe", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (1-833-WATTPAD (1-833-928-8723))", "UnitAmount": 2.75, "TaxType": "TAX020", "TaxAmount": 0.36, "LineAmount": 2.75, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "3cc2d4fa-4a53-40f7-a1cb-e4a066884992", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (16474178599)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "0cac944d-4591-45d1-aec2-534a077789a5", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 200.50, "TotalTax": 26.08, "Total": 226.58, "UpdatedDateUTC": "\/Date(1742469161213+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:12:41] Production.INFO: -- Create Invoice id --96082640-1791-45ad-8529-9b5696f7988d [2025-03-20 07:12:41] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:12:41] Production.INFO: CheckInvoice xerov2: INV11703 [2025-03-20 07:12:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11703 [2025-03-20 07:12:44] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:12:44] Production.INFO: Invoice SubTotal 51.500000 [2025-03-20 07:12:44] Production.INFO: Invoice DetTotal 51.5 [2025-03-20 07:12:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Technologies%20for%20Learning%20Group" [2025-03-20 07:12:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:12:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:12:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:12:56] Production.INFO: =========Invoices String here======{taxType:"TAX014",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 7,UnitAmount : 7.000000,LineAmount : 49.000000},{taxType:"TAX014",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (12049404550 - 110 PRINCESS ST STE 101 WINNIPEG, MB R3B1K7)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 07:12:59] Production.INFO: ==== result ===== [2025-03-20 07:12:59] Production.INFO: { "Id": "9913b8ad-d12d-41c2-8be9-5c1bdeaa9fa5", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469179452)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "70c0c523-b2dd-4603-a3e5-7b0ccb75596f", "InvoiceNumber": "INV11703", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 58.20, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "548d87cf-625c-4b68-be89-595b2161a774", "ContactStatus": "ACTIVE", "Name": "Technologies for Learning Group", "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(1533070462873+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-14T00:00:00", "Date": "\/Date(1741910400000+0000)\/", "DueDateString": "2025-03-21T00:00:00", "DueDate": "\/Date(1742515200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "License for a Pay As You Go Cloud Phone extension", "UnitAmount": 7.00, "TaxType": "TAX014", "TaxAmount": 6.37, "LineAmount": 49.00, "AccountCode": "203", "Tracking": [], "Quantity": 7.0000, "DiscountRate": 0.00, "LineItemID": "b63073e4-ee8b-4ea8-8781-7711f71753f2", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (12049404550 - 110 PRINCESS ST STE 101 WINNIPEG, MB R3B1K7)", "UnitAmount": 2.50, "TaxType": "TAX014", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "3b049540-0739-4366-a934-ab6acd64c73b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 51.50, "TotalTax": 6.70, "Total": 58.20, "UpdatedDateUTC": "\/Date(1742469179420+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:12:59] Production.INFO: -- Create Invoice id --70c0c523-b2dd-4603-a3e5-7b0ccb75596f [2025-03-20 07:12:59] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:12:59] Production.INFO: CheckInvoice xerov2: INV11704 [2025-03-20 07:12:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11704 [2025-03-20 07:13:02] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:13:02] Production.INFO: Invoice SubTotal 57.500000 [2025-03-20 07:13:02] Production.INFO: Invoice DetTotal 57.5 [2025-03-20 07:13:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010558%20%28David%20Mills%29" [2025-03-20 07:13:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:13:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:13:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:13:14] 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 (2893233323 - 10 Dewside Drive U15 Brampton, ON L6R 3Y3)",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 : 4,UnitAmount : -5.000000,LineAmount : -20.000000} [2025-03-20 07:13:17] Production.INFO: ==== result ===== [2025-03-20 07:13:17] Production.INFO: { "Id": "8082228e-c0cf-4001-8f1a-9bcdf2f9f071", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469197604)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "6970d70d-2ada-43a4-89f7-16bbcaaccd4b", "InvoiceNumber": "INV11704", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 64.98, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "2149c89a-278c-4dda-ad9d-2a94478559a8", "ContactStatus": "ACTIVE", "Name": "Dominos 10558 (David Mills)", "EmailAddress": "office@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(1594927753780+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-14T00:00:00", "Date": "\/Date(1741910400000+0000)\/", "DueDateString": "2025-04-13T00:00:00", "DueDate": "\/Date(1744502400000+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": "5038efe1-217b-45dc-9c73-7c48945c9f55", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (2893233323 - 10 Dewside Drive U15 Brampton, ON L6R 3Y3)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "31baa566-c917-42ba-9ae8-fd453cf0104d", "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": -2.60, "LineAmount": -20.00, "AccountCode": "303", "Tracking": [], "Quantity": 4.0000, "DiscountRate": 0.00, "LineItemID": "8b16a306-3241-402d-8525-3277adf7bf6a", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 57.50, "TotalTax": 7.48, "Total": 64.98, "UpdatedDateUTC": "\/Date(1742469197557+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:13:17] Production.INFO: -- Create Invoice id --6970d70d-2ada-43a4-89f7-16bbcaaccd4b [2025-03-20 07:13:17] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:13:17] Production.INFO: CheckInvoice xerov2: INV11705 [2025-03-20 07:13:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11705 [2025-03-20 07:13:20] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:13:20] Production.INFO: Invoice SubTotal 52.500000 [2025-03-20 07:13:20] Production.INFO: Invoice DetTotal 52.5 [2025-03-20 07:13:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010567%20%28Sandeep%20Chaudhari%29" [2025-03-20 07:13:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:13:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:13:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:13:33] 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 (5198049744 - 195 Franklin Blvd 5 Cambridge, ON N1R 8H3)",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 07:13:36] Production.INFO: ==== result ===== [2025-03-20 07:13:36] Production.INFO: { "Id": "b2e14723-44d4-4ca3-b602-4471958232ca", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469216524)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "3c79a2ad-2ffb-472a-87a1-5470c59cdfca", "InvoiceNumber": "INV11705", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 59.33, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "e7245c9e-f77f-4765-a131-4eff2704ecf0", "ContactStatus": "ACTIVE", "Name": "Dominos 10567 (Sandeep Chaudhari)", "FirstName": "Sandeep", "LastName": "Chaudhari", "EmailAddress": "schaudha@hotmail.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(1594927784687+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-14T00:00:00", "Date": "\/Date(1741910400000+0000)\/", "DueDateString": "2025-04-13T00:00:00", "DueDate": "\/Date(1744502400000+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": "486fea53-0510-46e4-b3af-c9f32df6f7c6", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (5198049744 - 195 Franklin Blvd 5 Cambridge, ON N1R 8H3)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "2ea46bdb-2821-47bb-bf79-873b30fc93f2", "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": "97ebebc0-e5fa-49b7-abf2-536d55c9125a", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 6.83, "Total": 59.33, "UpdatedDateUTC": "\/Date(1742469216307+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:13:36] Production.INFO: -- Create Invoice id --3c79a2ad-2ffb-472a-87a1-5470c59cdfca [2025-03-20 07:13:36] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:13:36] Production.INFO: CheckInvoice xerov2: INV11706 [2025-03-20 07:13:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11706 [2025-03-20 07:13:39] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:13:39] Production.INFO: Invoice SubTotal 79.750000 [2025-03-20 07:13:39] Production.INFO: Invoice DetTotal 79.75 [2025-03-20 07:13:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Ontario%20Turtle%20Conservation%20Centre" [2025-03-20 07:13:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:13:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:13:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:13:51] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Restaurant/Retail Package - 4 Line Flat Rate",Quantity : 1,UnitAmount : 45,LineAmount : 45.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 30.000000,"Description": "e911 address registration (17057415000 - 2785 Television Road, Douro-Dummer, ON K9L 1E9)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 1.750000},{taxType:"TAX020",AccountCode : 212,"Description": "PasswordBoss - password management and sharing",Quantity : 6,UnitAmount : 5.500000,LineAmount : 33.000000} [2025-03-20 07:13:54] Production.INFO: ==== result ===== [2025-03-20 07:13:54] Production.INFO: { "Id": "09b7b41c-473b-4349-ab17-51da2f8d35e0", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469234667)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "ba3eb619-3181-44a5-88b6-8822360d0977", "InvoiceNumber": "INV11706", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 90.12, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.75, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "24cd1aba-5ae0-4087-aad8-a6d157b1a548", "ContactStatus": "ACTIVE", "Name": "Ontario Turtle Conservation Centre", "EmailAddress": "info@ontarioturtle.ca", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "AddressLine1": "1434 Chemong Road", "AddressLine2": "Unit 4", "City": "Selwyn", "Region": "ON", "PostalCode": "K9J 6X2", "Country": "CANADA" }, { "AddressType": "POBOX", "AddressLine1": "1434 Chemong Road", "AddressLine2": "Unit 4", "City": "Selwyn", "Region": "ON", "PostalCode": "K9J 6X2", "Country": "CANADA" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "(705) 741-5000", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1714493843707+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-14T00:00:00", "Date": "\/Date(1741910400000+0000)\/", "DueDateString": "2025-04-13T00:00:00", "DueDate": "\/Date(1744502400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Restaurant/Retail Package - 4 Line Flat Rate", "UnitAmount": 45.00, "TaxType": "TAX020", "TaxAmount": 5.85, "LineAmount": 45.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "b37ac8a5-eea5-43b8-9ba9-43409fea8967", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (17057415000 - 2785 Television Road, Douro-Dummer, ON K9L 1E9)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.23, "LineAmount": 1.75, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 30.00, "LineItemID": "530d0e72-d11a-4a2a-9f13-ca1c0807f422", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 0.7500, "ValidationErrors": [] }, { "Description": "PasswordBoss - password management and sharing", "UnitAmount": 5.50, "TaxType": "TAX020", "TaxAmount": 4.29, "LineAmount": 33.00, "AccountCode": "212", "Tracking": [], "Quantity": 6.0000, "LineItemID": "d2fd8c44-eb57-45d6-bda0-41f33cc95772", "AccountID": "f910948c-6e7a-46ea-91d4-60d5bab373c8", "ValidationErrors": [] } ], "SubTotal": 79.75, "TotalTax": 10.37, "Total": 90.12, "UpdatedDateUTC": "\/Date(1742469234620+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:13:54] Production.INFO: -- Create Invoice id --ba3eb619-3181-44a5-88b6-8822360d0977 [2025-03-20 07:13:54] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:13:54] Production.INFO: CheckInvoice xerov2: INV11708 [2025-03-20 07:13:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11708 [2025-03-20 07:13:57] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:13:57] Production.INFO: Invoice SubTotal 76.490000 [2025-03-20 07:13:57] Production.INFO: Invoice DetTotal 76.49 [2025-03-20 07:13:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010136%20%28Muzafar%20Ahmad%29" [2025-03-20 07:14:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:14:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:14:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:14:09] Production.INFO: =========Invoices String here======{taxType:"TAX012",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 03-10-2025 To 03-13-2025",Quantity : 1,UnitAmount : 0.030000,LineAmount : 0.030000},{taxType:"TAX012",AccountCode : 203,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 10.000000,LineAmount : 10.000000},{taxType:"TAX012",AccountCode : 203,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX012",AccountCode : 203,"Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",Quantity : 2,UnitAmount : -0.680000,LineAmount : -1.360000},{taxType:"TAX012",AccountCode : 203,"Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",Quantity : 2,UnitAmount : -5.000000,LineAmount : -10.000000},{taxType:"TAX012",AccountCode : 203,"Description": "e911 address registration (4035015000 - 608 2nd St W Unit 1 Brooks, AB T1R1A8)",Quantity : 1,UnitAmount : 0.320000,LineAmount : 0.320000},{taxType:"TAX012",AccountCode : 203,"Description": "e911 address registration (4035015000 - 608 2nd St W Unit 1 Brooks, AB T1R1A8)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 07:14:12] Production.INFO: ==== result ===== [2025-03-20 07:14:12] Production.INFO: { "Id": "621ce041-93ba-49e9-a6df-20cfd1f4b2ea", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469252485)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "6e86b227-8a2e-4590-a35b-b422e535bc9d", "InvoiceNumber": "INV11708", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 80.32, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "2d268a43-b1b6-4222-a260-19561b762b7c", "ContactStatus": "ACTIVE", "Name": "Dominos 10136 (Muzafar Ahmad)", "FirstName": "Muzafar", "LastName": "Ahmad", "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(1742468871023+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-14T00:00:00", "Date": "\/Date(1741910400000+0000)\/", "DueDateString": "2025-04-13T00:00:00", "DueDate": "\/Date(1744502400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 03-10-2025 To 03-13-2025", "UnitAmount": 0.03, "TaxType": "TAX012", "TaxAmount": 0.00, "LineAmount": 0.03, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "ef41dc0d-6ff5-450c-b762-e891980ee75f", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Restaurant - 4 Line Flat Rate", "UnitAmount": 10.00, "TaxType": "TAX012", "TaxAmount": 0.50, "LineAmount": 10.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "d8e324b3-4920-4f8e-8cb9-d06011be4e4b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Restaurant - 4 Line Flat Rate", "UnitAmount": 75.00, "TaxType": "TAX012", "TaxAmount": 3.75, "LineAmount": 75.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "639f7d1f-1c74-4314-8583-e65942cd987a", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service", "UnitAmount": -0.68, "TaxType": "TAX012", "TaxAmount": -0.07, "LineAmount": -1.36, "AccountCode": "203", "Tracking": [], "Quantity": 2.0000, "LineItemID": "a862de81-793b-437a-9819-2c91e706c20c", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service", "UnitAmount": -5.00, "TaxType": "TAX012", "TaxAmount": -0.50, "LineAmount": -10.00, "AccountCode": "203", "Tracking": [], "Quantity": 2.0000, "LineItemID": "ebe0f5f0-ef73-45be-86aa-0452b13f8266", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (4035015000 - 608 2nd St W Unit 1 Brooks, AB T1R1A8)", "UnitAmount": 0.32, "TaxType": "TAX012", "TaxAmount": 0.02, "LineAmount": 0.32, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "e0ebcf4f-9120-4a45-9e44-b52e58cae469", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (4035015000 - 608 2nd St W Unit 1 Brooks, AB T1R1A8)", "UnitAmount": 2.50, "TaxType": "TAX012", "TaxAmount": 0.13, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "3d3347aa-e60b-4061-b827-bf0407c4a74c", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 76.49, "TotalTax": 3.83, "Total": 80.32, "UpdatedDateUTC": "\/Date(1742469252423+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:14:12] Production.INFO: -- Create Invoice id --6e86b227-8a2e-4590-a35b-b422e535bc9d [2025-03-20 07:14:12] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:14:12] Production.INFO: CheckInvoice xerov2: INV11686 [2025-03-20 07:14:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11686 [2025-03-20 07:14:15] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:14:15] Production.INFO: Invoice SubTotal 78.850000 [2025-03-20 07:14:15] Production.INFO: Invoice DetTotal 78.85 [2025-03-20 07:14:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dunbloor%20Medical%20Centre" [2025-03-20 07:14:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:14:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:14:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:14:27] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 02-13-2025 To 03-12-2025",Quantity : 1,UnitAmount : 6.350000,LineAmount : 6.350000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 10,UnitAmount : 7.000000,LineAmount : 70.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14164821980 - 5115 DUNDAS ST W ETOBICOKE, ON M9A1C1)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 07:14:30] Production.INFO: ==== result ===== [2025-03-20 07:14:30] Production.INFO: { "Id": "ff79e8ab-6259-46e3-a826-7c69d1944564", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469270603)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "e3b6ad64-c4b2-49a5-8a43-0a46fbd91db8", "InvoiceNumber": "INV11686", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 89.11, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "afd1bd01-a006-445e-9a92-85deb57a3bc0", "ContactStatus": "ACTIVE", "Name": "Dunbloor Medical Centre", "FirstName": "Ashraf", "LastName": "Soliman", "EmailAddress": "dunbloor@outlook.com", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "AddressLine1": "5115 Dundas Street West", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Etobicoke", "Region": "ON", "PostalCode": "M9A 1C1", "Country": "Canada", "AttentionTo": "Ashraf Soliman" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "(416) 4821980", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "4164821980", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1562268146223+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-03-13T00:00:00", "Date": "\/Date(1741824000000+0000)\/", "DueDateString": "2025-04-12T00:00:00", "DueDate": "\/Date(1744416000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 02-13-2025 To 03-12-2025", "UnitAmount": 6.35, "TaxType": "TAX020", "TaxAmount": 0.83, "LineAmount": 6.35, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "2d4a2bcc-f2e1-4575-9fcf-98a3a8fe2bd5", "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": 9.10, "LineAmount": 70.00, "AccountCode": "203", "Tracking": [], "Quantity": 10.0000, "DiscountRate": 0.00, "LineItemID": "3e35694f-f5db-4bd9-9bea-6a09e3831614", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (14164821980 - 5115 DUNDAS ST W ETOBICOKE, ON M9A1C1)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "bc5a8e42-8dd8-434e-8d38-a2e1f4db0c4c", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 78.85, "TotalTax": 10.26, "Total": 89.11, "UpdatedDateUTC": "\/Date(1742469270493+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:14:30] Production.INFO: -- Create Invoice id --e3b6ad64-c4b2-49a5-8a43-0a46fbd91db8 [2025-03-20 07:14:30] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:14:30] Production.INFO: CheckInvoice xerov2: INV11687 [2025-03-20 07:14:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11687 [2025-03-20 07:14:33] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:14:33] Production.INFO: Invoice SubTotal 328.800000 [2025-03-20 07:14:33] Production.INFO: Invoice DetTotal 328.8 [2025-03-20 07:14:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010296%20%28Gurinder%20Saini%29" [2025-03-20 07:14:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:14:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:14:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:14:45] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Dominos Pizza - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (15197633030 - 204 SILVERCREEK PKWY N UNIT 1 GUELPH, ON N1H7P7)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "Line of Sight Wireless Internet Access - 50mbps/10mbps",Quantity : 1,UnitAmount : 266.300000,LineAmount : 266.300000},{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 07:14:48] Production.INFO: ==== result ===== [2025-03-20 07:14:48] Production.INFO: { "Id": "b1c60570-39e2-4ccb-a2fe-f47fa853c9f7", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469288744)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "33ceb74b-0023-4d58-8cde-427b5afc41d3", "InvoiceNumber": "INV11687", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 371.55, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "6c1941a7-23be-4018-9a2e-523e55d27a57", "ContactStatus": "ACTIVE", "Name": "Dominos 10296 (Gurinder 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(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-03-13T00:00:00", "Date": "\/Date(1741824000000+0000)\/", "DueDateString": "2025-04-12T00:00:00", "DueDate": "\/Date(1744416000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Dominos Pizza - 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": "0defcb28-d500-4b0c-9535-c282f2d5caca", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (15197633030 - 204 SILVERCREEK PKWY N UNIT 1 GUELPH, ON N1H7P7)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "70e06d99-1be5-47c8-b84e-479edf16d8de", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Line of Sight Wireless Internet Access - 50mbps/10mbps", "UnitAmount": 266.30, "TaxType": "TAX020", "TaxAmount": 34.62, "LineAmount": 266.30, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "68c5fcf7-7ecf-45f4-a326-09bd19c0f82e", "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": -1.95, "LineAmount": -15.00, "AccountCode": "303", "Tracking": [], "Quantity": 3.0000, "DiscountRate": 0.00, "LineItemID": "6b307082-5ce0-48c5-88f0-67e8c731bf2b", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 328.80, "TotalTax": 42.75, "Total": 371.55, "UpdatedDateUTC": "\/Date(1742469288697+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:14:48] Production.INFO: -- Create Invoice id --33ceb74b-0023-4d58-8cde-427b5afc41d3 [2025-03-20 07:14:48] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:14:48] Production.INFO: CheckInvoice xerov2: INV11690 [2025-03-20 07:14:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11690 [2025-03-20 07:14:51] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:14:51] Production.INFO: Invoice SubTotal 60.000000 [2025-03-20 07:14:51] Production.INFO: Invoice DetTotal 60 [2025-03-20 07:14:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010455%20%28Ricky%20Singh%29" [2025-03-20 07:14:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:14:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:15:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:15:02] 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 : 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 07:15:05] Production.INFO: ==== result ===== [2025-03-20 07:15:05] Production.INFO: { "Id": "9a109915-b23b-438e-af3a-53d323950da4", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469305678)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "cc5571d2-7308-456e-9c2f-684ccfb24ca0", "InvoiceNumber": "INV11690", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 67.80, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "40d799a0-fa8e-497f-be5e-788af7a33b55", "ContactStatus": "ACTIVE", "Name": "Dominos 10455 (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(1597802803227+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-13T00:00:00", "Date": "\/Date(1741824000000+0000)\/", "DueDateString": "2025-04-12T00:00:00", "DueDate": "\/Date(1744416000000+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": "4a9f6a4c-94c0-47af-bd03-c5640f450ac6", "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.95, "LineAmount": -15.00, "AccountCode": "303", "Tracking": [], "Quantity": 3.0000, "DiscountRate": 0.00, "LineItemID": "2e60f581-711c-4a30-8608-52f0b4757b67", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 60.00, "TotalTax": 7.80, "Total": 67.80, "UpdatedDateUTC": "\/Date(1742469305617+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:15:05] Production.INFO: -- Create Invoice id --cc5571d2-7308-456e-9c2f-684ccfb24ca0 [2025-03-20 07:15:05] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:15:05] Production.INFO: CheckInvoice xerov2: INV11691 [2025-03-20 07:15:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11691 [2025-03-20 07:15:08] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:15:08] Production.INFO: Invoice SubTotal 52.500000 [2025-03-20 07:15:08] Production.INFO: Invoice DetTotal 52.5 [2025-03-20 07:15:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010534%20%28Sandeep%20Chaudhari%29" [2025-03-20 07:15:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:15:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:15:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:15:21] 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 (PHONENUMBER - ADDRESS)",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 07:15:25] Production.INFO: ==== result ===== [2025-03-20 07:15:25] Production.INFO: { "Id": "92dedfe2-abf0-4e4c-bcee-3f6c6c3418b3", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469325008)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "2e2a82db-c96e-4725-ad92-98030e744ff9", "InvoiceNumber": "INV11691", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 59.33, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "8f094a5b-f8d1-4cb4-be2e-59f80f574839", "ContactStatus": "ACTIVE", "Name": "Dominos 10534 (Sandeep 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(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-03-13T00:00:00", "Date": "\/Date(1741824000000+0000)\/", "DueDateString": "2025-04-12T00:00:00", "DueDate": "\/Date(1744416000000+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": "aab4f94c-aed6-48f7-92ad-a9a2deddd6ee", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (PHONENUMBER - ADDRESS)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "c4f6f9c4-6b6d-497d-b167-a3198cb652f8", "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": "b6c9f383-7081-48c0-aec5-d14066bd5c76", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 6.83, "Total": 59.33, "UpdatedDateUTC": "\/Date(1742469324913+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:15:25] Production.INFO: -- Create Invoice id --2e2a82db-c96e-4725-ad92-98030e744ff9 [2025-03-20 07:15:25] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:15:25] Production.INFO: CheckInvoice xerov2: INV11692 [2025-03-20 07:15:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11692 [2025-03-20 07:15:27] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:15:27] Production.INFO: Invoice SubTotal 5.000000 [2025-03-20 07:15:27] Production.INFO: Invoice DetTotal 5 [2025-03-20 07:15:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Infinite%20Possibilities" [2025-03-20 07:15:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:15:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:15:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:15:39] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone toll free DID (18666955378)",Quantity : 1,UnitAmount : 5.000000,LineAmount : 5.000000} [2025-03-20 07:15:42] Production.INFO: ==== result ===== [2025-03-20 07:15:42] Production.INFO: { "Id": "669676eb-9ceb-4a9f-beb6-f905fd9a5b23", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469342171)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "2f73d65a-1287-45db-872a-62a6860202e6", "InvoiceNumber": "INV11692", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 5.65, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "a00da236-4e1c-4856-8599-fd3ed8268a07", "ContactStatus": "ACTIVE", "Name": "Infinite Possibilities", "FirstName": "Rob", "LastName": "Brubacher", "EmailAddress": "accounts@ipdesignbuild.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(1594746678157+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-13T00:00:00", "Date": "\/Date(1741824000000+0000)\/", "DueDateString": "2025-04-12T00:00:00", "DueDate": "\/Date(1744416000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "License for a Pay As You Go Cloud Phone toll free DID (18666955378)", "UnitAmount": 5.00, "TaxType": "TAX020", "TaxAmount": 0.65, "LineAmount": 5.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "24a8ee79-ad5a-4f10-84c7-cfd9ec1dd1dc", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 5.00, "TotalTax": 0.65, "Total": 5.65, "UpdatedDateUTC": "\/Date(1742469342047+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:15:42] Production.INFO: -- Create Invoice id --2f73d65a-1287-45db-872a-62a6860202e6 [2025-03-20 07:15:42] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:15:42] Production.INFO: CheckInvoice xerov2: INV11694 [2025-03-20 07:15:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11694 [2025-03-20 07:15:44] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:15:44] Production.INFO: Invoice SubTotal 221.200000 [2025-03-20 07:15:44] Production.INFO: Invoice DetTotal 221.2 [2025-03-20 07:15:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bauman%20Group%20Inc." [2025-03-20 07:15:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:15:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:15:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:15:58] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 10.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 27,UnitAmount : 9.000000,LineAmount : 218.700000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (15196694333 - 3 Industrial Drive Elmira, ON N3B 2S1 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 07:16:01] Production.INFO: ==== result ===== [2025-03-20 07:16:01] Production.INFO: { "Id": "c1b4e84d-2269-49e7-b4cd-d6ba91c2a818", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469361316)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "365c3188-d40b-4d05-a3d4-65932a8a36ae", "InvoiceNumber": "INV11694", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 249.96, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 24.30, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "55837711-2979-41d6-b74d-0bee4c711dc6", "ContactStatus": "ACTIVE", "Name": "Bauman Group Inc.", "FirstName": "Randy", "LastName": "Bauman", "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(1700566819650+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-13T00:00:00", "Date": "\/Date(1741824000000+0000)\/", "DueDateString": "2025-04-12T00:00:00", "DueDate": "\/Date(1744416000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "License for an Unlimited Canada/US Cloud Phone extension", "UnitAmount": 9.00, "TaxType": "TAX020", "TaxAmount": 28.43, "LineAmount": 218.70, "AccountCode": "203", "Tracking": [], "Quantity": 27.0000, "DiscountRate": 10.00, "LineItemID": "d0674b94-780c-46b0-9532-3c5c661d0bf4", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 24.3000, "ValidationErrors": [] }, { "Description": "e911 address registration (15196694333 - 3 Industrial Drive Elmira, ON N3B 2S1 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "e3101d61-1981-453e-9068-237fa9f2fa3a", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 221.20, "TotalTax": 28.76, "Total": 249.96, "UpdatedDateUTC": "\/Date(1742469361223+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:16:01] Production.INFO: -- Create Invoice id --365c3188-d40b-4d05-a3d4-65932a8a36ae [2025-03-20 07:16:01] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:16:01] Production.INFO: CheckInvoice xerov2: INV11696 [2025-03-20 07:16:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11696 [2025-03-20 07:16:04] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:16:04] Production.INFO: Invoice SubTotal 38.500000 [2025-03-20 07:16:04] Production.INFO: Invoice DetTotal 38.5 [2025-03-20 07:16:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Lake%20Life%20Financial%20Solutions%20Inc." [2025-03-20 07:16:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:16:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:16:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:16:16] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 10.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 4,UnitAmount : 10.000000,LineAmount : 36.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (12263995253 - 255 King Street North 301 Waterloo, ON N2J 4V2 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 07:16:19] Production.INFO: ==== result ===== [2025-03-20 07:16:19] Production.INFO: { "Id": "ac8a6b25-22d9-4d24-b5d9-1035893e5bcf", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469379846)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "0b9b0635-049c-48e8-b8d9-0c69a271e2f1", "InvoiceNumber": "INV11696", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 43.51, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 4.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "2ab5d3da-c85d-4d7e-91cc-61b21f64178e", "ContactStatus": "ACTIVE", "Name": "Lake Life Financial Solutions Inc.", "FirstName": "Ryan", "LastName": "Hammar", "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(1682946194770+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-13T00:00:00", "Date": "\/Date(1741824000000+0000)\/", "DueDateString": "2025-04-12T00:00:00", "DueDate": "\/Date(1744416000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "License for an Unlimited Canada/US Cloud Phone extension", "UnitAmount": 10.00, "TaxType": "TAX020", "TaxAmount": 4.68, "LineAmount": 36.00, "AccountCode": "203", "Tracking": [], "Quantity": 4.0000, "DiscountRate": 10.00, "LineItemID": "c3c20db6-39b8-41ee-9fbb-501affbfba17", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 4.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (12263995253 - 255 King Street North 301 Waterloo, ON N2J 4V2 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "675cd177-b4fd-408d-8c53-f3f7b2f77154", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 38.50, "TotalTax": 5.01, "Total": 43.51, "UpdatedDateUTC": "\/Date(1742469379690+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:16:19] Production.INFO: -- Create Invoice id --0b9b0635-049c-48e8-b8d9-0c69a271e2f1 [2025-03-20 07:16:19] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:16:19] Production.INFO: CheckInvoice xerov2: INV11684 [2025-03-20 07:16:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11684 [2025-03-20 07:16:22] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:16:22] Production.INFO: Invoice SubTotal 57.500000 [2025-03-20 07:16:22] Production.INFO: Invoice DetTotal 57.5 [2025-03-20 07:16:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010293%20%28David%20Mills%29" [2025-03-20 07:16:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:16:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:16:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:16:33] 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 (19054589858 - 1650 WILLIAMS PKWY BRAMPTON, ON L6S5R7)",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 : 4,UnitAmount : -5.000000,LineAmount : -20.000000} [2025-03-20 07:16:37] Production.INFO: ==== result ===== [2025-03-20 07:16:37] Production.INFO: { "Id": "aad319c7-7b02-44ab-a257-0963a7fda9a3", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469397389)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "4838351e-f571-48cb-844e-d75a20f4b7a8", "InvoiceNumber": "INV11684", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 64.98, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "dd25779b-67aa-4626-b1f4-381418d46919", "ContactStatus": "ACTIVE", "Name": "Dominos 10293 (David Mills)", "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(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-03-12T00:00:00", "Date": "\/Date(1741737600000+0000)\/", "DueDateString": "2025-04-11T00:00:00", "DueDate": "\/Date(1744329600000+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": "41afef34-faa4-4f2c-8a7d-05d05919354b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (19054589858 - 1650 WILLIAMS PKWY BRAMPTON, ON L6S5R7)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "a968d1da-2449-412d-a1d6-ad87551b7829", "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": -2.60, "LineAmount": -20.00, "AccountCode": "303", "Tracking": [], "Quantity": 4.0000, "DiscountRate": 0.00, "LineItemID": "6a6e0f56-3afd-4431-8b10-6bbabf2a766c", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 57.50, "TotalTax": 7.48, "Total": 64.98, "UpdatedDateUTC": "\/Date(1742469397343+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:16:37] Production.INFO: -- Create Invoice id --4838351e-f571-48cb-844e-d75a20f4b7a8 [2025-03-20 07:16:37] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:16:37] Production.INFO: CheckInvoice xerov2: INV11678 [2025-03-20 07:16:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11678 [2025-03-20 07:16:40] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:16:40] Production.INFO: Invoice SubTotal 57.500000 [2025-03-20 07:16:40] Production.INFO: Invoice DetTotal 57.5 [2025-03-20 07:16:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010537%20%28Brandon%20Meyers%29" [2025-03-20 07:16:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:16:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:16:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:16:52] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 55.000000,LineAmount : 55.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (12264580100 - 316 Suncoast Dr. E. Unit C Goderich, On N7A 4N7, Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 07:16:56] Production.INFO: ==== result ===== [2025-03-20 07:16:56] Production.INFO: { "Id": "947bb2fd-bcb3-48c1-a435-ec6c2e098a83", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469416087)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "082b98d9-89b7-43ed-9630-299246aa70eb", "InvoiceNumber": "INV11678", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 64.98, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "e432f2ff-87d1-4a0f-b87d-a33325db6e89", "ContactStatus": "ACTIVE", "Name": "Dominos 10537 (Brandon Meyers)", "FirstName": "Brandon", "LastName": "Meyers", "EmailAddress": "brandongordonmeyers@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(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-03-11T00:00:00", "Date": "\/Date(1741651200000+0000)\/", "DueDateString": "2025-04-10T00:00:00", "DueDate": "\/Date(1744243200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Restaurant - 4 Line Flat Rate", "UnitAmount": 55.00, "TaxType": "TAX020", "TaxAmount": 7.15, "LineAmount": 55.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "624eac9f-5102-4009-88eb-42d6c18884d7", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (12264580100 - 316 Suncoast Dr. E. Unit C Goderich, On N7A 4N7, Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "5d4175b9-4a1f-49ac-af8e-b5244fa18878", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 57.50, "TotalTax": 7.48, "Total": 64.98, "UpdatedDateUTC": "\/Date(1742469416040+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:16:56] Production.INFO: -- Create Invoice id --082b98d9-89b7-43ed-9630-299246aa70eb [2025-03-20 07:16:56] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:16:56] Production.INFO: CheckInvoice xerov2: INV11679 [2025-03-20 07:16:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11679 [2025-03-20 07:16:58] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:16:58] Production.INFO: Invoice SubTotal 9.500000 [2025-03-20 07:16:58] Production.INFO: Invoice DetTotal 9.5 [2025-03-20 07:16:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="G4%20Broker" [2025-03-20 07:17:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:17:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:17:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:17:11] 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 : 7.000000,LineAmount : 7.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (13652350035 - 145 Royal Crest Court 4 Unionville, ON L3R 9Z4 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 07:17:15] Production.INFO: ==== result ===== [2025-03-20 07:17:15] Production.INFO: { "Id": "82d44ac1-c291-4b76-9b31-a62e968adde3", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469435063)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "34893296-6260-4f34-840e-df92d6e72974", "InvoiceNumber": "INV11679", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 10.74, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "3cfda7a3-4db5-4680-a967-42dbcc00679b", "ContactStatus": "ACTIVE", "Name": "G4 Broker", "FirstName": "Paul", "LastName": "Mann", "EmailAddress": "paul.mann@aaxelinsurance.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(1580834599177+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-11T00:00:00", "Date": "\/Date(1741651200000+0000)\/", "DueDateString": "2025-04-10T00:00:00", "DueDate": "\/Date(1744243200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "License for a Pay As You Go Cloud Phone extension", "UnitAmount": 7.00, "TaxType": "TAX020", "TaxAmount": 0.91, "LineAmount": 7.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "53de3047-b261-4e56-b6e9-25609fed0188", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (13652350035 - 145 Royal Crest Court 4 Unionville, ON L3R 9Z4 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "ffafdfcd-2e44-4190-b753-3df67e7fdf59", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 9.50, "TotalTax": 1.24, "Total": 10.74, "UpdatedDateUTC": "\/Date(1742469435017+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:17:15] Production.INFO: -- Create Invoice id --34893296-6260-4f34-840e-df92d6e72974 [2025-03-20 07:17:15] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:17:15] Production.INFO: CheckInvoice xerov2: INV11680 [2025-03-20 07:17:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11680 [2025-03-20 07:17:17] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:17:17] Production.INFO: Invoice SubTotal 65.000000 [2025-03-20 07:17:17] Production.INFO: Invoice DetTotal 65 [2025-03-20 07:17:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010402%20%28Anwar%20Hossain%29" [2025-03-20 07:17:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:17:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:17:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:17:29] 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 : 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} [2025-03-20 07:17:32] Production.INFO: ==== result ===== [2025-03-20 07:17:32] Production.INFO: { "Id": "d3fc1455-988a-435a-9002-e17577ebdcf1", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469452735)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "044a083f-5a90-4449-ad4c-f57df6ffb4a5", "InvoiceNumber": "INV11680", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 73.45, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "638629e4-7df5-47ca-ab31-ab7d228ee597", "ContactStatus": "ACTIVE", "Name": "Dominos 10402 (Anwar Hossain)", "FirstName": "Anwar", "LastName": "Hossain", "EmailAddress": "anwar377@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(1581435194217+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-11T00:00:00", "Date": "\/Date(1741651200000+0000)\/", "DueDateString": "2025-04-10T00:00:00", "DueDate": "\/Date(1744243200000+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": "72ef1755-96bf-4c43-a384-d9c5d128929c", "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": "a27b2404-2067-4f5b-a11b-51b8a71aaf2a", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 65.00, "TotalTax": 8.45, "Total": 73.45, "UpdatedDateUTC": "\/Date(1742469452690+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:17:32] Production.INFO: -- Create Invoice id --044a083f-5a90-4449-ad4c-f57df6ffb4a5 [2025-03-20 07:17:32] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:17:32] Production.INFO: CheckInvoice xerov2: INV11681 [2025-03-20 07:17:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11681 [2025-03-20 07:17:35] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:17:35] Production.INFO: Invoice SubTotal 77.500000 [2025-03-20 07:17:35] Production.INFO: Invoice DetTotal 77.5 [2025-03-20 07:17:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010547%20%28Nathan%20Krishnan%29" [2025-03-20 07:17:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:17:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:17:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:17:48] 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 (14162515251 - 3345 LAKESHORE BLVD W ETOBICOKE, ON M8W1N1 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 07:17:51] Production.INFO: ==== result ===== [2025-03-20 07:17:51] Production.INFO: { "Id": "b7eeacbe-b097-4420-aece-aec4c40ddd93", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469471268)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "26e79fa9-6997-4c3c-a4f9-2c1bd294c6ee", "InvoiceNumber": "INV11681", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 87.58, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "b7a54595-13f3-43f4-ba4f-ba957a026442", "ContactStatus": "ACTIVE", "Name": "Dominos 10547 (Nathan Krishnan)", "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(1629352418927+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "DefaultCurrency": "CAD", "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-11T00:00:00", "Date": "\/Date(1741651200000+0000)\/", "DueDateString": "2025-04-10T00:00:00", "DueDate": "\/Date(1744243200000+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": "55d769da-55fa-4117-a218-5e8273330c32", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (14162515251 - 3345 LAKESHORE BLVD W ETOBICOKE, ON M8W1N1 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "0431c232-2848-4dc2-adc5-0e3d0428ba82", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 77.50, "TotalTax": 10.08, "Total": 87.58, "UpdatedDateUTC": "\/Date(1742469471173+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:17:51] Production.INFO: -- Create Invoice id --26e79fa9-6997-4c3c-a4f9-2c1bd294c6ee [2025-03-20 07:17:51] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:17:51] Production.INFO: CheckInvoice xerov2: INV11683 [2025-03-20 07:17:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11683 [2025-03-20 07:17:54] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:17:54] Production.INFO: Invoice SubTotal 78.490000 [2025-03-20 07:17:54] Production.INFO: Invoice DetTotal 78.49 [2025-03-20 07:17:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010096%20%28Albert%20Chan%29" [2025-03-20 07:17:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:18:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:18:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:18:06] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Restaurant - 5 Line Flat Rate DPZ Canada",Quantity : 1,UnitAmount : 75.990000,LineAmount : 75.990000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (1-778-649-2222 - 386 City Centre Kitimat, BC V8C2G3 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 07:18:09] Production.INFO: ==== result ===== [2025-03-20 07:18:09] Production.INFO: { "Id": "e6bbc78e-e970-41a0-8ef1-7f079e500743", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469489209)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "929756bd-0605-4052-9bba-dcfae80e6bea", "InvoiceNumber": "INV11683", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 88.70, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "dc1089bc-e9ac-4fac-8919-44bc3549e60a", "ContactStatus": "ACTIVE", "Name": "Dominos 10096 (Albert Chan)", "FirstName": "Albert", "LastName": "Chan", "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(1730121892430+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-11T00:00:00", "Date": "\/Date(1741651200000+0000)\/", "DueDateString": "2025-04-10T00:00:00", "DueDate": "\/Date(1744243200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Restaurant - 5 Line Flat Rate DPZ Canada", "UnitAmount": 75.99, "TaxType": "TAX020", "TaxAmount": 9.88, "LineAmount": 75.99, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "e33d9675-1635-4df5-a58b-01794edb6897", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (1-778-649-2222 - 386 City Centre Kitimat, BC V8C2G3 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "ee0430ef-db5e-48bc-81a8-f611905fa5c0", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 78.49, "TotalTax": 10.21, "Total": 88.70, "UpdatedDateUTC": "\/Date(1742469489163+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:18:09] Production.INFO: -- Create Invoice id --929756bd-0605-4052-9bba-dcfae80e6bea [2025-03-20 07:18:09] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:18:09] Production.INFO: CheckInvoice xerov2: INV11672 [2025-03-20 07:18:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11672 [2025-03-20 07:18:12] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:18:12] Production.INFO: Invoice SubTotal 38.870000 [2025-03-20 07:18:12] Production.INFO: Invoice DetTotal 38.87 [2025-03-20 07:18:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="DMCI" [2025-03-20 07:18:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:18:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:18:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:18:24] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension (DMCi)",Quantity : 5,UnitAmount : 5.000000,LineAmount : 25.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional Toll Free DID (18336210750)",Quantity : 1,UnitAmount : 5.000000,LineAmount : 5.000000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Loyalty discount - $10/month - Never expires (XR)",Quantity : 1,UnitAmount : -10.000000,LineAmount : -10.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Allows Microsoft Teams app to be used to make and receive calls via Cloud Phone.",Quantity : 3,UnitAmount : 6.290000,LineAmount : 18.870000} [2025-03-20 07:18:27] Production.INFO: ==== result ===== [2025-03-20 07:18:27] Production.INFO: { "Id": "75d132c7-35b6-4ff5-b474-c1260135da15", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469507859)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "f096c0ac-9d61-4a93-a6fb-2c5ae23cfd5a", "InvoiceNumber": "INV11672", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 43.92, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "7bc9d577-a1e5-4866-a22c-25fb311cbded", "ContactStatus": "ACTIVE", "Name": "DMCI", "FirstName": "Prasad", "LastName": "Gopinath", "EmailAddress": "prasad@dmci.ca", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "AddressLine1": "1448 Lawrence Ave. East", "AddressLine2": "Suite 303", "AddressLine3": "", "AddressLine4": "", "City": "North York", "Region": "ON", "PostalCode": "M4A2V6", "Country": "Canada", "AttentionTo": "Prasad Gopinath" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "(416) 4258001", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "4164258001,4201", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "6478893297", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1629352418927+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "DefaultCurrency": "CAD", "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-10T00:00:00", "Date": "\/Date(1741564800000+0000)\/", "DueDateString": "2025-04-09T00:00:00", "DueDate": "\/Date(1744156800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "License for a Pay As You Go Cloud Phone extension (DMCi)", "UnitAmount": 5.00, "TaxType": "TAX020", "TaxAmount": 3.25, "LineAmount": 25.00, "AccountCode": "203", "Tracking": [], "Quantity": 5.0000, "DiscountRate": 0.00, "LineItemID": "bd753421-1d21-4c1e-8d95-ae21fb576eba", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional Toll Free DID (18336210750)", "UnitAmount": 5.00, "TaxType": "TAX020", "TaxAmount": 0.65, "LineAmount": 5.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "a2ee724b-4b49-49df-a1d6-ec23768d412b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Loyalty discount - $10/month - Never expires (XR)", "UnitAmount": -10.00, "TaxType": "TAX020", "TaxAmount": -1.30, "LineAmount": -10.00, "AccountCode": "303", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "9ce431a7-a4f4-4d17-a641-509d03766672", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Allows Microsoft Teams app to be used to make and receive calls via Cloud Phone.", "UnitAmount": 6.29, "TaxType": "TAX020", "TaxAmount": 2.45, "LineAmount": 18.87, "AccountCode": "203", "Tracking": [], "Quantity": 3.0000, "LineItemID": "2c345006-e169-49ff-b2d2-9dd06767b63e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 38.87, "TotalTax": 5.05, "Total": 43.92, "UpdatedDateUTC": "\/Date(1742469507813+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:18:27] Production.INFO: -- Create Invoice id --f096c0ac-9d61-4a93-a6fb-2c5ae23cfd5a [2025-03-20 07:18:27] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:18:27] Production.INFO: CheckInvoice xerov2: INV11673 [2025-03-20 07:18:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11673 [2025-03-20 07:18:30] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:18:30] Production.INFO: Invoice SubTotal 14.500000 [2025-03-20 07:18:30] Production.INFO: Invoice DetTotal 14.5 [2025-03-20 07:18:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Rosedale%20Diner" [2025-03-20 07:18:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:18:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:18:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:18:42] 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 : 7.000000,LineAmount : 7.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14169233122 - 1164 YONGE ST TORONTO, ON M4W2L9)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14167850655)",Quantity : 1,UnitAmount : 3.000000,LineAmount : 3.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Additional DID (14168770759)",Quantity : 1,UnitAmount : 2.000000,LineAmount : 2.000000} [2025-03-20 07:18:45] Production.INFO: ==== result ===== [2025-03-20 07:18:45] Production.INFO: { "Id": "822b2d70-4041-45d8-9509-ca3c31f9891e", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469525836)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "050f9b35-8241-46de-be21-727d6aafefd7", "InvoiceNumber": "INV11673", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 16.39, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "d315b223-0318-473a-8190-ce14e673da0e", "ContactStatus": "ACTIVE", "Name": "Rosedale Diner", "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(1562268227653+0000)\/", "ContactGroups": [ { "ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58", "Name": "Benjamin's Customers", "Status": "ACTIVE", "Contacts": [], "HasValidationErrors": false } ], "IsSupplier": true, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-10T00:00:00", "Date": "\/Date(1741564800000+0000)\/", "DueDateString": "2025-04-09T00:00:00", "DueDate": "\/Date(1744156800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "License for a Pay As You Go Cloud Phone extension", "UnitAmount": 7.00, "TaxType": "TAX020", "TaxAmount": 0.91, "LineAmount": 7.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "be03e133-267b-4830-8d44-f51de43ea926", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (14169233122 - 1164 YONGE ST TORONTO, ON M4W2L9)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "d4cc3e96-8278-4c40-bbdd-3625001b7722", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (14167850655)", "UnitAmount": 3.00, "TaxType": "TAX020", "TaxAmount": 0.39, "LineAmount": 3.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "5dfa99da-0221-4d52-b9b5-9709e0e33acd", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (14168770759)", "UnitAmount": 2.00, "TaxType": "TAX020", "TaxAmount": 0.26, "LineAmount": 2.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "504588b9-f29f-439e-bf8f-7b88abb70f3f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 14.50, "TotalTax": 1.89, "Total": 16.39, "UpdatedDateUTC": "\/Date(1742469525650+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:18:45] Production.INFO: -- Create Invoice id --050f9b35-8241-46de-be21-727d6aafefd7 [2025-03-20 07:18:45] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:18:45] Production.INFO: CheckInvoice xerov2: INV11675 [2025-03-20 07:18:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11675 [2025-03-20 07:18:48] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:18:48] Production.INFO: Invoice SubTotal 11.230000 [2025-03-20 07:18:48] Production.INFO: Invoice DetTotal 11.23 [2025-03-20 07:18:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Discovery%20Point%20Nursery" [2025-03-20 07:18:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:18:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:18:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:19:01] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 02-10-2025 To 03-09-2025",Quantity : 1,UnitAmount : 1.730000,LineAmount : 1.730000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 1,UnitAmount : 7.000000,LineAmount : 7.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19057273568 - 10501 WESTON RD WOODBRIDGE, ON L4H4G8)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 07:19:04] Production.INFO: ==== result ===== [2025-03-20 07:19:04] Production.INFO: { "Id": "0a504676-78dd-4e8b-9d73-abcc523ccc7c", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469544638)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "72d0da24-8f2a-420d-9005-f4b7578527ba", "InvoiceNumber": "INV11675", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 12.69, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "cb58377f-8ea7-4ab2-9952-d9be1c41b3e2", "ContactStatus": "ACTIVE", "Name": "Discovery Point Nursery", "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(1562268117260+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-03-10T00:00:00", "Date": "\/Date(1741564800000+0000)\/", "DueDateString": "2025-04-09T00:00:00", "DueDate": "\/Date(1744156800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 02-10-2025 To 03-09-2025", "UnitAmount": 1.73, "TaxType": "TAX020", "TaxAmount": 0.22, "LineAmount": 1.73, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "2842127e-ef22-413c-82f3-e5be32514e3b", "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": 0.91, "LineAmount": 7.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "b52d8c8c-a0ba-4bce-b16e-7e7a0f09e41f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (19057273568 - 10501 WESTON RD WOODBRIDGE, ON L4H4G8)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "b4257995-e31f-4082-8844-d29853ccbb70", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 11.23, "TotalTax": 1.46, "Total": 12.69, "UpdatedDateUTC": "\/Date(1742469544573+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:19:04] Production.INFO: -- Create Invoice id --72d0da24-8f2a-420d-9005-f4b7578527ba [2025-03-20 07:19:04] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:19:04] Production.INFO: CheckInvoice xerov2: INV11676 [2025-03-20 07:19:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11676 [2025-03-20 07:19:08] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:19:08] Production.INFO: Invoice SubTotal 249.220000 [2025-03-20 07:19:08] Production.INFO: Invoice DetTotal 249.22 [2025-03-20 07:19:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010560%20%28Ricky%20Singh%29" [2025-03-20 07:19:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:19:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:19:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:19:19] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "Cable Internet Service (60 McNaughton Ave, Unit A-101, Wallaceburg, ON) - 80x15",Quantity : 1,UnitAmount : 125.980000,LineAmount : 125.980000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "LTE Internet Failover Service (60 McNaughton Ave, Unit A-101, Wallaceburg, ON) - 1GB transfer",Quantity : 1,UnitAmount : 63.240000,LineAmount : 63.240000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Bundle discount",Quantity : 3,UnitAmount : -5.000000,LineAmount : -15.000000} [2025-03-20 07:19:22] Production.INFO: ==== result ===== [2025-03-20 07:19:22] Production.INFO: { "Id": "a114f035-d274-4b82-bfbe-1530bcafa3c1", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469562175)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "d417da6b-9c1d-4d0b-b6ba-1449dfda71e4", "InvoiceNumber": "INV11676", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 281.62, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "7c24a24f-0252-42cb-b4ca-aa9aa79c4f0b", "ContactStatus": "ACTIVE", "Name": "Dominos 10560 (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(1606238954070+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-10T00:00:00", "Date": "\/Date(1741564800000+0000)\/", "DueDateString": "2025-04-09T00:00:00", "DueDate": "\/Date(1744156800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Cable Internet Service (60 McNaughton Ave, Unit A-101, Wallaceburg, ON) - 80x15", "UnitAmount": 125.98, "TaxType": "TAX020", "TaxAmount": 16.38, "LineAmount": 125.98, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "42de5771-d1df-4323-8139-6895461d9a54", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "LTE Internet Failover Service (60 McNaughton Ave, Unit A-101, Wallaceburg, ON) - 1GB transfer", "UnitAmount": 63.24, "TaxType": "TAX020", "TaxAmount": 8.22, "LineAmount": 63.24, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "78030cc6-1e71-4f43-9e52-a46348950a57", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "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": "3fa746f0-b67e-45dd-8b1d-b04d6981ae82", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Bundle discount", "UnitAmount": -5.00, "TaxType": "TAX020", "TaxAmount": -1.95, "LineAmount": -15.00, "AccountCode": "303", "Tracking": [], "Quantity": 3.0000, "DiscountRate": 0.00, "LineItemID": "03df3b36-8068-4c4f-9ef3-601bae75ea42", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 249.22, "TotalTax": 32.40, "Total": 281.62, "UpdatedDateUTC": "\/Date(1742469562080+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:19:22] Production.INFO: -- Create Invoice id --d417da6b-9c1d-4d0b-b6ba-1449dfda71e4 [2025-03-20 07:19:22] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:19:22] Production.INFO: CheckInvoice xerov2: INV11670 [2025-03-20 07:19:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11670 [2025-03-20 07:19:25] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:19:25] Production.INFO: Invoice SubTotal 23.620000 [2025-03-20 07:19:25] Production.INFO: Invoice DetTotal 23.62 [2025-03-20 07:19:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="AOPG%20Inc." [2025-03-20 07:19:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:19:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:19:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:19:37] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 02-09-2025 To 03-08-2025",Quantity : 1,UnitAmount : 0.120000,LineAmount : 0.120000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 3,UnitAmount : 7.000000,LineAmount : 21.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (16473177297 - 69 KINGSGATE CRES MOUNT ALBERT, ON L0G1M0)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 07:19:40] Production.INFO: ==== result ===== [2025-03-20 07:19:40] Production.INFO: { "Id": "1c67eb49-3148-48e2-b96e-e8973c0c4f4a", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469580221)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "22363451-4b61-4fd1-9486-dec53e434220", "InvoiceNumber": "INV11670", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 26.70, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "d7433a1b-abec-492c-bcf0-79c422ee5e45", "ContactStatus": "ACTIVE", "Name": "AOPG Inc.", "FirstName": "John", "LastName": "Caswell", "EmailAddress": "jec@aopginc.com", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "AddressLine1": "69 Kingsgate Crescent", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Mount Albert", "Region": "ON", "PostalCode": "L0G 1M0", "Country": "Canada", "AttentionTo": "John Caswell" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "(647) 3177297", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "6473177297", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1487615948263+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-09T00:00:00", "Date": "\/Date(1741478400000+0000)\/", "DueDateString": "2025-04-08T00:00:00", "DueDate": "\/Date(1744070400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 02-09-2025 To 03-08-2025", "UnitAmount": 0.12, "TaxType": "TAX020", "TaxAmount": 0.02, "LineAmount": 0.12, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "d6ff13a6-72aa-4126-b7d1-056cb1766b74", "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": 2.73, "LineAmount": 21.00, "AccountCode": "203", "Tracking": [], "Quantity": 3.0000, "DiscountRate": 0.00, "LineItemID": "1c780c66-d748-46f8-bd61-7dc5c7c8d6b8", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (16473177297 - 69 KINGSGATE CRES MOUNT ALBERT, ON L0G1M0)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "6dd36971-f79a-462b-9dc9-21d9e9e865d3", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 23.62, "TotalTax": 3.08, "Total": 26.70, "UpdatedDateUTC": "\/Date(1742469580160+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:19:40] Production.INFO: -- Create Invoice id --22363451-4b61-4fd1-9486-dec53e434220 [2025-03-20 07:19:40] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:19:40] Production.INFO: CheckInvoice xerov2: INV11569 [2025-03-20 07:19:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11569 [2025-03-20 07:19:42] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:19:42] Production.INFO: Invoice SubTotal 25.980000 [2025-03-20 07:19:42] Production.INFO: Invoice DetTotal 25.98 [2025-03-20 07:19:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bennison%20Smith%20Law" [2025-03-20 07:19:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:19:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:19:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:19:55] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE - Telephone User 03-08-2025 to 04-07-2025",Quantity : 2,UnitAmount : 12.990000,LineAmount : 25.980000} [2025-03-20 07:19:58] Production.INFO: ==== result ===== [2025-03-20 07:19:58] Production.INFO: { "Id": "1ee876c2-c1fc-4ac9-810c-1f062f6a98af", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469597957)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "15533d0b-e439-4472-b97e-659a06586d95", "InvoiceNumber": "INV11569", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 29.36, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "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-03-08T00:00:00", "Date": "\/Date(1741392000000+0000)\/", "DueDateString": "2025-04-07T00:00:00", "DueDate": "\/Date(1743984000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "CloudPhone.ONE - Telephone User 03-08-2025 to 04-07-2025", "UnitAmount": 12.99, "TaxType": "TAX020", "TaxAmount": 3.38, "LineAmount": 25.98, "AccountCode": "203", "Tracking": [], "Quantity": 2.0000, "DiscountRate": 0.00, "LineItemID": "6177b871-200f-46d0-8a67-e20dcd57eeea", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 25.98, "TotalTax": 3.38, "Total": 29.36, "UpdatedDateUTC": "\/Date(1742469597910+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:19:58] Production.INFO: -- Create Invoice id --15533d0b-e439-4472-b97e-659a06586d95 [2025-03-20 07:19:58] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:19:58] Production.INFO: CheckInvoice xerov2: INV50023 [2025-03-20 07:19:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV50023 [2025-03-20 07:20:01] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:20:01] Production.INFO: Invoice SubTotal 2295.710000 [2025-03-20 07:20:01] Production.INFO: Invoice DetTotal 2295.71 [2025-03-20 07:20:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group" [2025-03-20 07:20:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:20:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:20:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:20:12] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 08-02-2025 To 07-03-2025",Quantity : 1,UnitAmount : 0.090000,LineAmount : 0.090000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Unlimited Can/US Extension",Quantity : 25,UnitAmount : 6.500000,LineAmount : 162.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18779739378)",Quantity : 1,UnitAmount : 3.500000,LineAmount : 3.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18775737303)",Quantity : 1,UnitAmount : 3.500000,LineAmount : 3.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension (18002547598)",Quantity : 1,UnitAmount : 55.000000,LineAmount : 55.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension (18665957130)",Quantity : 1,UnitAmount : 55.000000,LineAmount : 55.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (12898030100)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14162812044)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14162815300)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14165994888)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (19052787239)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (19056290329)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,"Description": "Managed Hosting SERVER: Windows Server 2016 Standard",Quantity : 1,UnitAmount : 198.720000,LineAmount : 198.720000},{taxType:"TAX020",AccountCode : 203,"Description": "Managed Hosting STORAGE: 500GB data storage disk",Quantity : 1,UnitAmount : 34.560000,LineAmount : 34.560000},{taxType:"TAX020",AccountCode : 203,"Description": "Managed Backup: Cloud replication (charged per gigabyte)",Quantity : 150,UnitAmount : 0.300000,LineAmount : 45.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Managed Backup: Site License for each site being backed up (for servers)",Quantity : 1,UnitAmount : 60.000000,LineAmount : 60.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Support for approximately 14 employee home routers",Quantity : 1,UnitAmount : 70.000000,LineAmount : 70.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Management of server",Quantity : 1,UnitAmount : 25.000000,LineAmount : 25.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Managed IT: Workstation",Quantity : 18,UnitAmount : 52.000000,LineAmount : 936.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Management for Part-Time Workstation - Basic monitoring and anti-virus",Quantity : 7,UnitAmount : 10.000000,LineAmount : 70.000000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Basic collaboration and productivity suite",Quantity : 15,UnitAmount : 8.100000,LineAmount : 121.500000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Standard collaboration and productivity suite",Quantity : 24,UnitAmount : 17.000000,LineAmount : 408.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Plan 1 - Email only",Quantity : 6,UnitAmount : 5.390000,LineAmount : 32.340000} [2025-03-20 07:20:16] Production.INFO: ==== result ===== [2025-03-20 07:20:16] Production.INFO: { "Id": "377273b0-1bb2-481f-b0e9-d7c62c81ae0f", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469616588)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "40c594e2-d478-47c3-9ca0-429d6d798a1a", "InvoiceNumber": "INV50023", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 2594.19, "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-03-08T00:00:00", "Date": "\/Date(1741392000000+0000)\/", "DueDateString": "2025-04-07T00:00:00", "DueDate": "\/Date(1743984000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 08-02-2025 To 07-03-2025", "UnitAmount": 0.09, "TaxType": "TAX020", "TaxAmount": 0.01, "LineAmount": 0.09, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "d1a3356d-022e-40c2-a3d3-ec77437f063d", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for a Unlimited Can/US Extension", "UnitAmount": 6.50, "TaxType": "TAX020", "TaxAmount": 21.13, "LineAmount": 162.50, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 0.00, "LineItemID": "a6cf19c0-bf7f-455a-807a-bf51b04edaf3", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (18779739378)", "UnitAmount": 3.50, "TaxType": "TAX020", "TaxAmount": 0.46, "LineAmount": 3.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "ba2c3bd4-8c7b-4fd4-9918-d18e16be63fb", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (18775737303)", "UnitAmount": 3.50, "TaxType": "TAX020", "TaxAmount": 0.46, "LineAmount": 3.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "fdfd9a2f-66c4-47db-9197-37a214fedacc", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for an Unlimited Canada/US Cloud Phone extension (18002547598)", "UnitAmount": 55.00, "TaxType": "TAX020", "TaxAmount": 7.15, "LineAmount": 55.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "41ceb805-66e2-40d5-b6c6-81af78a18dda", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for an Unlimited Canada/US Cloud Phone extension (18665957130)", "UnitAmount": 55.00, "TaxType": "TAX020", "TaxAmount": 7.15, "LineAmount": 55.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "308d4f9e-272f-438b-9971-461eadf55118", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (12898030100)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "85e0ad05-3672-4b6e-b376-1b260fd1ca98", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (14162812044)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "0ff529a9-6ed4-49e8-9dd9-c303aa89f2f7", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (14162815300)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "12092cfc-08dd-4d2d-931e-2f70898fc519", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (14165994888)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "5a130135-b28c-4707-8eb1-b0526a8536ed", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (19052787239)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "afe141d1-2c18-4c93-9fe6-904b7d1611e0", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (19056290329)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "0156b3ea-2954-420c-b83d-8bbba5a1faf7", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Managed Hosting SERVER: Windows Server 2016 Standard", "UnitAmount": 198.72, "TaxType": "TAX020", "TaxAmount": 25.83, "LineAmount": 198.72, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "29734ff2-cfaf-4e3a-ae77-b157937b8f43", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Managed Hosting STORAGE: 500GB data storage disk", "UnitAmount": 34.56, "TaxType": "TAX020", "TaxAmount": 4.49, "LineAmount": 34.56, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "567840c7-c29e-48c9-ab3e-0caec45c221f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Managed Backup: Cloud replication (charged per gigabyte)", "UnitAmount": 0.30, "TaxType": "TAX020", "TaxAmount": 5.85, "LineAmount": 45.00, "AccountCode": "203", "Tracking": [], "Quantity": 150.0000, "LineItemID": "7ba6938f-b001-41a0-a2f7-a2528b0f8740", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Managed Backup: Site License for each site being backed up (for servers)", "UnitAmount": 60.00, "TaxType": "TAX020", "TaxAmount": 7.80, "LineAmount": 60.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "aa2145ad-bd8b-4570-822d-d37bd29efbc9", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Support for approximately 14 employee home routers", "UnitAmount": 70.00, "TaxType": "TAX020", "TaxAmount": 9.10, "LineAmount": 70.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "b972604d-d2ee-4a31-9bed-7617dd82d184", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Management of server", "UnitAmount": 25.00, "TaxType": "TAX020", "TaxAmount": 3.25, "LineAmount": 25.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "06c52e54-88df-4f13-a10c-e7c321d00136", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Managed IT: Workstation", "UnitAmount": 52.00, "TaxType": "TAX020", "TaxAmount": 121.68, "LineAmount": 936.00, "AccountCode": "203", "Tracking": [], "Quantity": 18.0000, "LineItemID": "b932aabc-e2e5-4b0e-ad41-d7763fc2ec76", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Management for Part-Time Workstation - Basic monitoring and anti-virus", "UnitAmount": 10.00, "TaxType": "TAX020", "TaxAmount": 9.10, "LineAmount": 70.00, "AccountCode": "203", "Tracking": [], "Quantity": 7.0000, "LineItemID": "d36c8a04-81b6-469e-922c-84dc8c58085a", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft 365 Basic collaboration and productivity suite", "UnitAmount": 8.10, "TaxType": "TAX020", "TaxAmount": 15.80, "LineAmount": 121.50, "AccountCode": "250", "Tracking": [], "Quantity": 15.0000, "LineItemID": "d9290b1c-5473-4eca-8e75-2f73d9d9b52f", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "Microsoft 365 Standard collaboration and productivity suite", "UnitAmount": 17.00, "TaxType": "TAX020", "TaxAmount": 53.04, "LineAmount": 408.00, "AccountCode": "250", "Tracking": [], "Quantity": 24.0000, "LineItemID": "f501e5aa-bb68-449b-b128-1b4800e6bc00", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "Plan 1 - Email only", "UnitAmount": 5.39, "TaxType": "TAX020", "TaxAmount": 4.20, "LineAmount": 32.34, "AccountCode": "203", "Tracking": [], "Quantity": 6.0000, "LineItemID": "c164cd75-dd67-4b78-bb6f-4d934c18a955", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 2295.71, "TotalTax": 298.48, "Total": 2594.19, "UpdatedDateUTC": "\/Date(1742469616493+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:20:16] Production.INFO: -- Create Invoice id --40c594e2-d478-47c3-9ca0-429d6d798a1a [2025-03-20 07:20:16] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:20:16] Production.INFO: CheckInvoice xerov2: INV11660 [2025-03-20 07:20:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11660 [2025-03-20 07:20:19] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:20:19] Production.INFO: Invoice SubTotal 50.000000 [2025-03-20 07:20:19] Production.INFO: Invoice DetTotal 50 [2025-03-20 07:20:19] 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 07:20:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:20:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:20:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:20:31] 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 07:20:35] Production.INFO: ==== result ===== [2025-03-20 07:20:35] Production.INFO: { "Id": "d975ca0b-6095-4be9-94dc-51c2b80f4d38", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469635462)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "bb488119-014f-498d-ae63-6e5087c53d86", "InvoiceNumber": "INV11660", "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-03-08T00:00:00", "Date": "\/Date(1741392000000+0000)\/", "DueDateString": "2025-04-07T00:00:00", "DueDate": "\/Date(1743984000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Restaurant - 4 Line Flat Rate", "UnitAmount": 75.00, "TaxType": "TAX020", "TaxAmount": 9.75, "LineAmount": 75.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "32033181-ba0c-4a02-b49f-922fcf120375", "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": "18a38187-1803-4cb2-9bf9-1b0251d4a67c", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 50.00, "TotalTax": 6.50, "Total": 56.50, "UpdatedDateUTC": "\/Date(1742469635400+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:20:35] Production.INFO: -- Create Invoice id --bb488119-014f-498d-ae63-6e5087c53d86 [2025-03-20 07:20:35] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:20:35] Production.INFO: CheckInvoice xerov2: INV11663 [2025-03-20 07:20:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11663 [2025-03-20 07:20:38] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:20:38] Production.INFO: Invoice SubTotal 7.500000 [2025-03-20 07:20:38] Production.INFO: Invoice DetTotal 7.5 [2025-03-20 07:20:38] 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 07:20:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:20:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:20:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:20:49] 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 07:20:53] Production.INFO: ==== result ===== [2025-03-20 07:20:53] Production.INFO: { "Id": "3b8129aa-1825-4820-9b8a-76aaf6098648", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469653088)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "989be381-0384-40bd-9474-38dbf978649a", "InvoiceNumber": "INV11663", "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-03-08T00:00:00", "Date": "\/Date(1741392000000+0000)\/", "DueDateString": "2025-04-07T00:00:00", "DueDate": "\/Date(1743984000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "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": "b779991e-6af5-4a70-9e4e-c7daba98561f", "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": "cdb4d2ef-35a9-4400-b31f-6fc89a8b18e6", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 7.50, "TotalTax": 0.38, "Total": 7.88, "UpdatedDateUTC": "\/Date(1742469653010+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:20:53] Production.INFO: -- Create Invoice id --989be381-0384-40bd-9474-38dbf978649a [2025-03-20 07:20:53] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:20:53] Production.INFO: CheckInvoice xerov2: INV11667 [2025-03-20 07:20:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11667 [2025-03-20 07:20:55] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:20:55] Production.INFO: Invoice SubTotal 7.500000 [2025-03-20 07:20:55] Production.INFO: Invoice DetTotal 7.5 [2025-03-20 07:20:55] 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 07:20:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:21:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:21:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:21:08] 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 07:21:11] Production.INFO: ==== result ===== [2025-03-20 07:21:11] Production.INFO: { "Id": "1173c9b3-1aeb-4b7a-9067-947c6ce0dbdb", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469671033)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "d592fddd-2fe5-4ebb-a403-d6292f2ed115", "InvoiceNumber": "INV11667", "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-03-08T00:00:00", "Date": "\/Date(1741392000000+0000)\/", "DueDateString": "2025-04-07T00:00:00", "DueDate": "\/Date(1743984000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "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": "cb5a59a5-aaea-4456-8fe3-cd1dfbdb4f09", "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": "c2ccd6b5-96c7-4304-834d-c93d66f74ceb", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 7.50, "TotalTax": 0.98, "Total": 8.48, "UpdatedDateUTC": "\/Date(1742469670923+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:21:11] Production.INFO: -- Create Invoice id --d592fddd-2fe5-4ebb-a403-d6292f2ed115 [2025-03-20 07:21:11] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:21:11] Production.INFO: CheckInvoice xerov2: INV11698 [2025-03-20 07:21:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11698 [2025-03-20 07:21:13] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:21:13] Production.INFO: Invoice SubTotal 521.630000 [2025-03-20 07:21:13] Production.INFO: Invoice DetTotal 521.63 [2025-03-20 07:21:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Robson%20Carpenter%20LLP" [2025-03-20 07:21:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:21:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:21:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:21:25] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Per Person License From 03-08-2025 to 04-07-2025",Quantity : 37,UnitAmount : 12.990000,LineAmount : 480.630000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone License From 03-08-2025 to 04-07-2025",Quantity : 18,UnitAmount : 2.000000,LineAmount : 36.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Add-On - Fax Line From 03-08-2025 to 04-07-2025",Quantity : 1,UnitAmount : 5.000000,LineAmount : 5.000000} [2025-03-20 07:21:28] Production.INFO: ==== result ===== [2025-03-20 07:21:28] Production.INFO: { "Id": "5b3d6081-fe04-4116-bd73-4f92308ef7b3", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469688765)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "78c68f0f-f3f9-45ea-807b-ae25ab6b7741", "InvoiceNumber": "INV11698", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 589.44, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "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-03-08T00:00:00", "Date": "\/Date(1741392000000+0000)\/", "DueDateString": "2025-04-07T00:00:00", "DueDate": "\/Date(1743984000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "CloudPhone.ONE Per Person License From 03-08-2025 to 04-07-2025", "UnitAmount": 12.99, "TaxType": "TAX020", "TaxAmount": 62.48, "LineAmount": 480.63, "AccountCode": "203", "Tracking": [], "Quantity": 37.0000, "DiscountRate": 0.00, "LineItemID": "bf5faac8-22e9-4f62-b573-1cd66574b5bb", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License From 03-08-2025 to 04-07-2025", "UnitAmount": 2.00, "TaxType": "TAX020", "TaxAmount": 4.68, "LineAmount": 36.00, "AccountCode": "203", "Tracking": [], "Quantity": 18.0000, "DiscountRate": 0.00, "LineItemID": "e317ab58-ac36-4f71-aec1-dec4759a1644", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Add-On - Fax Line From 03-08-2025 to 04-07-2025", "UnitAmount": 5.00, "TaxType": "TAX020", "TaxAmount": 0.65, "LineAmount": 5.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "ded1c0e5-133e-4d11-a30b-2b9fa1112770", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 521.63, "TotalTax": 67.81, "Total": 589.44, "UpdatedDateUTC": "\/Date(1742469688717+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:21:28] Production.INFO: -- Create Invoice id --78c68f0f-f3f9-45ea-807b-ae25ab6b7741 [2025-03-20 07:21:28] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:21:28] Production.INFO: CheckInvoice xerov2: INV11651 [2025-03-20 07:21:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11651 [2025-03-20 07:21:31] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:21:31] Production.INFO: Invoice SubTotal 52.500000 [2025-03-20 07:21:31] Production.INFO: Invoice DetTotal 52.5 [2025-03-20 07:21:31] 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 07:21:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:21:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:21:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:21:42] 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 07:21:45] Production.INFO: ==== result ===== [2025-03-20 07:21:45] Production.INFO: { "Id": "6135d857-1b7b-497d-84d7-cef456df36b5", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469705672)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "b80dd50a-5f3e-4ae8-821c-eef1cb359662", "InvoiceNumber": "INV11651", "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-03-07T00:00:00", "Date": "\/Date(1741305600000+0000)\/", "DueDateString": "2025-04-06T00:00:00", "DueDate": "\/Date(1743897600000+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": "4d2302d0-68ad-46c7-b5d6-afea005edbee", "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": "45abf4b7-66e6-44ae-a7ee-675ca1053f15", "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": "e34443af-e7a1-4d81-bdf0-015891460a3a", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 6.83, "Total": 59.33, "UpdatedDateUTC": "\/Date(1742469705577+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:21:45] Production.INFO: -- Create Invoice id --b80dd50a-5f3e-4ae8-821c-eef1cb359662 [2025-03-20 07:21:45] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:21:45] Production.INFO: CheckInvoice xerov2: INV11652 [2025-03-20 07:21:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11652 [2025-03-20 07:21:48] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:21:48] Production.INFO: Invoice SubTotal 62.500000 [2025-03-20 07:21:48] Production.INFO: Invoice DetTotal 62.5 [2025-03-20 07:21:48] 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 07:21:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:21:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:21:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:22:00] 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 07:22:03] Production.INFO: ==== result ===== [2025-03-20 07:22:03] Production.INFO: { "Id": "a89dcd5e-e21d-4b42-b05a-1c2f229f2172", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469723356)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "57aac1e7-1886-4abf-96b6-d0b4aa231dcd", "InvoiceNumber": "INV11652", "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-03-07T00:00:00", "Date": "\/Date(1741305600000+0000)\/", "DueDateString": "2025-04-06T00:00:00", "DueDate": "\/Date(1743897600000+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": "c2e4cc72-eb60-436d-966d-75fa64dcc61e", "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": "162cb133-f638-4b7e-ad68-b94d1f8bd5ca", "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": "aba92fef-9050-44b9-85c6-e23cd9c944e0", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 62.50, "TotalTax": 8.13, "Total": 70.63, "UpdatedDateUTC": "\/Date(1742469723327+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:22:03] Production.INFO: -- Create Invoice id --57aac1e7-1886-4abf-96b6-d0b4aa231dcd [2025-03-20 07:22:03] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:22:03] Production.INFO: CheckInvoice xerov2: INV11653 [2025-03-20 07:22:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11653 [2025-03-20 07:22:06] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:22:06] Production.INFO: Invoice SubTotal 71.300000 [2025-03-20 07:22:06] Production.INFO: Invoice DetTotal 71.3 [2025-03-20 07:22:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Jenopher%20Inc." [2025-03-20 07:22:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:22:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:22:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:22:18] 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 07:22:21] Production.INFO: ==== result ===== [2025-03-20 07:22:21] Production.INFO: { "Id": "f63aa5b7-6af7-41e3-b4d1-15111a9a6491", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469741870)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "900a119c-96eb-4e16-973e-c0e18778a90c", "InvoiceNumber": "INV11653", "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-03-07T00:00:00", "Date": "\/Date(1741305600000+0000)\/", "DueDateString": "2025-04-06T00:00:00", "DueDate": "\/Date(1743897600000+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": "4dce10f5-1c91-48d9-9dd0-0b4d7ee281a2", "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": "5e120bee-b59f-4637-83bf-332d2f6be46a", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] } ], "SubTotal": 71.30, "TotalTax": 9.27, "Total": 80.57, "UpdatedDateUTC": "\/Date(1742469741713+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:22:21] Production.INFO: -- Create Invoice id --900a119c-96eb-4e16-973e-c0e18778a90c [2025-03-20 07:22:21] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:22:21] Production.INFO: CheckInvoice xerov2: INV11646 [2025-03-20 07:22:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11646 [2025-03-20 07:22:24] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:22:24] Production.INFO: Invoice SubTotal 62.500000 [2025-03-20 07:22:24] Production.INFO: Invoice DetTotal 62.5 [2025-03-20 07:22:24] 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 07:22:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:22:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:22:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:22:37] 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 07:22:40] Production.INFO: ==== result ===== [2025-03-20 07:22:40] Production.INFO: { "Id": "5bf417a1-0b9c-4ea1-81a3-0bf4c8c152d0", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469760153)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "d3992399-464c-4af1-baf8-5ad71e46c95b", "InvoiceNumber": "INV11646", "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-03-06T00:00:00", "Date": "\/Date(1741219200000+0000)\/", "DueDateString": "2025-04-05T00:00:00", "DueDate": "\/Date(1743811200000+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": "be43dc12-875b-4e90-b49f-03f94737d0f0", "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": "83c97d8b-bddc-4689-898e-11f41d2a2edf", "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": "049dfb59-4215-4d6e-a7ff-6d8b78251d23", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 62.50, "TotalTax": 3.13, "Total": 65.63, "UpdatedDateUTC": "\/Date(1742469760090+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:22:40] Production.INFO: -- Create Invoice id --d3992399-464c-4af1-baf8-5ad71e46c95b [2025-03-20 07:22:40] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:22:40] Production.INFO: CheckInvoice xerov2: INV11647 [2025-03-20 07:22:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11647 [2025-03-20 07:22:43] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:22:43] Production.INFO: Invoice SubTotal 52.500000 [2025-03-20 07:22:43] Production.INFO: Invoice DetTotal 52.5 [2025-03-20 07:22: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 07:22:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:22:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:22:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:22:55] 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 07:22:58] Production.INFO: ==== result ===== [2025-03-20 07:22:58] Production.INFO: { "Id": "79bdd44c-0382-4013-a256-f70e7af85273", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469777998)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "8120b536-2709-48ff-937a-4e81a486c07f", "InvoiceNumber": "INV11647", "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-03-06T00:00:00", "Date": "\/Date(1741219200000+0000)\/", "DueDateString": "2025-04-05T00:00:00", "DueDate": "\/Date(1743811200000+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": "7bd1e8b1-970e-419c-846a-cfc7ae88cd01", "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": "b3491dc8-80e9-4d14-afec-7a2a1408bb91", "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": "5ed95405-fd73-4112-91d1-4cb6212d66a3", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 2.63, "Total": 55.13, "UpdatedDateUTC": "\/Date(1742469777920+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:22:58] Production.INFO: -- Create Invoice id --8120b536-2709-48ff-937a-4e81a486c07f [2025-03-20 07:22:58] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:22:58] Production.INFO: CheckInvoice xerov2: INV11648 [2025-03-20 07:22:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11648 [2025-03-20 07:23:00] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:23:00] Production.INFO: Invoice SubTotal 52.500000 [2025-03-20 07:23:00] Production.INFO: Invoice DetTotal 52.5 [2025-03-20 07:23:00] 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 07:23:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:23:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:23:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:23:13] 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 07:23:16] Production.INFO: ==== result ===== [2025-03-20 07:23:16] Production.INFO: { "Id": "b1021386-93e6-4beb-bb44-36f5b8f782bd", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469796534)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "6068b62c-d5b2-438e-a33c-82384f9102f9", "InvoiceNumber": "INV11648", "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-03-06T00:00:00", "Date": "\/Date(1741219200000+0000)\/", "DueDateString": "2025-04-05T00:00:00", "DueDate": "\/Date(1743811200000+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": "daf7f291-5cce-4c79-a34d-a9f3174ed545", "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": "0898a42a-f46d-4691-9e59-cbce97ae219c", "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": "128f73ec-4d87-4cfc-b092-17d6b11c9518", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 6.83, "Total": 59.33, "UpdatedDateUTC": "\/Date(1742469796470+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:23:16] Production.INFO: -- Create Invoice id --6068b62c-d5b2-438e-a33c-82384f9102f9 [2025-03-20 07:23:16] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:23:16] Production.INFO: CheckInvoice xerov2: INV11641 [2025-03-20 07:23:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11641 [2025-03-20 07:23:19] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:23:19] Production.INFO: Invoice SubTotal 15.530000 [2025-03-20 07:23:19] Production.INFO: Invoice DetTotal 15.53 [2025-03-20 07:23:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Lindsay" [2025-03-20 07:23:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:23:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:23:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:23:31] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 02-05-2025 To 03-04-2025",Quantity : 1,UnitAmount : 1.030000,LineAmount : 1.030000},{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 07:23:34] Production.INFO: ==== result ===== [2025-03-20 07:23:34] Production.INFO: { "Id": "de489aa4-e67c-484b-a94c-a55b8564c4bf", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469814810)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "1042ae52-203a-47d7-ba92-2d2ecb8df32b", "InvoiceNumber": "INV11641", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 17.55, "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-03-05T00:00:00", "Date": "\/Date(1741132800000+0000)\/", "DueDateString": "2025-04-04T00:00:00", "DueDate": "\/Date(1743724800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 02-05-2025 To 03-04-2025", "UnitAmount": 1.03, "TaxType": "TAX020", "TaxAmount": 0.13, "LineAmount": 1.03, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "9b302e06-1f5e-4293-8578-a62be6a5f31c", "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": "3d9493fd-a9f1-45d0-9450-4d1e845dd012", "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": "8b65b9b7-86c8-4737-9057-b09cd19a2b9b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 15.53, "TotalTax": 2.02, "Total": 17.55, "UpdatedDateUTC": "\/Date(1742469814780+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:23:34] Production.INFO: -- Create Invoice id --1042ae52-203a-47d7-ba92-2d2ecb8df32b [2025-03-20 07:23:34] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:23:34] Production.INFO: CheckInvoice xerov2: INV11642 [2025-03-20 07:23:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11642 [2025-03-20 07:23:37] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:23:37] Production.INFO: Invoice SubTotal 50.000000 [2025-03-20 07:23:37] Production.INFO: Invoice DetTotal 50 [2025-03-20 07:23:37] 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 07:23:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:23:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:23:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:23:50] 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 07:23:53] Production.INFO: ==== result ===== [2025-03-20 07:23:53] Production.INFO: { "Id": "28461dd8-dcf1-4bab-89b9-11e8909a3773", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469833306)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "57a94fb5-1100-4733-81ac-2996afd3edad", "InvoiceNumber": "INV11642", "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-03-05T00:00:00", "Date": "\/Date(1741132800000+0000)\/", "DueDateString": "2025-04-04T00:00:00", "DueDate": "\/Date(1743724800000+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": "44ce979b-f6cf-4d74-8bbb-f67dba369d15", "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": "a3fe44be-599b-4840-865c-318369b0909e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 50.00, "TotalTax": 6.50, "Total": 56.50, "UpdatedDateUTC": "\/Date(1742469833213+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:23:53] Production.INFO: -- Create Invoice id --57a94fb5-1100-4733-81ac-2996afd3edad [2025-03-20 07:23:53] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:23:53] Production.INFO: CheckInvoice xerov2: INV11643 [2025-03-20 07:23:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11643 [2025-03-20 07:23:56] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:23:56] Production.INFO: Invoice SubTotal 19.350000 [2025-03-20 07:23:56] Production.INFO: Invoice DetTotal 19.35 [2025-03-20 07:23:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="All%20Care%20Insurance%20Brokers%20Ltd." [2025-03-20 07:23:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:24:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:24:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:24:08] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 02-05-2025 To 03-04-2025",Quantity : 1,UnitAmount : 6.850000,LineAmount : 6.850000},{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 07:24:11] Production.INFO: ==== result ===== [2025-03-20 07:24:11] Production.INFO: { "Id": "757ed0a6-de97-4e78-a56e-466f120c466e", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469851832)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "6c315483-5a03-4d2b-9e7f-513729bcfbdb", "InvoiceNumber": "INV11643", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 21.87, "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-03-05T00:00:00", "Date": "\/Date(1741132800000+0000)\/", "DueDateString": "2025-04-04T00:00:00", "DueDate": "\/Date(1743724800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 02-05-2025 To 03-04-2025", "UnitAmount": 6.85, "TaxType": "TAX020", "TaxAmount": 0.89, "LineAmount": 6.85, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "a79ed36f-6d94-473d-af0d-c3ee8a4378db", "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": "eadb91e3-c2d9-422f-a4ae-5adc5ac9897c", "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": "dad72fe1-feb1-4671-a4fd-f4677e851aee", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 19.35, "TotalTax": 2.52, "Total": 21.87, "UpdatedDateUTC": "\/Date(1742469851753+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:24:11] Production.INFO: -- Create Invoice id --6c315483-5a03-4d2b-9e7f-513729bcfbdb [2025-03-20 07:24:11] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:24:11] Production.INFO: CheckInvoice xerov2: INV11645 [2025-03-20 07:24:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11645 [2025-03-20 07:24:14] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:24:14] Production.INFO: Invoice SubTotal 78.850000 [2025-03-20 07:24:14] Production.INFO: Invoice DetTotal 78.85 [2025-03-20 07:24:14] 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 07:24:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:24:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:24:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:24:26] Production.INFO: =========Invoices String here======{taxType:"TAX023",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 02-05-2025 To 03-04-2025",Quantity : 1,UnitAmount : 0.360000,LineAmount : 0.360000},{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 07:24:30] Production.INFO: ==== result ===== [2025-03-20 07:24:30] Production.INFO: { "Id": "7cdefa99-7833-4c38-a4e8-2e50d8706357", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469870113)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "c61c3703-aa34-4d4f-bcaf-72aaff09c95f", "InvoiceNumber": "INV11645", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 87.53, "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-03-05T00:00:00", "Date": "\/Date(1741132800000+0000)\/", "DueDateString": "2025-03-12T00:00:00", "DueDate": "\/Date(1741737600000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 02-05-2025 To 03-04-2025", "UnitAmount": 0.36, "TaxType": "TAX023", "TaxAmount": 0.04, "LineAmount": 0.36, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "e065aeb4-f8dd-4733-9be6-53bce75add35", "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": "e7bd0620-d1be-4d0f-8c96-777481787bbd", "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": "ada6f224-f570-452c-a630-f28679d67bc6", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 78.85, "TotalTax": 8.68, "Total": 87.53, "UpdatedDateUTC": "\/Date(1742469870020+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:24:30] Production.INFO: -- Create Invoice id --c61c3703-aa34-4d4f-bcaf-72aaff09c95f [2025-03-20 07:24:30] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:24:30] Production.INFO: CheckInvoice xerov2: INV11635 [2025-03-20 07:24:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11635 [2025-03-20 07:24:33] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:24:33] Production.INFO: Invoice SubTotal 173.330000 [2025-03-20 07:24:33] Production.INFO: Invoice DetTotal 173.33 [2025-03-20 07:24:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Axxima" [2025-03-20 07:24:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:24:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:24:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:24:45] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 02-04-2025 To 03-03-2025",Quantity : 1,UnitAmount : 0.330000,LineAmount : 0.330000},{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 07:24:48] Production.INFO: ==== result ===== [2025-03-20 07:24:48] Production.INFO: { "Id": "c2c2af52-2c32-49d3-b10f-bfc80ba1b5c9", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469888673)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "65e72782-ee74-4180-951d-7e89f43ef21a", "InvoiceNumber": "INV11635", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 195.87, "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-03-04T00:00:00", "Date": "\/Date(1741046400000+0000)\/", "DueDateString": "2025-04-03T00:00:00", "DueDate": "\/Date(1743638400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 02-04-2025 To 03-03-2025", "UnitAmount": 0.33, "TaxType": "TAX020", "TaxAmount": 0.04, "LineAmount": 0.33, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "217eb761-9366-4f24-ba94-2d39895dca94", "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": "21b309cb-51f4-423c-97af-00a271354477", "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": "9693bd27-4d1c-44d3-abfc-e999e7c0cd7b", "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": "9552113e-2543-40e6-a267-dc17b9077d5a", "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": "ba392603-3901-4769-ae52-057e304ed730", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 173.33, "TotalTax": 22.54, "Total": 195.87, "UpdatedDateUTC": "\/Date(1742469888597+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:24:48] Production.INFO: -- Create Invoice id --65e72782-ee74-4180-951d-7e89f43ef21a [2025-03-20 07:24:48] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:24:48] Production.INFO: -- Xero End Inovice -- [2025-03-20 07:24:48] Production.INFO: ==24070== Releasing lock... [2025-03-20 07:24:48] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10797 #Stops# [2025-03-20 07:24:48] Production.INFO: 33.75 MB #Memory Used#