[2025-03-20 07:53:03] Production.INFO: -- Xero Api Check -- [2025-03-20 07:53:05] Production.INFO: -- curl info --Array ( [url] => https://identity.xero.com/connect/token [content_type] => application/json; charset=UTF-8 [http_code] => 200 [header_size] => 856 [request_size] => 352 [filetime] => -1 [ssl_verify_result] => 0 [redirect_count] => 0 [total_time] => 1.293511 [namelookup_time] => 0.531775 [connect_time] => 0.613363 [pretransfer_time] => 1.04872 [size_upload] => 82 [size_download] => 2755 [speed_download] => 2129 [speed_upload] => 63 [download_content_length] => 2755 [upload_content_length] => 82 [starttransfer_time] => 1.293426 [redirect_time] => 0 [redirect_url] => [primary_ip] => 2.21.67.50 [certinfo] => Array ( ) [primary_port] => 443 [local_ip] => 54.39.180.235 [local_port] => 36478 ) [2025-03-20 07:53:05] Production.INFO: -- connection successfully here --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NzE1ODUsImV4cCI6MTc0MjQ3MTg4NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzQyNDcxNTg1LCJhdF9oYXNoIjoibEhjd3YzZmlfd1MwLVFFZHR6NmEzZyIsInN1YiI6Ijc1NGMxN2Q3MTA0YTUxODViYjEyZmM5ODFiN2VlMzliIiwiYXV0aF90aW1lIjoxNzQyNDY2MzA1LCJ4ZXJvX3VzZXJpZCI6IjFiOGM2ODExLTJmMGItNGU3Mi05Y2JhLTY5ZDVlM2RmOTEyYyIsImdsb2JhbF9zZXNzaW9uX2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJzaWQiOiI5ZWFmZGExM2Y5NWE0NmJjODI2Yzc4N2IxZTRjNWY1MCIsInByZWZlcnJlZF91c2VybmFtZSI6Imx5bmRhQGNsb3VkbWViLmNvbSIsImVtYWlsIjoibHluZGFAY2xvdWRtZWIuY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.IzzVmCYJjt3JPJTUkNKecwMY6FWZoz_7UQF8zS4vlhspBrSYjbPcJ-ExjaLQzxWEDStJIy3tKwNXNw82cYQ5gwevBUv9WpgF59X61YMDHMJ7doq6Xw-3gxrakeBMc5_DGSFagzqjVStgb49F1NliEelRSHphqZFgB3n6A8pE7iJCE4CtPmTCybg4b3ZyneC9HYxusskVIuzb1fkMqZfIRlMZfSP28NeN01yoJd7oPOL_5hdLW6M0wFu6omg2pwrqX4_o9xI7n6tQhwlaPyHFsJXDl3-bueLK69qO8iUXv_HydrY8qQUc25NKCvc0hxNOxQawETBc6YQompGOG0dlPw [access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NzE1ODUsImV4cCI6MTc0MjQ3MzM4NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI3NTRjMTdkNzEwNGE1MTg1YmIxMmZjOTgxYjdlZTM5YiIsImF1dGhfdGltZSI6MTc0MjQ2NjMwNSwieGVyb191c2VyaWQiOiIxYjhjNjgxMS0yZjBiLTRlNzItOWNiYS02OWQ1ZTNkZjkxMmMiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6IjllYWZkYTEzZjk1YTQ2YmM4MjZjNzg3YjFlNGM1ZjUwIiwic2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJqdGkiOiIyNUNEQkY1RjBBNTRGMjlDNjBDNUE2RjU4Qzg3NzMyQSIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiMGZlNDU1NWEtNmNkMy00YjFkLTljNjEtMzAzMjBmMjBmZGFkIiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.nWFD1Up37lsstvmgbDqlxUe-TUpWHp_6UZjLByQkT445-39ZhBrA7THRimDjXP6yPGlOG7zZvW25agwSCW64ELF6U43mDn4Mo6FiOnZzsdoYynpQpUnj7C3czqXOBYd9FdwdvEh8bsDheQNpeQ0ESCLlDcAJKkZ5u-AfYPaphoa_9ycOAOBYrWMfD-ybNAC2Qgd0vXlVil8FLsqYkvy_5cY_lDfYB5ZmWoa_rcSc8UzxBv2dMIMvwpDHsS97sbk-06TkUrpwf6pFKvzEP8_EtGocPZZyA4ExXfEQq4AfzLSSY3YUB38UKcZLnxDqeUjAyFzjElnlU1t1vsIuGDUr0A [expires_in] => 1800 [token_type] => Bearer [refresh_token] => b1qKX8A0WywUy3JaCWN8wE9BArUukd-qCfSYO_u0Btc [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-03-20 07:53:05] Production.INFO: -- connection successfully --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NzE1ODUsImV4cCI6MTc0MjQ3MTg4NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzQyNDcxNTg1LCJhdF9oYXNoIjoibEhjd3YzZmlfd1MwLVFFZHR6NmEzZyIsInN1YiI6Ijc1NGMxN2Q3MTA0YTUxODViYjEyZmM5ODFiN2VlMzliIiwiYXV0aF90aW1lIjoxNzQyNDY2MzA1LCJ4ZXJvX3VzZXJpZCI6IjFiOGM2ODExLTJmMGItNGU3Mi05Y2JhLTY5ZDVlM2RmOTEyYyIsImdsb2JhbF9zZXNzaW9uX2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJzaWQiOiI5ZWFmZGExM2Y5NWE0NmJjODI2Yzc4N2IxZTRjNWY1MCIsInByZWZlcnJlZF91c2VybmFtZSI6Imx5bmRhQGNsb3VkbWViLmNvbSIsImVtYWlsIjoibHluZGFAY2xvdWRtZWIuY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.IzzVmCYJjt3JPJTUkNKecwMY6FWZoz_7UQF8zS4vlhspBrSYjbPcJ-ExjaLQzxWEDStJIy3tKwNXNw82cYQ5gwevBUv9WpgF59X61YMDHMJ7doq6Xw-3gxrakeBMc5_DGSFagzqjVStgb49F1NliEelRSHphqZFgB3n6A8pE7iJCE4CtPmTCybg4b3ZyneC9HYxusskVIuzb1fkMqZfIRlMZfSP28NeN01yoJd7oPOL_5hdLW6M0wFu6omg2pwrqX4_o9xI7n6tQhwlaPyHFsJXDl3-bueLK69qO8iUXv_HydrY8qQUc25NKCvc0hxNOxQawETBc6YQompGOG0dlPw [access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NzE1ODUsImV4cCI6MTc0MjQ3MzM4NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI3NTRjMTdkNzEwNGE1MTg1YmIxMmZjOTgxYjdlZTM5YiIsImF1dGhfdGltZSI6MTc0MjQ2NjMwNSwieGVyb191c2VyaWQiOiIxYjhjNjgxMS0yZjBiLTRlNzItOWNiYS02OWQ1ZTNkZjkxMmMiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6IjllYWZkYTEzZjk1YTQ2YmM4MjZjNzg3YjFlNGM1ZjUwIiwic2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJqdGkiOiIyNUNEQkY1RjBBNTRGMjlDNjBDNUE2RjU4Qzg3NzMyQSIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiMGZlNDU1NWEtNmNkMy00YjFkLTljNjEtMzAzMjBmMjBmZGFkIiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.nWFD1Up37lsstvmgbDqlxUe-TUpWHp_6UZjLByQkT445-39ZhBrA7THRimDjXP6yPGlOG7zZvW25agwSCW64ELF6U43mDn4Mo6FiOnZzsdoYynpQpUnj7C3czqXOBYd9FdwdvEh8bsDheQNpeQ0ESCLlDcAJKkZ5u-AfYPaphoa_9ycOAOBYrWMfD-ybNAC2Qgd0vXlVil8FLsqYkvy_5cY_lDfYB5ZmWoa_rcSc8UzxBv2dMIMvwpDHsS97sbk-06TkUrpwf6pFKvzEP8_EtGocPZZyA4ExXfEQq4AfzLSSY3YUB38UKcZLnxDqeUjAyFzjElnlU1t1vsIuGDUr0A [expires_in] => 1800 [token_type] => Bearer [refresh_token] => b1qKX8A0WywUy3JaCWN8wE9BArUukd-qCfSYO_u0Btc [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-03-20 07:53:05] Production.INFO: AccountID 90 [2025-03-20 07:53:05] Production.INFO: AccountName Terry Anderson [2025-03-20 07:53:05] Production.INFO: Checkcustomer [2025-03-20 07:53:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Terry%20Anderson" [2025-03-20 07:53:08] Production.INFO: Contact id print CheckCustomer Case===d5be271f-e649-44ed-a97e-8af24111fe24 [2025-03-20 07:53:08] Production.INFO: -- count --1 [2025-03-20 07:53:08] Production.INFO: AccountID 45 [2025-03-20 07:53:08] Production.INFO: AccountName Metro Toronto Collision Centre [2025-03-20 07:53:08] Production.INFO: Checkcustomer [2025-03-20 07:53:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Metro%20Toronto%20Collision%20Centre" [2025-03-20 07:53:11] Production.INFO: Contact id print CheckCustomer Case===639507fe-3c02-40f6-89b2-b3a1c40bc965 [2025-03-20 07:53:12] Production.INFO: -- count --1 [2025-03-20 07:53:12] Production.INFO: AccountID 63 [2025-03-20 07:53:12] Production.INFO: AccountName Clek Inc. [2025-03-20 07:53:12] Production.INFO: Checkcustomer [2025-03-20 07:53:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc." [2025-03-20 07:53:15] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b [2025-03-20 07:53:15] Production.INFO: -- count --1 [2025-03-20 07:53:15] Production.INFO: AccountID 208 [2025-03-20 07:53:15] Production.INFO: AccountName Lions Auto Protection [2025-03-20 07:53:15] Production.INFO: Checkcustomer [2025-03-20 07:53:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Lions%20Auto%20Protection" [2025-03-20 07:53:17] Production.INFO: Contact id print CheckCustomer Case===173facd8-68c9-4e18-bac1-f10f211f33e1 [2025-03-20 07:53:17] Production.INFO: -- count --1 [2025-03-20 07:53:17] Production.INFO: AccountID 27 [2025-03-20 07:53:17] Production.INFO: AccountName Compass ELC - Millbrook [2025-03-20 07:53:17] Production.INFO: Checkcustomer [2025-03-20 07:53:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Millbrook" [2025-03-20 07:53:20] Production.INFO: Contact id print CheckCustomer Case===5827757d-9498-4c55-97f7-43de2cbda025 [2025-03-20 07:53:20] Production.INFO: -- count --1 [2025-03-20 07:53:20] Production.INFO: AccountID 99 [2025-03-20 07:53:20] Production.INFO: AccountName LevLending [2025-03-20 07:53:20] Production.INFO: Checkcustomer [2025-03-20 07:53:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="LevLending" [2025-03-20 07:53:23] Production.INFO: Contact id print CheckCustomer Case===0c3388d2-858d-4ab0-82a5-823938ebfea0 [2025-03-20 07:53:23] Production.INFO: -- count --1 [2025-03-20 07:53:23] Production.INFO: AccountID 165 [2025-03-20 07:53:23] Production.INFO: AccountName PharmaSave (Oak Tree Medical) [2025-03-20 07:53:23] Production.INFO: Checkcustomer [2025-03-20 07:53:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="PharmaSave%20%28Oak%20Tree%20Medical%29" [2025-03-20 07:53:26] Production.INFO: Contact id print CheckCustomer Case===dd008964-6378-4903-b54b-a7b8eb03f05f [2025-03-20 07:53:26] Production.INFO: -- count --1 [2025-03-20 07:53:26] Production.INFO: AccountID 205 [2025-03-20 07:53:26] Production.INFO: AccountName Dominos 10459 (Sandeep Chaudhari) [2025-03-20 07:53:26] Production.INFO: Checkcustomer [2025-03-20 07:53:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010459%20%28Sandeep%20Chaudhari%29" [2025-03-20 07:53:29] Production.INFO: Contact id print CheckCustomer Case===9e4e5c67-a78f-406f-bfd6-d013ce749c4a [2025-03-20 07:53:29] Production.INFO: -- count --1 [2025-03-20 07:53:29] Production.INFO: AccountID 3 [2025-03-20 07:53:29] Production.INFO: AccountName Tundra [2025-03-20 07:53:29] Production.INFO: Checkcustomer [2025-03-20 07:53:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Tundra" [2025-03-20 07:53:32] Production.INFO: Contact id print CheckCustomer Case===623680fb-29d2-4940-8787-6a04edc9b023 [2025-03-20 07:53:32] Production.INFO: -- count --1 [2025-03-20 07:53:32] Production.INFO: AccountID 37 [2025-03-20 07:53:32] Production.INFO: AccountName Quality Car Rentals (AutoQuest) [2025-03-20 07:53:32] Production.INFO: Checkcustomer [2025-03-20 07:53:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quality%20Car%20Rentals%20%28AutoQuest%29" [2025-03-20 07:53:35] Production.INFO: Contact id print CheckCustomer Case===d97f29cf-e0f8-4b9a-bb8e-aaec76dd5612 [2025-03-20 07:53:35] Production.INFO: -- count --1 [2025-03-20 07:53:35] Production.INFO: AccountID 41 [2025-03-20 07:53:35] Production.INFO: AccountName Law Offices of Diane Staples [2025-03-20 07:53:35] Production.INFO: Checkcustomer [2025-03-20 07:53:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Law%20Offices%20of%20Diane%20Staples" [2025-03-20 07:53:38] Production.INFO: Contact id print CheckCustomer Case===97ef00b2-8eb5-497a-aadd-ae29a942c858 [2025-03-20 07:53:38] Production.INFO: -- count --1 [2025-03-20 07:53:38] Production.INFO: AccountID 92 [2025-03-20 07:53:38] Production.INFO: AccountName Dominos 10443 (Ricky Singh) [2025-03-20 07:53:38] Production.INFO: Checkcustomer [2025-03-20 07:53:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010443%20%28Ricky%20Singh%29" [2025-03-20 07:53:41] Production.INFO: Contact id print CheckCustomer Case===21dc8586-f1ab-42cc-9c64-94234cb72e84 [2025-03-20 07:53:41] Production.INFO: -- count --1 [2025-03-20 07:53:41] Production.INFO: AccountID 95 [2025-03-20 07:53:41] Production.INFO: AccountName CanTrust Insurance Services [2025-03-20 07:53:41] Production.INFO: Checkcustomer [2025-03-20 07:53:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="CanTrust%20Insurance%20Services" [2025-03-20 07:53:44] Production.INFO: Contact id print CheckCustomer Case===d5a46ee9-fef7-49ae-981c-b537df046ad7 [2025-03-20 07:53:44] Production.INFO: -- count --1 [2025-03-20 07:53:44] Production.INFO: AccountID 97 [2025-03-20 07:53:44] Production.INFO: AccountName Dominos 10416 (David Mills) [2025-03-20 07:53:44] Production.INFO: Checkcustomer [2025-03-20 07:53:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010416%20%28David%20Mills%29" [2025-03-20 07:53:47] Production.INFO: Contact id print CheckCustomer Case===f7785be9-5933-4338-9f5d-47dda0ca47b7 [2025-03-20 07:53:47] Production.INFO: -- count --1 [2025-03-20 07:53:47] Production.INFO: AccountID 113 [2025-03-20 07:53:47] Production.INFO: AccountName Dominos 39016 (Chandresh Patel) [2025-03-20 07:53:47] Production.INFO: Checkcustomer [2025-03-20 07:53:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039016%20%28Chandresh%20Patel%29" [2025-03-20 07:53:50] Production.INFO: Contact id print CheckCustomer Case===67dc5e22-ea19-468e-b918-c0db577b9240 [2025-03-20 07:53:50] Production.INFO: -- count --1 [2025-03-20 07:53:50] Production.INFO: AccountID 114 [2025-03-20 07:53:50] Production.INFO: AccountName Dominos 10552 (Werner Lomker) [2025-03-20 07:53:50] Production.INFO: Checkcustomer [2025-03-20 07:53:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010552%20%28Werner%20Lomker%29" [2025-03-20 07:53:53] Production.INFO: Contact id print CheckCustomer Case===6f5d3631-ded1-4310-ab70-a39a8b602341 [2025-03-20 07:53:53] Production.INFO: -- count --1 [2025-03-20 07:53:53] Production.INFO: AccountID 127 [2025-03-20 07:53:53] Production.INFO: AccountName Dominos 10297 (Shane Linthorne) [2025-03-20 07:53:53] Production.INFO: Checkcustomer [2025-03-20 07:53:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010297%20%28Shane%20Linthorne%29" [2025-03-20 07:53:56] Production.INFO: Contact id print CheckCustomer Case===d8f292bb-743b-4f94-916e-1de8803fa73f [2025-03-20 07:53:56] Production.INFO: -- count --1 [2025-03-20 07:53:56] Production.INFO: AccountID 148 [2025-03-20 07:53:56] Production.INFO: AccountName Pharmacy Associates of Port Perry [2025-03-20 07:53:56] Production.INFO: Checkcustomer [2025-03-20 07:53:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Pharmacy%20Associates%20of%20Port%20Perry" [2025-03-20 07:53:58] Production.INFO: Contact id print CheckCustomer Case===c60706d0-0fd9-40ff-a211-387c86733ac7 [2025-03-20 07:53:58] Production.INFO: -- count --1 [2025-03-20 07:53:58] Production.INFO: AccountID 152 [2025-03-20 07:53:58] Production.INFO: AccountName 3G Print Group [2025-03-20 07:53:58] Production.INFO: Checkcustomer [2025-03-20 07:53:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="3G%20Print%20Group" [2025-03-20 07:54:01] Production.INFO: Contact id print CheckCustomer Case===d4a36319-8eb8-433b-a39c-ded75fc85345 [2025-03-20 07:54:01] Production.INFO: -- count --1 [2025-03-20 07:54:01] Production.INFO: AccountID 160 [2025-03-20 07:54:01] Production.INFO: AccountName Avani Rolls & Bowls [2025-03-20 07:54:01] Production.INFO: Checkcustomer [2025-03-20 07:54:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Avani%20Rolls%20%26%20Bowls" [2025-03-20 07:54:04] Production.INFO: Contact id print CheckCustomer Case===08d693ac-f648-4d13-baf5-18b2b59d959f [2025-03-20 07:54:04] Production.INFO: -- count --1 [2025-03-20 07:54:04] Production.INFO: AccountID 236 [2025-03-20 07:54:04] Production.INFO: AccountName Keogh Construction [2025-03-20 07:54:04] Production.INFO: Checkcustomer [2025-03-20 07:54:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Keogh%20Construction" [2025-03-20 07:54:07] Production.INFO: Contact id print CheckCustomer Case===cad302ad-7c7e-456b-bcf1-bd7729cb22b7 [2025-03-20 07:54:07] Production.INFO: -- count --1 [2025-03-20 07:54:07] Production.INFO: AccountID 25 [2025-03-20 07:54:07] Production.INFO: AccountName Harding Security [2025-03-20 07:54:07] Production.INFO: Checkcustomer [2025-03-20 07:54:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harding%20Security" [2025-03-20 07:54:10] Production.INFO: Contact id print CheckCustomer Case===631aa009-5337-4bbb-817f-724f7ca5f6db [2025-03-20 07:54:10] Production.INFO: -- count --1 [2025-03-20 07:54:10] Production.INFO: AccountID 103 [2025-03-20 07:54:10] Production.INFO: AccountName Cathim Inc [2025-03-20 07:54:10] Production.INFO: Checkcustomer [2025-03-20 07:54:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Cathim%20Inc" [2025-03-20 07:54:12] Production.INFO: Contact id print CheckCustomer Case===b3a32be3-34a8-47ed-9add-6507ade181ac [2025-03-20 07:54:12] Production.INFO: -- count --1 [2025-03-20 07:54:12] Production.INFO: AccountID 104 [2025-03-20 07:54:12] Production.INFO: AccountName Dominos 39017 (Mudassar Zia) [2025-03-20 07:54:12] Production.INFO: Checkcustomer [2025-03-20 07:54:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039017%20%28Mudassar%20Zia%29" [2025-03-20 07:54:15] Production.INFO: Contact id print CheckCustomer Case===5f89a930-66a1-45ba-8124-8b5cbb0531bb [2025-03-20 07:54:15] Production.INFO: -- count --1 [2025-03-20 07:54:15] Production.INFO: AccountID 129 [2025-03-20 07:54:15] Production.INFO: AccountName Compass ELC - Apsley [2025-03-20 07:54:15] Production.INFO: Checkcustomer [2025-03-20 07:54:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Apsley" [2025-03-20 07:54:18] Production.INFO: Contact id print CheckCustomer Case===b88606e0-7c2f-487f-9327-5daeaa7e65c2 [2025-03-20 07:54:18] Production.INFO: -- count --1 [2025-03-20 07:54:18] Production.INFO: AccountID 4 [2025-03-20 07:54:18] Production.INFO: AccountName UNIGLOBE Canada [2025-03-20 07:54:18] Production.INFO: Checkcustomer [2025-03-20 07:54:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Canada" [2025-03-20 07:54:21] Production.INFO: Contact id print CheckCustomer Case===d965b2fe-ffb5-4359-bc08-f6a098234349 [2025-03-20 07:54:21] Production.INFO: -- count --1 [2025-03-20 07:54:21] Production.INFO: AccountID 33 [2025-03-20 07:54:21] Production.INFO: AccountName Dominos 10395 (Ronny Khan) [2025-03-20 07:54:21] Production.INFO: Checkcustomer [2025-03-20 07:54:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010395%20%28Ronny%20Khan%29" [2025-03-20 07:54:24] Production.INFO: Contact id print CheckCustomer Case===2ad5ad33-c3c5-457d-96a1-96787e4ed1ae [2025-03-20 07:54:24] Production.INFO: -- count --1 [2025-03-20 07:54:24] Production.INFO: AccountID 58 [2025-03-20 07:54:24] Production.INFO: AccountName Think Secure [2025-03-20 07:54:24] Production.INFO: Checkcustomer [2025-03-20 07:54:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Think%20Secure" [2025-03-20 07:54:26] Production.INFO: Contact id print CheckCustomer Case===c4bd70fd-3ccd-42a6-a692-2d9f355b91a8 [2025-03-20 07:54:26] Production.INFO: -- count --1 [2025-03-20 07:54:26] Production.INFO: AccountID 183 [2025-03-20 07:54:26] Production.INFO: AccountName Sunnybrook - Construction Site (Cancom - Think Secure) [2025-03-20 07:54:26] Production.INFO: Checkcustomer [2025-03-20 07:54:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Sunnybrook%20-%20Construction%20Site%20%28Cancom%20-%20Think%20Secure%29" [2025-03-20 07:54:29] Production.INFO: Contact id print CheckCustomer Case===9438f80c-bb9a-4440-84ef-9c1f20f46b34 [2025-03-20 07:54:29] Production.INFO: -- count --1 [2025-03-20 07:54:29] Production.INFO: AccountID 101 [2025-03-20 07:54:29] Production.INFO: AccountName Dominos 10364 (Shane Linthorne) [2025-03-20 07:54:29] Production.INFO: Checkcustomer [2025-03-20 07:54:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010364%20%28Shane%20Linthorne%29" [2025-03-20 07:54:31] Production.INFO: Contact id print CheckCustomer Case===12ca1405-c90f-4ad7-83b0-d937a569ffd9 [2025-03-20 07:54:31] Production.INFO: -- count --1 [2025-03-20 07:54:31] Production.INFO: AccountID 74 [2025-03-20 07:54:31] Production.INFO: AccountName Dominos 10532 (Sandeep Chaudhari) [2025-03-20 07:54:31] Production.INFO: Checkcustomer [2025-03-20 07:54:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010532%20%28Sandeep%20Chaudhari%29" [2025-03-20 07:54:34] Production.INFO: Contact id print CheckCustomer Case===dded1f8a-d8ba-43e9-a033-ca82f3d54f47 [2025-03-20 07:54:34] Production.INFO: -- count --1 [2025-03-20 07:54:34] Production.INFO: AccountID 110 [2025-03-20 07:54:34] Production.INFO: AccountName Dominos 10422 (David Mills) [2025-03-20 07:54:34] Production.INFO: Checkcustomer [2025-03-20 07:54:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010422%20%28David%20Mills%29" [2025-03-20 07:54:37] Production.INFO: Contact id print CheckCustomer Case===56e7aabd-b1e3-4807-a57f-483fba350c3e [2025-03-20 07:54:37] Production.INFO: -- count --1 [2025-03-20 07:54:37] Production.INFO: AccountID 111 [2025-03-20 07:54:37] Production.INFO: AccountName Dominos 10545 (Mohan Kantha) [2025-03-20 07:54:37] Production.INFO: Checkcustomer [2025-03-20 07:54:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010545%20%28Mohan%20Kantha%29" [2025-03-20 07:54:40] Production.INFO: Contact id print CheckCustomer Case===922fdab1-eecb-4982-8db6-fe1325f04d0d [2025-03-20 07:54:40] Production.INFO: -- count --1 [2025-03-20 07:54:40] Production.INFO: AccountID 158 [2025-03-20 07:54:40] Production.INFO: AccountName Dominos 39102 (Muzafar Ahmad) [2025-03-20 07:54:40] Production.INFO: Checkcustomer [2025-03-20 07:54:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039102%20%28Muzafar%20Ahmad%29" [2025-03-20 07:54:43] Production.INFO: Contact id print CheckCustomer Case===749cea7f-cdd5-4ee1-9755-990afa6667fb [2025-03-20 07:54:43] Production.INFO: -- count --1 [2025-03-20 07:54:43] Production.INFO: AccountID 7 [2025-03-20 07:54:43] Production.INFO: AccountName Dominos 10099 (Mudassar Zia) [2025-03-20 07:54:43] Production.INFO: Checkcustomer [2025-03-20 07:54:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010099%20%28Mudassar%20Zia%29" [2025-03-20 07:54:45] Production.INFO: Contact id print CheckCustomer Case===71c34967-10de-4adf-ac3c-873348ba60c5 [2025-03-20 07:54:45] Production.INFO: -- count --1 [2025-03-20 07:54:45] Production.INFO: AccountID 47 [2025-03-20 07:54:45] Production.INFO: AccountName Aaxel Insurance Brokers [2025-03-20 07:54:45] Production.INFO: Checkcustomer [2025-03-20 07:54:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Aaxel%20Insurance%20Brokers" [2025-03-20 07:54:47] Production.INFO: Contact id print CheckCustomer Case===4e313157-1b83-4634-91d3-f0b4cdbdcb8b [2025-03-20 07:54:47] Production.INFO: -- count --1 [2025-03-20 07:54:47] Production.INFO: AccountID 86 [2025-03-20 07:54:47] Production.INFO: AccountName Selective Conformal Coatings Inc. [2025-03-20 07:54:47] Production.INFO: Checkcustomer [2025-03-20 07:54:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Selective%20Conformal%20Coatings%20Inc." [2025-03-20 07:54:50] Production.INFO: Contact id print CheckCustomer Case===829ddc9d-f1ae-447b-9687-394867f488a7 [2025-03-20 07:54:50] Production.INFO: -- count --1 [2025-03-20 07:54:50] Production.INFO: AccountID 226 [2025-03-20 07:54:50] Production.INFO: AccountName Dominos 10189 (Akshay Naik) [2025-03-20 07:54:50] Production.INFO: Checkcustomer [2025-03-20 07:54:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010189%20%28Akshay%20Naik%29" [2025-03-20 07:54:53] Production.INFO: Contact id print CheckCustomer Case===4982fdbe-e8c3-4cfb-854b-994478db81a7 [2025-03-20 07:54:53] Production.INFO: -- count --1 [2025-03-20 07:54:53] Production.INFO: AccountID 115 [2025-03-20 07:54:53] Production.INFO: AccountName AromaCafeBayviewVillage [2025-03-20 07:54:53] Production.INFO: Checkcustomer [2025-03-20 07:54:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="AromaCafeBayviewVillage" [2025-03-20 07:54:56] Production.INFO: Contact id print CheckCustomer Case===60b24dce-a269-4d1e-8535-3506428c9ffb [2025-03-20 07:54:56] Production.INFO: -- count --1 [2025-03-20 07:54:56] Production.INFO: AccountID 17 [2025-03-20 07:54:56] Production.INFO: AccountName UNIGLOBE Bon Voyage Travel [2025-03-20 07:54:56] Production.INFO: Checkcustomer [2025-03-20 07:54:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Bon%20Voyage%20Travel" [2025-03-20 07:54:58] Production.INFO: Contact id print CheckCustomer Case===b3f98fb9-7d83-4a9d-a9db-618acdfb5df3 [2025-03-20 07:54:58] Production.INFO: -- count --1 [2025-03-20 07:54:58] Production.INFO: AccountID 18 [2025-03-20 07:54:58] Production.INFO: AccountName Sivananda Ashram Yoga Retreat [2025-03-20 07:54:58] Production.INFO: Checkcustomer [2025-03-20 07:54:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Sivananda%20Ashram%20Yoga%20Retreat" [2025-03-20 07:55:01] Production.INFO: Contact id print CheckCustomer Case===64c07100-e054-4831-b9c1-0c728c4e9ba3 [2025-03-20 07:55:01] Production.INFO: -- count --1 [2025-03-20 07:55:01] Production.INFO: AccountID 34 [2025-03-20 07:55:01] Production.INFO: AccountName Escape Games Canada [2025-03-20 07:55:01] Production.INFO: Checkcustomer [2025-03-20 07:55:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Escape%20Games%20Canada" [2025-03-20 07:55:04] Production.INFO: Contact id print CheckCustomer Case===f8bf0f6c-4bd5-483c-b42f-b3dd4f2c7deb [2025-03-20 07:55:04] Production.INFO: -- count --1 [2025-03-20 07:55:04] Production.INFO: AccountID 56 [2025-03-20 07:55:04] Production.INFO: AccountName Alexander and Casey Law [2025-03-20 07:55:04] Production.INFO: Checkcustomer [2025-03-20 07:55:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Alexander%20and%20Casey%20Law" [2025-03-20 07:55:06] Production.INFO: Contact id print CheckCustomer Case===3b1c6fb0-8df6-447b-805b-319c8fd7f13f [2025-03-20 07:55:06] Production.INFO: -- count --1 [2025-03-20 07:55:06] Production.INFO: AccountID 85 [2025-03-20 07:55:06] Production.INFO: AccountName MK TAXPLUS LTD [2025-03-20 07:55:06] Production.INFO: Checkcustomer [2025-03-20 07:55:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="MK%20TAXPLUS%20LTD" [2025-03-20 07:55:09] Production.INFO: Contact id print CheckCustomer Case===b2a980df-8333-4b5e-8b50-c1d40e826ba3 [2025-03-20 07:55:09] Production.INFO: -- count --1 [2025-03-20 07:55:09] Production.INFO: AccountID 87 [2025-03-20 07:55:09] Production.INFO: AccountName Small Business Owners & Professionals Association [2025-03-20 07:55:09] Production.INFO: Checkcustomer [2025-03-20 07:55:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Small%20Business%20Owners%20%26%20Professionals%20Association" [2025-03-20 07:55:12] Production.INFO: Contact id print CheckCustomer Case===e8c42b4a-0408-4ca6-a815-dbd8da598a80 [2025-03-20 07:55:12] Production.INFO: -- count --1 [2025-03-20 07:55:12] Production.INFO: AccountID 100 [2025-03-20 07:55:12] Production.INFO: AccountName Dominos 10538 (Waqas Ayaz) [2025-03-20 07:55:12] Production.INFO: Checkcustomer [2025-03-20 07:55:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010538%20%28Waqas%20Ayaz%29" [2025-03-20 07:55:15] Production.INFO: Contact id print CheckCustomer Case===7b571efd-034b-4c11-82c7-5ed343693624 [2025-03-20 07:55:15] Production.INFO: -- count --1 [2025-03-20 07:55:15] Production.INFO: AccountID 19 [2025-03-20 07:55:15] Production.INFO: AccountName Craig Travel [2025-03-20 07:55:15] Production.INFO: Checkcustomer [2025-03-20 07:55:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Craig%20Travel" [2025-03-20 07:55:18] Production.INFO: Contact id print CheckCustomer Case===65a499d2-8fb3-4c56-ab50-2bdc7bfc40a1 [2025-03-20 07:55:18] Production.INFO: -- count --1 [2025-03-20 07:55:18] Production.INFO: AccountID 121 [2025-03-20 07:55:18] Production.INFO: AccountName Dominos 10462 (Anwar Hossain) [2025-03-20 07:55:18] Production.INFO: Checkcustomer [2025-03-20 07:55:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010462%20%28Anwar%20Hossain%29" [2025-03-20 07:55:20] Production.INFO: Contact id print CheckCustomer Case===dd9d12a6-43e5-42f4-9c71-f881ac0e5dfe [2025-03-20 07:55:20] Production.INFO: -- count --1 [2025-03-20 07:55:20] Production.INFO: AccountID 67 [2025-03-20 07:55:20] Production.INFO: AccountName Stars & Maple Tours [2025-03-20 07:55:20] Production.INFO: Checkcustomer [2025-03-20 07:55:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Stars%20%26%20Maple%20Tours" [2025-03-20 07:55:23] Production.INFO: Contact id print CheckCustomer Case===42f3da1b-13b4-4bab-b989-2a74b97947bd [2025-03-20 07:55:23] Production.INFO: -- count --1 [2025-03-20 07:55:23] Production.INFO: AccountID 78 [2025-03-20 07:55:23] Production.INFO: AccountName Halcyon Travel [2025-03-20 07:55:23] Production.INFO: Checkcustomer [2025-03-20 07:55:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Halcyon%20Travel" [2025-03-20 07:55:26] Production.INFO: Contact id print CheckCustomer Case===2fb0f102-2ef2-41cf-8d40-4c3f58cf996f [2025-03-20 07:55:26] Production.INFO: -- count --1 [2025-03-20 07:55:26] Production.INFO: -- Xero Add Inovice -- [2025-03-20 07:55:26] Production.INFO: CheckInvoice xerov2: INV11636 [2025-03-20 07:55:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11636 [2025-03-20 07:55:28] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:55:28] Production.INFO: Invoice SubTotal 3.000000 [2025-03-20 07:55:28] Production.INFO: Invoice DetTotal 3 [2025-03-20 07:55:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Terry%20Anderson" [2025-03-20 07:55:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:55:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:55:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:55:39] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 1,UnitAmount : 10.000000,LineAmount : 10.000000},{taxType:"TAX020",AccountCode : 303,"Description": "The "You're Overcharging Me" Discount",Quantity : 1,UnitAmount : -7.000000,LineAmount : -7.000000} [2025-03-20 07:55:42] Production.INFO: ==== result ===== [2025-03-20 07:55:42] Production.INFO: { "ErrorNumber": 14, "Type": "PostDataInvalidException", "Message": "Invalid Json data" } [2025-03-20 07:55:42] Production.ERROR: exception 'ErrorException' with message 'Undefined property: stdClass::$Invoices' in /var/www/html/onswitch.neon.service/app/lib/XeroV2.php:0 Stack trace: #0 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined prope...', '/var/www/html/o...', 0, Array) #1 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->CreateInvoice() #2 /var/www/html/onswitch.neon.service/app/Console/Commands/XeroInvoicePostV2.php(0): App\Lib\XeroV2->addInvoices() #3 [internal function]: App\Console\Commands\XeroInvoicePostV2->fire() #4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array) #5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array) #6 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #8 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\XeroInvoicePostV2), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #12 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #13 {main} [2025-03-20 07:55:42] Production.INFO: -- Create Invoice Error --Undefined property: stdClass::$Invoices [2025-03-20 07:55:42] Production.INFO: -- Create Invoice Error -- [2025-03-20 07:55:42] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:55:42] Production.INFO: CheckInvoice xerov2: INV11632 [2025-03-20 07:55:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11632 [2025-03-20 07:55:45] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:55:45] Production.INFO: Invoice SubTotal 34.010000 [2025-03-20 07:55:45] Production.INFO: Invoice DetTotal 34.01 [2025-03-20 07:55:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Metro%20Toronto%20Collision%20Centre" [2025-03-20 07:55:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:55:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:55:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:55:57] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 02-03-2025 To 03-02-2025",Quantity : 1,UnitAmount : 3.510000,LineAmount : 3.510000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 4,UnitAmount : 7.000000,LineAmount : 28.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (16475609483 - 19 VANLEY CRES NORTH YORK, ON M3J2B7)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 07:56:01] Production.INFO: ==== result ===== [2025-03-20 07:56:01] Production.INFO: { "Id": "9cc58970-0e7c-4f96-9ab0-c3164142c085", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742471760899)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "c3ded9d2-1243-4d0f-8378-7aa5a3c8a6bf", "InvoiceNumber": "INV11632", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 38.44, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "639507fe-3c02-40f6-89b2-b3a1c40bc965", "ContactStatus": "ACTIVE", "Name": "Metro Toronto Collision Centre", "FirstName": "Avi", "LastName": "", "EmailAddress": "mtccinc@gmail.com", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "AddressLine1": "19 Vanley Cres.", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "North York", "Region": "ON", "PostalCode": "M3J 2B7", "Country": "Canada", "AttentionTo": "Avi" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "(416) 4761593", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "4164761593", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1562268200550+0000)\/", "ContactGroups": [ { "ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58", "Name": "Benjamin's Customers", "Status": "ACTIVE", "Contacts": [], "HasValidationErrors": false } ], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-03T00:00:00", "Date": "\/Date(1740960000000+0000)\/", "DueDateString": "2025-04-02T00:00:00", "DueDate": "\/Date(1743552000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 02-03-2025 To 03-02-2025", "UnitAmount": 3.51, "TaxType": "TAX020", "TaxAmount": 0.46, "LineAmount": 3.51, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "f1b86720-f040-4cc4-b62c-5b91b9c623a5", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for a Pay As You Go Cloud Phone extension", "UnitAmount": 7.00, "TaxType": "TAX020", "TaxAmount": 3.64, "LineAmount": 28.00, "AccountCode": "203", "Tracking": [], "Quantity": 4.0000, "DiscountRate": 0.00, "LineItemID": "c32e231a-8b42-4661-9bf8-efa04e0a920b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (16475609483 - 19 VANLEY CRES NORTH YORK, ON M3J2B7)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "05b939bf-b158-46c2-bf92-e7e39eb5cfa9", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 34.01, "TotalTax": 4.43, "Total": 38.44, "UpdatedDateUTC": "\/Date(1742471760853+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:56:01] Production.INFO: -- Create Invoice id --c3ded9d2-1243-4d0f-8378-7aa5a3c8a6bf [2025-03-20 07:56:01] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:56:01] Production.INFO: CheckInvoice xerov2: INV50022 [2025-03-20 07:56:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV50022 [2025-03-20 07:56:04] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:56:04] Production.INFO: Invoice SubTotal 4616.860000 [2025-03-20 07:56:04] Production.INFO: Invoice DetTotal 4616.86 [2025-03-20 07:56:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc." [2025-03-20 07:56:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:56:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:56:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:56:16] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 31-01-2025 To 02-03-2025",Quantity : 1,UnitAmount : 4.340000,LineAmount : 4.340000},{taxType:"TAX020",AccountCode : 203,"Description": "Azure AD P1",Quantity : 45,UnitAmount : 8.680000,LineAmount : 390.600000},{taxType:"TAX020",AccountCode : 203,"Description": "Dropsuite Business Backup License",Quantity : 46,UnitAmount : 3.640000,LineAmount : 167.440000},{taxType:"TAX020",AccountCode : 203,"Description": "Ironscales Basic Email Phishing Protection",Quantity : 44,UnitAmount : 3.640000,LineAmount : 160.160000},{taxType:"TAX020",AccountCode : 203,"Description": "M365 Power Automate subscription",Quantity : 1,UnitAmount : 17.920000,LineAmount : 17.920000},{taxType:"TAX020",AccountCode : 203,"Description": "Managed Network Device",Quantity : 13,UnitAmount : 9.800000,LineAmount : 127.400000},{taxType:"TAX020",AccountCode : 203,"Description": "Management of server",Quantity : 1,UnitAmount : 112.000000,LineAmount : 112.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Managed Workstation",Quantity : 38,UnitAmount : 54.040000,LineAmount : 2053.520000},{taxType:"TAX020",AccountCode : 203,"Description": "Microsoft 365 Audio Conferencing",Quantity : 1,UnitAmount : 5.880000,LineAmount : 5.880000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Basic collaboration and productivity suite",Quantity : 17,UnitAmount : 7.560000,LineAmount : 128.520000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Standard collaboration and productivity suite",Quantity : 42,UnitAmount : 15.960000,LineAmount : 670.320000},{taxType:"TAX020",AccountCode : 203,"Description": "Microsoft Azure Information Protection P1",Quantity : 1,UnitAmount : 3.920000,LineAmount : 3.920000},{taxType:"TAX020",AccountCode : 203,"Description": "Microsoft Exchange Online Archiving",Quantity : 4,UnitAmount : 4.760000,LineAmount : 19.040000},{taxType:"TAX020",AccountCode : 203,"Description": "Microsoft Intune Per Device",Quantity : 1,UnitAmount : 3.080000,LineAmount : 3.080000},{taxType:"TAX020",AccountCode : 203,"Description": "Microsoft 365 Visio",Quantity : 1,UnitAmount : 19.040000,LineAmount : 19.040000},{taxType:"TAX020",AccountCode : 203,"Description": "Microsoft 365 Project Pro",Quantity : 1,UnitAmount : 37.800000,LineAmount : 37.800000},{taxType:"TAX020",AccountCode : 203,"Description": "Microsoft 365 ProPlus",Quantity : 1,UnitAmount : 15.680000,LineAmount : 15.680000},{taxType:"TAX020",AccountCode : 203,"Description": "Microsoft 365 Extra File Storage (per GB)",Quantity : 200,UnitAmount : 0.280000,LineAmount : 56.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Production Line Machine Access",Quantity : 17,UnitAmount : 3.640000,LineAmount : 61.880000},{taxType:"TAX020",AccountCode : 203,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 37,UnitAmount : 7.000000,LineAmount : 259.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (14164793951 - 226 LESMILL RD TORONTO, ON M3B2T5)",Quantity : 1,UnitAmount : 2.520000,LineAmount : 2.520000},{taxType:"TAX020","Description": "Manual correction due to date proration error",Quantity : 1,UnitAmount : 18.680000,LineAmount : 18.680000},{taxType:"TAX020","Description": "Manual correction due to date proration error",Quantity : 1,UnitAmount : 282.120000,LineAmount : 282.120000} [2025-03-20 07:56:19] Production.INFO: ==== result ===== [2025-03-20 07:56:19] Production.INFO: { "Id": "e4c6f512-c62b-4330-91f1-12abf3cc6535", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742471779722)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "a52ad5af-70bc-4008-8d19-6300e718d70e", "InvoiceNumber": "INV50022", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 5217.06, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "c5a4d0ce-0d87-4131-b0d8-9808badfe70b", "ContactNumber": "Clek Inc.", "ContactStatus": "ACTIVE", "Name": "Clek Inc.", "FirstName": "", "LastName": "", "EmailAddress": "", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "AddressLine1": "226 Lesmill Road", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Toronto", "Region": "ON", "PostalCode": "M3B2T5", "Country": "CANADA", "AttentionTo": "" }, { "AddressType": "POBOX", "AddressLine1": "226 Lesmill Road", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Toronto", "Region": "ON", "PostalCode": "M3B2T5", "Country": "CANADA", "AttentionTo": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "4164793951", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "4164793951,123", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1719936258400+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "DefaultCurrency": "CAD", "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-03T00:00:00", "Date": "\/Date(1740960000000+0000)\/", "DueDateString": "2025-04-02T00:00:00", "DueDate": "\/Date(1743552000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 31-01-2025 To 02-03-2025", "UnitAmount": 4.34, "TaxType": "TAX020", "TaxAmount": 0.56, "LineAmount": 4.34, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "17c24b5c-8699-42ce-a161-4343897e251f", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Azure AD P1", "UnitAmount": 8.68, "TaxType": "TAX020", "TaxAmount": 50.78, "LineAmount": 390.60, "AccountCode": "203", "Tracking": [], "Quantity": 45.0000, "LineItemID": "7518226d-9d09-4983-abaa-9d350991cacf", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Dropsuite Business Backup License", "UnitAmount": 3.64, "TaxType": "TAX020", "TaxAmount": 21.77, "LineAmount": 167.44, "AccountCode": "203", "Tracking": [], "Quantity": 46.0000, "LineItemID": "9af9f7f1-4bf9-40ce-82b9-0d28e56be7a8", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Ironscales Basic Email Phishing Protection", "UnitAmount": 3.64, "TaxType": "TAX020", "TaxAmount": 20.82, "LineAmount": 160.16, "AccountCode": "203", "Tracking": [], "Quantity": 44.0000, "LineItemID": "b9d4a756-346b-4b51-b5fb-b9272fa43ec5", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "M365 Power Automate subscription", "UnitAmount": 17.92, "TaxType": "TAX020", "TaxAmount": 2.33, "LineAmount": 17.92, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "2df2d5e9-4337-40dd-a6e4-f0c6648ed1d0", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Managed Network Device", "UnitAmount": 9.80, "TaxType": "TAX020", "TaxAmount": 16.56, "LineAmount": 127.40, "AccountCode": "203", "Tracking": [], "Quantity": 13.0000, "LineItemID": "3b0b80ba-53d5-419e-9af7-263a5542f51d", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Management of server", "UnitAmount": 112.00, "TaxType": "TAX020", "TaxAmount": 14.56, "LineAmount": 112.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "b119f193-a99d-419a-967b-16c75cde99f8", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Managed Workstation", "UnitAmount": 54.04, "TaxType": "TAX020", "TaxAmount": 266.96, "LineAmount": 2053.52, "AccountCode": "203", "Tracking": [], "Quantity": 38.0000, "LineItemID": "b446d179-9954-495e-a23e-8a8879111d9b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft 365 Audio Conferencing", "UnitAmount": 5.88, "TaxType": "TAX020", "TaxAmount": 0.76, "LineAmount": 5.88, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "ec6eb0cc-4364-4dd3-9683-269076762723", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft 365 Basic collaboration and productivity suite", "UnitAmount": 7.56, "TaxType": "TAX020", "TaxAmount": 16.71, "LineAmount": 128.52, "AccountCode": "250", "Tracking": [], "Quantity": 17.0000, "LineItemID": "8218eab1-4540-4723-b36f-ddbcf88e216a", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "Microsoft 365 Standard collaboration and productivity suite", "UnitAmount": 15.96, "TaxType": "TAX020", "TaxAmount": 87.14, "LineAmount": 670.32, "AccountCode": "250", "Tracking": [], "Quantity": 42.0000, "LineItemID": "49620f82-e7c0-408a-bd91-20e780a8b524", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "Microsoft Azure Information Protection P1", "UnitAmount": 3.92, "TaxType": "TAX020", "TaxAmount": 0.51, "LineAmount": 3.92, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "4aa21f3d-e308-4bf9-837d-251ee62a3726", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft Exchange Online Archiving", "UnitAmount": 4.76, "TaxType": "TAX020", "TaxAmount": 2.48, "LineAmount": 19.04, "AccountCode": "203", "Tracking": [], "Quantity": 4.0000, "LineItemID": "4dd5022f-76c1-46f6-a1d5-4a62091f30cf", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft Intune Per Device", "UnitAmount": 3.08, "TaxType": "TAX020", "TaxAmount": 0.40, "LineAmount": 3.08, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "00fa4096-f7ef-4c17-8be6-55879d50f41d", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft 365 Visio", "UnitAmount": 19.04, "TaxType": "TAX020", "TaxAmount": 2.48, "LineAmount": 19.04, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "6da5cb6a-13ba-4036-9771-88c330cb15d9", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft 365 Project Pro", "UnitAmount": 37.80, "TaxType": "TAX020", "TaxAmount": 4.91, "LineAmount": 37.80, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "7c7cd31c-5fd5-4eb0-9305-61d254dfd362", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft 365 ProPlus", "UnitAmount": 15.68, "TaxType": "TAX020", "TaxAmount": 2.04, "LineAmount": 15.68, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "53edf3da-d261-4f79-998a-a635c07e239b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft 365 Extra File Storage (per GB)", "UnitAmount": 0.28, "TaxType": "TAX020", "TaxAmount": 7.28, "LineAmount": 56.00, "AccountCode": "203", "Tracking": [], "Quantity": 200.0000, "LineItemID": "281a69a1-e79a-44b0-b9a3-9d117e67a41e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Production Line Machine Access", "UnitAmount": 3.64, "TaxType": "TAX020", "TaxAmount": 8.04, "LineAmount": 61.88, "AccountCode": "203", "Tracking": [], "Quantity": 17.0000, "LineItemID": "8562aa3e-3244-4b99-9118-4176baccf450", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "License for a Pay As You Go Cloud Phone extension", "UnitAmount": 7.00, "TaxType": "TAX020", "TaxAmount": 33.67, "LineAmount": 259.00, "AccountCode": "203", "Tracking": [], "Quantity": 37.0000, "LineItemID": "c4ba7c5c-ec28-47e0-a750-61e679b03597", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (14164793951 - 226 LESMILL RD TORONTO, ON M3B2T5)", "UnitAmount": 2.52, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.52, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "a00f4e32-d556-41d9-9979-0974f924c436", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Manual correction due to date proration error", "UnitAmount": 18.68, "TaxType": "TAX020", "TaxAmount": 2.43, "LineAmount": 18.68, "Tracking": [], "Quantity": 1.0000, "LineItemID": "52d0c353-2198-4f54-9308-cf03448fc9a4", "ValidationErrors": [] }, { "Description": "Manual correction due to date proration error", "UnitAmount": 282.12, "TaxType": "TAX020", "TaxAmount": 36.68, "LineAmount": 282.12, "Tracking": [], "Quantity": 1.0000, "LineItemID": "a3b65a6a-b045-482c-98e0-52724236ebc6", "ValidationErrors": [] } ], "SubTotal": 4616.86, "TotalTax": 600.20, "Total": 5217.06, "UpdatedDateUTC": "\/Date(1742471779567+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:56:19] Production.INFO: -- Create Invoice id --a52ad5af-70bc-4008-8d19-6300e718d70e [2025-03-20 07:56:19] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:56:19] Production.INFO: CheckInvoice xerov2: INV11633 [2025-03-20 07:56:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11633 [2025-03-20 07:56:22] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:56:22] Production.INFO: Invoice SubTotal 86.130000 [2025-03-20 07:56:22] Production.INFO: Invoice DetTotal 86.13 [2025-03-20 07:56:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Lions%20Auto%20Protection" [2025-03-20 07:56:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:56:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:56:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:56:34] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-31-2025 To 03-02-2025",Quantity : 1,UnitAmount : 28.450000,LineAmount : 28.450000},{taxType:"TAX020",AccountCode : 203,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 6,UnitAmount : 9.240000,LineAmount : 55.440000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (9056299698 - 1 Greensborough Drive, Suite 300, Etobicoke, ON M9W1C8)",Quantity : 1,UnitAmount : 2.240000,LineAmount : 2.240000} [2025-03-20 07:56:37] Production.INFO: ==== result ===== [2025-03-20 07:56:37] Production.INFO: { "Id": "1b6abfe8-5071-43b2-b5ed-1d3090d3de9e", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742471797831)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "556c8186-7e91-45c1-ba71-1e18a9d03473", "InvoiceNumber": "INV11633", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 97.33, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "173facd8-68c9-4e18-bac1-f10f211f33e1", "ContactStatus": "ACTIVE", "Name": "Lions Auto Protection", "FirstName": "Krystyne", "LastName": "V.", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1696242146763+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-03T00:00:00", "Date": "\/Date(1740960000000+0000)\/", "DueDateString": "2025-04-02T00:00:00", "DueDate": "\/Date(1743552000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-31-2025 To 03-02-2025", "UnitAmount": 28.45, "TaxType": "TAX020", "TaxAmount": 3.70, "LineAmount": 28.45, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "5dffaa9c-7d2a-45bb-8fc6-9ef082f97a1e", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for an Unlimited Canada/US Cloud Phone extension", "UnitAmount": 9.24, "TaxType": "TAX020", "TaxAmount": 7.21, "LineAmount": 55.44, "AccountCode": "203", "Tracking": [], "Quantity": 6.0000, "LineItemID": "8b4ba4ec-b1da-4525-9fac-ff6de0bef1d7", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (9056299698 - 1 Greensborough Drive, Suite 300, Etobicoke, ON M9W1C8)", "UnitAmount": 2.24, "TaxType": "TAX020", "TaxAmount": 0.29, "LineAmount": 2.24, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "0b82b671-9430-403d-9332-53e9c60d0ebc", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 86.13, "TotalTax": 11.20, "Total": 97.33, "UpdatedDateUTC": "\/Date(1742471797720+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:56:37] Production.INFO: -- Create Invoice id --556c8186-7e91-45c1-ba71-1e18a9d03473 [2025-03-20 07:56:37] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:56:37] Production.INFO: CheckInvoice xerov2: INV11627 [2025-03-20 07:56:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11627 [2025-03-20 07:56:40] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:56:40] Production.INFO: Invoice SubTotal 26.500000 [2025-03-20 07:56:40] Production.INFO: Invoice DetTotal 26.5 [2025-03-20 07:56:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Millbrook" [2025-03-20 07:56:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:56:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:56:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:56:53] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (17052432093 - 47 Tupper Street Millbrook, ON L0A 1G0)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,"Description": "Capacity Based Billing - 2 Channels, Burstable to 3",Quantity : 2,UnitAmount : 12.000000,LineAmount : 24.000000} [2025-03-20 07:56:56] Production.INFO: ==== result ===== [2025-03-20 07:56:56] Production.INFO: { "Id": "40ea9362-aff2-4564-b49d-e29246d6e471", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742471816222)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "7898119c-fd28-445a-a9f7-c43ca74b9eb5", "InvoiceNumber": "INV11627", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 29.95, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "5827757d-9498-4c55-97f7-43de2cbda025", "ContactStatus": "ACTIVE", "Name": "Compass ELC - Millbrook", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1533070460547+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-02T00:00:00", "Date": "\/Date(1740873600000+0000)\/", "DueDateString": "2025-04-01T00:00:00", "DueDate": "\/Date(1743465600000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "e911 address registration (17052432093 - 47 Tupper Street Millbrook, ON L0A 1G0)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "126f2601-7a2a-450a-9a9c-e6b6be4cdf80", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Capacity Based Billing - 2 Channels, Burstable to 3", "UnitAmount": 12.00, "TaxType": "TAX020", "TaxAmount": 3.12, "LineAmount": 24.00, "AccountCode": "203", "Tracking": [], "Quantity": 2.0000, "LineItemID": "d1f93497-fde3-4a50-875c-dad4ea172328", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 26.50, "TotalTax": 3.45, "Total": 29.95, "UpdatedDateUTC": "\/Date(1742471816163+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:56:56] Production.INFO: -- Create Invoice id --7898119c-fd28-445a-a9f7-c43ca74b9eb5 [2025-03-20 07:56:56] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:56:56] Production.INFO: CheckInvoice xerov2: INV11628 [2025-03-20 07:56:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11628 [2025-03-20 07:56:59] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:56:59] Production.INFO: Invoice SubTotal 77.500000 [2025-03-20 07:56:59] Production.INFO: Invoice DetTotal 77.5 [2025-03-20 07:56:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="LevLending" [2025-03-20 07:57:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:57:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:57:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:57:11] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (9057608274 - 11 Buttermill Ave. Unit 2 Concord, ON L4K 3X5 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 07:57:14] Production.INFO: ==== result ===== [2025-03-20 07:57:14] Production.INFO: { "Id": "82b56815-cbde-400c-a785-972fd8d9f146", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742471834647)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "fb480568-3960-425b-9fe0-0e622934ef16", "InvoiceNumber": "INV11628", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 87.58, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "0c3388d2-858d-4ab0-82a5-823938ebfea0", "ContactStatus": "ACTIVE", "Name": "LevLending", "FirstName": "Nick", "LastName": "Levin", "EmailAddress": "Nick-levin@hotmail.com", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "AddressLine1": "11 Buttermill Ave.", "AddressLine2": "Unit 2", "AddressLine3": "", "AddressLine4": "", "City": "Concord", "Region": "ON", "PostalCode": "L4K 3X5", "Country": "Canada", "AttentionTo": "Nick Levin" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "4168288127", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "(416) 828-8127", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1542138669507+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-02T00:00:00", "Date": "\/Date(1740873600000+0000)\/", "DueDateString": "2025-04-01T00:00:00", "DueDate": "\/Date(1743465600000+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": "16b3bd56-f908-4dc7-b43d-b4c6b61490ca", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (9057608274 - 11 Buttermill Ave. Unit 2 Concord, ON L4K 3X5 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "a4c526a2-82a0-4e3b-bc23-afe5c752ee83", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 77.50, "TotalTax": 10.08, "Total": 87.58, "UpdatedDateUTC": "\/Date(1742471834583+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:57:14] Production.INFO: -- Create Invoice id --fb480568-3960-425b-9fe0-0e622934ef16 [2025-03-20 07:57:14] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:57:14] Production.INFO: CheckInvoice xerov2: INV11629 [2025-03-20 07:57:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11629 [2025-03-20 07:57:17] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:57:17] Production.INFO: Invoice SubTotal 27.240000 [2025-03-20 07:57:17] Production.INFO: Invoice DetTotal 27.24 [2025-03-20 07:57:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="PharmaSave%20%28Oak%20Tree%20Medical%29" [2025-03-20 07:57:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:57:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:57:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:57:30] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Retail Phone Service - 3 Channels Dedicated/Burst to 5 Channels",Quantity : 1,UnitAmount : 70.000000,LineAmount : 70.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (9058521007 - 4B Campbell Drive, Unit 1, Uxbridge, ON L9P1H6)",Quantity : 1,UnitAmount : 2.240000,LineAmount : 2.240000},{taxType:"TAX020",AccountCode : 303,"Description": "Discount - Friends and Family (Doug Geary referral)",Quantity : 1,UnitAmount : -45.000000,LineAmount : -45.000000} [2025-03-20 07:57:33] Production.INFO: ==== result ===== [2025-03-20 07:57:33] Production.INFO: { "Id": "68c0614b-1a80-41d9-aa5f-9a3d13fe924d", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742471853373)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "5bf290c5-c584-4a40-ad00-662ec19d9a82", "InvoiceNumber": "INV11629", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 30.78, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "dd008964-6378-4903-b54b-a7b8eb03f05f", "ContactStatus": "ACTIVE", "Name": "PharmaSave (Oak Tree Medical)", "FirstName": "Sameer", "LastName": "Remtulla", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1666687158210+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-02T00:00:00", "Date": "\/Date(1740873600000+0000)\/", "DueDateString": "2025-04-01T00:00:00", "DueDate": "\/Date(1743465600000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Retail Phone Service - 3 Channels Dedicated/Burst to 5 Channels", "UnitAmount": 70.00, "TaxType": "TAX020", "TaxAmount": 9.10, "LineAmount": 70.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "7516969f-3200-4b7e-b9b2-87d8bddadef6", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (9058521007 - 4B Campbell Drive, Unit 1, Uxbridge, ON L9P1H6)", "UnitAmount": 2.24, "TaxType": "TAX020", "TaxAmount": 0.29, "LineAmount": 2.24, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "1394c0d4-df4a-4c51-b9a5-e8c4ff3b8a9f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Discount - Friends and Family (Doug Geary referral)", "UnitAmount": -45.00, "TaxType": "TAX020", "TaxAmount": -5.85, "LineAmount": -45.00, "AccountCode": "303", "Tracking": [], "Quantity": 1.0000, "LineItemID": "7c8c01a5-adac-48e4-b3e5-8e7d924808db", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "ValidationErrors": [] } ], "SubTotal": 27.24, "TotalTax": 3.54, "Total": 30.78, "UpdatedDateUTC": "\/Date(1742471853310+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:57:33] Production.INFO: -- Create Invoice id --5bf290c5-c584-4a40-ad00-662ec19d9a82 [2025-03-20 07:57:33] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:57:33] Production.INFO: CheckInvoice xerov2: INV11630 [2025-03-20 07:57:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11630 [2025-03-20 07:57:36] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:57:36] Production.INFO: Invoice SubTotal 49.000000 [2025-03-20 07:57:36] Production.INFO: Invoice DetTotal 49 [2025-03-20 07:57:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010459%20%28Sandeep%20Chaudhari%29" [2025-03-20 07:57:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:57:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:57:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:57:48] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 70.000000,LineAmount : 70.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (5194424400 - 308 Grand River Street North 3 Paris, ON N3L 3R7 Canada)",Quantity : 1,UnitAmount : 2.240000,LineAmount : 2.240000},{taxType:"TAX020",AccountCode : 203,"Description": "Provides a $5/store/month discount when 5+ stores have OnSwitch Cloud Phone service",Quantity : 1,UnitAmount : -23.240000,LineAmount : -23.240000} [2025-03-20 07:57:51] Production.INFO: ==== result ===== [2025-03-20 07:57:51] Production.INFO: { "Id": "f9613f57-e4fc-4303-86d5-ea504a9ae04a", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742471871719)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "49e74ee9-e668-424a-b8c9-8df9577e34d1", "InvoiceNumber": "INV11630", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 55.37, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "9e4e5c67-a78f-406f-bfd6-d013ce749c4a", "ContactStatus": "ACTIVE", "Name": "Dominos 10459 (Sandeep Chaudhari)", "FirstName": "Sandeep", "LastName": "Chaudhari", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1697457604537+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-02T00:00:00", "Date": "\/Date(1740873600000+0000)\/", "DueDateString": "2025-04-01T00:00:00", "DueDate": "\/Date(1743465600000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Restaurant - 4 Line Flat Rate", "UnitAmount": 70.00, "TaxType": "TAX020", "TaxAmount": 9.10, "LineAmount": 70.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "f48a5509-c690-487b-82df-bec089225896", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (5194424400 - 308 Grand River Street North 3 Paris, ON N3L 3R7 Canada)", "UnitAmount": 2.24, "TaxType": "TAX020", "TaxAmount": 0.29, "LineAmount": 2.24, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "0c161396-efd3-491a-9ee3-ffc66fa41d0e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Provides a $5/store/month discount when 5+ stores have OnSwitch Cloud Phone service", "UnitAmount": -23.24, "TaxType": "TAX020", "TaxAmount": -3.02, "LineAmount": -23.24, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "015d452c-443f-4e4e-8ebe-959d898ed06f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 49.00, "TotalTax": 6.37, "Total": 55.37, "UpdatedDateUTC": "\/Date(1742471871690+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:57:51] Production.INFO: -- Create Invoice id --49e74ee9-e668-424a-b8c9-8df9577e34d1 [2025-03-20 07:57:51] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:57:51] Production.INFO: CheckInvoice xerov2: INV11606 [2025-03-20 07:57:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11606 [2025-03-20 07:57:54] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:57:54] Production.INFO: Invoice SubTotal 256.350000 [2025-03-20 07:57:54] Production.INFO: Invoice DetTotal 256.35 [2025-03-20 07:57:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Tundra" [2025-03-20 07:57:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:58:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:58:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:58:05] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 02-01-2025 To 02-28-2025",Quantity : 1,UnitAmount : 5.910000,LineAmount : 5.910000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "VDSL Internet Service - Bonded - 2 Circuits (251 Laurier Ave West, Suite 1050, Ottawa, ON K1P 5J6). 36 month agreement ending April 19, 2021.",Quantity : 1,UnitAmount : 240.440000,LineAmount : 240.440000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Fax Adapter (Toronto)",Quantity : 2,UnitAmount : 5.000000,LineAmount : 10.000000} [2025-03-20 07:58:09] Production.INFO: ==== result ===== [2025-03-20 07:58:09] Production.INFO: { "Id": "77b30a69-ae68-4e79-a5a0-307964da7b74", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742471889140)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "9770ecea-a080-4f5a-84d0-d94521cdebca", "InvoiceNumber": "INV11606", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 289.68, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "623680fb-29d2-4940-8787-6a04edc9b023", "ContactStatus": "ACTIVE", "Name": "Tundra", "FirstName": "Tundra", "LastName": "Technical", "EmailAddress": "ap@tundratechnical.ca", "BankAccountDetails": "", "AccountsReceivableTaxType": "OUTPUT", "AccountsPayableTaxType": "OUTPUT", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "", "AttentionTo": "" }, { "AddressType": "POBOX", "AddressLine1": "1 Eglinton Ave. East", "AddressLine2": "Suite 705", "AddressLine3": "", "AddressLine4": "", "City": "Toronto", "Region": "ON", "PostalCode": "M4P 3A1", "Country": "", "AttentionTo": "Tundra Technical" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "18669886372", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "18669886372", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "6477607778", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1617722615863+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "DefaultCurrency": "CAD", "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-01T00:00:00", "Date": "\/Date(1740787200000+0000)\/", "DueDateString": "2025-03-31T00:00:00", "DueDate": "\/Date(1743379200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 02-01-2025 To 02-28-2025", "UnitAmount": 5.91, "TaxType": "TAX020", "TaxAmount": 0.77, "LineAmount": 5.91, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "fbb1534f-df9d-498f-a440-22adb4834937", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "VDSL Internet Service - Bonded - 2 Circuits (251 Laurier Ave West, Suite 1050, Ottawa, ON K1P 5J6). 36 month agreement ending April 19, 2021.", "UnitAmount": 240.44, "TaxType": "TAX020", "TaxAmount": 31.26, "LineAmount": 240.44, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "3623de72-a2ff-4501-98bb-4d92716cceba", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Fax Adapter (Toronto)", "UnitAmount": 5.00, "TaxType": "TAX020", "TaxAmount": 1.30, "LineAmount": 10.00, "AccountCode": "203", "Tracking": [], "Quantity": 2.0000, "DiscountRate": 0.00, "LineItemID": "d21abb95-b276-4bd0-8383-d3518ef8d8da", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 256.35, "TotalTax": 33.33, "Total": 289.68, "UpdatedDateUTC": "\/Date(1742471889077+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:58:09] Production.INFO: -- Create Invoice id --9770ecea-a080-4f5a-84d0-d94521cdebca [2025-03-20 07:58:09] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:58:09] Production.INFO: CheckInvoice xerov2: INV11607 [2025-03-20 07:58:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11607 [2025-03-20 07:58:12] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:58:12] Production.INFO: Invoice SubTotal 348.910000 [2025-03-20 07:58:12] Production.INFO: Invoice DetTotal 348.91 [2025-03-20 07:58:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quality%20Car%20Rentals%20%28AutoQuest%29" [2025-03-20 07:58:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:58:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:58:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:58:23] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 02-01-2025 To 02-28-2025",Quantity : 1,UnitAmount : 14.650000,LineAmount : 14.650000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 17,UnitAmount : 7.000000,LineAmount : 119.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (8243 YONGE ST MARKHAM, ON L3T2C7)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (5 TANGIERS RD NORTH YORK, ON M3J2B1)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (71 ANNE ST S BARRIE, ON L4N2E2)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14164775948)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14164309608)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14164772862)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14164794438)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (17053001000)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (19054158172)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (19058899642)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "VDSL Internet Service 100mbps/10mbps (1380 Cardiff Blvd Unit 4, Mississauga, ON L5S 1P9)",Quantity : 1,UnitAmount : 131.220000,LineAmount : 131.220000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "LTE Internet Failover Service (1380 Cardiff Blvd Unit 4, Mississauga, ON L5S 1P9)",Quantity : 1,UnitAmount : 63.040000,LineAmount : 63.040000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (17054182705)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (16474175110)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000} [2025-03-20 07:58:26] Production.INFO: ==== result ===== [2025-03-20 07:58:26] Production.INFO: { "Id": "e28546de-3a1a-4ccb-a585-412d68c86cb0", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742471906763)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "dd7fcc1f-4767-44dc-9025-f0c890a12b51", "InvoiceNumber": "INV11607", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 394.33, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "d97f29cf-e0f8-4b9a-bb8e-aaec76dd5612", "ContactStatus": "ACTIVE", "Name": "Quality Car Rentals (AutoQuest)", "FirstName": "Gary", "LastName": "Letechiver", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1649250056207+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-01T00:00:00", "Date": "\/Date(1740787200000+0000)\/", "DueDateString": "2025-03-31T00:00:00", "DueDate": "\/Date(1743379200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 02-01-2025 To 02-28-2025", "UnitAmount": 14.65, "TaxType": "TAX020", "TaxAmount": 1.90, "LineAmount": 14.65, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "ee6201f8-990f-44df-90e3-8e58e814a6de", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for a Pay As You Go Cloud Phone extension", "UnitAmount": 7.00, "TaxType": "TAX020", "TaxAmount": 15.47, "LineAmount": 119.00, "AccountCode": "203", "Tracking": [], "Quantity": 17.0000, "DiscountRate": 0.00, "LineItemID": "89145f3d-ceaa-4d5d-b677-9bf01b3ce39d", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (8243 YONGE ST MARKHAM, ON L3T2C7)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "d00fc53f-4ecb-4d88-ac07-01f32e8e00ec", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (5 TANGIERS RD NORTH YORK, ON M3J2B1)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "5b1e9ec2-f444-4918-8d56-7791d07434b7", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (71 ANNE ST S BARRIE, ON L4N2E2)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "4247ff4a-46c1-479e-9f17-4677115e69cc", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (14164775948)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "b26f6edb-6792-4f92-a259-e7ce125a7450", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (14164309608)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "1fcc5e88-1de0-446f-9e4f-ea794b359ac2", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (14164772862)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "9f00ac00-be39-4628-a127-791057feb967", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (14164794438)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "09512b67-9a43-4d36-a236-c7ccd4a8097d", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (17053001000)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "dd14082b-90fe-4ebb-981b-8192d05d904e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (19054158172)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "198afb05-9588-4467-8b8f-ca48ec17ff8e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (19058899642)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "d7d043c9-e748-4fa4-9571-acd14d3251a0", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "VDSL Internet Service 100mbps/10mbps (1380 Cardiff Blvd Unit 4, Mississauga, ON L5S 1P9)", "UnitAmount": 131.22, "TaxType": "TAX020", "TaxAmount": 17.06, "LineAmount": 131.22, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "a1c8f82f-7fb5-49ec-a058-00a9cf3a7c3e", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "LTE Internet Failover Service (1380 Cardiff Blvd Unit 4, Mississauga, ON L5S 1P9)", "UnitAmount": 63.04, "TaxType": "TAX020", "TaxAmount": 8.20, "LineAmount": 63.04, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "145a5251-1156-4c45-b269-a63941a91ace", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (17054182705)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "140b761c-0af3-436e-8296-016747f2430c", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (16474175110)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "13a9eccb-e622-4030-a89c-f588e22ed043", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 348.91, "TotalTax": 45.42, "Total": 394.33, "UpdatedDateUTC": "\/Date(1742471906687+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:58:26] Production.INFO: -- Create Invoice id --dd7fcc1f-4767-44dc-9025-f0c890a12b51 [2025-03-20 07:58:26] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:58:26] Production.INFO: CheckInvoice xerov2: INV11608 [2025-03-20 07:58:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11608 [2025-03-20 07:58:29] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:58:29] Production.INFO: Invoice SubTotal 7.000000 [2025-03-20 07:58:29] Production.INFO: Invoice DetTotal 7 [2025-03-20 07:58:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Law%20Offices%20of%20Diane%20Staples" [2025-03-20 07:58:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:58:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:58:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:58:41] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "PAYGo - Voice - 15198330040",Quantity : 1,UnitAmount : 7.000000,LineAmount : 7.000000} [2025-03-20 07:58:44] Production.INFO: ==== result ===== [2025-03-20 07:58:44] Production.INFO: { "Id": "3ec024e5-d53b-43c3-94f0-8cead95f88e2", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742471924065)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "f4077473-b582-4871-97ee-0d2ad29c9f18", "InvoiceNumber": "INV11608", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 7.91, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "97ef00b2-8eb5-497a-aadd-ae29a942c858", "ContactStatus": "ACTIVE", "Name": "Law Offices of Diane Staples", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1533070460420+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-01T00:00:00", "Date": "\/Date(1740787200000+0000)\/", "DueDateString": "2025-03-31T00:00:00", "DueDate": "\/Date(1743379200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "PAYGo - Voice - 15198330040", "UnitAmount": 7.00, "TaxType": "TAX020", "TaxAmount": 0.91, "LineAmount": 7.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "5df23f77-225d-4225-a433-8d37fdfb768d", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 7.00, "TotalTax": 0.91, "Total": 7.91, "UpdatedDateUTC": "\/Date(1742471923987+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:58:44] Production.INFO: -- Create Invoice id --f4077473-b582-4871-97ee-0d2ad29c9f18 [2025-03-20 07:58:44] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:58:44] Production.INFO: CheckInvoice xerov2: INV11610 [2025-03-20 07:58:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11610 [2025-03-20 07:58:47] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:58:47] Production.INFO: Invoice SubTotal 158.480000 [2025-03-20 07:58:47] Production.INFO: Invoice DetTotal 158.48 [2025-03-20 07:58:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010443%20%28Ricky%20Singh%29" [2025-03-20 07:58:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:58:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:58:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:58:58] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 56.000000,LineAmount : 56.000000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "VDSL Internet Service (54 Brock St. W. Unit 2 Uxbridge, ON L9P 1P4 Canada)",Quantity : 1,UnitAmount : 68.600000,LineAmount : 68.600000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "LTE Internet Failover Service (54 Brock St. W. Unit 2 Uxbridge, ON L9P 1P4 Canada)",Quantity : 1,UnitAmount : 48.160000,LineAmount : 48.160000},{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 : -4.760000,LineAmount : -14.280000} [2025-03-20 07:59:01] Production.INFO: ==== result ===== [2025-03-20 07:59:01] Production.INFO: { "Id": "5160848c-859b-4527-ab0f-303049ea00dc", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742471941783)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "735f5f45-968f-480c-b870-49d2babd3ca5", "InvoiceNumber": "INV11610", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 179.08, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "21dc8586-f1ab-42cc-9c64-94234cb72e84", "ContactStatus": "ACTIVE", "Name": "Dominos 10443 (Ricky Singh)", "FirstName": "Ricky", "LastName": "Singh", "EmailAddress": "ricky_bhawar@yahoo.com", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1562267972817+0000)\/", "ContactGroups": [ { "ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58", "Name": "Benjamin's Customers", "Status": "ACTIVE", "Contacts": [], "HasValidationErrors": false } ], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-01T00:00:00", "Date": "\/Date(1740787200000+0000)\/", "DueDateString": "2025-03-31T00:00:00", "DueDate": "\/Date(1743379200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Restaurant - 4 Line Flat Rate", "UnitAmount": 56.00, "TaxType": "TAX020", "TaxAmount": 7.28, "LineAmount": 56.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "cfe23962-4373-4878-b4b4-8bcd79a3436a", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "VDSL Internet Service (54 Brock St. W. Unit 2 Uxbridge, ON L9P 1P4 Canada)", "UnitAmount": 68.60, "TaxType": "TAX020", "TaxAmount": 8.92, "LineAmount": 68.60, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "25963dc7-dff9-41e5-88bc-8e56113fc184", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "LTE Internet Failover Service (54 Brock St. W. Unit 2 Uxbridge, ON L9P 1P4 Canada)", "UnitAmount": 48.16, "TaxType": "TAX020", "TaxAmount": 6.26, "LineAmount": 48.16, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "7c2a5be8-c461-4d1c-90e5-acf0b160b175", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service", "UnitAmount": -4.76, "TaxType": "TAX020", "TaxAmount": -1.86, "LineAmount": -14.28, "AccountCode": "303", "Tracking": [], "Quantity": 3.0000, "DiscountRate": 0.00, "LineItemID": "19a1fc68-df73-4d0e-a6da-35c838ff73f0", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 158.48, "TotalTax": 20.60, "Total": 179.08, "UpdatedDateUTC": "\/Date(1742471941753+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:59:01] Production.INFO: -- Create Invoice id --735f5f45-968f-480c-b870-49d2babd3ca5 [2025-03-20 07:59:01] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:59:01] Production.INFO: CheckInvoice xerov2: INV11611 [2025-03-20 07:59:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11611 [2025-03-20 07:59:05] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:59:05] Production.INFO: Invoice SubTotal 74.290000 [2025-03-20 07:59:05] Production.INFO: Invoice DetTotal 74.29 [2025-03-20 07:59:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="CanTrust%20Insurance%20Services" [2025-03-20 07:59:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:59:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:59:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:59:17] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 02-01-2025 To 02-28-2025",Quantity : 1,UnitAmount : 23.790000,LineAmount : 23.790000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Inbound Channels",Quantity : 6,UnitAmount : 8.000000,LineAmount : 48.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14168175555 - 3640 Victoria Park Ave. 301, North York, ON M2H 3B2)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 07:59:21] Production.INFO: ==== result ===== [2025-03-20 07:59:21] Production.INFO: { "Id": "f8d4c4af-27cd-4b0e-8e3c-ed131899bec1", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742471960926)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "23e95c5c-b455-44e2-a5df-d0f8c8a1ec45", "InvoiceNumber": "INV11611", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 83.95, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "d5a46ee9-fef7-49ae-981c-b537df046ad7", "ContactStatus": "ACTIVE", "Name": "CanTrust Insurance Services", "FirstName": "Ken", "LastName": "Chen", "EmailAddress": "ken.chen@cantrustcanada.com", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1549033984247+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-01T00:00:00", "Date": "\/Date(1740787200000+0000)\/", "DueDateString": "2025-03-31T00:00:00", "DueDate": "\/Date(1743379200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 02-01-2025 To 02-28-2025", "UnitAmount": 23.79, "TaxType": "TAX020", "TaxAmount": 3.09, "LineAmount": 23.79, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "6a28af09-3322-4f3a-ad23-021c8cca642a", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Inbound Channels", "UnitAmount": 8.00, "TaxType": "TAX020", "TaxAmount": 6.24, "LineAmount": 48.00, "AccountCode": "203", "Tracking": [], "Quantity": 6.0000, "DiscountRate": 0.00, "LineItemID": "8dc821be-58a3-49ad-9188-22841b2b0ad8", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (14168175555 - 3640 Victoria Park Ave. 301, North York, ON M2H 3B2)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "0b60d9fa-9a81-4e03-808c-f21fbfba023d", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 74.29, "TotalTax": 9.66, "Total": 83.95, "UpdatedDateUTC": "\/Date(1742471960880+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:59:21] Production.INFO: -- Create Invoice id --23e95c5c-b455-44e2-a5df-d0f8c8a1ec45 [2025-03-20 07:59:21] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:59:21] Production.INFO: CheckInvoice xerov2: INV11612 [2025-03-20 07:59:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11612 [2025-03-20 07:59:23] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:59:23] Production.INFO: Invoice SubTotal 169.120000 [2025-03-20 07:59:23] Production.INFO: Invoice DetTotal 169.12 [2025-03-20 07:59:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010416%20%28David%20Mills%29" [2025-03-20 07:59:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:59:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:59:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:59:34] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 70.000000,LineAmount : 70.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (9058564244 - 4585 Highway 7 Unit 18 Woodbridge, ON L4L 9T8 CANADA)",Quantity : 1,UnitAmount : 2.240000,LineAmount : 2.240000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "VDSL Internet Service (4585 Highway 7, Unit 18 Woodbridge, ON L4L 9T8 CANADA)",Quantity : 1,UnitAmount : 67.760000,LineAmount : 67.760000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "LTE Internet Failover Service (4585 Highway 7, Unit 18 Woodbridge, ON L4L 9T8 CANADA)",Quantity : 1,UnitAmount : 48.160000,LineAmount : 48.160000},{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 : -4.760000,LineAmount : -19.040000} [2025-03-20 07:59:38] Production.INFO: ==== result ===== [2025-03-20 07:59:38] Production.INFO: { "Id": "2b909e68-3708-4034-bd96-183dd3a119ac", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742471978053)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "0203f301-f1e9-4e01-af3c-f62f3bc370bd", "InvoiceNumber": "INV11612", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 191.10, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "f7785be9-5933-4338-9f5d-47dda0ca47b7", "ContactStatus": "ACTIVE", "Name": "Dominos 10416 (David Mills)", "FirstName": "David", "LastName": "Mills", "EmailAddress": "david@teamtenfold.com", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1580833879373+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-01T00:00:00", "Date": "\/Date(1740787200000+0000)\/", "DueDateString": "2025-03-31T00:00:00", "DueDate": "\/Date(1743379200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Restaurant - 4 Line Flat Rate", "UnitAmount": 70.00, "TaxType": "TAX020", "TaxAmount": 9.10, "LineAmount": 70.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "bd7fb9ab-ec97-4dd4-9563-381ea759b38b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (9058564244 - 4585 Highway 7 Unit 18 Woodbridge, ON L4L 9T8 CANADA)", "UnitAmount": 2.24, "TaxType": "TAX020", "TaxAmount": 0.29, "LineAmount": 2.24, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "48943540-d8e5-4081-9729-bc60b0fbeb4c", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "VDSL Internet Service (4585 Highway 7, Unit 18 Woodbridge, ON L4L 9T8 CANADA)", "UnitAmount": 67.76, "TaxType": "TAX020", "TaxAmount": 8.81, "LineAmount": 67.76, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "a917b0ee-6094-4b98-823b-4accaa38c952", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "LTE Internet Failover Service (4585 Highway 7, Unit 18 Woodbridge, ON L4L 9T8 CANADA)", "UnitAmount": 48.16, "TaxType": "TAX020", "TaxAmount": 6.26, "LineAmount": 48.16, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "aa54ee04-f956-41f7-b758-2dc0cf6b0a07", "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": -4.76, "TaxType": "TAX020", "TaxAmount": -2.48, "LineAmount": -19.04, "AccountCode": "303", "Tracking": [], "Quantity": 4.0000, "DiscountRate": 0.00, "LineItemID": "6e70c6f9-523c-4193-b7e7-0618b37f155c", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 169.12, "TotalTax": 21.98, "Total": 191.10, "UpdatedDateUTC": "\/Date(1742471978007+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:59:38] Production.INFO: -- Create Invoice id --0203f301-f1e9-4e01-af3c-f62f3bc370bd [2025-03-20 07:59:38] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:59:38] Production.INFO: CheckInvoice xerov2: INV11614 [2025-03-20 07:59:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11614 [2025-03-20 07:59:41] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:59:41] Production.INFO: Invoice SubTotal 52.500000 [2025-03-20 07:59:41] Production.INFO: Invoice DetTotal 52.5 [2025-03-20 07:59:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039016%20%28Chandresh%20Patel%29" [2025-03-20 07:59:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:59:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:59:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:59:52] Production.INFO: =========Invoices String here======{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX012",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $25/store/month discount when 3+ stores have OnSwitch Cloud Phone servic",Quantity : 1,UnitAmount : -25.000000,LineAmount : -25.000000},{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (15879180888 - 5 Spruce Village Way 120 Spruce Grove, AB T7X 0B2 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 07:59:55] Production.INFO: ==== result ===== [2025-03-20 07:59:55] Production.INFO: { "Id": "744951ab-0cd3-4330-9eaa-6543c7f177c8", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742471994980)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "e6982269-48ee-41e2-8bf8-053629b15d64", "InvoiceNumber": "INV11614", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 55.13, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "67dc5e22-ea19-468e-b918-c0db577b9240", "ContactStatus": "ACTIVE", "Name": "Dominos 39016 (Chandresh Patel)", "FirstName": "Chandresh", "LastName": "Patel", "EmailAddress": "dominos.patel@gmail.com", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1580835558757+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-01T00:00:00", "Date": "\/Date(1740787200000+0000)\/", "DueDateString": "2025-03-31T00:00:00", "DueDate": "\/Date(1743379200000+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": "3771ae96-0ca0-4d52-8875-6d68f9b8d7cf", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Provides a $25/store/month discount when 3+ stores have OnSwitch Cloud Phone servic", "UnitAmount": -25.00, "TaxType": "TAX012", "TaxAmount": -1.25, "LineAmount": -25.00, "AccountCode": "303", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "47fd22f6-99b5-4948-8750-94a9f4495965", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (15879180888 - 5 Spruce Village Way 120 Spruce Grove, AB T7X 0B2 Canada)", "UnitAmount": 2.50, "TaxType": "TAX012", "TaxAmount": 0.13, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "bbe8f2cb-4121-4f3c-bc75-a83a417eaf49", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 2.63, "Total": 55.13, "UpdatedDateUTC": "\/Date(1742471994933+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:59:55] Production.INFO: -- Create Invoice id --e6982269-48ee-41e2-8bf8-053629b15d64 [2025-03-20 07:59:55] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:59:55] Production.INFO: CheckInvoice xerov2: INV11615 [2025-03-20 07:59:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11615 [2025-03-20 07:59:57] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:59:57] Production.INFO: Invoice SubTotal 96.510000 [2025-03-20 07:59:57] Production.INFO: Invoice DetTotal 96.51 [2025-03-20 07:59:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010552%20%28Werner%20Lomker%29" [2025-03-20 08:00:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:00:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:00:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:00:10] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "VDSL Internet Service - 50x10mbps (3068 Mayfield Rd., Brampton, ON)",Quantity : 1,UnitAmount : 96.510000,LineAmount : 96.510000} [2025-03-20 08:00:14] Production.INFO: ==== result ===== [2025-03-20 08:00:14] Production.INFO: { "Id": "0b85a7bb-537b-4513-b809-ebf5a57c26d8", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472014014)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "fdf1f8fa-d07c-43dc-bf92-0622b0db4b7c", "InvoiceNumber": "INV11615", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 109.06, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "6f5d3631-ded1-4310-ab70-a39a8b602341", "ContactStatus": "ACTIVE", "Name": "Dominos 10552 (Werner Lomker)", "FirstName": "Werner", "LastName": "Lomker", "EmailAddress": "akaiserbun@sympatico.ca", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1580835559637+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-01T00:00:00", "Date": "\/Date(1740787200000+0000)\/", "DueDateString": "2025-03-31T00:00:00", "DueDate": "\/Date(1743379200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "VDSL Internet Service - 50x10mbps (3068 Mayfield Rd., Brampton, ON)", "UnitAmount": 96.51, "TaxType": "TAX020", "TaxAmount": 12.55, "LineAmount": 96.51, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "5c015895-6e3a-43ed-a3e7-ae09a3b77965", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 96.51, "TotalTax": 12.55, "Total": 109.06, "UpdatedDateUTC": "\/Date(1742472013920+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:00:14] Production.INFO: -- Create Invoice id --fdf1f8fa-d07c-43dc-bf92-0622b0db4b7c [2025-03-20 08:00:14] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:00:14] Production.INFO: CheckInvoice xerov2: INV11616 [2025-03-20 08:00:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11616 [2025-03-20 08:00:16] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:00:16] Production.INFO: Invoice SubTotal 292.590000 [2025-03-20 08:00:16] Production.INFO: Invoice DetTotal 292.59 [2025-03-20 08:00:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010297%20%28Shane%20Linthorne%29" [2025-03-20 08:00:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:00:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:00:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:00: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 : 203,DiscountRate : 0.000000,"Description": "e911 address registration (15198539000 - 352 Queen Street Acton, ON L7J1R2 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",Quantity : 2,UnitAmount : -5.000000,LineAmount : -10.000000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "Cable Internet Service - 120x15 (315 Queen Street, Unit #3, Acton, ON, L7J 1R1)",Quantity : 1,UnitAmount : 160.480000,LineAmount : 160.480000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "LTE Internet Failover Service (315 Queen Street, Unit #3, Acton, ON, L7J 1R1)",Quantity : 1,UnitAmount : 64.610000,LineAmount : 64.610000} [2025-03-20 08:00:32] Production.INFO: ==== result ===== [2025-03-20 08:00:32] Production.INFO: { "Id": "0c20983f-37bc-4d82-a261-988b2075cc5a", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472032738)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "43fae1f1-247a-49cc-aa75-844e325e9223", "InvoiceNumber": "INV11616", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 330.63, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "d8f292bb-743b-4f94-916e-1de8803fa73f", "ContactStatus": "ACTIVE", "Name": "Dominos 10297 (Shane Linthorne)", "FirstName": "Shane", "LastName": "Linthorne", "EmailAddress": "poundinpizzainc@gmail.com", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1582260450560+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-01T00:00:00", "Date": "\/Date(1740787200000+0000)\/", "DueDateString": "2025-03-31T00:00:00", "DueDate": "\/Date(1743379200000+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": "512f8c85-077f-4a3b-9d40-27f43aec91c1", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (15198539000 - 352 Queen Street Acton, ON L7J1R2 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "bc65b108-2990-41c8-add8-99ca63483316", "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": "013f966e-72ad-4ce4-9305-2533fab3c2bf", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Cable Internet Service - 120x15 (315 Queen Street, Unit #3, Acton, ON, L7J 1R1)", "UnitAmount": 160.48, "TaxType": "TAX020", "TaxAmount": 20.86, "LineAmount": 160.48, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "d088fbc5-49d4-4f1c-9a3e-0d745a8d11af", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "LTE Internet Failover Service (315 Queen Street, Unit #3, Acton, ON, L7J 1R1)", "UnitAmount": 64.61, "TaxType": "TAX020", "TaxAmount": 8.40, "LineAmount": 64.61, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "b6873370-2678-4fc7-a19b-1aee8198f327", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 292.59, "TotalTax": 38.04, "Total": 330.63, "UpdatedDateUTC": "\/Date(1742472032660+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:00:32] Production.INFO: -- Create Invoice id --43fae1f1-247a-49cc-aa75-844e325e9223 [2025-03-20 08:00:32] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:00:32] Production.INFO: CheckInvoice xerov2: INV11619 [2025-03-20 08:00:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11619 [2025-03-20 08:00:35] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:00:35] Production.INFO: Invoice SubTotal 32.500000 [2025-03-20 08:00:35] Production.INFO: Invoice DetTotal 32.5 [2025-03-20 08:00:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Pharmacy%20Associates%20of%20Port%20Perry" [2025-03-20 08:00:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:00:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:00:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:00:46] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Retail - 3 Line Flat Rate (Burstable to 5 Active Calls)",Quantity : 3,UnitAmount : 10.000000,LineAmount : 30.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19059850200 - 11 Water Street Unit B Port Perry, ON L9L 1H9 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 08:00:50] Production.INFO: ==== result ===== [2025-03-20 08:00:50] Production.INFO: { "Id": "b9fcb18d-9320-4f9c-b048-752c66e9129a", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472050285)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "13e846b7-212e-423a-beba-43345aa7ecb3", "InvoiceNumber": "INV11619", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 36.73, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "c60706d0-0fd9-40ff-a211-387c86733ac7", "ContactStatus": "ACTIVE", "Name": "Pharmacy Associates of Port Perry", "FirstName": "Doug", "LastName": "Brown", "EmailAddress": "pharmacyassociates.pp@gmail.com", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1620932850877+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-01T00:00:00", "Date": "\/Date(1740787200000+0000)\/", "DueDateString": "2025-03-31T00:00:00", "DueDate": "\/Date(1743379200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Retail - 3 Line Flat Rate (Burstable to 5 Active Calls)", "UnitAmount": 10.00, "TaxType": "TAX020", "TaxAmount": 3.90, "LineAmount": 30.00, "AccountCode": "203", "Tracking": [], "Quantity": 3.0000, "DiscountRate": 0.00, "LineItemID": "b1ea43bc-c206-4cb8-a023-5dbb43ec9458", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (19059850200 - 11 Water Street Unit B Port Perry, ON L9L 1H9 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "3ade3eb2-9928-47f5-8c42-306e01fb95b1", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 32.50, "TotalTax": 4.23, "Total": 36.73, "UpdatedDateUTC": "\/Date(1742472050237+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:00:50] Production.INFO: -- Create Invoice id --13e846b7-212e-423a-beba-43345aa7ecb3 [2025-03-20 08:00:50] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:00:50] Production.INFO: CheckInvoice xerov2: INV11621 [2025-03-20 08:00:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11621 [2025-03-20 08:00:53] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:00:53] Production.INFO: Invoice SubTotal 65.500000 [2025-03-20 08:00:53] Production.INFO: Invoice DetTotal 65.5 [2025-03-20 08:00:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="3G%20Print%20Group" [2025-03-20 08:00:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:00:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:01:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:01:05] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 9,UnitAmount : 10.000000,LineAmount : 90.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (9057621414 - 9225 Leslie St 5 Richmond Hill, ON L4B 3H6 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,"Description": "Friends & Family Discount",Quantity : 9,UnitAmount : -3.000000,LineAmount : -27.000000} [2025-03-20 08:01:09] Production.INFO: ==== result ===== [2025-03-20 08:01:09] Production.INFO: { "Id": "b4fa8d8c-a3fe-4a5c-86fc-a8abd5ff6453", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472068891)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "35624a36-4ca9-4304-b2c5-e85f35fb9dd1", "InvoiceNumber": "INV11621", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 74.02, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "d4a36319-8eb8-433b-a39c-ded75fc85345", "ContactStatus": "ACTIVE", "Name": "3G Print Group", "FirstName": "Glenn", "LastName": "Shaw", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1657573744717+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-01T00:00:00", "Date": "\/Date(1740787200000+0000)\/", "DueDateString": "2025-03-31T00:00:00", "DueDate": "\/Date(1743379200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "License for a Pay As You Go Cloud Phone extension", "UnitAmount": 10.00, "TaxType": "TAX020", "TaxAmount": 11.70, "LineAmount": 90.00, "AccountCode": "203", "Tracking": [], "Quantity": 9.0000, "LineItemID": "6ed52a4f-1a8f-489c-a3bf-38266bb70073", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (9057621414 - 9225 Leslie St 5 Richmond Hill, ON L4B 3H6 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "8f8c92db-b083-45f3-be6b-daa3e8597619", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Friends & Family Discount", "UnitAmount": -3.00, "TaxType": "TAX020", "TaxAmount": -3.51, "LineAmount": -27.00, "AccountCode": "303", "Tracking": [], "Quantity": 9.0000, "LineItemID": "595bb2c7-a27b-4d75-adc5-4a329822f414", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "ValidationErrors": [] } ], "SubTotal": 65.50, "TotalTax": 8.52, "Total": 74.02, "UpdatedDateUTC": "\/Date(1742472068843+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:01:09] Production.INFO: -- Create Invoice id --35624a36-4ca9-4304-b2c5-e85f35fb9dd1 [2025-03-20 08:01:09] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:01:09] Production.INFO: CheckInvoice xerov2: INV11622 [2025-03-20 08:01:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11622 [2025-03-20 08:01:12] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:01:12] Production.INFO: Invoice SubTotal 40.000000 [2025-03-20 08:01:12] Production.INFO: Invoice DetTotal 40 [2025-03-20 08:01:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Avani%20Rolls%20%26%20Bowls" [2025-03-20 08:01:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:01:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:01:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:01:24] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Restaurant - 2 Line Flat Rate",Quantity : 1,UnitAmount : 37.500000,LineAmount : 37.500000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (5198068000 - 802 Main Street East 6 Shelburne, ON L0N 1S4 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 08:01:27] Production.INFO: ==== result ===== [2025-03-20 08:01:27] Production.INFO: { "Id": "6ca14b99-8682-4616-9509-d3e7ae67dd49", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472087873)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "deb095d7-9ec5-4887-b08d-75f6cb2d07e5", "InvoiceNumber": "INV11622", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 45.21, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "08d693ac-f648-4d13-baf5-18b2b59d959f", "ContactStatus": "ACTIVE", "Name": "Avani Rolls & Bowls", "FirstName": "Rishi", "LastName": "Kakar", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1666687333697+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-01T00:00:00", "Date": "\/Date(1740787200000+0000)\/", "DueDateString": "2025-03-31T00:00:00", "DueDate": "\/Date(1743379200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Restaurant - 2 Line Flat Rate", "UnitAmount": 37.50, "TaxType": "TAX020", "TaxAmount": 4.88, "LineAmount": 37.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "2b252a3c-de93-494f-a706-cc75c809e86f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (5198068000 - 802 Main Street East 6 Shelburne, ON L0N 1S4 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "10152d84-f155-4ea2-be7b-09a36d1d350a", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 40.00, "TotalTax": 5.21, "Total": 45.21, "UpdatedDateUTC": "\/Date(1742472087827+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:01:27] Production.INFO: -- Create Invoice id --deb095d7-9ec5-4887-b08d-75f6cb2d07e5 [2025-03-20 08:01:27] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:01:27] Production.INFO: CheckInvoice xerov2: INV11625 [2025-03-20 08:01:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11625 [2025-03-20 08:01:30] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:01:30] Production.INFO: Invoice SubTotal 202.800000 [2025-03-20 08:01:30] Production.INFO: Invoice DetTotal 202.8 [2025-03-20 08:01:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Keogh%20Construction" [2025-03-20 08:01:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:01:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:01:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:01:43] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Managed IT: Workstation",Quantity : 2,UnitAmount : 52.000000,LineAmount : 104.000000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Basic collaboration and productivity suite",Quantity : 8,UnitAmount : 8.100000,LineAmount : 64.800000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Standard collaboration and productivity suite",Quantity : 2,UnitAmount : 17.000000,LineAmount : 34.000000} [2025-03-20 08:01:46] Production.INFO: ==== result ===== [2025-03-20 08:01:46] Production.INFO: { "Id": "0e9f95a0-8ef8-4551-a049-93d36f158840", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472106566)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "fdb84ec1-479f-49ce-a79d-08e54d68f405", "InvoiceNumber": "INV11625", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 229.16, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "cad302ad-7c7e-456b-bcf1-bd7729cb22b7", "ContactNumber": "Keogh Construction", "ContactStatus": "ACTIVE", "Name": "Keogh Construction", "FirstName": "", "LastName": "", "EmailAddress": "", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "AddressLine1": "P.O. Box 534", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Alliston", "Region": "ON", "PostalCode": "L9R 1V7", "Country": "", "AttentionTo": "" }, { "AddressType": "POBOX", "AddressLine1": "P.O. Box 534", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Alliston", "Region": "ON", "PostalCode": "L9R 1V7", "Country": "", "AttentionTo": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "555-555-5555", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "(519) 942-4573", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1719936267550+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "DefaultCurrency": "CAD", "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-01T00:00:00", "Date": "\/Date(1740787200000+0000)\/", "DueDateString": "2025-03-31T00:00:00", "DueDate": "\/Date(1743379200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Managed IT: Workstation", "UnitAmount": 52.00, "TaxType": "TAX020", "TaxAmount": 13.52, "LineAmount": 104.00, "AccountCode": "203", "Tracking": [], "Quantity": 2.0000, "LineItemID": "f9624327-aac2-40e5-96a1-ebb10a17e2a3", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft 365 Basic collaboration and productivity suite", "UnitAmount": 8.10, "TaxType": "TAX020", "TaxAmount": 8.42, "LineAmount": 64.80, "AccountCode": "250", "Tracking": [], "Quantity": 8.0000, "LineItemID": "42af4423-aa1a-4b8f-a4d8-d5b42ed77660", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "Microsoft 365 Standard collaboration and productivity suite", "UnitAmount": 17.00, "TaxType": "TAX020", "TaxAmount": 4.42, "LineAmount": 34.00, "AccountCode": "250", "Tracking": [], "Quantity": 2.0000, "LineItemID": "7bf54ada-3e21-4d66-af1c-3077c83dd9f1", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] } ], "SubTotal": 202.80, "TotalTax": 26.36, "Total": 229.16, "UpdatedDateUTC": "\/Date(1742472106503+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:01:46] Production.INFO: -- Create Invoice id --fdb84ec1-479f-49ce-a79d-08e54d68f405 [2025-03-20 08:01:46] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:01:46] Production.INFO: CheckInvoice xerov2: INV11601 [2025-03-20 08:01:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11601 [2025-03-20 08:01:49] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:01:49] Production.INFO: Invoice SubTotal 17.850000 [2025-03-20 08:01:49] Production.INFO: Invoice DetTotal 17.85 [2025-03-20 08:01:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harding%20Security" [2025-03-20 08:01:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:01:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:01:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:02:01] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 1,UnitAmount : 23.000000,LineAmount : 23.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14169257474 - 70 SHAFTESBURY AVE TORONTO, ON M4T1A3)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Loyalty Discount",Quantity : 1,UnitAmount : -7.650000,LineAmount : -7.650000} [2025-03-20 08:02:05] Production.INFO: ==== result ===== [2025-03-20 08:02:05] Production.INFO: { "Id": "a883500b-8984-4080-b810-386fce8f4b07", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472125090)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "21385890-2eac-4798-8ee0-8f15f725e3e3", "InvoiceNumber": "INV11601", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 20.18, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "631aa009-5337-4bbb-817f-724f7ca5f6db", "ContactStatus": "ACTIVE", "Name": "Harding Security", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1562268171973+0000)\/", "ContactGroups": [ { "ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58", "Name": "Benjamin's Customers", "Status": "ACTIVE", "Contacts": [], "HasValidationErrors": false } ], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-28T00:00:00", "Date": "\/Date(1740700800000+0000)\/", "DueDateString": "2025-03-30T00:00:00", "DueDate": "\/Date(1743292800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "License for an Unlimited Canada/US Cloud Phone extension", "UnitAmount": 23.00, "TaxType": "TAX020", "TaxAmount": 2.99, "LineAmount": 23.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "d5627e27-e6bd-43cb-890d-cb3603774bb9", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (14169257474 - 70 SHAFTESBURY AVE TORONTO, ON M4T1A3)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "ff037720-de7f-4ce7-9832-b2b7ae4a5727", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Loyalty Discount", "UnitAmount": -7.65, "TaxType": "TAX020", "TaxAmount": -0.99, "LineAmount": -7.65, "AccountCode": "303", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "99f30863-d18f-47db-a0be-e04228e4b4fa", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 17.85, "TotalTax": 2.33, "Total": 20.18, "UpdatedDateUTC": "\/Date(1742472125013+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:02:05] Production.INFO: -- Create Invoice id --21385890-2eac-4798-8ee0-8f15f725e3e3 [2025-03-20 08:02:05] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:02:05] Production.INFO: CheckInvoice xerov2: INV11602 [2025-03-20 08:02:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11602 [2025-03-20 08:02:08] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:02:08] Production.INFO: Invoice SubTotal 14.170000 [2025-03-20 08:02:08] Production.INFO: Invoice DetTotal 14.17 [2025-03-20 08:02:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Cathim%20Inc" [2025-03-20 08:02:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:02:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:02:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:02:20] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-28-2025 To 02-27-2025",Quantity : 1,UnitAmount : 4.170000,LineAmount : 4.170000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18889888860)",Quantity : 1,UnitAmount : 10.000000,LineAmount : 10.000000} [2025-03-20 08:02:23] Production.INFO: ==== result ===== [2025-03-20 08:02:23] Production.INFO: { "Id": "cf28a4d8-8007-47e6-883c-7a49b432d837", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472143446)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "66e545dd-78a4-4faf-aef7-2ca2a861678f", "InvoiceNumber": "INV11602", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 16.01, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "b3a32be3-34a8-47ed-9add-6507ade181ac", "ContactStatus": "ACTIVE", "Name": "Cathim Inc", "FirstName": "Jim", "LastName": "Norfolk", "EmailAddress": "jim@cathim.com", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1551296572893+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-28T00:00:00", "Date": "\/Date(1740700800000+0000)\/", "DueDateString": "2025-03-30T00:00:00", "DueDate": "\/Date(1743292800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-28-2025 To 02-27-2025", "UnitAmount": 4.17, "TaxType": "TAX020", "TaxAmount": 0.54, "LineAmount": 4.17, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "4485128e-da27-4536-a3ba-8b5a9a8a6259", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (18889888860)", "UnitAmount": 10.00, "TaxType": "TAX020", "TaxAmount": 1.30, "LineAmount": 10.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "899b902c-071a-4fb1-b944-cc3d7552a258", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 14.17, "TotalTax": 1.84, "Total": 16.01, "UpdatedDateUTC": "\/Date(1742472143413+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:02:23] Production.INFO: -- Create Invoice id --66e545dd-78a4-4faf-aef7-2ca2a861678f [2025-03-20 08:02:23] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:02:23] Production.INFO: CheckInvoice xerov2: INV11603 [2025-03-20 08:02:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11603 [2025-03-20 08:02:26] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:02:26] Production.INFO: Invoice SubTotal 62.500000 [2025-03-20 08:02:26] Production.INFO: Invoice DetTotal 62.5 [2025-03-20 08:02:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039017%20%28Mudassar%20Zia%29" [2025-03-20 08:02:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:02:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:02:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:02:39] Production.INFO: =========Invoices String here======{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "Dominos Pizza - 4 Line Flat Rate with $5 discount (3+ stores)",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14035478500 - 929 17 Ave SW Calgary, AB T2T 0A4 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX012",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 3,UnitAmount : -5.000000,LineAmount : -15.000000} [2025-03-20 08:02:42] Production.INFO: ==== result ===== [2025-03-20 08:02:42] Production.INFO: { "Id": "eb338ef5-3556-4385-b261-d1151608a6bb", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472162232)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "8dfbc1b9-9766-4ca0-a824-62f5f9bbed97", "InvoiceNumber": "INV11603", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 65.63, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "5f89a930-66a1-45ba-8124-8b5cbb0531bb", "ContactStatus": "ACTIVE", "Name": "Dominos 39017 (Mudassar Zia)", "FirstName": "Mudassar", "LastName": "Zia", "EmailAddress": "mudasarzia@gmail.com", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1580833878733+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-28T00:00:00", "Date": "\/Date(1740700800000+0000)\/", "DueDateString": "2025-03-30T00:00:00", "DueDate": "\/Date(1743292800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Dominos Pizza - 4 Line Flat Rate with $5 discount (3+ stores)", "UnitAmount": 75.00, "TaxType": "TAX012", "TaxAmount": 3.75, "LineAmount": 75.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "c9f2c55d-a95b-4a6e-b05b-62e034a66c72", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (14035478500 - 929 17 Ave SW Calgary, AB T2T 0A4 Canada)", "UnitAmount": 2.50, "TaxType": "TAX012", "TaxAmount": 0.13, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "1d491a7d-17f5-43c4-b90b-5febe4fc4cc2", "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": "cc463480-f6d0-42a4-b21d-2b2800cb4e96", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 62.50, "TotalTax": 3.13, "Total": 65.63, "UpdatedDateUTC": "\/Date(1742472162170+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:02:42] Production.INFO: -- Create Invoice id --8dfbc1b9-9766-4ca0-a824-62f5f9bbed97 [2025-03-20 08:02:42] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:02:42] Production.INFO: CheckInvoice xerov2: INV11604 [2025-03-20 08:02:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11604 [2025-03-20 08:02:45] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:02:45] Production.INFO: Invoice SubTotal 83.460000 [2025-03-20 08:02:45] Production.INFO: Invoice DetTotal 83.46 [2025-03-20 08:02:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Apsley" [2025-03-20 08:02:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:02:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:02:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:02:57] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "VDSL Internet Service 50x10 (238 Burleigh St, Apsley, ON K0L 1A0)",Quantity : 1,UnitAmount : 83.460000,LineAmount : 83.460000} [2025-03-20 08:02:59] Production.INFO: ==== result ===== [2025-03-20 08:02:59] Production.INFO: { "Id": "aa4fa400-a5d7-4616-b195-cd072f0e25c0", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472179823)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "9e4bb34e-f8d1-49d7-9cfe-5892ea3c65e2", "InvoiceNumber": "INV11604", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 94.31, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "b88606e0-7c2f-487f-9327-5daeaa7e65c2", "ContactStatus": "ACTIVE", "Name": "Compass ELC - Apsley", "FirstName": "Tammy", "LastName": "Phelan", "EmailAddress": "ap@compasselc.com", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1594225462623+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-28T00:00:00", "Date": "\/Date(1740700800000+0000)\/", "DueDateString": "2025-03-30T00:00:00", "DueDate": "\/Date(1743292800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "VDSL Internet Service 50x10 (238 Burleigh St, Apsley, ON K0L 1A0)", "UnitAmount": 83.46, "TaxType": "TAX020", "TaxAmount": 10.85, "LineAmount": 83.46, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "74986bce-acbf-4e0a-be1f-25c4cffe91a3", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 83.46, "TotalTax": 10.85, "Total": 94.31, "UpdatedDateUTC": "\/Date(1742472179743+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:02:59] Production.INFO: -- Create Invoice id --9e4bb34e-f8d1-49d7-9cfe-5892ea3c65e2 [2025-03-20 08:02:59] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:02:59] Production.INFO: CheckInvoice xerov2: INV50020 [2025-03-20 08:02:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV50020 [2025-03-20 08:03:02] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:03:03] Production.INFO: Invoice SubTotal 705.840000 [2025-03-20 08:03:03] Production.INFO: Invoice DetTotal 705.84 [2025-03-20 08:03:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Canada" [2025-03-20 08:03:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:03:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:03:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:03:15] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 27-01-2025 To 26-02-2025",Quantity : 1,UnitAmount : 3.230000,LineAmount : 3.230000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 8,UnitAmount : 7.000000,LineAmount : 56.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19056714497 - UNIGLOBE TRAVEL 89 SKYWAY AVE STE 109 TORONTO, ON M9W6R4)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Loyalty Discount - $20 off per month, no expiry date",Quantity : 1,UnitAmount : -20.000000,LineAmount : -20.000000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobelexus.com; EXPIRES Mar 3 2025",Quantity : 1,UnitAmount : 1.440000,LineAmount : 1.440000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobeec.com; EXPIRES Apr 21 2025",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobecbo.com; Renews May 4",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 203,"Description": "ecinfo.ca; EXPIRES May 8 2025",Quantity : 1,UnitAmount : 2.710000,LineAmount : 2.710000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobemail.com; Renews Jun 28",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobetrips.com; Renews Jul 4",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobevoyages.com; Renews Jul 4",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "unigloberegistration.com; Renews Jul 26",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobedorval.com; Renews Jul 26",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobevoyageslexus.com; EXPIRES Aug 1 2025",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobekey.com; Renews Aug 16",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobenews.com; Renews Sep 22",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "cbotravel.com; Renews Nov 28",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 203,"Description": "ucinfo.ca; Renews Jun 21",Quantity : 1,UnitAmount : 2.710000,LineAmount : 2.710000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobespecialtytravel.com; Renews May 31",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobesunbursttravel.com; Renews May 31",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 203,"Description": "uniglobetravel.ca; Renews Mar 01",Quantity : 1,UnitAmount : 2.710000,LineAmount : 2.710000},{taxType:"TAX020",AccountCode : 203,"Description": "skywayleisuretravel.ca; Renews Feb 22",Quantity : 1,UnitAmount : 2.710000,LineAmount : 2.710000},{taxType:"TAX020",AccountCode : 203,"Description": "skywayleisuretraveller.ca; Renews Feb 22",Quantity : 1,UnitAmount : 2.710000,LineAmount : 2.710000},{taxType:"TAX020",AccountCode : 203,"Description": "skywaytraveller.ca; Renews Feb 22",Quantity : 1,UnitAmount : 2.710000,LineAmount : 2.710000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobewc.com; EXPIRES Jul 19 2025",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobecarefreetravel.com; Renews Feb 28",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobekalamalkatravel.com; Renews Apr 25",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobephillips.com; Renews Mar 12 2026",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobephillipstravel.com; Renews Mar 1",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobespecialtywhitehorse.com; Renews Oct 9",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 203,"Description": "Hosting and Maintenance (per domain)",Quantity : 27,UnitAmount : 1.000000,LineAmount : 27.000000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Standard Licenses",Quantity : 10,UnitAmount : 17.000000,LineAmount : 170.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Backup for Microsoft 365",Quantity : 2,UnitAmount : 3.840000,LineAmount : 7.680000},{taxType:"TAX020",AccountCode : 212,"Description": "Managed Antivirus subscription (yearly pricing, billed monthly)",Quantity : 10,UnitAmount : 1.440000,LineAmount : 14.400000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Basic Licenses",Quantity : 11,UnitAmount : 8.100000,LineAmount : 89.100000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Standard Licenses",Quantity : 8,UnitAmount : 17.000000,LineAmount : 136.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Backup for Microsoft 365",Quantity : 1,UnitAmount : 3.840000,LineAmount : 3.840000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Basic Licenses",Quantity : 11,UnitAmount : 8.100000,LineAmount : 89.100000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Standard Licenses",Quantity : 3,UnitAmount : 17.000000,LineAmount : 51.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Backup for Microsoft 365",Quantity : 1,UnitAmount : 3.840000,LineAmount : 3.840000},{taxType:"TAX020",AccountCode : 203,"Description": "cPanel/SCP access",Quantity : 1,UnitAmount : 9.990000,LineAmount : 9.990000} [2025-03-20 08:03:19] Production.INFO: ==== result ===== [2025-03-20 08:03:19] Production.INFO: { "Id": "956113be-8887-4faa-8d16-a2835dec9777", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472199115)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "0f742205-2699-4915-b456-92660ef46a4d", "InvoiceNumber": "INV50020", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 797.51, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "d965b2fe-ffb5-4359-bc08-f6a098234349", "ContactStatus": "ACTIVE", "Name": "UNIGLOBE Canada", "FirstName": "Alice", "LastName": "Hildebrandt", "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(1708961195503+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-27T00:00:00", "Date": "\/Date(1740614400000+0000)\/", "DueDateString": "2025-03-29T00:00:00", "DueDate": "\/Date(1743206400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 27-01-2025 To 26-02-2025", "UnitAmount": 3.23, "TaxType": "TAX020", "TaxAmount": 0.42, "LineAmount": 3.23, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "b74ccefe-8618-480c-9efe-24e60289bcb9", "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": 7.28, "LineAmount": 56.00, "AccountCode": "203", "Tracking": [], "Quantity": 8.0000, "DiscountRate": 0.00, "LineItemID": "756bd79a-fe3a-4d99-b90f-900abe67d6fe", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (19056714497 - UNIGLOBE TRAVEL 89 SKYWAY AVE STE 109 TORONTO, ON M9W6R4)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "294cdd6d-4aec-46c6-9df9-3d83232e135e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Loyalty Discount - $20 off per month, no expiry date", "UnitAmount": -20.00, "TaxType": "TAX020", "TaxAmount": -2.60, "LineAmount": -20.00, "AccountCode": "303", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "4d2050ab-dc83-46d5-8e3f-93fa6a36e8ad", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "uniglobelexus.com; EXPIRES Mar 3 2025", "UnitAmount": 1.44, "TaxType": "TAX020", "TaxAmount": 0.19, "LineAmount": 1.44, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "b41df20a-7b68-4a32-a020-786f6f4dd3c6", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobeec.com; EXPIRES Apr 21 2025", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "b52b89fa-228a-482d-badf-aa9c0c45072c", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobecbo.com; Renews May 4", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "de0e6097-3ba9-48fa-8201-ab199ae9dbbd", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "ecinfo.ca; EXPIRES May 8 2025", "UnitAmount": 2.71, "TaxType": "TAX020", "TaxAmount": 0.35, "LineAmount": 2.71, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "c0b2eb30-86fa-43f4-8256-a57332630bd6", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "uniglobemail.com; Renews Jun 28", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "fb0b65ce-bf88-48e7-b67d-4a0a17f51380", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobetrips.com; Renews Jul 4", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "14e60835-35d6-4071-b3e3-a8ba128ee010", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobevoyages.com; Renews Jul 4", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "2e4e34c6-cfc6-4c25-81df-9ace214f5087", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "unigloberegistration.com; Renews Jul 26", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "5cdc476b-98ba-4421-9f28-28980400feba", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobedorval.com; Renews Jul 26", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "3ead0b04-43ae-44a1-b2ea-8bf487e59095", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobevoyageslexus.com; EXPIRES Aug 1 2025", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "28f2fb25-8ef6-4009-ab0a-22cc6c9dad3c", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobekey.com; Renews Aug 16", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "86273ecf-1f92-47b3-be48-12874eaa56d5", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobenews.com; Renews Sep 22", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "c5866d00-34e8-4dbd-9928-b9ab42bc6273", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "cbotravel.com; Renews Nov 28", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "f57301c0-b373-48b6-b9a6-2259e38fe8fc", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "ucinfo.ca; Renews Jun 21", "UnitAmount": 2.71, "TaxType": "TAX020", "TaxAmount": 0.35, "LineAmount": 2.71, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "c5c874e8-d11f-4c02-881f-9aed67809d7b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "uniglobespecialtytravel.com; Renews May 31", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "67ee8c2f-7591-4388-903b-0f2efbe11a54", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobesunbursttravel.com; Renews May 31", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "92b691b1-e582-451c-9d4e-c3e612b2d565", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobetravel.ca; Renews Mar 01", "UnitAmount": 2.71, "TaxType": "TAX020", "TaxAmount": 0.35, "LineAmount": 2.71, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "441832d9-0dc4-4a29-a3ed-8195c928966f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "skywayleisuretravel.ca; Renews Feb 22", "UnitAmount": 2.71, "TaxType": "TAX020", "TaxAmount": 0.35, "LineAmount": 2.71, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "37e12bdb-15ee-4b15-9d75-3ed1e3f72119", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "skywayleisuretraveller.ca; Renews Feb 22", "UnitAmount": 2.71, "TaxType": "TAX020", "TaxAmount": 0.35, "LineAmount": 2.71, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "e1593377-c753-4d3c-8d7c-16d7602fff13", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "skywaytraveller.ca; Renews Feb 22", "UnitAmount": 2.71, "TaxType": "TAX020", "TaxAmount": 0.35, "LineAmount": 2.71, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "3428acfa-54d4-40b0-b3c7-61ccda52eda3", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "uniglobewc.com; EXPIRES Jul 19 2025", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "1d9fb3d6-0b40-4b42-8b28-4743df52afef", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobecarefreetravel.com; Renews Feb 28", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "473fd9f6-3325-4a54-b479-1e6d59514104", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobekalamalkatravel.com; Renews Apr 25", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "86865d89-174b-4583-b6df-af1fb2b2990e", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobephillips.com; Renews Mar 12 2026", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "e675b766-39b3-482a-ab53-9ee79c0800cf", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobephillipstravel.com; Renews Mar 1", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "0d8eb7f4-a295-4b66-add2-9431d129bfe2", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobespecialtywhitehorse.com; Renews Oct 9", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "49b14116-55ca-46dd-b534-a722925a6974", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "Hosting and Maintenance (per domain)", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 3.51, "LineAmount": 27.00, "AccountCode": "203", "Tracking": [], "Quantity": 27.0000, "LineItemID": "b0803aaa-38a5-44f7-8204-273888c3c67c", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft 365 Standard Licenses", "UnitAmount": 17.00, "TaxType": "TAX020", "TaxAmount": 22.10, "LineAmount": 170.00, "AccountCode": "250", "Tracking": [], "Quantity": 10.0000, "LineItemID": "2f88d455-a1a0-4738-a9c7-7f5da2b45864", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "Backup for Microsoft 365", "UnitAmount": 3.84, "TaxType": "TAX020", "TaxAmount": 1.00, "LineAmount": 7.68, "AccountCode": "203", "Tracking": [], "Quantity": 2.0000, "LineItemID": "0186e726-cd9b-464a-a255-2683b2d80e83", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Managed Antivirus subscription (yearly pricing, billed monthly)", "UnitAmount": 1.44, "TaxType": "TAX020", "TaxAmount": 1.87, "LineAmount": 14.40, "AccountCode": "212", "Tracking": [], "Quantity": 10.0000, "LineItemID": "c90b83a8-6283-44e8-be6c-8ed613fd0579", "AccountID": "f910948c-6e7a-46ea-91d4-60d5bab373c8", "ValidationErrors": [] }, { "Description": "Microsoft 365 Basic Licenses", "UnitAmount": 8.10, "TaxType": "TAX020", "TaxAmount": 11.58, "LineAmount": 89.10, "AccountCode": "250", "Tracking": [], "Quantity": 11.0000, "LineItemID": "cc977de1-cddb-4450-8482-e5b509c61fbe", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "Microsoft 365 Standard Licenses", "UnitAmount": 17.00, "TaxType": "TAX020", "TaxAmount": 17.68, "LineAmount": 136.00, "AccountCode": "250", "Tracking": [], "Quantity": 8.0000, "LineItemID": "8aea6247-e47a-43e6-8f73-5f2f0d567b62", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "Backup for Microsoft 365", "UnitAmount": 3.84, "TaxType": "TAX020", "TaxAmount": 0.50, "LineAmount": 3.84, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "3c1edd7a-2e95-45b2-8607-01444bb31859", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft 365 Basic Licenses", "UnitAmount": 8.10, "TaxType": "TAX020", "TaxAmount": 11.58, "LineAmount": 89.10, "AccountCode": "250", "Tracking": [], "Quantity": 11.0000, "LineItemID": "ced51622-6cd6-48c9-9d26-baf01082c694", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "Microsoft 365 Standard Licenses", "UnitAmount": 17.00, "TaxType": "TAX020", "TaxAmount": 6.63, "LineAmount": 51.00, "AccountCode": "250", "Tracking": [], "Quantity": 3.0000, "LineItemID": "ce3eea94-574f-4ad0-bf36-34791d124892", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "Backup for Microsoft 365", "UnitAmount": 3.84, "TaxType": "TAX020", "TaxAmount": 0.50, "LineAmount": 3.84, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "701c2a68-ad5e-40b6-b689-2e31cdfa1e8c", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "cPanel/SCP access", "UnitAmount": 9.99, "TaxType": "TAX020", "TaxAmount": 1.30, "LineAmount": 9.99, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "adfab011-7cc8-4bda-84e9-8020acb9f31b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 705.84, "TotalTax": 91.67, "Total": 797.51, "UpdatedDateUTC": "\/Date(1742472199037+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:03:19] Production.INFO: -- Create Invoice id --0f742205-2699-4915-b456-92660ef46a4d [2025-03-20 08:03:19] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:03:19] Production.INFO: CheckInvoice xerov2: INV11597 [2025-03-20 08:03:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11597 [2025-03-20 08:03:22] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:03:22] Production.INFO: Invoice SubTotal 57.500000 [2025-03-20 08:03:22] Production.INFO: Invoice DetTotal 57.5 [2025-03-20 08:03:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010395%20%28Ronny%20Khan%29" [2025-03-20 08:03:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:03:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:03:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:03:34] 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 (14166363888 - 820 SHEPPARD AVE W TORONTO, ON M3H2T1)",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 08:03:37] Production.INFO: ==== result ===== [2025-03-20 08:03:37] Production.INFO: { "Id": "5cfcdba1-bf21-4f2a-a4e4-8043abc6d0de", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472217809)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "1286ad62-721a-44bc-a319-889ac6654e76", "InvoiceNumber": "INV11597", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 64.98, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "2ad5ad33-c3c5-457d-96a1-96787e4ed1ae", "ContactStatus": "ACTIVE", "Name": "Dominos 10395 (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-02-27T00:00:00", "Date": "\/Date(1740614400000+0000)\/", "DueDateString": "2025-03-29T00:00:00", "DueDate": "\/Date(1743206400000+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": "af877e30-c82d-45dc-b7c0-e02213d60860", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (14166363888 - 820 SHEPPARD AVE W TORONTO, ON M3H2T1)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "c8feb0ae-6aca-448f-bdaa-128e7ac8dd97", "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": "907305af-88ae-4b79-8bbb-0b3aac7228bb", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 57.50, "TotalTax": 7.48, "Total": 64.98, "UpdatedDateUTC": "\/Date(1742472217777+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:03:37] Production.INFO: -- Create Invoice id --1286ad62-721a-44bc-a319-889ac6654e76 [2025-03-20 08:03:37] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:03:37] Production.INFO: CheckInvoice xerov2: INV11598 [2025-03-20 08:03:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11598 [2025-03-20 08:03:40] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:03:40] Production.INFO: Invoice SubTotal 272.990000 [2025-03-20 08:03:40] Production.INFO: Invoice DetTotal 272.99 [2025-03-20 08:03:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Think%20Secure" [2025-03-20 08:03:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:03:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:03:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:03:52] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-27-2025 To 02-26-2025",Quantity : 1,UnitAmount : 0.060000,LineAmount : 0.060000},{taxType:"TAX020",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:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19053267233 - Cancom Security - 1183 Finch Ave W 205 North York, ON M3J2G2 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "Cable Internet Service - 300 x 20 - (160 Aspen Crescent, WhitechurchStouffville, ON L4A 5C3)",Quantity : 1,UnitAmount : 85.950000,LineAmount : 85.950000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (16475586206 - Benjamin Wein - 160 Aspen Cresent Stouffville, ON L4A 5C3 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 204,"Description": "Portable LTE Emergency Internet Service (with Larry Bennett)",Quantity : 1,UnitAmount : 132.980000,LineAmount : 132.980000} [2025-03-20 08:03:56] Production.INFO: ==== result ===== [2025-03-20 08:03:56] Production.INFO: { "Id": "57b4c145-d869-44ac-a533-0f88f9a05d73", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472236139)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "195ec073-6376-4bd2-8262-b5156357d40c", "InvoiceNumber": "INV11598", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 308.49, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "c4bd70fd-3ccd-42a6-a692-2d9f355b91a8", "ContactStatus": "ACTIVE", "Name": "Think Secure", "FirstName": "Keshia", "LastName": "Brubacher", "EmailAddress": "accounts@thinksecure.ca", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "AddressLine1": "10 Newkirk Rd.", "AddressLine2": "Unit 1", "AddressLine3": "", "AddressLine4": "", "City": "Richmond Hill", "Region": "ON", "PostalCode": "L4C 5S3", "Country": "Canada", "AttentionTo": "Keshia Brubacher" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "9053267233", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "9053267233", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1562268255557+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-02-27T00:00:00", "Date": "\/Date(1740614400000+0000)\/", "DueDateString": "2025-03-29T00:00:00", "DueDate": "\/Date(1743206400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-27-2025 To 02-26-2025", "UnitAmount": 0.06, "TaxType": "TAX020", "TaxAmount": 0.01, "LineAmount": 0.06, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "8a04e5af-54e5-463c-8bff-73e0e7ee6d5e", "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": 6.37, "LineAmount": 49.00, "AccountCode": "203", "Tracking": [], "Quantity": 7.0000, "DiscountRate": 0.00, "LineItemID": "d381ad88-3758-4bf6-b8ff-48623f8351d7", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (19053267233 - Cancom Security - 1183 Finch Ave W 205 North York, ON M3J2G2 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "25b0f6e0-77dd-4475-afc9-6eaebf24c30b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Cable Internet Service - 300 x 20 - (160 Aspen Crescent, WhitechurchStouffville, ON L4A 5C3)", "UnitAmount": 85.95, "TaxType": "TAX020", "TaxAmount": 11.17, "LineAmount": 85.95, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "7b53b876-e315-4a47-917d-5197c5982b47", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (16475586206 - Benjamin Wein - 160 Aspen Cresent Stouffville, ON L4A 5C3 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "55c7ccc8-922b-4eef-8caf-4292ae6948ae", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Portable LTE Emergency Internet Service (with Larry Bennett)", "UnitAmount": 132.98, "TaxType": "TAX020", "TaxAmount": 17.29, "LineAmount": 132.98, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "658ffd34-3c5c-4021-b2dd-869eaa438eab", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] } ], "SubTotal": 272.99, "TotalTax": 35.50, "Total": 308.49, "UpdatedDateUTC": "\/Date(1742472236047+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:03:56] Production.INFO: -- Create Invoice id --195ec073-6376-4bd2-8262-b5156357d40c [2025-03-20 08:03:56] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:03:56] Production.INFO: CheckInvoice xerov2: INV11600 [2025-03-20 08:03:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11600 [2025-03-20 08:03:58] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:03:58] Production.INFO: Invoice SubTotal 360.300000 [2025-03-20 08:03:58] Production.INFO: Invoice DetTotal 360.3 [2025-03-20 08:03:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Sunnybrook%20-%20Construction%20Site%20%28Cancom%20-%20Think%20Secure%29" [2025-03-20 08:04:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:04:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:04:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:04:10] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 204,"Description": "SUNNYBROOK - Air Fiber Internet Service (2075 Bayview Ave, Toronto, ON M4N 3M5)",Quantity : 1,UnitAmount : 360.300000,LineAmount : 360.300000} [2025-03-20 08:04:13] Production.INFO: ==== result ===== [2025-03-20 08:04:13] Production.INFO: { "Id": "c479cb69-e65a-4334-8a8e-cbecf3f330d5", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472253632)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "fea25f61-d9dc-4297-af2f-4659b75d673d", "InvoiceNumber": "INV11600", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 407.14, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "9438f80c-bb9a-4440-84ef-9c1f20f46b34", "ContactStatus": "ACTIVE", "Name": "Sunnybrook - 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(1657573684763+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-27T00:00:00", "Date": "\/Date(1740614400000+0000)\/", "DueDateString": "2025-03-29T00:00:00", "DueDate": "\/Date(1743206400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "SUNNYBROOK - Air Fiber Internet Service (2075 Bayview Ave, Toronto, ON M4N 3M5)", "UnitAmount": 360.30, "TaxType": "TAX020", "TaxAmount": 46.84, "LineAmount": 360.30, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "a4f45354-b8a0-4d72-b39e-9c8a30fbff49", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] } ], "SubTotal": 360.30, "TotalTax": 46.84, "Total": 407.14, "UpdatedDateUTC": "\/Date(1742472253570+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:04:13] Production.INFO: -- Create Invoice id --fea25f61-d9dc-4297-af2f-4659b75d673d [2025-03-20 08:04:13] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:04:13] Production.INFO: CheckInvoice xerov2: INV11596 [2025-03-20 08:04:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11596 [2025-03-20 08:04:16] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:04:16] Production.INFO: Invoice SubTotal 193.180000 [2025-03-20 08:04:16] Production.INFO: Invoice DetTotal 193.18 [2025-03-20 08:04:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010364%20%28Shane%20Linthorne%29" [2025-03-20 08:04:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:04:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:04:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:04:28] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "VDSL Internet Service (324 Guelph St 10 Georgetown, ON L7G 4B5 Canada)",Quantity : 1,UnitAmount : 69.780000,LineAmount : 69.780000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "LTE Internet Failover Service (324 Guelph St 10 Georgetown, ON L7G 4B5 Canada)",Quantity : 1,UnitAmount : 55.900000,LineAmount : 55.900000},{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 (19057028800 - 324 Guelph St 10 Georgetown, ON L7G 4B5 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",Quantity : 2,UnitAmount : -5.000000,LineAmount : -10.000000} [2025-03-20 08:04:32] Production.INFO: ==== result ===== [2025-03-20 08:04:32] Production.INFO: { "Id": "355c041d-2a97-4a7f-a19a-b80720a7ddf9", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472272079)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "ca57a094-53b1-485b-8a64-75852f8e5c81", "InvoiceNumber": "INV11596", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 218.30, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "12ca1405-c90f-4ad7-83b0-d937a569ffd9", "ContactStatus": "ACTIVE", "Name": "Dominos 10364 (Shane Linthorne)", "FirstName": "Shane", "LastName": "Linthorne", "EmailAddress": "poundinpizzainc@gmail.com", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(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-02-26T00:00:00", "Date": "\/Date(1740528000000+0000)\/", "DueDateString": "2025-03-28T00:00:00", "DueDate": "\/Date(1743120000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "VDSL Internet Service (324 Guelph St 10 Georgetown, ON L7G 4B5 Canada)", "UnitAmount": 69.78, "TaxType": "TAX020", "TaxAmount": 9.07, "LineAmount": 69.78, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "00ddc0b8-327d-4b6c-8f3d-efed78e0c09c", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "LTE Internet Failover Service (324 Guelph St 10 Georgetown, ON L7G 4B5 Canada)", "UnitAmount": 55.90, "TaxType": "TAX020", "TaxAmount": 7.27, "LineAmount": 55.90, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "b0cfab8d-945a-44bb-beb5-ca5f8aefab4e", "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": "d09deefb-3826-4958-826e-c688fbaf6aad", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (19057028800 - 324 Guelph St 10 Georgetown, ON L7G 4B5 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "4a38cb2d-5740-499a-a71c-a9c32907efc8", "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": "4ee30056-13bb-4910-bed4-d48a2fac8221", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 193.18, "TotalTax": 25.12, "Total": 218.30, "UpdatedDateUTC": "\/Date(1742472271907+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:04:32] Production.INFO: -- Create Invoice id --ca57a094-53b1-485b-8a64-75852f8e5c81 [2025-03-20 08:04:32] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:04:32] Production.INFO: CheckInvoice xerov2: INV11592 [2025-03-20 08:04:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11592 [2025-03-20 08:04:35] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:04:35] Production.INFO: Invoice SubTotal 52.500000 [2025-03-20 08:04:35] Production.INFO: Invoice DetTotal 52.5 [2025-03-20 08:04:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010532%20%28Sandeep%20Chaudhari%29" [2025-03-20 08:04:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:04:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:04:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:04:47] 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 (15198041212 - 655 FAIRWAY RD S BLDG B UNIT B4B KITCHENER, ON N2C1X4)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 5,UnitAmount : -5.000000,LineAmount : -25.000000} [2025-03-20 08:04:50] Production.INFO: ==== result ===== [2025-03-20 08:04:50] Production.INFO: { "Id": "f03613c6-ff8c-45b2-8d09-1bdd259570d0", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472290416)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "cc6bf861-1888-493a-ad32-f53f4d74a0f6", "InvoiceNumber": "INV11592", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 59.33, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "dded1f8a-d8ba-43e9-a033-ca82f3d54f47", "ContactStatus": "ACTIVE", "Name": "Dominos 10532 (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-02-25T00:00:00", "Date": "\/Date(1740441600000+0000)\/", "DueDateString": "2025-03-27T00:00:00", "DueDate": "\/Date(1743033600000+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": "e5d5c462-236f-4029-b0b9-ab9cc95af869", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (15198041212 - 655 FAIRWAY RD S BLDG B UNIT B4B KITCHENER, ON N2C1X4)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "01691ada-f012-4d6a-83b3-81afb5117179", "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": "d583399c-2e79-4ffd-ab5a-348eae50bb16", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 6.83, "Total": 59.33, "UpdatedDateUTC": "\/Date(1742472290370+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:04:50] Production.INFO: -- Create Invoice id --cc6bf861-1888-493a-ad32-f53f4d74a0f6 [2025-03-20 08:04:50] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:04:50] Production.INFO: CheckInvoice xerov2: INV11593 [2025-03-20 08:04:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11593 [2025-03-20 08:04:53] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:04:53] Production.INFO: Invoice SubTotal 70.820000 [2025-03-20 08:04:53] Production.INFO: Invoice DetTotal 70.82 [2025-03-20 08:04:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010422%20%28David%20Mills%29" [2025-03-20 08:04:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:04:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:05:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:05:05] 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 (19059510999 - 15 Allan Drive Bolton, ON L7E 2B5 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",Quantity : 4,UnitAmount : -1.670000,LineAmount : -6.680000} [2025-03-20 08:05:09] Production.INFO: ==== result ===== [2025-03-20 08:05:09] Production.INFO: { "Id": "4d78f5aa-57da-461d-ad4d-0ad1583226cd", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472308956)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "a40c00df-c9d4-41f1-b894-ab6bc4714b8f", "InvoiceNumber": "INV11593", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 80.03, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "56e7aabd-b1e3-4807-a57f-483fba350c3e", "ContactStatus": "ACTIVE", "Name": "Dominos 10422 (David Mills)", "FirstName": "David", "LastName": "Mills", "EmailAddress": "david@teamtenfold.com", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1580835623880+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-25T00:00:00", "Date": "\/Date(1740441600000+0000)\/", "DueDateString": "2025-03-27T00:00:00", "DueDate": "\/Date(1743033600000+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": "4e3159cf-1a5b-402a-98dc-5f7fa6de87eb", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (19059510999 - 15 Allan Drive Bolton, ON L7E 2B5 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "561f0359-2605-459e-9943-af8489fd4e32", "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": -1.67, "TaxType": "TAX020", "TaxAmount": -0.87, "LineAmount": -6.68, "AccountCode": "303", "Tracking": [], "Quantity": 4.0000, "DiscountRate": 0.00, "LineItemID": "07543030-76c3-4722-8eb0-46d7cad75795", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 70.82, "TotalTax": 9.21, "Total": 80.03, "UpdatedDateUTC": "\/Date(1742472308893+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:05:09] Production.INFO: -- Create Invoice id --a40c00df-c9d4-41f1-b894-ab6bc4714b8f [2025-03-20 08:05:09] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:05:09] Production.INFO: CheckInvoice xerov2: INV11594 [2025-03-20 08:05:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11594 [2025-03-20 08:05:11] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:05:11] Production.INFO: Invoice SubTotal 305.480000 [2025-03-20 08:05:11] Production.INFO: Invoice DetTotal 305.48 [2025-03-20 08:05:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010545%20%28Mohan%20Kantha%29" [2025-03-20 08:05:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:05:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:05:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:05:23] 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 (13653950005 - 5402 Main St.Unit 4Stouffville, Ontario L4A 1H3)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Bundle Discount - $15/month",Quantity : 1,UnitAmount : -15.000000,LineAmount : -15.000000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "Cable Internet Service (5402 Main St.Unit 4Stouffville, Ontario L4A 1H3)",Quantity : 1,UnitAmount : 191.400000,LineAmount : 191.400000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "LTE Internet Failover Service (5402 Main St.Unit 4Stouffville, Ontario L4A 1H3)",Quantity : 1,UnitAmount : 51.580000,LineAmount : 51.580000} [2025-03-20 08:05:26] Production.INFO: ==== result ===== [2025-03-20 08:05:26] Production.INFO: { "Id": "4efc0f96-2690-4ec6-9e29-ecbf57dcb30f", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472326369)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "daf954a9-2b9b-4f79-8336-49f5aa408366", "InvoiceNumber": "INV11594", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 345.20, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "922fdab1-eecb-4982-8db6-fe1325f04d0d", "ContactStatus": "ACTIVE", "Name": "Dominos 10545 (Mohan Kantha)", "FirstName": "Mohan", "LastName": "Kantha", "EmailAddress": "mohan_kantha@rogers.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(1580835320340+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-25T00:00:00", "Date": "\/Date(1740441600000+0000)\/", "DueDateString": "2025-03-27T00:00:00", "DueDate": "\/Date(1743033600000+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": "c7e81d63-9842-4a7f-bd89-fa5dc09a3857", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (13653950005 - 5402 Main St.Unit 4Stouffville, Ontario L4A 1H3)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "2d311347-1098-43cf-a008-4b998b5d2ed3", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Bundle Discount - $15/month", "UnitAmount": -15.00, "TaxType": "TAX020", "TaxAmount": -1.95, "LineAmount": -15.00, "AccountCode": "303", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "a4516a30-addf-4ec8-a3a1-b9e7493eb66e", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Cable Internet Service (5402 Main St.Unit 4Stouffville, Ontario L4A 1H3)", "UnitAmount": 191.40, "TaxType": "TAX020", "TaxAmount": 24.88, "LineAmount": 191.40, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "494902b2-046b-4058-a48b-839106657500", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "LTE Internet Failover Service (5402 Main St.Unit 4Stouffville, Ontario L4A 1H3)", "UnitAmount": 51.58, "TaxType": "TAX020", "TaxAmount": 6.71, "LineAmount": 51.58, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "1e35b6b1-12cb-410d-a7a6-ca4a1b64e8cc", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 305.48, "TotalTax": 39.72, "Total": 345.20, "UpdatedDateUTC": "\/Date(1742472326323+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:05:26] Production.INFO: -- Create Invoice id --daf954a9-2b9b-4f79-8336-49f5aa408366 [2025-03-20 08:05:26] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:05:26] Production.INFO: CheckInvoice xerov2: INV11595 [2025-03-20 08:05:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11595 [2025-03-20 08:05:29] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:05:29] Production.INFO: Invoice SubTotal 72.500000 [2025-03-20 08:05:29] Production.INFO: Invoice DetTotal 72.5 [2025-03-20 08:05:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039102%20%28Muzafar%20Ahmad%29" [2025-03-20 08:05:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:05:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:05:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:05:41] 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 (14037557654 - 1 Iron Gate Drive 115 Sylvan Lake, AB T4S 0T8 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX012",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount for Covid-19",Quantity : 1,UnitAmount : -5.000000,LineAmount : -5.000000} [2025-03-20 08:05:44] Production.INFO: ==== result ===== [2025-03-20 08:05:44] Production.INFO: { "Id": "bd6c0130-0615-409d-854b-93e76b937988", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472344393)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "485f353a-de03-4978-abd7-472de2420a34", "InvoiceNumber": "INV11595", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 76.13, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "749cea7f-cdd5-4ee1-9755-990afa6667fb", "ContactStatus": "ACTIVE", "Name": "Dominos 39102 (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(1639848517473+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-25T00:00:00", "Date": "\/Date(1740441600000+0000)\/", "DueDateString": "2025-03-27T00:00:00", "DueDate": "\/Date(1743033600000+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": "301acce8-5614-4d77-a7b4-16d48dd2bc20", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (14037557654 - 1 Iron Gate Drive 115 Sylvan Lake, AB T4S 0T8 Canada)", "UnitAmount": 2.50, "TaxType": "TAX012", "TaxAmount": 0.13, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "53643147-7364-4a4c-a580-9db6153e97d0", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Provides a $5/store/month discount for Covid-19", "UnitAmount": -5.00, "TaxType": "TAX012", "TaxAmount": -0.25, "LineAmount": -5.00, "AccountCode": "303", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "4212be2d-7afe-4048-8cba-80d6f4c18293", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 72.50, "TotalTax": 3.63, "Total": 76.13, "UpdatedDateUTC": "\/Date(1742472344363+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:05:44] Production.INFO: -- Create Invoice id --485f353a-de03-4978-abd7-472de2420a34 [2025-03-20 08:05:44] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:05:44] Production.INFO: CheckInvoice xerov2: INV11591 [2025-03-20 08:05:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11591 [2025-03-20 08:05:47] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:05:47] Production.INFO: Invoice SubTotal 67.500000 [2025-03-20 08:05:47] Production.INFO: Invoice DetTotal 67.5 [2025-03-20 08:05:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010099%20%28Mudassar%20Zia%29" [2025-03-20 08:05:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:05:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:05:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:05:59] Production.INFO: =========Invoices String here======{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "Dominos Pizza - 4 Line Flat Rate with $5 discount (3+ stores)",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration - (AUBURN MEADOWS DR SE UNIT 330 CALGARY, AB T3M2G5)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID - Fax (14038790958)",Quantity : 1,UnitAmount : 5.000000,LineAmount : 5.000000},{taxType:"TAX012",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 3,UnitAmount : -5.000000,LineAmount : -15.000000} [2025-03-20 08:06:02] Production.INFO: ==== result ===== [2025-03-20 08:06:02] Production.INFO: { "Id": "e6d712ef-5676-41d7-9701-6afa308179d5", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472362780)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "5cc94fe8-4c47-4de3-98c9-06144af3ab86", "InvoiceNumber": "INV11591", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 70.88, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "71c34967-10de-4adf-ac3c-873348ba60c5", "ContactStatus": "ACTIVE", "Name": "Dominos 10099 (Mudassar Zia)", "FirstName": "", "LastName": "", "EmailAddress": "", "BankAccountDetails": "", "AccountsReceivableTaxType": "TAX012", "AccountsPayableTaxType": "TAX012", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "", "AttentionTo": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "", "AttentionTo": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1580930547427+0000)\/", "ContactGroups": [ { "ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58", "Name": "Benjamin's Customers", "Status": "ACTIVE", "Contacts": [], "HasValidationErrors": false } ], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-24T00:00:00", "Date": "\/Date(1740355200000+0000)\/", "DueDateString": "2025-03-26T00:00:00", "DueDate": "\/Date(1742947200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Dominos Pizza - 4 Line Flat Rate with $5 discount (3+ stores)", "UnitAmount": 75.00, "TaxType": "TAX012", "TaxAmount": 3.75, "LineAmount": 75.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "f5170b9a-a5ab-4c24-987c-a1412ff05729", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration - (AUBURN MEADOWS DR SE UNIT 330 CALGARY, AB T3M2G5)", "UnitAmount": 2.50, "TaxType": "TAX012", "TaxAmount": 0.13, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "ef426e32-3afc-4078-8c75-2809d69e9399", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID - Fax (14038790958)", "UnitAmount": 5.00, "TaxType": "TAX012", "TaxAmount": 0.25, "LineAmount": 5.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "6f45aaa6-262f-4ab5-adcf-a3a07ef842ba", "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": "f853335a-814f-4aae-9a6e-d12a57b084d8", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 67.50, "TotalTax": 3.38, "Total": 70.88, "UpdatedDateUTC": "\/Date(1742472362717+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:06:02] Production.INFO: -- Create Invoice id --5cc94fe8-4c47-4de3-98c9-06144af3ab86 [2025-03-20 08:06:02] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:06:03] Production.INFO: CheckInvoice xerov2: INV11584 [2025-03-20 08:06:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11584 [2025-03-20 08:06:05] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:06:06] Production.INFO: Invoice SubTotal 534.730000 [2025-03-20 08:06:06] Production.INFO: Invoice DetTotal 534.73 [2025-03-20 08:06:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Aaxel%20Insurance%20Brokers" [2025-03-20 08:06:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:06:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:06:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:06:17] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-23-2025 To 02-22-2025",Quantity : 1,UnitAmount : 378.230000,LineAmount : 378.230000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14165486407)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (12899991236)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14166134444)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (15195132449)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (16479251495)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DIDs (16479254066 - 16479254074)",Quantity : 9,UnitAmount : 1.500000,LineAmount : 13.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DIDs (16479254076 - 16479254079)",Quantity : 4,UnitAmount : 1.500000,LineAmount : 6.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DIDs (16479254081 - 16479254087)",Quantity : 7,UnitAmount : 1.500000,LineAmount : 10.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (19053628080)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (19054862295)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (19056048900)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (19057967600)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional Toll Free DID (18553803666)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional Toll Free DID (18663582860)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (16474959552)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (19057969700)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (19054871440)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (16136997961)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (16475586401)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (19053611274)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (19053611275)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (12893016674)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (12892744807)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (12262165777)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (12262151515)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (12893272232)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (12893272273)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (16474845777)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (19052822525)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (19052829594)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (12262162522)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,"Description": "Additional DID (6479255005)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,"Description": "Additional DID (6479255025)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,"Description": "Additional DID (6479255050)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,"Description": "Additional DID (6479255055)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,"Description": "Additional DID (6479255151)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,"Description": "Additional DIDs (6479255226 - 6479255253)",Quantity : 27,UnitAmount : 1.500000,LineAmount : 40.500000},{taxType:"TAX020",AccountCode : 203,"Description": "Additional DID (6479255353)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 50.000000,"Description": "Additional reserved capacity (licenses cover 10 active calls, 17 are regularly in use)",Quantity : 7,UnitAmount : 10.000000,LineAmount : 35.000000} [2025-03-20 08:06:21] Production.INFO: ==== result ===== [2025-03-20 08:06:21] Production.INFO: { "Id": "0597fd2d-f5fd-4851-9570-dfd537aeeeb2", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472381159)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "5b9ed6e9-71f7-4f96-aec0-fb784fb9749f", "InvoiceNumber": "INV11584", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 604.43, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 35.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "4e313157-1b83-4634-91d3-f0b4cdbdcb8b", "ContactStatus": "ACTIVE", "Name": "Aaxel Insurance Brokers", "FirstName": "Paul", "LastName": "Mann", "EmailAddress": "paul.mann@aaxelinsurance.com", "BankAccountDetails": "", "AccountsReceivableTaxType": "OUTPUT", "AccountsPayableTaxType": "OUTPUT", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "", "AttentionTo": "" }, { "AddressType": "POBOX", "AddressLine1": "1550 South Gateway Road", "AddressLine2": "Suite 220", "AddressLine3": "", "AddressLine4": "", "City": "Mississauga", "Region": "ON", "PostalCode": "L4W5G6", "Country": "Canada", "AttentionTo": "Paul Mann" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "(905) 7967600", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "6478297470", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "6478297470", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1629352418927+0000)\/", "ContactGroups": [], "IsSupplier": true, "IsCustomer": true, "DefaultCurrency": "CAD", "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-23T00:00:00", "Date": "\/Date(1740268800000+0000)\/", "DueDateString": "2025-03-25T00:00:00", "DueDate": "\/Date(1742860800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-23-2025 To 02-22-2025", "UnitAmount": 378.23, "TaxType": "TAX020", "TaxAmount": 49.17, "LineAmount": 378.23, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "a951bc6b-e85c-4e76-921c-f0e1bcd0e563", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (14165486407)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "6776827e-e1ad-4034-93bc-642d4c720a50", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (12899991236)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "228303d1-085a-4197-adda-1639b25003c2", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (14166134444)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "b0736d38-fd74-405f-9118-49f340e15981", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (15195132449)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "13113182-c992-4715-8cce-bd55371e9d4e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (16479251495)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "6ddf5abf-e30f-4c2a-8fb6-4e83ff9d9cfe", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DIDs (16479254066 - 16479254074)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 1.76, "LineAmount": 13.50, "AccountCode": "203", "Tracking": [], "Quantity": 9.0000, "DiscountRate": 0.00, "LineItemID": "118268f6-d8c2-4d38-bde2-c9d05d9a1af9", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DIDs (16479254076 - 16479254079)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.78, "LineAmount": 6.00, "AccountCode": "203", "Tracking": [], "Quantity": 4.0000, "DiscountRate": 0.00, "LineItemID": "cc396ac2-7aca-4adf-a938-e71195d289d8", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DIDs (16479254081 - 16479254087)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 1.37, "LineAmount": 10.50, "AccountCode": "203", "Tracking": [], "Quantity": 7.0000, "DiscountRate": 0.00, "LineItemID": "2b3578dc-6d3d-469f-80aa-ad659701e27b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (19053628080)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "420c0da1-6d4c-4d52-b9a5-5a8b74efca89", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (19054862295)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "55feb4e7-02fd-4468-9c98-22f0c67013c6", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (19056048900)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "de96a81a-7dd3-4a7c-a02d-402f49fc050b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (19057967600)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "cab31028-7d5f-4cda-91dc-0edb6427b1b9", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional Toll Free DID (18553803666)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "6265f53f-ca27-4fe5-b120-9b463f6acb1e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional Toll Free DID (18663582860)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "165be220-affd-434f-adf9-37f185e1d34c", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (16474959552)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "2aa87959-f46b-4405-a8da-0b23d79a5599", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (19057969700)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "5ae1d1fc-9c58-4646-8893-5e0a870e2716", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (19054871440)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "7ad2afda-f992-45cb-af78-50470b287441", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (16136997961)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "690d3450-2ee4-4083-84f1-5fe5c64635c8", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (16475586401)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "b676d583-3125-4c74-b8c2-190c915b506d", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (19053611274)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "4766830a-0ef7-402e-b039-060eaa3bd1fc", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (19053611275)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "206d5bad-bdd2-4522-a806-04d5c818f114", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (12893016674)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "9fe48b67-ab77-49ac-a40e-f8dbbc5fe8ba", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (12892744807)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "66031951-928c-4307-9e9f-66bdd028bdf7", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (12262165777)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "6fd24681-334d-4ddc-933f-7fb2a497541c", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (12262151515)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "9752c254-d7ed-4e3c-b266-840496098d06", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (12893272232)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "b8870018-8908-4739-9f2c-33a39fb90e28", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (12893272273)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "1a693856-eff6-4082-b8b0-dcd27b03e587", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (16474845777)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "2f611ec2-edd5-473a-b170-0911535a0fef", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (19052822525)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "a407a67d-4515-4216-ba45-a847b7c84e81", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (19052829594)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "4ed6c6d4-989e-4117-b2d5-f45a349e1181", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (12262162522)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "d42c4212-4b36-4e7a-bfe4-d9fd8138e59d", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (6479255005)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "5b037919-afbe-40b0-87b5-7e7dfd4b9a20", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Additional DID (6479255025)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "058c1a46-920e-4374-b29c-235ca86e635e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Additional DID (6479255050)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "d9d82a26-f502-4525-9ffa-2d0f3c547ec4", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Additional DID (6479255055)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "06604820-ff1f-4c0b-9b3f-b591a89f2f98", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Additional DID (6479255151)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "7e31fa51-6b7f-40fd-bc2a-ad8210cd3c7a", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Additional DIDs (6479255226 - 6479255253)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 5.27, "LineAmount": 40.50, "AccountCode": "203", "Tracking": [], "Quantity": 27.0000, "LineItemID": "d6357ad7-25a8-4da5-a224-32fcd5368784", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Additional DID (6479255353)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "0a3e33c1-9387-4181-9e88-1b82194f6c70", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Additional reserved capacity (licenses cover 10 active calls, 17 are regularly in use)", "UnitAmount": 10.00, "TaxType": "TAX020", "TaxAmount": 4.55, "LineAmount": 35.00, "AccountCode": "203", "Tracking": [], "Quantity": 7.0000, "DiscountRate": 50.00, "LineItemID": "8cf3812e-5a93-49e9-a8f4-128243970b2b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 35.0000, "ValidationErrors": [] } ], "SubTotal": 534.73, "TotalTax": 69.70, "Total": 604.43, "UpdatedDateUTC": "\/Date(1742472381003+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:06:21] Production.INFO: -- Create Invoice id --5b9ed6e9-71f7-4f96-aec0-fb784fb9749f [2025-03-20 08:06:21] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:06:21] Production.INFO: CheckInvoice xerov2: INV11585 [2025-03-20 08:06:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11585 [2025-03-20 08:06:24] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:06:24] Production.INFO: Invoice SubTotal 200.060000 [2025-03-20 08:06:24] Production.INFO: Invoice DetTotal 200.06 [2025-03-20 08:06:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Selective%20Conformal%20Coatings%20Inc." [2025-03-20 08:06:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:06:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:06:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:06:36] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-23-2025 To 02-22-2025",Quantity : 1,UnitAmount : 1.860000,LineAmount : 1.860000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 7,UnitAmount : 10.000000,LineAmount : 70.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19059519523 - 141 TRADE VALLEY DR UNIT 5 VAUGHAN, ON L4H3N6)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 250,DiscountRate : 0.000000,"Description": "Microsoft Office 365 Business Standard subscription (formerly called Office 365 Business Premium)",Quantity : 6,UnitAmount : 16.900000,LineAmount : 101.400000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft Office 365 Business Basic subscription (formerly called Office 365 Business Essentials)",Quantity : 3,UnitAmount : 8.100000,LineAmount : 24.300000} [2025-03-20 08:06:39] Production.INFO: ==== result ===== [2025-03-20 08:06:39] Production.INFO: { "Id": "0158e169-89a3-4659-a6b0-bd7dc7675ebb", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472399748)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "4357ca5e-bdca-48c6-958b-5478a2bb30df", "InvoiceNumber": "INV11585", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 226.07, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "829ddc9d-f1ae-447b-9687-394867f488a7", "ContactNumber": "", "ContactStatus": "ACTIVE", "Name": "Selective Conformal Coatings Inc.", "FirstName": "Christine", "LastName": "Francis", "EmailAddress": "cfrancis@conformalcoating.ca", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "AddressLine1": "365 Healey Dr.", "AddressLine2": "Unit 5", "AddressLine3": "", "AddressLine4": "", "City": "Bolton", "Region": "ON", "PostalCode": "L7E 5C1", "Country": "Canada", "AttentionTo": "Christine Francis" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "(905) 9519523", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "(905) 9519523", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "9055051135", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1544121527830+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-23T00:00:00", "Date": "\/Date(1740268800000+0000)\/", "DueDateString": "2025-03-25T00:00:00", "DueDate": "\/Date(1742860800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-23-2025 To 02-22-2025", "UnitAmount": 1.86, "TaxType": "TAX020", "TaxAmount": 0.24, "LineAmount": 1.86, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "673e9d8a-9e88-44ef-a2e3-b65971114d79", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for a Pay As You Go Cloud Phone extension", "UnitAmount": 10.00, "TaxType": "TAX020", "TaxAmount": 9.10, "LineAmount": 70.00, "AccountCode": "203", "Tracking": [], "Quantity": 7.0000, "DiscountRate": 0.00, "LineItemID": "e5d7e3e1-ec80-44f7-a974-c1c51ba6440b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (19059519523 - 141 TRADE VALLEY DR UNIT 5 VAUGHAN, ON L4H3N6)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "6f55806c-69d0-48d2-a094-43b8be5c19e7", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Microsoft Office 365 Business Standard subscription (formerly called Office 365 Business Premium)", "UnitAmount": 16.90, "TaxType": "TAX020", "TaxAmount": 13.18, "LineAmount": 101.40, "AccountCode": "250", "Tracking": [], "Quantity": 6.0000, "DiscountRate": 0.00, "LineItemID": "8d50bfc4-3a9a-46bb-9f94-79f33714ae98", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Microsoft Office 365 Business Basic subscription (formerly called Office 365 Business Essentials)", "UnitAmount": 8.10, "TaxType": "TAX020", "TaxAmount": 3.16, "LineAmount": 24.30, "AccountCode": "250", "Tracking": [], "Quantity": 3.0000, "LineItemID": "08b3d421-05b6-41f1-bcf3-01fcc180f41c", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] } ], "SubTotal": 200.06, "TotalTax": 26.01, "Total": 226.07, "UpdatedDateUTC": "\/Date(1742472399703+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:06:39] Production.INFO: -- Create Invoice id --4357ca5e-bdca-48c6-958b-5478a2bb30df [2025-03-20 08:06:39] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:06:39] Production.INFO: CheckInvoice xerov2: INV11586 [2025-03-20 08:06:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11586 [2025-03-20 08:06:42] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:06:42] Production.INFO: Invoice SubTotal 52.500000 [2025-03-20 08:06:42] Production.INFO: Invoice DetTotal 52.5 [2025-03-20 08:06:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010189%20%28Akshay%20Naik%29" [2025-03-20 08:06:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:06:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:06:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:06:54] Production.INFO: =========Invoices String here======{taxType:"TAX012",AccountCode : 203,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 50.000000,LineAmount : 50.000000},{taxType:"TAX012",AccountCode : 203,"Description": "e911 address registration (7808423366 - 1017 14 Ave Wainwright, AB T9W1K5)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 08:06:57] Production.INFO: ==== result ===== [2025-03-20 08:06:57] Production.INFO: { "Id": "979ed7f7-7ff4-4522-b9f5-c4ee4f481b25", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472417656)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "6b1ddbf7-59e4-47ca-b9ac-13ef1859d7dd", "InvoiceNumber": "INV11586", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 55.13, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "4982fdbe-e8c3-4cfb-854b-994478db81a7", "ContactStatus": "ACTIVE", "Name": "Dominos 10189 (Akshay Naik)", "EmailAddress": "akshaynnaik@gmail.com", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "AddressLine1": "1017 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(1730662362960+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-23T00:00:00", "Date": "\/Date(1740268800000+0000)\/", "DueDateString": "2025-03-25T00:00:00", "DueDate": "\/Date(1742860800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Restaurant - 4 Line Flat Rate", "UnitAmount": 50.00, "TaxType": "TAX012", "TaxAmount": 2.50, "LineAmount": 50.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "b5a1fd8a-2652-4f3d-931d-915bb70f6356", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (7808423366 - 1017 14 Ave Wainwright, AB T9W1K5)", "UnitAmount": 2.50, "TaxType": "TAX012", "TaxAmount": 0.13, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "8b63e925-599b-4a86-ae06-13d24b007999", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 2.63, "Total": 55.13, "UpdatedDateUTC": "\/Date(1742472417563+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:06:57] Production.INFO: -- Create Invoice id --6b1ddbf7-59e4-47ca-b9ac-13ef1859d7dd [2025-03-20 08:06:57] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:06:57] Production.INFO: CheckInvoice xerov2: INV11582 [2025-03-20 08:06:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11582 [2025-03-20 08:07:00] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:07:00] Production.INFO: Invoice SubTotal 80.460000 [2025-03-20 08:07:00] Production.INFO: Invoice DetTotal 80.46 [2025-03-20 08:07:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="AromaCafeBayviewVillage" [2025-03-20 08:07:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:07:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:07:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:07:12] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "LTE Internet Failover Service (2901 Bayview Ave, Unit A11, North York, ON M2K 1E6) - 2GB Usage Included",Quantity : 1,UnitAmount : 80.460000,LineAmount : 80.460000} [2025-03-20 08:07:15] Production.INFO: ==== result ===== [2025-03-20 08:07:15] Production.INFO: { "Id": "ae41fde6-b411-4552-ba0a-d40b0c4289e7", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472435609)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "fa182ecc-2ec1-41ef-933e-f7fce289a2a0", "InvoiceNumber": "INV11582", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 90.92, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "60b24dce-a269-4d1e-8535-3506428c9ffb", "ContactStatus": "ACTIVE", "Name": "AromaCafeBayviewVillage", "FirstName": "Azadeh", "LastName": "Matinsadeshi", "EmailAddress": "azadeh@aroma.ca", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1580836759787+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-22T00:00:00", "Date": "\/Date(1740182400000+0000)\/", "DueDateString": "2025-03-24T00:00:00", "DueDate": "\/Date(1742774400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "LTE Internet Failover Service (2901 Bayview Ave, Unit A11, North York, ON M2K 1E6) - 2GB Usage Included", "UnitAmount": 80.46, "TaxType": "TAX020", "TaxAmount": 10.46, "LineAmount": 80.46, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "e76e4810-6ddc-44af-8242-8bd123965d8d", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 80.46, "TotalTax": 10.46, "Total": 90.92, "UpdatedDateUTC": "\/Date(1742472435563+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:07:15] Production.INFO: -- Create Invoice id --fa182ecc-2ec1-41ef-933e-f7fce289a2a0 [2025-03-20 08:07:15] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:07:15] Production.INFO: CheckInvoice xerov2: INV11572 [2025-03-20 08:07:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11572 [2025-03-20 08:07:18] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:07:18] Production.INFO: Invoice SubTotal 79.700000 [2025-03-20 08:07:18] Production.INFO: Invoice DetTotal 79.7 [2025-03-20 08:07:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Bon%20Voyage%20Travel" [2025-03-20 08:07:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:07:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:07:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:07:29] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-21-2025 To 02-20-2025",Quantity : 1,UnitAmount : 12.700000,LineAmount : 12.700000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 8,UnitAmount : 10.000000,LineAmount : 80.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (1448 LAWRENCE AVE E STE 303 TORONTO, ON M4A2S8)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Digital Fax (4164255888)",Quantity : 1,UnitAmount : 5.000000,LineAmount : 5.000000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Loyalty discount - $20.50 off monthly bills, never expires (XR)",Quantity : 1,UnitAmount : -20.500000,LineAmount : -20.500000} [2025-03-20 08:07:33] Production.INFO: ==== result ===== [2025-03-20 08:07:33] Production.INFO: { "Id": "d19b3c47-1d0d-417c-aa61-88520558ce02", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472453187)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "63718684-5c52-4d04-bb10-32d92847bfae", "InvoiceNumber": "INV11572", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 90.06, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "b3f98fb9-7d83-4a9d-a9db-618acdfb5df3", "ContactStatus": "ACTIVE", "Name": "Uniglobe Bon Voyage Travel", "FirstName": "Rose", "LastName": "Chin", "EmailAddress": "rose@ubvt.ca", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "", "AttentionTo": "" }, { "AddressType": "POBOX", "AddressLine1": "1448 Lawrence Ave. East", "AddressLine2": "Suite 303", "AddressLine3": "", "AddressLine4": "", "City": "North York", "Region": "ON", "PostalCode": "M4A2V6", "Country": "Canada", "AttentionTo": "Rose Chin" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "(416) 4255885", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "4164255885,4202", "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-02-21T00:00:00", "Date": "\/Date(1740096000000+0000)\/", "DueDateString": "2025-03-23T00:00:00", "DueDate": "\/Date(1742688000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-21-2025 To 02-20-2025", "UnitAmount": 12.70, "TaxType": "TAX020", "TaxAmount": 1.65, "LineAmount": 12.70, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "d7c12155-d36a-4fe8-b715-2d94710f22e9", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for a Pay As You Go Cloud Phone extension", "UnitAmount": 10.00, "TaxType": "TAX020", "TaxAmount": 10.40, "LineAmount": 80.00, "AccountCode": "203", "Tracking": [], "Quantity": 8.0000, "DiscountRate": 0.00, "LineItemID": "615a1dfa-8346-4e24-b555-f25289044f7d", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (1448 LAWRENCE AVE E STE 303 TORONTO, ON M4A2S8)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "2a5c8e7d-5735-4a11-a442-cc8dfd83b0b8", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Digital Fax (4164255888)", "UnitAmount": 5.00, "TaxType": "TAX020", "TaxAmount": 0.65, "LineAmount": 5.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "55428603-c424-47a7-b8f7-c17693aaa410", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Loyalty discount - $20.50 off monthly bills, never expires (XR)", "UnitAmount": -20.50, "TaxType": "TAX020", "TaxAmount": -2.67, "LineAmount": -20.50, "AccountCode": "303", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "24b260de-ec96-4a6f-aef4-a4f7055ae8fa", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 79.70, "TotalTax": 10.36, "Total": 90.06, "UpdatedDateUTC": "\/Date(1742472453110+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:07:33] Production.INFO: -- Create Invoice id --63718684-5c52-4d04-bb10-32d92847bfae [2025-03-20 08:07:33] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:07:33] Production.INFO: CheckInvoice xerov2: INV11573 [2025-03-20 08:07:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11573 [2025-03-20 08:07:36] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:07:36] Production.INFO: Invoice SubTotal 382.510000 [2025-03-20 08:07:36] Production.INFO: Invoice DetTotal 382.51 [2025-03-20 08:07:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Sivananda%20Ashram%20Yoga%20Retreat" [2025-03-20 08:07:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:07:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:07:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:07:48] Production.INFO: =========Invoices String here======{AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-21-2025 To 02-20-2025",Quantity : 1,UnitAmount : 32.510000,LineAmount : 32.510000},{AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 35,UnitAmount : 10.000000,LineAmount : 350.000000} [2025-03-20 08:07:52] Production.INFO: ==== result ===== [2025-03-20 08:07:52] Production.INFO: { "Id": "05fd1edf-4322-406c-b096-11806a2d8129", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472472276)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "93937fe9-dab5-461e-b23c-b7517dede03f", "InvoiceNumber": "INV11573", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 432.24, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "64c07100-e054-4831-b9c1-0c728c4e9ba3", "ContactStatus": "ACTIVE", "Name": "Sivananda Ashram Yoga Retreat", "FirstName": "Carol", "LastName": "", "EmailAddress": "ap.yogaretreat@sivananda.org", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "AddressLine1": "P.O. Box N7550", "AddressLine2": "Paradise Island", "AddressLine3": "", "AddressLine4": "", "City": "Nassau, Bahamas", "Region": "", "PostalCode": "", "Country": "", "AttentionTo": "Carol" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "(416) 4790199", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "4164790199", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1562268236110+0000)\/", "ContactGroups": [ { "ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58", "Name": "Benjamin's Customers", "Status": "ACTIVE", "Contacts": [], "HasValidationErrors": false } ], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-21T00:00:00", "Date": "\/Date(1740096000000+0000)\/", "DueDateString": "2025-02-28T00:00:00", "DueDate": "\/Date(1740700800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-21-2025 To 02-20-2025", "UnitAmount": 32.51, "TaxType": "OUTPUT", "TaxAmount": 4.23, "LineAmount": 32.51, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "c10bf3a3-c2c5-4a05-9879-7c224118c774", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for a Pay As You Go Cloud Phone extension", "UnitAmount": 10.00, "TaxType": "OUTPUT", "TaxAmount": 45.50, "LineAmount": 350.00, "AccountCode": "203", "Tracking": [], "Quantity": 35.0000, "DiscountRate": 0.00, "LineItemID": "a51025ac-dfd7-4f9a-a058-129981af7d4c", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 382.51, "TotalTax": 49.73, "Total": 432.24, "UpdatedDateUTC": "\/Date(1742472472230+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:07:52] Production.INFO: -- Create Invoice id --93937fe9-dab5-461e-b23c-b7517dede03f [2025-03-20 08:07:52] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:07:52] Production.INFO: CheckInvoice xerov2: INV11574 [2025-03-20 08:07:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11574 [2025-03-20 08:07:54] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:07:54] Production.INFO: Invoice SubTotal 16.230000 [2025-03-20 08:07:54] Production.INFO: Invoice DetTotal 16.23 [2025-03-20 08:07:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Escape%20Games%20Canada" [2025-03-20 08:07:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:08:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:08:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:08:07] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-21-2025 To 02-20-2025",Quantity : 1,UnitAmount : 5.980000,LineAmount : 5.980000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 1,UnitAmount : 7.500000,LineAmount : 7.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14166336868 - 15 KODIAK CRES UNIT 5B NORTH YORK, ON M3J3E5)",Quantity : 1,UnitAmount : 2.750000,LineAmount : 2.750000} [2025-03-20 08:08:11] Production.INFO: ==== result ===== [2025-03-20 08:08:11] Production.INFO: { "Id": "62c5ce11-32f6-4be9-a5d8-26cb87420047", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472490999)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "e967d306-a023-48f8-98ed-f7055b36dc63", "InvoiceNumber": "INV11574", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 18.35, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "f8bf0f6c-4bd5-483c-b42f-b3dd4f2c7deb", "ContactStatus": "ACTIVE", "Name": "Escape Games Canada", "FirstName": "Shawn", "LastName": "Fischtein", "EmailAddress": "shawn@escapegames.ca", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "AddressLine1": "15 Kodiak Crescent", "AddressLine2": "Unit 15", "AddressLine3": "", "AddressLine4": "", "City": "Toronto", "Region": "ON", "PostalCode": "M3J 3E5", "Country": "Canada", "AttentionTo": "Shawn Fischtein" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "4166336868", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "4166336868", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1562268155850+0000)\/", "ContactGroups": [ { "ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58", "Name": "Benjamin's Customers", "Status": "ACTIVE", "Contacts": [], "HasValidationErrors": false } ], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-21T00:00:00", "Date": "\/Date(1740096000000+0000)\/", "DueDateString": "2025-03-23T00:00:00", "DueDate": "\/Date(1742688000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-21-2025 To 02-20-2025", "UnitAmount": 5.98, "TaxType": "TAX020", "TaxAmount": 0.78, "LineAmount": 5.98, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "6b3ffa4b-6d49-4b24-bb71-36b68a293b3d", "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": 0.98, "LineAmount": 7.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "f01c344c-4c68-42c7-bf45-cedb2317adf1", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (14166336868 - 15 KODIAK CRES UNIT 5B NORTH YORK, ON M3J3E5)", "UnitAmount": 2.75, "TaxType": "TAX020", "TaxAmount": 0.36, "LineAmount": 2.75, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "c59d5f64-8ef4-4ce5-bc1c-2ba862112ebf", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 16.23, "TotalTax": 2.12, "Total": 18.35, "UpdatedDateUTC": "\/Date(1742472490953+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:08:11] Production.INFO: -- Create Invoice id --e967d306-a023-48f8-98ed-f7055b36dc63 [2025-03-20 08:08:11] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:08:11] Production.INFO: CheckInvoice xerov2: INV11575 [2025-03-20 08:08:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11575 [2025-03-20 08:08:13] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:08:13] Production.INFO: Invoice SubTotal 18.130000 [2025-03-20 08:08:13] Production.INFO: Invoice DetTotal 18.13 [2025-03-20 08:08:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Alexander%20and%20Casey%20Law" [2025-03-20 08:08:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:08:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:08:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:08:26] Production.INFO: =========Invoices String here======{AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-21-2025 To 02-20-2025",Quantity : 1,UnitAmount : 0.630000,LineAmount : 0.630000},{AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 3,UnitAmount : 5.000000,LineAmount : 15.000000},{AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (13162691100 - 225 N MARKET ST STE 230 WICHITA, KS 67202)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 08:08:29] Production.INFO: ==== result ===== [2025-03-20 08:08:29] Production.INFO: { "Id": "f804820c-42dd-4cd4-9163-e9984e26c1d1", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472509759)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "1c3f2c18-b68c-4d61-a908-d0f32505f014", "InvoiceNumber": "INV11575", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 20.49, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "3b1c6fb0-8df6-447b-805b-319c8fd7f13f", "ContactStatus": "ACTIVE", "Name": "Alexander and Casey Law", "FirstName": "", "LastName": "", "EmailAddress": "", "BankAccountDetails": "", "AccountsReceivableTaxType": "TAX007", "AccountsPayableTaxType": "TAX007", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "", "AttentionTo": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "", "AttentionTo": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1549906801707+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-21T00:00:00", "Date": "\/Date(1740096000000+0000)\/", "DueDateString": "2025-02-28T00:00:00", "DueDate": "\/Date(1740700800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-21-2025 To 02-20-2025", "UnitAmount": 0.63, "TaxType": "OUTPUT", "TaxAmount": 0.08, "LineAmount": 0.63, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "699b1502-ad90-4d7f-bb63-14ec08f6841e", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for a Pay As You Go Cloud Phone extension", "UnitAmount": 5.00, "TaxType": "OUTPUT", "TaxAmount": 1.95, "LineAmount": 15.00, "AccountCode": "203", "Tracking": [], "Quantity": 3.0000, "DiscountRate": 0.00, "LineItemID": "15e103c2-8dee-403e-9bf4-08aa44a4dc61", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (13162691100 - 225 N MARKET ST STE 230 WICHITA, KS 67202)", "UnitAmount": 2.50, "TaxType": "OUTPUT", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "0c0e5b4a-078e-4d4c-a976-d14f09b7d4c7", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 18.13, "TotalTax": 2.36, "Total": 20.49, "UpdatedDateUTC": "\/Date(1742472509727+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:08:29] Production.INFO: -- Create Invoice id --1c3f2c18-b68c-4d61-a908-d0f32505f014 [2025-03-20 08:08:29] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:08:29] Production.INFO: CheckInvoice xerov2: INV11576 [2025-03-20 08:08:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11576 [2025-03-20 08:08:32] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:08:33] Production.INFO: Invoice SubTotal 18.950000 [2025-03-20 08:08:33] Production.INFO: Invoice DetTotal 18.95 [2025-03-20 08:08:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="MK%20TAXPLUS%20LTD" [2025-03-20 08:08:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:08:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:08:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:08:45] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-21-2025 To 02-20-2025",Quantity : 1,UnitAmount : 8.450000,LineAmount : 8.450000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 2,UnitAmount : 4.000000,LineAmount : 8.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19057936600 - 45 BRAMALEA RD STE 202 BRAMPTON, ON L6T2W4)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 08:08:48] Production.INFO: ==== result ===== [2025-03-20 08:08:48] Production.INFO: { "Id": "cf9e6eae-7032-41ae-8fbf-1c691bf063c8", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472528811)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "43531e3b-818e-4bb1-aba7-aee109503244", "InvoiceNumber": "INV11576", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 21.42, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "b2a980df-8333-4b5e-8b50-c1d40e826ba3", "ContactStatus": "ACTIVE", "Name": "MK TAXPLUS LTD", "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(1533070484890+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-21T00:00:00", "Date": "\/Date(1740096000000+0000)\/", "DueDateString": "2025-03-23T00:00:00", "DueDate": "\/Date(1742688000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-21-2025 To 02-20-2025", "UnitAmount": 8.45, "TaxType": "TAX020", "TaxAmount": 1.10, "LineAmount": 8.45, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "d7eb7631-6f05-42dd-b6b4-4cdde4f2e270", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for a Pay As You Go Cloud Phone extension", "UnitAmount": 4.00, "TaxType": "TAX020", "TaxAmount": 1.04, "LineAmount": 8.00, "AccountCode": "203", "Tracking": [], "Quantity": 2.0000, "DiscountRate": 0.00, "LineItemID": "c99569b2-ec78-4222-bf17-bc0c5deefcd0", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (19057936600 - 45 BRAMALEA RD STE 202 BRAMPTON, ON L6T2W4)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "b63665d5-da8f-4aad-99ee-3811780d9645", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 18.95, "TotalTax": 2.47, "Total": 21.42, "UpdatedDateUTC": "\/Date(1742472528763+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:08:48] Production.INFO: -- Create Invoice id --43531e3b-818e-4bb1-aba7-aee109503244 [2025-03-20 08:08:48] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:08:48] Production.INFO: CheckInvoice xerov2: INV11577 [2025-03-20 08:08:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11577 [2025-03-20 08:08:51] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:08:51] Production.INFO: Invoice SubTotal 8.070000 [2025-03-20 08:08:51] Production.INFO: Invoice DetTotal 8.07 [2025-03-20 08:08:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Small%20Business%20Owners%20%26%20Professionals%20Association" [2025-03-20 08:08:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:08:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:09:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:09:04] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-21-2025 To 02-20-2025",Quantity : 1,UnitAmount : 0.570000,LineAmount : 0.570000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 1,UnitAmount : 5.000000,LineAmount : 5.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (18666781385 - 45 BRAMALEA RD STE 202 BRAMPTON, ON L6T2W4 CANADA)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 08:09:07] Production.INFO: ==== result ===== [2025-03-20 08:09:07] Production.INFO: { "Id": "2200071e-9cae-4c02-a163-ae0ec1fdeec9", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472547235)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "d5339c5f-f4cb-46de-9563-349570c75c61", "InvoiceNumber": "INV11577", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 9.12, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "e8c42b4a-0408-4ca6-a815-dbd8da598a80", "ContactStatus": "ACTIVE", "Name": "Small Business Owners & Professionals Association", "FirstName": "Paul", "LastName": "Mann", "EmailAddress": "paul.mann@aaxelinsurance.com", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "AddressLine1": "145 Royal Crest Court", "AddressLine2": "Unit 50B", "AddressLine3": "", "AddressLine4": "", "City": "Markham", "Region": "ON", "PostalCode": "L3R9Z4", "Country": "Canada", "AttentionTo": "Paul Mann" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "(800) 3108531", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "8003108531", "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-02-21T00:00:00", "Date": "\/Date(1740096000000+0000)\/", "DueDateString": "2025-03-23T00:00:00", "DueDate": "\/Date(1742688000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-21-2025 To 02-20-2025", "UnitAmount": 0.57, "TaxType": "TAX020", "TaxAmount": 0.07, "LineAmount": 0.57, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "6015e6c5-a457-4b83-90f1-dc515334e893", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for a Pay As You Go Cloud Phone extension", "UnitAmount": 5.00, "TaxType": "TAX020", "TaxAmount": 0.65, "LineAmount": 5.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "a5af107f-d3e8-4607-9fe1-51f102914ea4", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (18666781385 - 45 BRAMALEA RD STE 202 BRAMPTON, ON L6T2W4 CANADA)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "c50e5bda-333b-4105-94b6-b2e0d3dd14cd", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 8.07, "TotalTax": 1.05, "Total": 9.12, "UpdatedDateUTC": "\/Date(1742472547190+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:09:07] Production.INFO: -- Create Invoice id --d5339c5f-f4cb-46de-9563-349570c75c61 [2025-03-20 08:09:07] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:09:07] Production.INFO: CheckInvoice xerov2: INV11579 [2025-03-20 08:09:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11579 [2025-03-20 08:09:10] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:09:10] Production.INFO: Invoice SubTotal 70.000000 [2025-03-20 08:09:10] Production.INFO: Invoice DetTotal 70 [2025-03-20 08:09:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010538%20%28Waqas%20Ayaz%29" [2025-03-20 08:09:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:09:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:09:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:09:21] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 70.000000,LineAmount : 70.000000} [2025-03-20 08:09:24] Production.INFO: ==== result ===== [2025-03-20 08:09:24] Production.INFO: { "Id": "fa98d28e-9709-472c-adb5-72a9bf28c261", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472564579)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "45be0133-1487-4766-a858-236de7bbd881", "InvoiceNumber": "INV11579", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 79.10, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "7b571efd-034b-4c11-82c7-5ed343693624", "ContactStatus": "ACTIVE", "Name": "Dominos 10538 (Waqas Ayaz)", "FirstName": "Waqas", "LastName": "Ayaz", "EmailAddress": "dominoslakeshore@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(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-02-21T00:00:00", "Date": "\/Date(1740096000000+0000)\/", "DueDateString": "2025-03-23T00:00:00", "DueDate": "\/Date(1742688000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Restaurant - 4 Line Flat Rate", "UnitAmount": 70.00, "TaxType": "TAX020", "TaxAmount": 9.10, "LineAmount": 70.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "90332e62-faad-4ca3-b397-49f61c762f3f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 70.00, "TotalTax": 9.10, "Total": 79.10, "UpdatedDateUTC": "\/Date(1742472564517+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:09:24] Production.INFO: -- Create Invoice id --45be0133-1487-4766-a858-236de7bbd881 [2025-03-20 08:09:24] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:09:24] Production.INFO: CheckInvoice xerov2: INV11570 [2025-03-20 08:09:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11570 [2025-03-20 08:09:27] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:09:27] Production.INFO: Invoice SubTotal 269.120000 [2025-03-20 08:09:27] Production.INFO: Invoice DetTotal 269.12 [2025-03-20 08:09:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Craig%20Travel" [2025-03-20 08:09:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:09:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:09:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:09:40] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-20-2025 To 02-19-2025",Quantity : 1,UnitAmount : 46.620000,LineAmount : 46.620000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 22,UnitAmount : 10.000000,LineAmount : 220.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14164840926 - 1092 MOUNT PLEASANT RD TORONTO, ON M4P2M6)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 08:09:43] Production.INFO: ==== result ===== [2025-03-20 08:09:43] Production.INFO: { "Id": "adc7cbff-a84f-46ad-b6d3-17b480a9da6a", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472583781)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "b2f348cd-c489-4b4e-b2e6-f0477917de42", "InvoiceNumber": "INV11570", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 304.11, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "65a499d2-8fb3-4c56-ab50-2bdc7bfc40a1", "ContactStatus": "ACTIVE", "Name": "Craig Travel", "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(1533070464017+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-20T00:00:00", "Date": "\/Date(1740009600000+0000)\/", "DueDateString": "2025-03-22T00:00:00", "DueDate": "\/Date(1742601600000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-20-2025 To 02-19-2025", "UnitAmount": 46.62, "TaxType": "TAX020", "TaxAmount": 6.06, "LineAmount": 46.62, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "b6770520-ce16-422b-8498-31500d99dfe9", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for a Pay As You Go Cloud Phone extension", "UnitAmount": 10.00, "TaxType": "TAX020", "TaxAmount": 28.60, "LineAmount": 220.00, "AccountCode": "203", "Tracking": [], "Quantity": 22.0000, "DiscountRate": 0.00, "LineItemID": "a47bc242-abd8-43cd-b18c-16a7edc09dfe", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (14164840926 - 1092 MOUNT PLEASANT RD TORONTO, ON M4P2M6)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "fb977844-b726-475b-bce8-5b28cc4e78f8", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 269.12, "TotalTax": 34.99, "Total": 304.11, "UpdatedDateUTC": "\/Date(1742472583720+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:09:43] Production.INFO: -- Create Invoice id --b2f348cd-c489-4b4e-b2e6-f0477917de42 [2025-03-20 08:09:43] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:09:43] Production.INFO: CheckInvoice xerov2: INV11571 [2025-03-20 08:09:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11571 [2025-03-20 08:09:46] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:09:46] Production.INFO: Invoice SubTotal 67.500000 [2025-03-20 08:09:46] Production.INFO: Invoice DetTotal 67.5 [2025-03-20 08:09:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010462%20%28Anwar%20Hossain%29" [2025-03-20 08:09:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:09:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:09:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:09:58] 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 (17056457700 - 195 Wellington St 1 Bracebridge, ON P1L1C2)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",Quantity : 2,UnitAmount : -5.000000,LineAmount : -10.000000} [2025-03-20 08:10:01] Production.INFO: ==== result ===== [2025-03-20 08:10:01] Production.INFO: { "Id": "f3074434-05fb-4cce-95d9-f8d18631388b", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472601622)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "3e25da50-be93-4abc-bcdb-5c8a208e2656", "InvoiceNumber": "INV11571", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 76.28, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "dd9d12a6-43e5-42f4-9c71-f881ac0e5dfe", "ContactStatus": "ACTIVE", "Name": "Dominos 10462 (Anwar Hossain)", "FirstName": "Anwar", "LastName": "Hossain", "EmailAddress": "dominos10462@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(1582217221650+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-20T00:00:00", "Date": "\/Date(1740009600000+0000)\/", "DueDateString": "2025-03-22T00:00:00", "DueDate": "\/Date(1742601600000+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": "d3938ddf-846c-4df9-9d0b-fd41c51ad371", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (17056457700 - 195 Wellington St 1 Bracebridge, ON P1L1C2)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "4b28587f-ba56-47ba-856c-2915a505b822", "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": "9f583c13-9019-4347-8345-93a22215d157", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 67.50, "TotalTax": 8.78, "Total": 76.28, "UpdatedDateUTC": "\/Date(1742472601560+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:10:01] Production.INFO: -- Create Invoice id --3e25da50-be93-4abc-bcdb-5c8a208e2656 [2025-03-20 08:10:01] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:10:01] Production.INFO: CheckInvoice xerov2: INV11564 [2025-03-20 08:10:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11564 [2025-03-20 08:10:04] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:10:04] Production.INFO: Invoice SubTotal 32.000000 [2025-03-20 08:10:04] Production.INFO: Invoice DetTotal 32 [2025-03-20 08:10:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Stars%20%26%20Maple%20Tours" [2025-03-20 08:10:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:10:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:10:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:10:17] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 5,UnitAmount : 5.000000,LineAmount : 25.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (611800431330) - Australia Toll Free",Quantity : 1,UnitAmount : 12.000000,LineAmount : 12.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18772928528) - North America Toll Free",Quantity : 1,UnitAmount : 5.000000,LineAmount : 5.000000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Loyalty discount - $10/month - No expiry (XR)",Quantity : 1,UnitAmount : -10.000000,LineAmount : -10.000000} [2025-03-20 08:10:20] Production.INFO: ==== result ===== [2025-03-20 08:10:20] Production.INFO: { "Id": "9a23dc5e-b0f6-4cef-9aea-b5fc6a7116c4", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472620856)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "ac7f12db-09cf-40a1-aed4-bc9a771962f0", "InvoiceNumber": "INV11564", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 36.16, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "42f3da1b-13b4-4bab-b989-2a74b97947bd", "ContactStatus": "ACTIVE", "Name": "Stars & Maple Tours", "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(1533070471157+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-19T00:00:00", "Date": "\/Date(1739923200000+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 an Unlimited Canada/US Cloud Phone extension", "UnitAmount": 5.00, "TaxType": "TAX020", "TaxAmount": 3.25, "LineAmount": 25.00, "AccountCode": "203", "Tracking": [], "Quantity": 5.0000, "DiscountRate": 0.00, "LineItemID": "7035d8e1-6ad9-4003-930c-ba17f153f58e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (611800431330) - Australia Toll Free", "UnitAmount": 12.00, "TaxType": "TAX020", "TaxAmount": 1.56, "LineAmount": 12.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "c038307d-f129-48df-9880-437c8c46e3b0", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (18772928528) - North America Toll Free", "UnitAmount": 5.00, "TaxType": "TAX020", "TaxAmount": 0.65, "LineAmount": 5.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "032db740-c9ac-4995-92ce-6a774b2e1019", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Loyalty discount - $10/month - No expiry (XR)", "UnitAmount": -10.00, "TaxType": "TAX020", "TaxAmount": -1.30, "LineAmount": -10.00, "AccountCode": "303", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "331e59da-891a-4409-852d-6c35061ca896", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 32.00, "TotalTax": 4.16, "Total": 36.16, "UpdatedDateUTC": "\/Date(1742472620810+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:10:21] Production.INFO: -- Create Invoice id --ac7f12db-09cf-40a1-aed4-bc9a771962f0 [2025-03-20 08:10:21] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:10:21] Production.INFO: CheckInvoice xerov2: INV11565 [2025-03-20 08:10:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11565 [2025-03-20 08:10:23] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:10:23] Production.INFO: Invoice SubTotal 15.410000 [2025-03-20 08:10:23] Production.INFO: Invoice DetTotal 15.41 [2025-03-20 08:10:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Halcyon%20Travel" [2025-03-20 08:10:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:10:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:10:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:10:36] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-19-2025 To 02-18-2025",Quantity : 1,UnitAmount : 2.910000,LineAmount : 2.910000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 1,UnitAmount : 10.000000,LineAmount : 10.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19052019009 - 50 Anderson Ave., Markham, ON L6E 1A6 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 08:10:39] Production.INFO: ==== result ===== [2025-03-20 08:10:39] Production.INFO: { "Id": "6f129068-5016-4c7b-b075-d0a46825938d", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472639231)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "9abab1e9-560f-4a9f-987b-f9b57472dce1", "InvoiceNumber": "INV11565", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 17.42, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "2fb0f102-2ef2-41cf-8d40-4c3f58cf996f", "ContactStatus": "ACTIVE", "Name": "Halcyon Travel", "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(1533070479233+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-19T00:00:00", "Date": "\/Date(1739923200000+0000)\/", "DueDateString": "2025-03-21T00:00:00", "DueDate": "\/Date(1742515200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-19-2025 To 02-18-2025", "UnitAmount": 2.91, "TaxType": "TAX020", "TaxAmount": 0.38, "LineAmount": 2.91, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "edffc345-ba94-4433-ae0c-a68941ac68a8", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for a Pay As You Go Cloud Phone extension", "UnitAmount": 10.00, "TaxType": "TAX020", "TaxAmount": 1.30, "LineAmount": 10.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "796424b4-68a1-47dc-ad73-fa5df26593e2", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (19052019009 - 50 Anderson Ave., Markham, ON L6E 1A6 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "1204ef00-6fae-43bc-a14c-7666c1020eb4", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 15.41, "TotalTax": 2.01, "Total": 17.42, "UpdatedDateUTC": "\/Date(1742472639183+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:10:39] Production.INFO: -- Create Invoice id --9abab1e9-560f-4a9f-987b-f9b57472dce1 [2025-03-20 08:10:39] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:10:39] Production.INFO: -- Xero End Inovice -- [2025-03-20 08:10:39] Production.INFO: ==28518== Releasing lock... [2025-03-20 08:10:39] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10798 #Stops# [2025-03-20 08:10:39] Production.INFO: 34 MB #Memory Used#