[2025-01-28 05:26:03] Production.INFO: -- Xero Api Check -- [2025-01-28 05:26: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] => 854 [request_size] => 352 [filetime] => -1 [ssl_verify_result] => 0 [redirect_count] => 0 [total_time] => 1.323313 [namelookup_time] => 0.550924 [connect_time] => 0.639935 [pretransfer_time] => 1.093057 [size_upload] => 82 [size_download] => 2755 [speed_download] => 2081 [speed_upload] => 61 [download_content_length] => 2755 [upload_content_length] => 82 [starttransfer_time] => 1.323264 [redirect_time] => 0 [redirect_url] => [primary_ip] => 2.21.67.32 [certinfo] => Array ( ) [primary_port] => 443 [local_ip] => 54.39.180.235 [local_port] => 45052 ) [2025-01-28 05:26:05] Production.INFO: -- connection successfully here --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzgwNTk5NjUsImV4cCI6MTczODA2MDI2NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM4MDU5OTY1LCJhdF9oYXNoIjoiNTlKaE82X2lrdUR6UVZSUVlBeU1MZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzM4MDUzNjgxLCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiMmI2OWFjNWVkODI2NGE2N2I3ZDAwMzljNzFjMjhkYTkiLCJzaWQiOiIyYjY5YWM1ZWQ4MjY0YTY3YjdkMDAzOWM3MWMyOGRhOSIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.D7d-I_ctHlaoCkvNChYXDeSMpEYiqhLQXa7unBHuyOaepw_ZLXFwbTfjSBCT4aKoUKy8Pg6HGl5qVrLdzjQi21T9wH_zIBe-h3vmbe5yVvHRD_DKXeUMOmi5-9q_uL1klegtRvIStp56OnvGZOqoijJyJ7ZN5I7cNXoRq_XCPhciafm6jGkvD92RYrImgRTxHoYr2nsmNhkrhft3olc8CRdm-z4LdR5NfqILKTEORonA2GqRphTnbIZ5tUr0gqDkK7CwPmp8_WXg84_2tdlvLpMCkTFxMh_4YDsg20ufs2hrVsY3lTcOGeXjRve_ZFzLNKQRGuLRKo1R0fbll34Zxg [access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzgwNTk5NjUsImV4cCI6MTczODA2MTc2NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczODA1MzY4MSwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6IjJiNjlhYzVlZDgyNjRhNjdiN2QwMDM5YzcxYzI4ZGE5Iiwic2lkIjoiMmI2OWFjNWVkODI2NGE2N2I3ZDAwMzljNzFjMjhkYTkiLCJqdGkiOiI2ODlBQTc4QThDNUQ2NTFDNzBBOTFDMTBBNTlEMjRGRCIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiMjc4M2YzN2MtNjY4OS00YzA0LWExZjMtYmEyOWYwNzYyNzhmIiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.umlkerUPICATrb7tofbAy9bX12w140d_hAbtBDjXmY6ls6-VH9NUPpY5DIaVTY85gHHzJx5m_k1rUsXEBZ6-mezCnWn_0klo-ruKt3vGh_Za02IjXxggkmSnHQXPrDoo06lZWqLa1JL5zhEOzOqTnyo_aj-n4_oqW7bkGzZI3RLgR1vjc0f8-5S30QBnHjWW7Va4TyEzKFgmmt_i1IUc3BPeLrtAzXraEeHi6GmyXV4SwfmyurOy6iPirl28rJSSg22TEBLP605NlZjJIy6I9ol92BfLrQ28K5eoukSK1WlmVNcyurpkjYXxV8FKSGog_w91JJwqCGcpMaP_Uzl8Ug [expires_in] => 1800 [token_type] => Bearer [refresh_token] => XYyeN9Aw34fkbRPrRm9gx_T3SymFb3MVU7JJeZ-1MPU [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-01-28 05:26:05] Production.INFO: -- connection successfully --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzgwNTk5NjUsImV4cCI6MTczODA2MDI2NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM4MDU5OTY1LCJhdF9oYXNoIjoiNTlKaE82X2lrdUR6UVZSUVlBeU1MZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzM4MDUzNjgxLCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiMmI2OWFjNWVkODI2NGE2N2I3ZDAwMzljNzFjMjhkYTkiLCJzaWQiOiIyYjY5YWM1ZWQ4MjY0YTY3YjdkMDAzOWM3MWMyOGRhOSIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.D7d-I_ctHlaoCkvNChYXDeSMpEYiqhLQXa7unBHuyOaepw_ZLXFwbTfjSBCT4aKoUKy8Pg6HGl5qVrLdzjQi21T9wH_zIBe-h3vmbe5yVvHRD_DKXeUMOmi5-9q_uL1klegtRvIStp56OnvGZOqoijJyJ7ZN5I7cNXoRq_XCPhciafm6jGkvD92RYrImgRTxHoYr2nsmNhkrhft3olc8CRdm-z4LdR5NfqILKTEORonA2GqRphTnbIZ5tUr0gqDkK7CwPmp8_WXg84_2tdlvLpMCkTFxMh_4YDsg20ufs2hrVsY3lTcOGeXjRve_ZFzLNKQRGuLRKo1R0fbll34Zxg [access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzgwNTk5NjUsImV4cCI6MTczODA2MTc2NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczODA1MzY4MSwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6IjJiNjlhYzVlZDgyNjRhNjdiN2QwMDM5YzcxYzI4ZGE5Iiwic2lkIjoiMmI2OWFjNWVkODI2NGE2N2I3ZDAwMzljNzFjMjhkYTkiLCJqdGkiOiI2ODlBQTc4QThDNUQ2NTFDNzBBOTFDMTBBNTlEMjRGRCIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiMjc4M2YzN2MtNjY4OS00YzA0LWExZjMtYmEyOWYwNzYyNzhmIiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.umlkerUPICATrb7tofbAy9bX12w140d_hAbtBDjXmY6ls6-VH9NUPpY5DIaVTY85gHHzJx5m_k1rUsXEBZ6-mezCnWn_0klo-ruKt3vGh_Za02IjXxggkmSnHQXPrDoo06lZWqLa1JL5zhEOzOqTnyo_aj-n4_oqW7bkGzZI3RLgR1vjc0f8-5S30QBnHjWW7Va4TyEzKFgmmt_i1IUc3BPeLrtAzXraEeHi6GmyXV4SwfmyurOy6iPirl28rJSSg22TEBLP605NlZjJIy6I9ol92BfLrQ28K5eoukSK1WlmVNcyurpkjYXxV8FKSGog_w91JJwqCGcpMaP_Uzl8Ug [expires_in] => 1800 [token_type] => Bearer [refresh_token] => XYyeN9Aw34fkbRPrRm9gx_T3SymFb3MVU7JJeZ-1MPU [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-01-28 05:26:05] Production.INFO: AccountID 39 [2025-01-28 05:26:05] Production.INFO: AccountName Riavera [2025-01-28 05:26:05] Production.INFO: Checkcustomer [2025-01-28 05:26:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Riavera" [2025-01-28 05:26:08] Production.INFO: Contact id print CheckCustomer Case===e55c0831-3c53-4fcf-8b75-89133eb5af09 [2025-01-28 05:26:08] Production.INFO: -- count --1 [2025-01-28 05:26:08] Production.INFO: AccountID 90 [2025-01-28 05:26:08] Production.INFO: AccountName Terry Anderson [2025-01-28 05:26:08] Production.INFO: Checkcustomer [2025-01-28 05:26:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Terry%20Anderson" [2025-01-28 05:26:10] Production.INFO: Contact id print CheckCustomer Case===d5be271f-e649-44ed-a97e-8af24111fe24 [2025-01-28 05:26:10] Production.INFO: -- count --1 [2025-01-28 05:26:10] Production.INFO: AccountID 90 [2025-01-28 05:26:10] Production.INFO: AccountName Terry Anderson [2025-01-28 05:26:10] Production.INFO: Checkcustomer [2025-01-28 05:26:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Terry%20Anderson" [2025-01-28 05:26:13] Production.INFO: Contact id print CheckCustomer Case===d5be271f-e649-44ed-a97e-8af24111fe24 [2025-01-28 05:26:13] Production.INFO: -- count --1 [2025-01-28 05:26:13] Production.INFO: AccountID 242 [2025-01-28 05:26:13] Production.INFO: AccountName Ball Construction [2025-01-28 05:26:13] Production.INFO: Checkcustomer [2025-01-28 05:26:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Ball%20Construction" [2025-01-28 05:26:16] Production.INFO: Contact id print CheckCustomer Case===b0bd4d3e-7d9a-4f7f-a743-aafe2ee02798 [2025-01-28 05:26:16] Production.INFO: -- count --1 [2025-01-28 05:26:16] Production.INFO: AccountID 90 [2025-01-28 05:26:16] Production.INFO: AccountName Terry Anderson [2025-01-28 05:26:16] Production.INFO: Checkcustomer [2025-01-28 05:26:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Terry%20Anderson" [2025-01-28 05:26:19] Production.INFO: Contact id print CheckCustomer Case===d5be271f-e649-44ed-a97e-8af24111fe24 [2025-01-28 05:26:19] Production.INFO: -- count --1 [2025-01-28 05:26:19] Production.INFO: AccountID 90 [2025-01-28 05:26:19] Production.INFO: AccountName Terry Anderson [2025-01-28 05:26:19] Production.INFO: Checkcustomer [2025-01-28 05:26:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Terry%20Anderson" [2025-01-28 05:26:22] Production.INFO: Contact id print CheckCustomer Case===d5be271f-e649-44ed-a97e-8af24111fe24 [2025-01-28 05:26:22] Production.INFO: -- count --1 [2025-01-28 05:26:22] Production.INFO: AccountID 53 [2025-01-28 05:26:22] Production.INFO: AccountName Plus Travel Group [2025-01-28 05:26:22] Production.INFO: Checkcustomer [2025-01-28 05:26:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group" [2025-01-28 05:26:25] Production.INFO: Contact id print CheckCustomer Case===5f6b39a6-c5bb-485f-9fdd-a6c7a1eccc47 [2025-01-28 05:26:25] Production.INFO: -- count --1 [2025-01-28 05:26:25] Production.INFO: AccountID 90 [2025-01-28 05:26:25] Production.INFO: AccountName Terry Anderson [2025-01-28 05:26:25] Production.INFO: Checkcustomer [2025-01-28 05:26:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Terry%20Anderson" [2025-01-28 05:26:27] Production.INFO: Contact id print CheckCustomer Case===d5be271f-e649-44ed-a97e-8af24111fe24 [2025-01-28 05:26:27] Production.INFO: -- count --1 [2025-01-28 05:26:27] Production.INFO: AccountID 192 [2025-01-28 05:26:27] Production.INFO: AccountName Ontario Turtle Conservation Centre [2025-01-28 05:26:27] Production.INFO: Checkcustomer [2025-01-28 05:26:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Ontario%20Turtle%20Conservation%20Centre" [2025-01-28 05:26:30] Production.INFO: Contact id print CheckCustomer Case===24cd1aba-5ae0-4087-aad8-a6d157b1a548 [2025-01-28 05:26:30] Production.INFO: -- count --1 [2025-01-28 05:26:30] Production.INFO: AccountID 32 [2025-01-28 05:26:30] Production.INFO: AccountName Dominos 10353 (Ronny Khan) [2025-01-28 05:26:30] Production.INFO: Checkcustomer [2025-01-28 05:26:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010353%20%28Ronny%20Khan%29" [2025-01-28 05:26:33] Production.INFO: Contact id print CheckCustomer Case===a80d32c8-bbaa-43c9-b4d0-a7fff9d3ef21 [2025-01-28 05:26:33] Production.INFO: -- count --1 [2025-01-28 05:26:33] Production.INFO: AccountID 136 [2025-01-28 05:26:33] Production.INFO: AccountName Dominos 10483 (Ronny Khan) [2025-01-28 05:26:33] Production.INFO: Checkcustomer [2025-01-28 05:26:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010483%20%28Ronny%20Khan%29" [2025-01-28 05:26:36] Production.INFO: Contact id print CheckCustomer Case===39e8e2e7-bbd0-4c58-9676-ff9889ed0960 [2025-01-28 05:26:36] Production.INFO: -- count --1 [2025-01-28 05:26:36] Production.INFO: AccountID 146 [2025-01-28 05:26:36] Production.INFO: AccountName Destawed [2025-01-28 05:26:36] Production.INFO: Checkcustomer [2025-01-28 05:26:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Destawed" [2025-01-28 05:26:38] Production.INFO: Contact id print CheckCustomer Case===4fde2a4c-1ac0-4a92-9312-bc67898ee56e [2025-01-28 05:26:38] Production.INFO: -- count --1 [2025-01-28 05:26:38] Production.INFO: AccountID 184 [2025-01-28 05:26:38] Production.INFO: AccountName TTC (Donlands - Strathmore Subway) - Construction Site (Cancom - Think Secure) [2025-01-28 05:26:38] Production.INFO: Checkcustomer [2025-01-28 05:26:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="TTC%20%28Donlands%20-%20Strathmore%20Subway%29%20-%20Construction%20Site%20%28Cancom%20-%20Think%20Secure%29" [2025-01-28 05:26:41] Production.INFO: Contact id print CheckCustomer Case===bc13c86d-cd70-4f32-948a-d1f4850061a0 [2025-01-28 05:26:41] Production.INFO: -- count --1 [2025-01-28 05:26:41] Production.INFO: AccountID 185 [2025-01-28 05:26:41] Production.INFO: AccountName TTC (College-Subway) - Construction Site (Cancom - Think Secure) [2025-01-28 05:26:41] Production.INFO: Checkcustomer [2025-01-28 05:26:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="TTC%20%28College-Subway%29%20-%20Construction%20Site%20%28Cancom%20-%20Think%20Secure%29" [2025-01-28 05:26:44] Production.INFO: Contact id print CheckCustomer Case===8c5c7d93-c398-4829-91b3-8174fe21f9a7 [2025-01-28 05:26:44] Production.INFO: -- count --1 [2025-01-28 05:26:44] Production.INFO: AccountID 187 [2025-01-28 05:26:44] Production.INFO: AccountName Graybill & Hazlewood - Trial Lawyers [2025-01-28 05:26:44] Production.INFO: Checkcustomer [2025-01-28 05:26:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Graybill%20%26%20Hazlewood%20-%20Trial%20Lawyers" [2025-01-28 05:26:46] Production.INFO: Contact id print CheckCustomer Case===b306e9f3-f561-41b4-bd54-ad2d17a96c90 [2025-01-28 05:26:46] Production.INFO: -- count --1 [2025-01-28 05:26:46] Production.INFO: AccountID 230 [2025-01-28 05:26:46] Production.INFO: AccountName Harbourfront Medicine Cabinet [2025-01-28 05:26:46] Production.INFO: Checkcustomer [2025-01-28 05:26:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harbourfront%20Medicine%20Cabinet" [2025-01-28 05:26:50] Production.INFO: Contact id print CheckCustomer Case===e4609e79-2a2f-49b0-a0f8-9766de2b1774 [2025-01-28 05:26:50] Production.INFO: -- count --1 [2025-01-28 05:26:50] Production.INFO: AccountID 57 [2025-01-28 05:26:50] Production.INFO: AccountName Dominos 39041 (Rishi Kakar) [2025-01-28 05:26:50] Production.INFO: Checkcustomer [2025-01-28 05:26:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039041%20%28Rishi%20Kakar%29" [2025-01-28 05:26:53] Production.INFO: Contact id print CheckCustomer Case===e874c379-a70c-405c-bc58-0ac6921c29ba [2025-01-28 05:26:53] Production.INFO: -- count --1 [2025-01-28 05:26:53] Production.INFO: AccountID 107 [2025-01-28 05:26:53] Production.INFO: AccountName Dominos 10179 (Akshay Naik) [2025-01-28 05:26:53] Production.INFO: Checkcustomer [2025-01-28 05:26:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010179%20%28Akshay%20Naik%29" [2025-01-28 05:26:55] Production.INFO: Contact id print CheckCustomer Case===669bb033-93e4-4d2e-aa92-454e682a5c09 [2025-01-28 05:26:55] Production.INFO: -- count --1 [2025-01-28 05:26:55] Production.INFO: AccountID 140 [2025-01-28 05:26:55] Production.INFO: AccountName PharmaSave (Uxbridge) [2025-01-28 05:26:55] Production.INFO: Checkcustomer [2025-01-28 05:26:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="PharmaSave%20%28Uxbridge%29" [2025-01-28 05:26:58] Production.INFO: Contact id print CheckCustomer Case===ac797c62-9d84-4beb-9f18-85a8d961b94f [2025-01-28 05:26:58] Production.INFO: -- count --1 [2025-01-28 05:26:58] Production.INFO: AccountID 161 [2025-01-28 05:26:58] Production.INFO: AccountName Dominos 10476 (Sandeep Chaudhari) [2025-01-28 05:26:58] Production.INFO: Checkcustomer [2025-01-28 05:26:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010476%20%28Sandeep%20Chaudhari%29" [2025-01-28 05:27:01] Production.INFO: Contact id print CheckCustomer Case===fc4aff1d-c37f-4c5c-9191-e58f25d1bcb1 [2025-01-28 05:27:01] Production.INFO: -- count --1 [2025-01-28 05:27:01] Production.INFO: AccountID 93 [2025-01-28 05:27:01] Production.INFO: AccountName Personas [2025-01-28 05:27:01] Production.INFO: Checkcustomer [2025-01-28 05:27:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Personas" [2025-01-28 05:27:03] Production.INFO: Contact id print CheckCustomer Case===31472f57-4acd-4468-9ab0-8ed346b2d96f [2025-01-28 05:27:03] Production.INFO: -- count --1 [2025-01-28 05:27:03] Production.INFO: AccountID 151 [2025-01-28 05:27:03] Production.INFO: AccountName Dominos 10584 (Rick Singh) [2025-01-28 05:27:03] Production.INFO: Checkcustomer [2025-01-28 05:27:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010584%20%28Rick%20Singh%29" [2025-01-28 05:27:06] Production.INFO: Contact id print CheckCustomer Case===1e8b6299-6571-4c51-87f6-a0280833b109 [2025-01-28 05:27:06] Production.INFO: -- count --1 [2025-01-28 05:27:06] Production.INFO: AccountID 14 [2025-01-28 05:27:06] Production.INFO: AccountName Dominos 10515 (Ronny Khan) [2025-01-28 05:27:06] Production.INFO: Checkcustomer [2025-01-28 05:27:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010515%20%28Ronny%20Khan%29" [2025-01-28 05:27:09] Production.INFO: Contact id print CheckCustomer Case===de29a9c7-cecf-49b7-b42f-7b106467f0ce [2025-01-28 05:27:09] Production.INFO: -- count --1 [2025-01-28 05:27:09] Production.INFO: AccountID 67 [2025-01-28 05:27:09] Production.INFO: AccountName Stars & Maple Tours [2025-01-28 05:27:09] Production.INFO: Checkcustomer [2025-01-28 05:27:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Stars%20%26%20Maple%20Tours" [2025-01-28 05:27:12] Production.INFO: Contact id print CheckCustomer Case===42f3da1b-13b4-4bab-b989-2a74b97947bd [2025-01-28 05:27:12] Production.INFO: -- count --1 [2025-01-28 05:27:12] Production.INFO: AccountID 78 [2025-01-28 05:27:12] Production.INFO: AccountName Halcyon Travel [2025-01-28 05:27:12] Production.INFO: Checkcustomer [2025-01-28 05:27:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Halcyon%20Travel" [2025-01-28 05:27:14] Production.INFO: Contact id print CheckCustomer Case===2fb0f102-2ef2-41cf-8d40-4c3f58cf996f [2025-01-28 05:27:14] Production.INFO: -- count --1 [2025-01-28 05:27:14] Production.INFO: AccountID 102 [2025-01-28 05:27:14] Production.INFO: AccountName Dominos 39013 (Mudassar Zia) [2025-01-28 05:27:14] Production.INFO: Checkcustomer [2025-01-28 05:27:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039013%20%28Mudassar%20Zia%29" [2025-01-28 05:27:17] Production.INFO: Contact id print CheckCustomer Case===8893c88d-0603-4dd4-9524-da8cd6ed65c9 [2025-01-28 05:27:17] Production.INFO: -- count --1 [2025-01-28 05:27:17] Production.INFO: AccountID 121 [2025-01-28 05:27:17] Production.INFO: AccountName Dominos 10462 (Anwar Hossain) [2025-01-28 05:27:17] Production.INFO: Checkcustomer [2025-01-28 05:27:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010462%20%28Anwar%20Hossain%29" [2025-01-28 05:27:19] Production.INFO: Contact id print CheckCustomer Case===dd9d12a6-43e5-42f4-9c71-f881ac0e5dfe [2025-01-28 05:27:19] Production.INFO: -- count --1 [2025-01-28 05:27:19] Production.INFO: AccountID 17 [2025-01-28 05:27:19] Production.INFO: AccountName UNIGLOBE Bon Voyage Travel [2025-01-28 05:27:19] Production.INFO: Checkcustomer [2025-01-28 05:27:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Bon%20Voyage%20Travel" [2025-01-28 05:27:22] Production.INFO: Contact id print CheckCustomer Case===b3f98fb9-7d83-4a9d-a9db-618acdfb5df3 [2025-01-28 05:27:22] Production.INFO: -- count --1 [2025-01-28 05:27:22] Production.INFO: AccountID 18 [2025-01-28 05:27:22] Production.INFO: AccountName Sivananda Ashram Yoga Retreat [2025-01-28 05:27:22] Production.INFO: Checkcustomer [2025-01-28 05:27:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Sivananda%20Ashram%20Yoga%20Retreat" [2025-01-28 05:27:24] Production.INFO: Contact id print CheckCustomer Case===64c07100-e054-4831-b9c1-0c728c4e9ba3 [2025-01-28 05:27:24] Production.INFO: -- count --1 [2025-01-28 05:27:24] Production.INFO: AccountID 34 [2025-01-28 05:27:24] Production.INFO: AccountName Escape Games Canada [2025-01-28 05:27:24] Production.INFO: Checkcustomer [2025-01-28 05:27:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Escape%20Games%20Canada" [2025-01-28 05:27:27] Production.INFO: Contact id print CheckCustomer Case===f8bf0f6c-4bd5-483c-b42f-b3dd4f2c7deb [2025-01-28 05:27:27] Production.INFO: -- count --1 [2025-01-28 05:27:27] Production.INFO: AccountID 85 [2025-01-28 05:27:27] Production.INFO: AccountName MK TAXPLUS LTD [2025-01-28 05:27:27] Production.INFO: Checkcustomer [2025-01-28 05:27:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="MK%20TAXPLUS%20LTD" [2025-01-28 05:27:30] Production.INFO: Contact id print CheckCustomer Case===b2a980df-8333-4b5e-8b50-c1d40e826ba3 [2025-01-28 05:27:30] Production.INFO: -- count --1 [2025-01-28 05:27:30] Production.INFO: AccountID 87 [2025-01-28 05:27:30] Production.INFO: AccountName Small Business Owners & Professionals Association [2025-01-28 05:27:30] Production.INFO: Checkcustomer [2025-01-28 05:27:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Small%20Business%20Owners%20%26%20Professionals%20Association" [2025-01-28 05:27:33] Production.INFO: Contact id print CheckCustomer Case===e8c42b4a-0408-4ca6-a815-dbd8da598a80 [2025-01-28 05:27:33] Production.INFO: -- count --1 [2025-01-28 05:27:33] Production.INFO: AccountID 100 [2025-01-28 05:27:33] Production.INFO: AccountName Dominos 10538 (Waqas Ayaz) [2025-01-28 05:27:33] Production.INFO: Checkcustomer [2025-01-28 05:27:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010538%20%28Waqas%20Ayaz%29" [2025-01-28 05:27:36] Production.INFO: Contact id print CheckCustomer Case===7b571efd-034b-4c11-82c7-5ed343693624 [2025-01-28 05:27:36] Production.INFO: -- count --1 [2025-01-28 05:27:36] Production.INFO: AccountID 86 [2025-01-28 05:27:36] Production.INFO: AccountName Selective Conformal Coatings Inc. [2025-01-28 05:27:36] Production.INFO: Checkcustomer [2025-01-28 05:27:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Selective%20Conformal%20Coatings%20Inc." [2025-01-28 05:27:38] Production.INFO: Contact id print CheckCustomer Case===829ddc9d-f1ae-447b-9687-394867f488a7 [2025-01-28 05:27:38] Production.INFO: -- count --1 [2025-01-28 05:27:38] Production.INFO: AccountID 226 [2025-01-28 05:27:38] Production.INFO: AccountName Dominos 10189 (Akshay Naik) [2025-01-28 05:27:38] Production.INFO: Checkcustomer [2025-01-28 05:27:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010189%20%28Akshay%20Naik%29" [2025-01-28 05:27:41] Production.INFO: Contact id print CheckCustomer Case===4982fdbe-e8c3-4cfb-854b-994478db81a7 [2025-01-28 05:27:41] Production.INFO: -- count --1 [2025-01-28 05:27:41] Production.INFO: AccountID 7 [2025-01-28 05:27:41] Production.INFO: AccountName Dominos 10099 (Mudassar Zia) [2025-01-28 05:27:41] Production.INFO: Checkcustomer [2025-01-28 05:27:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010099%20%28Mudassar%20Zia%29" [2025-01-28 05:27:43] Production.INFO: Contact id print CheckCustomer Case===71c34967-10de-4adf-ac3c-873348ba60c5 [2025-01-28 05:27:43] Production.INFO: -- count --1 [2025-01-28 05:27:43] Production.INFO: AccountID 74 [2025-01-28 05:27:43] Production.INFO: AccountName Dominos 10532 (Sandeep Chaudhari) [2025-01-28 05:27:43] Production.INFO: Checkcustomer [2025-01-28 05:27:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010532%20%28Sandeep%20Chaudhari%29" [2025-01-28 05:27:46] Production.INFO: Contact id print CheckCustomer Case===dded1f8a-d8ba-43e9-a033-ca82f3d54f47 [2025-01-28 05:27:46] Production.INFO: -- count --1 [2025-01-28 05:27:46] Production.INFO: AccountID 110 [2025-01-28 05:27:46] Production.INFO: AccountName Dominos 10422 (David Mills) [2025-01-28 05:27:46] Production.INFO: Checkcustomer [2025-01-28 05:27:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010422%20%28David%20Mills%29" [2025-01-28 05:27:49] Production.INFO: Contact id print CheckCustomer Case===56e7aabd-b1e3-4807-a57f-483fba350c3e [2025-01-28 05:27:49] Production.INFO: -- count --1 [2025-01-28 05:27:49] Production.INFO: AccountID 111 [2025-01-28 05:27:49] Production.INFO: AccountName Dominos 10545 (Mohan Kantha) [2025-01-28 05:27:49] Production.INFO: Checkcustomer [2025-01-28 05:27:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010545%20%28Mohan%20Kantha%29" [2025-01-28 05:27:51] Production.INFO: Contact id print CheckCustomer Case===922fdab1-eecb-4982-8db6-fe1325f04d0d [2025-01-28 05:27:51] Production.INFO: -- count --1 [2025-01-28 05:27:51] Production.INFO: AccountID 101 [2025-01-28 05:27:51] Production.INFO: AccountName Dominos 10364 (Shane Linthorne) [2025-01-28 05:27:51] Production.INFO: Checkcustomer [2025-01-28 05:27:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010364%20%28Shane%20Linthorne%29" [2025-01-28 05:27:54] Production.INFO: Contact id print CheckCustomer Case===12ca1405-c90f-4ad7-83b0-d937a569ffd9 [2025-01-28 05:27:54] Production.INFO: -- count --1 [2025-01-28 05:27:54] Production.INFO: AccountID 33 [2025-01-28 05:27:54] Production.INFO: AccountName Dominos 10395 (Ronny Khan) [2025-01-28 05:27:54] Production.INFO: Checkcustomer [2025-01-28 05:27:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010395%20%28Ronny%20Khan%29" [2025-01-28 05:27:57] Production.INFO: Contact id print CheckCustomer Case===2ad5ad33-c3c5-457d-96a1-96787e4ed1ae [2025-01-28 05:27:57] Production.INFO: -- count --1 [2025-01-28 05:27:57] Production.INFO: AccountID 183 [2025-01-28 05:27:57] Production.INFO: AccountName Sunnybrook - Construction Site (Cancom - Think Secure) [2025-01-28 05:27:57] Production.INFO: Checkcustomer [2025-01-28 05:27:57] 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-01-28 05:28:00] Production.INFO: Contact id print CheckCustomer Case===9438f80c-bb9a-4440-84ef-9c1f20f46b34 [2025-01-28 05:28:00] Production.INFO: -- count --1 [2025-01-28 05:28:00] Production.INFO: -- Xero Add Inovice -- [2025-01-28 05:28:00] Production.INFO: CheckInvoice xerov2: INV9661 [2025-01-28 05:28:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV9661 [2025-01-28 05:28:02] Production.INFO: Check Invoice Id XEROV21 [2025-01-28 05:28:02] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:28:02] Production.INFO: CheckInvoice xerov2: INV10627 [2025-01-28 05:28:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10627 [2025-01-28 05:28:05] Production.INFO: Check Invoice Id XEROV20 [2025-01-28 05:28:05] Production.INFO: Invoice SubTotal 3.000000 [2025-01-28 05:28:05] Production.INFO: Invoice DetTotal 3 [2025-01-28 05:28:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Terry%20Anderson" [2025-01-28 05:28:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-28 05:28:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-28 05:28:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-28 05:28:16] 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-01-28 05:28:19] Production.INFO: ==== result ===== [2025-01-28 05:28:19] Production.INFO: { "ErrorNumber": 14, "Type": "PostDataInvalidException", "Message": "Invalid Json data" } [2025-01-28 05:28:19] 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-01-28 05:28:19] Production.INFO: -- Create Invoice Error --Undefined property: stdClass::$Invoices [2025-01-28 05:28:19] Production.INFO: -- Create Invoice Error -- [2025-01-28 05:28:19] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:28:19] Production.INFO: CheckInvoice xerov2: INV10809 [2025-01-28 05:28:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10809 [2025-01-28 05:28:22] Production.INFO: Check Invoice Id XEROV20 [2025-01-28 05:28:22] Production.INFO: Invoice SubTotal 3.000000 [2025-01-28 05:28:22] Production.INFO: Invoice DetTotal 3 [2025-01-28 05:28:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Terry%20Anderson" [2025-01-28 05:28:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-28 05:28:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-28 05:28:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-28 05:28:33] 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-01-28 05:28:36] Production.INFO: ==== result ===== [2025-01-28 05:28:36] Production.INFO: { "ErrorNumber": 14, "Type": "PostDataInvalidException", "Message": "Invalid Json data" } [2025-01-28 05:28:36] 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-01-28 05:28:36] Production.INFO: -- Create Invoice Error --Undefined property: stdClass::$Invoices [2025-01-28 05:28:36] Production.INFO: -- Create Invoice Error -- [2025-01-28 05:28:36] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:28:36] Production.INFO: CheckInvoice xerov2: INV10865 [2025-01-28 05:28:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10865 [2025-01-28 05:28:39] Production.INFO: Check Invoice Id XEROV20 [2025-01-28 05:28:39] Production.INFO: Invoice SubTotal 1615.760000 [2025-01-28 05:28:39] Production.INFO: Invoice DetTotal 1615.76 [2025-01-28 05:28:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Ball%20Construction" [2025-01-28 05:28:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-28 05:28:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-28 05:28:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-28 05:28:51] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 5.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension (06-18-2024 to 07-08-2024)",Quantity : 25,UnitAmount : 8.700000,LineAmount : 206.620000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 5.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension (07-08-2024 to 08-08-2024)",Quantity : 25,UnitAmount : 12.990000,LineAmount : 308.510000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 5.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension (08-08-2024 to 09-08-2024)",Quantity : 25,UnitAmount : 12.990000,LineAmount : 308.510000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 5.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension (09-08-2024 to 10-08-2024)",Quantity : 25,UnitAmount : 12.990000,LineAmount : 308.510000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 5.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension (10-08-2024 to 11-08-2024)",Quantity : 25,UnitAmount : 12.990000,LineAmount : 308.510000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal (06-18-2024 to 07-08-2024)",Quantity : 1,UnitAmount : 6.670000,LineAmount : 6.670000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal (07-08-2024 to 08-08-2024)",Quantity : 1,UnitAmount : 10.000000,LineAmount : 10.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal (08-08-2024 to 09-08-2024)",Quantity : 1,UnitAmount : 10.000000,LineAmount : 10.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal (09-08-2024 to 10-08-2024)",Quantity : 1,UnitAmount : 10.000000,LineAmount : 10.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal (10-08-2024 to 11-08-2024)",Quantity : 1,UnitAmount : 10.000000,LineAmount : 10.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone add-on (06-18-2024 to 07-08-2024)",Quantity : 25,UnitAmount : 0.670000,LineAmount : 16.750000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone add-on (07-08-2024 to 08-08-2024)",Quantity : 25,UnitAmount : 1.000000,LineAmount : 25.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone add-on (08-08-2024 to 09-08-2024)",Quantity : 25,UnitAmount : 1.000000,LineAmount : 25.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone add-on (09-08-2024 to 10-08-2024)",Quantity : 25,UnitAmount : 1.000000,LineAmount : 25.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone add-on (10-08-2024 to 11-08-2024)",Quantity : 25,UnitAmount : 1.000000,LineAmount : 25.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (5197425851 - 5 Shirley Ave, Kitchener, ON N2B 2E6) (06-18-2024 to 07-08-2024)",Quantity : 1,UnitAmount : 1.680000,LineAmount : 1.680000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (07-08-2024 to 08-08-2024) ",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (08-08-2024 to 09-08-2024)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (09-08-2024 to 10-08-2024)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (10-08-2024 to 11-08-2024)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-01-28 05:28:54] Production.INFO: ==== result ===== [2025-01-28 05:28:54] Production.INFO: { "Id": "e961adbe-5ff6-4119-ae94-f7e1c291f69a", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1738060134576)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "00000000-0000-0000-0000-000000000000", "InvoiceNumber": "INV10865", "Payments": [], "CreditNotes": [], "Prepayments": [], "Overpayments": [], "TotalDiscount": 75.84, "IsDiscounted": true, "InvoiceAddresses": [], "HasErrors": true, "InvoicePaymentServices": [], "Contact": { "ContactID": "b0bd4d3e-7d9a-4f7f-a743-aafe2ee02798", "Addresses": [], "Phones": [], "ContactGroups": [], "ContactPersons": [], "HasValidationErrors": false, "ValidationErrors": [] }, "DateString": "2024-10-10T00:00:00", "Date": "\/Date(1728518400000+0000)\/", "DueDateString": "2024-11-09T00:00:00", "DueDate": "\/Date(1731110400000+0000)\/", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "License for an Unlimited Canada/US Cloud Phone extension (06-18-2024 to 07-08-2024)", "UnitAmount": 8.700000, "TaxType": "TAX020", "TaxAmount": 26.86, "LineAmount": 206.62, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 5.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "ValidationErrors": [] }, { "Description": "License for an Unlimited Canada/US Cloud Phone extension (07-08-2024 to 08-08-2024)", "UnitAmount": 12.990000, "TaxType": "TAX020", "TaxAmount": 40.11, "LineAmount": 308.51, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 5.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "ValidationErrors": [] }, { "Description": "License for an Unlimited Canada/US Cloud Phone extension (08-08-2024 to 09-08-2024)", "UnitAmount": 12.990000, "TaxType": "TAX020", "TaxAmount": 40.11, "LineAmount": 308.51, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 5.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "ValidationErrors": [] }, { "Description": "License for an Unlimited Canada/US Cloud Phone extension (09-08-2024 to 10-08-2024)", "UnitAmount": 12.990000, "TaxType": "TAX020", "TaxAmount": 40.11, "LineAmount": 308.51, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 5.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "ValidationErrors": [] }, { "Description": "License for an Unlimited Canada/US Cloud Phone extension (10-08-2024 to 11-08-2024)", "UnitAmount": 12.990000, "TaxType": "TAX020", "TaxAmount": 40.11, "LineAmount": 308.51, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 5.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "ValidationErrors": [] }, { "Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal (06-18-2024 to 07-08-2024)", "UnitAmount": 6.670000, "TaxType": "TAX020", "TaxAmount": 0.87, "LineAmount": 6.67, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal (07-08-2024 to 08-08-2024)", "UnitAmount": 10.000000, "TaxType": "TAX020", "TaxAmount": 1.30, "LineAmount": 10.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal (08-08-2024 to 09-08-2024)", "UnitAmount": 10.000000, "TaxType": "TAX020", "TaxAmount": 1.30, "LineAmount": 10.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal (09-08-2024 to 10-08-2024)", "UnitAmount": 10.000000, "TaxType": "TAX020", "TaxAmount": 1.30, "LineAmount": 10.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal (10-08-2024 to 11-08-2024)", "UnitAmount": 10.000000, "TaxType": "TAX020", "TaxAmount": 1.30, "LineAmount": 10.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone add-on (06-18-2024 to 07-08-2024)", "UnitAmount": 0.670000, "TaxType": "TAX020", "TaxAmount": 2.18, "LineAmount": 16.75, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone add-on (07-08-2024 to 08-08-2024)", "UnitAmount": 1.000000, "TaxType": "TAX020", "TaxAmount": 3.25, "LineAmount": 25.00, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone add-on (08-08-2024 to 09-08-2024)", "UnitAmount": 1.000000, "TaxType": "TAX020", "TaxAmount": 3.25, "LineAmount": 25.00, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone add-on (09-08-2024 to 10-08-2024)", "UnitAmount": 1.000000, "TaxType": "TAX020", "TaxAmount": 3.25, "LineAmount": 25.00, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone add-on (10-08-2024 to 11-08-2024)", "UnitAmount": 1.000000, "TaxType": "TAX020", "TaxAmount": 3.25, "LineAmount": 25.00, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (5197425851 - 5 Shirley Ave, Kitchener, ON N2B 2E6) (06-18-2024 to 07-08-2024)", "UnitAmount": 1.680000, "TaxType": "TAX020", "TaxAmount": 0.22, "LineAmount": 1.68, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (07-08-2024 to 08-08-2024) ", "UnitAmount": 2.500000, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (08-08-2024 to 09-08-2024)", "UnitAmount": 2.500000, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (09-08-2024 to 10-08-2024)", "UnitAmount": 2.500000, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (10-08-2024 to 11-08-2024)", "UnitAmount": 2.500000, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 1615.76, "TotalTax": 210.09, "Total": 1825.85, "CurrencyCode": "CAD", "StatusAttributeString": "ERROR", "ValidationErrors": [ { "Message": "The line total 206.62 does not match the expected line total 206.63" } ] } ] } [2025-01-28 05:28:54] Production.INFO: -- Create Invoice Error -- [2025-01-28 05:28:54] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:28:54] Production.INFO: CheckInvoice xerov2: INV10989 [2025-01-28 05:28:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10989 [2025-01-28 05:28:57] Production.INFO: Check Invoice Id XEROV20 [2025-01-28 05:28:57] Production.INFO: Invoice SubTotal 3.000000 [2025-01-28 05:28:57] Production.INFO: Invoice DetTotal 3 [2025-01-28 05:28:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Terry%20Anderson" [2025-01-28 05:29:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-28 05:29:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-28 05:29:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-28 05:29:10] 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-01-28 05:29:13] Production.INFO: ==== result ===== [2025-01-28 05:29:13] Production.INFO: { "ErrorNumber": 14, "Type": "PostDataInvalidException", "Message": "Invalid Json data" } [2025-01-28 05:29:13] 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-01-28 05:29:13] Production.INFO: -- Create Invoice Error --Undefined property: stdClass::$Invoices [2025-01-28 05:29:13] Production.INFO: -- Create Invoice Error -- [2025-01-28 05:29:13] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:29:13] Production.INFO: CheckInvoice xerov2: INV11148 [2025-01-28 05:29:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11148 [2025-01-28 05:29:16] Production.INFO: Check Invoice Id XEROV20 [2025-01-28 05:29:16] Production.INFO: Invoice SubTotal 3.000000 [2025-01-28 05:29:16] Production.INFO: Invoice DetTotal 3 [2025-01-28 05:29:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Terry%20Anderson" [2025-01-28 05:29:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-28 05:29:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-28 05:29:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-28 05:29:28] 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-01-28 05:29:31] Production.INFO: ==== result ===== [2025-01-28 05:29:31] Production.INFO: { "ErrorNumber": 14, "Type": "PostDataInvalidException", "Message": "Invalid Json data" } [2025-01-28 05:29:31] 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-01-28 05:29:31] Production.INFO: -- Create Invoice Error --Undefined property: stdClass::$Invoices [2025-01-28 05:29:31] Production.INFO: -- Create Invoice Error -- [2025-01-28 05:29:31] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:29:31] Production.INFO: CheckInvoice xerov2: INV50007 [2025-01-28 05:29:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV50007 [2025-01-28 05:29:34] Production.INFO: Check Invoice Id XEROV20 [2025-01-28 05:29:34] Production.INFO: Invoice SubTotal 459.800000 [2025-01-28 05:29:34] Production.INFO: Invoice DetTotal 459.8 [2025-01-28 05:29:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group" [2025-01-28 05:29:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-28 05:29:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-28 05:29:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-28 05:29:46] Production.INFO: =========Invoices String here======{taxType:"TAX020",DiscountRate : 77.000000,"Description": "Managed Hosting SERVER: Windows Server 2016 Standard",Quantity : 1,UnitAmount : 198.720000,LineAmount : 45.710000},{taxType:"TAX020",DiscountRate : 77.000000,"Description": "Managed Hosting STORAGE: 500GB data storage disk",Quantity : 1,UnitAmount : 34.560000,LineAmount : 7.950000},{taxType:"TAX020",DiscountRate : 77.000000,"Description": "Cloud replication (charged per gigabyte)",Quantity : 150,UnitAmount : 0.300000,LineAmount : 10.350000},{taxType:"TAX020",DiscountRate : 77.000000,"Description": "License for each site being backed up (for servers)",Quantity : 1,UnitAmount : 60.000000,LineAmount : 13.800000},{taxType:"TAX020",DiscountRate : 77.000000,"Description": "Support for approximately 14 employee home routers",Quantity : 1,UnitAmount : 70.000000,LineAmount : 16.100000},{taxType:"TAX020",DiscountRate : 77.000000,"Description": "Management and monitor for PTG-CLO-SVR-01",Quantity : 1,UnitAmount : 25.000000,LineAmount : 5.750000},{taxType:"TAX020",DiscountRate : 77.000000,"Description": "Managed Workstation",Quantity : 17,UnitAmount : 52.000000,LineAmount : 203.320000},{taxType:"TAX020",DiscountRate : 77.000000,"Description": "Basic Monitoring and Anti-Virus",Quantity : 12,UnitAmount : 10.000000,LineAmount : 27.600000},{taxType:"TAX020",DiscountRate : 77.000000,"Description": "Microsoft 365 Business Basic",Quantity : 15,UnitAmount : 8.100000,LineAmount : 27.940000},{taxType:"TAX020",DiscountRate : 77.000000,"Description": "Microsoft 365 Business Standard",Quantity : 24,UnitAmount : 17.000000,LineAmount : 93.840000},{taxType:"TAX020",DiscountRate : 77.000000,"Description": "Plan 1 - Email only",Quantity : 6,UnitAmount : 5.390000,LineAmount : 7.440000} [2025-01-28 05:29:49] Production.INFO: ==== result ===== [2025-01-28 05:29:49] Production.INFO: { "Id": "74373e33-ea2b-498d-9b62-1b8e1185accb", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1738060189760)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "00000000-0000-0000-0000-000000000000", "InvoiceNumber": "INV50007", "Payments": [], "CreditNotes": [], "Prepayments": [], "Overpayments": [], "TotalDiscount": 1539.32, "IsDiscounted": true, "InvoiceAddresses": [], "HasErrors": true, "InvoicePaymentServices": [], "Contact": { "ContactID": "5f6b39a6-c5bb-485f-9fdd-a6c7a1eccc47", "ContactNumber": "Plus Travel Group", "Addresses": [], "Phones": [], "ContactGroups": [], "ContactPersons": [], "HasValidationErrors": false, "ValidationErrors": [] }, "DateString": "2025-01-01T00:00:00", "Date": "\/Date(1735689600000+0000)\/", "DueDateString": "2025-01-31T00:00:00", "DueDate": "\/Date(1738281600000+0000)\/", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Managed Hosting SERVER: Windows Server 2016 Standard", "UnitAmount": 198.720000, "TaxType": "TAX020", "TaxAmount": 5.94, "LineAmount": 45.71, "Tracking": [], "Quantity": 1.0000, "DiscountRate": 77.00, "DiscountEnteredAsPercent": true, "ValidationErrors": [] }, { "Description": "Managed Hosting STORAGE: 500GB data storage disk", "UnitAmount": 34.560000, "TaxType": "TAX020", "TaxAmount": 1.03, "LineAmount": 7.95, "Tracking": [], "Quantity": 1.0000, "DiscountRate": 77.00, "DiscountEnteredAsPercent": true, "ValidationErrors": [] }, { "Description": "Cloud replication (charged per gigabyte)", "UnitAmount": 0.300000, "TaxType": "TAX020", "TaxAmount": 1.35, "LineAmount": 10.35, "Tracking": [], "Quantity": 150.0000, "DiscountRate": 77.00, "DiscountEnteredAsPercent": true, "ValidationErrors": [] }, { "Description": "License for each site being backed up (for servers)", "UnitAmount": 60.000000, "TaxType": "TAX020", "TaxAmount": 1.79, "LineAmount": 13.80, "Tracking": [], "Quantity": 1.0000, "DiscountRate": 77.00, "DiscountEnteredAsPercent": true, "ValidationErrors": [] }, { "Description": "Support for approximately 14 employee home routers", "UnitAmount": 70.000000, "TaxType": "TAX020", "TaxAmount": 2.09, "LineAmount": 16.10, "Tracking": [], "Quantity": 1.0000, "DiscountRate": 77.00, "DiscountEnteredAsPercent": true, "ValidationErrors": [] }, { "Description": "Management and monitor for PTG-CLO-SVR-01", "UnitAmount": 25.000000, "TaxType": "TAX020", "TaxAmount": 0.75, "LineAmount": 5.75, "Tracking": [], "Quantity": 1.0000, "DiscountRate": 77.00, "DiscountEnteredAsPercent": true, "ValidationErrors": [] }, { "Description": "Managed Workstation", "UnitAmount": 52.000000, "TaxType": "TAX020", "TaxAmount": 26.43, "LineAmount": 203.32, "Tracking": [], "Quantity": 17.0000, "DiscountRate": 77.00, "DiscountEnteredAsPercent": true, "ValidationErrors": [] }, { "Description": "Basic Monitoring and Anti-Virus", "UnitAmount": 10.000000, "TaxType": "TAX020", "TaxAmount": 3.59, "LineAmount": 27.60, "Tracking": [], "Quantity": 12.0000, "DiscountRate": 77.00, "DiscountEnteredAsPercent": true, "ValidationErrors": [] }, { "Description": "Microsoft 365 Business Basic", "UnitAmount": 8.100000, "TaxType": "TAX020", "TaxAmount": 3.63, "LineAmount": 27.94, "Tracking": [], "Quantity": 15.0000, "DiscountRate": 77.00, "DiscountEnteredAsPercent": true, "ValidationErrors": [] }, { "Description": "Microsoft 365 Business Standard", "UnitAmount": 17.000000, "TaxType": "TAX020", "TaxAmount": 12.20, "LineAmount": 93.84, "Tracking": [], "Quantity": 24.0000, "DiscountRate": 77.00, "DiscountEnteredAsPercent": true, "ValidationErrors": [] }, { "Description": "Plan 1 - Email only", "UnitAmount": 5.390000, "TaxType": "TAX020", "TaxAmount": 0.97, "LineAmount": 7.44, "Tracking": [], "Quantity": 6.0000, "DiscountRate": 77.00, "DiscountEnteredAsPercent": true, "ValidationErrors": [] } ], "SubTotal": 459.80, "TotalTax": 59.77, "Total": 519.57, "CurrencyCode": "CAD", "StatusAttributeString": "ERROR", "ValidationErrors": [ { "Message": "The line total 27.94 does not match the expected line total 27.95" } ] } ] } [2025-01-28 05:29:49] Production.INFO: -- Create Invoice Error -- [2025-01-28 05:29:49] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:29:49] Production.INFO: CheckInvoice xerov2: INV11306 [2025-01-28 05:29:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11306 [2025-01-28 05:29:52] Production.INFO: Check Invoice Id XEROV20 [2025-01-28 05:29:52] Production.INFO: Invoice SubTotal 3.000000 [2025-01-28 05:29:52] Production.INFO: Invoice DetTotal 3 [2025-01-28 05:29:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Terry%20Anderson" [2025-01-28 05:29:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-28 05:29:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-28 05:30:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-28 05:30:05] 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-01-28 05:30:08] Production.INFO: ==== result ===== [2025-01-28 05:30:08] Production.INFO: { "ErrorNumber": 14, "Type": "PostDataInvalidException", "Message": "Invalid Json data" } [2025-01-28 05:30:08] 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-01-28 05:30:08] Production.INFO: -- Create Invoice Error --Undefined property: stdClass::$Invoices [2025-01-28 05:30:08] Production.INFO: -- Create Invoice Error -- [2025-01-28 05:30:08] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:30:08] Production.INFO: CheckInvoice xerov2: INV11373 [2025-01-28 05:30:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11373 [2025-01-28 05:30:11] Production.INFO: Check Invoice Id XEROV20 [2025-01-28 05:30:11] Production.INFO: Invoice SubTotal 79.750000 [2025-01-28 05:30:11] Production.INFO: Invoice DetTotal 79.75 [2025-01-28 05:30:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Ontario%20Turtle%20Conservation%20Centre" [2025-01-28 05:30:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-28 05:30:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-28 05:30:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-28 05:30:24] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Restaurant/Retail Package - 4 Line Flat Rate",Quantity : 1,UnitAmount : 45,LineAmount : 45.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 30.000000,"Description": "e911 address registration (17057415000 - 2785 Television Road, Douro-Dummer, ON K9L 1E9)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 1.750000},{taxType:"TAX020",AccountCode : 212,"Description": "PasswordBoss - password management and sharing",Quantity : 6,UnitAmount : 5.500000,LineAmount : 33.000000} [2025-01-28 05:30:27] Production.INFO: ==== result ===== [2025-01-28 05:30:27] Production.INFO: { "Id": "931fe95b-e258-42aa-a371-8bfb16434964", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1738060227500)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "13e7bf39-3d3d-43c3-bf7a-d37557f864a1", "InvoiceNumber": "INV11373", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 90.12, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.75, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "24cd1aba-5ae0-4087-aad8-a6d157b1a548", "ContactStatus": "ACTIVE", "Name": "Ontario Turtle Conservation Centre", "EmailAddress": "info@ontarioturtle.ca", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "AddressLine1": "1434 Chemong Road", "AddressLine2": "Unit 4", "City": "Selwyn", "Region": "ON", "PostalCode": "K9J 6X2", "Country": "CANADA" }, { "AddressType": "POBOX", "AddressLine1": "1434 Chemong Road", "AddressLine2": "Unit 4", "City": "Selwyn", "Region": "ON", "PostalCode": "K9J 6X2", "Country": "CANADA" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "(705) 741-5000", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1714493843707+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-14T00:00:00", "Date": "\/Date(1736812800000+0000)\/", "DueDateString": "2025-02-13T00:00:00", "DueDate": "\/Date(1739404800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Restaurant/Retail Package - 4 Line Flat Rate", "UnitAmount": 45.00, "TaxType": "TAX020", "TaxAmount": 5.85, "LineAmount": 45.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "e18cbadf-566e-4bf8-86ab-2d44c982ef13", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (17057415000 - 2785 Television Road, Douro-Dummer, ON K9L 1E9)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.23, "LineAmount": 1.75, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 30.00, "LineItemID": "75533667-bad9-4a90-a523-e746a10ea975", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 0.7500, "ValidationErrors": [] }, { "Description": "PasswordBoss - password management and sharing", "UnitAmount": 5.50, "TaxType": "TAX020", "TaxAmount": 4.29, "LineAmount": 33.00, "AccountCode": "212", "Tracking": [], "Quantity": 6.0000, "LineItemID": "ceec5e6f-81f4-4372-ac10-d3fbaec27a0a", "AccountID": "f910948c-6e7a-46ea-91d4-60d5bab373c8", "ValidationErrors": [] } ], "SubTotal": 79.75, "TotalTax": 10.37, "Total": 90.12, "UpdatedDateUTC": "\/Date(1738060227453+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-28 05:30:27] Production.INFO: -- Create Invoice id --13e7bf39-3d3d-43c3-bf7a-d37557f864a1 [2025-01-28 05:30:27] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:30:27] Production.INFO: CheckInvoice xerov2: INV11375 [2025-01-28 05:30:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11375 [2025-01-28 05:30:30] Production.INFO: Check Invoice Id XEROV20 [2025-01-28 05:30:30] Production.INFO: Invoice SubTotal 57.500000 [2025-01-28 05:30:30] Production.INFO: Invoice DetTotal 57.5 [2025-01-28 05:30:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010353%20%28Ronny%20Khan%29" [2025-01-28 05:30:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-28 05:30:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-28 05:30:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-28 05:30:41] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Dominos Pizza - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14164292929 - 784 Eglinton Avenue East Toronto, ON M4G2L1)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 4,UnitAmount : -5.000000,LineAmount : -20.000000} [2025-01-28 05:30:44] Production.INFO: ==== result ===== [2025-01-28 05:30:44] Production.INFO: { "Id": "6bdc42ce-ee42-47f2-aaa0-fe428587e457", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1738060244669)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "583f4ac8-dd87-40d4-9016-fd36a7c98a49", "InvoiceNumber": "INV11375", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 64.98, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "a80d32c8-bbaa-43c9-b4d0-a7fff9d3ef21", "ContactStatus": "ACTIVE", "Name": "Dominos 10353 (Ronny Khan)", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1562267972817+0000)\/", "ContactGroups": [ { "ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58", "Name": "Benjamin's Customers", "Status": "ACTIVE", "Contacts": [], "HasValidationErrors": false } ], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-15T00:00:00", "Date": "\/Date(1736899200000+0000)\/", "DueDateString": "2025-02-14T00:00:00", "DueDate": "\/Date(1739491200000+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": "43dfa05a-fc00-4d16-acc1-5e65e978d238", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (14164292929 - 784 Eglinton Avenue East Toronto, ON M4G2L1)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "c29f4c17-ad4b-4c81-a634-b53cfcf7315a", "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": "875a39f0-6810-4573-9857-0558ed239f04", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 57.50, "TotalTax": 7.48, "Total": 64.98, "UpdatedDateUTC": "\/Date(1738060244590+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-28 05:30:44] Production.INFO: -- Create Invoice id --583f4ac8-dd87-40d4-9016-fd36a7c98a49 [2025-01-28 05:30:44] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:30:44] Production.INFO: CheckInvoice xerov2: INV11376 [2025-01-28 05:30:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11376 [2025-01-28 05:30:47] Production.INFO: Check Invoice Id XEROV20 [2025-01-28 05:30:47] Production.INFO: Invoice SubTotal 57.500000 [2025-01-28 05:30:47] Production.INFO: Invoice DetTotal 57.5 [2025-01-28 05:30:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010483%20%28Ronny%20Khan%29" [2025-01-28 05:30:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-28 05:30:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-28 05:30:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-28 05:30:59] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (6473525055 - 10 Mallard Rd 52 North York, ON M3B 0A7)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 4,UnitAmount : -5.000000,LineAmount : -20.000000} [2025-01-28 05:31:02] Production.INFO: ==== result ===== [2025-01-28 05:31:02] Production.INFO: { "Id": "a54c7ff1-3b48-41cf-914d-19264380ef50", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1738060262232)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "ce4b9922-94e4-420f-97d3-623a43f64636", "InvoiceNumber": "INV11376", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 64.98, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "39e8e2e7-bbd0-4c58-9676-ff9889ed0960", "ContactStatus": "ACTIVE", "Name": "Dominos 10483 (Ronny Khan)", "FirstName": "Ronny", "LastName": "Khan", "EmailAddress": "sarwar247@hotmail.com", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1602454226393+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-15T00:00:00", "Date": "\/Date(1736899200000+0000)\/", "DueDateString": "2025-02-14T00:00:00", "DueDate": "\/Date(1739491200000+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": "a761f01b-a1cf-41bf-bad3-596a7049752e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (6473525055 - 10 Mallard Rd 52 North York, ON M3B 0A7)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "f2735681-03a6-4915-8d42-70d45c7b10ec", "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": "3382d845-e407-4954-a5d5-13097cb4dbc2", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 57.50, "TotalTax": 7.48, "Total": 64.98, "UpdatedDateUTC": "\/Date(1738060262147+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-28 05:31:02] Production.INFO: -- Create Invoice id --ce4b9922-94e4-420f-97d3-623a43f64636 [2025-01-28 05:31:02] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:31:02] Production.INFO: CheckInvoice xerov2: INV11377 [2025-01-28 05:31:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11377 [2025-01-28 05:31:05] Production.INFO: Check Invoice Id XEROV20 [2025-01-28 05:31:05] Production.INFO: Invoice SubTotal 18.000000 [2025-01-28 05:31:05] Production.INFO: Invoice DetTotal 18 [2025-01-28 05:31:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Destawed" [2025-01-28 05:31:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-28 05:31:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-28 05:31:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-28 05:31:17] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 6,UnitAmount : 2.000000,LineAmount : 12.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (1-83-DESTAWED)",Quantity : 1,UnitAmount : 3.000000,LineAmount : 3.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (1-833-457-SUIT)",Quantity : 1,UnitAmount : 3.000000,LineAmount : 3.000000} [2025-01-28 05:31:20] Production.INFO: ==== result ===== [2025-01-28 05:31:20] Production.INFO: { "Id": "18d4eb99-a164-4b2f-8292-a0ab2d797623", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1738060280575)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "42b101dc-b06b-4179-abbc-b7c948f566e0", "InvoiceNumber": "INV11377", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 20.34, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "4fde2a4c-1ac0-4a92-9312-bc67898ee56e", "ContactStatus": "ACTIVE", "Name": "Destawed", "FirstName": "Amitt", "LastName": "Saini", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1646681546973+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-15T00:00:00", "Date": "\/Date(1736899200000+0000)\/", "DueDateString": "2025-02-14T00:00:00", "DueDate": "\/Date(1739491200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "License for a Pay As You Go Cloud Phone extension", "UnitAmount": 2.00, "TaxType": "TAX020", "TaxAmount": 1.56, "LineAmount": 12.00, "AccountCode": "203", "Tracking": [], "Quantity": 6.0000, "DiscountRate": 0.00, "LineItemID": "eb2ec76e-0f73-4fec-9ff5-b3020d1375b1", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (1-83-DESTAWED)", "UnitAmount": 3.00, "TaxType": "TAX020", "TaxAmount": 0.39, "LineAmount": 3.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "ec53c7dc-85f7-4816-8f92-79cd5c205fcc", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (1-833-457-SUIT)", "UnitAmount": 3.00, "TaxType": "TAX020", "TaxAmount": 0.39, "LineAmount": 3.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "4a9d951f-476d-42b7-ab2b-9d4eb9088544", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 18.00, "TotalTax": 2.34, "Total": 20.34, "UpdatedDateUTC": "\/Date(1738060280500+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-28 05:31:20] Production.INFO: -- Create Invoice id --42b101dc-b06b-4179-abbc-b7c948f566e0 [2025-01-28 05:31:20] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:31:20] Production.INFO: CheckInvoice xerov2: INV11378 [2025-01-28 05:31:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11378 [2025-01-28 05:31:23] Production.INFO: Check Invoice Id XEROV20 [2025-01-28 05:31:23] Production.INFO: Invoice SubTotal 76.860000 [2025-01-28 05:31:23] Production.INFO: Invoice DetTotal 76.86 [2025-01-28 05:31:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="TTC%20%28Donlands%20-%20Strathmore%20Subway%29%20-%20Construction%20Site%20%28Cancom%20-%20Think%20Secure%29" [2025-01-28 05:31:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-28 05:31:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-28 05:31:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-28 05:31:34] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 204,"Description": "LTE Primary Internet (30 Donalds Ave, Toronto, ON M4J3N6) - 10GB/month",Quantity : 1,UnitAmount : 76.860000,LineAmount : 76.860000} [2025-01-28 05:31:37] Production.INFO: ==== result ===== [2025-01-28 05:31:37] Production.INFO: { "Id": "e1cb0662-9045-4dcd-b43d-f6b4c6856929", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1738060297657)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "a6be023e-9cd9-4f7c-9a53-7bbf2204bb43", "InvoiceNumber": "INV11378", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 86.85, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "bc13c86d-cd70-4f32-948a-d1f4850061a0", "ContactStatus": "ACTIVE", "Name": "TTC (Donlands - Strathmore Subway) - Construction Site (Cancom - Think Secure)", "FirstName": "Darcy", "LastName": "Chelvan", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1657573506193+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-15T00:00:00", "Date": "\/Date(1736899200000+0000)\/", "DueDateString": "2025-02-14T00:00:00", "DueDate": "\/Date(1739491200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "LTE Primary Internet (30 Donalds Ave, Toronto, ON M4J3N6) - 10GB/month", "UnitAmount": 76.86, "TaxType": "TAX020", "TaxAmount": 9.99, "LineAmount": 76.86, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "1a125d99-7a41-4cf9-a03d-a3e103005a44", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] } ], "SubTotal": 76.86, "TotalTax": 9.99, "Total": 86.85, "UpdatedDateUTC": "\/Date(1738060297530+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-28 05:31:37] Production.INFO: -- Create Invoice id --a6be023e-9cd9-4f7c-9a53-7bbf2204bb43 [2025-01-28 05:31:37] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:31:37] Production.INFO: CheckInvoice xerov2: INV11379 [2025-01-28 05:31:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11379 [2025-01-28 05:31:40] Production.INFO: Check Invoice Id XEROV20 [2025-01-28 05:31:40] Production.INFO: Invoice SubTotal 76.860000 [2025-01-28 05:31:40] Production.INFO: Invoice DetTotal 76.86 [2025-01-28 05:31:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="TTC%20%28College-Subway%29%20-%20Construction%20Site%20%28Cancom%20-%20Think%20Secure%29" [2025-01-28 05:31:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-28 05:31:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-28 05:31:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-28 05:31:52] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 204,"Description": "LTE Primary Internet (3 Carlton St., Toronto, ON M5B 1L2) - 10GB/month",Quantity : 1,UnitAmount : 76.860000,LineAmount : 76.860000} [2025-01-28 05:31:55] Production.INFO: ==== result ===== [2025-01-28 05:31:55] Production.INFO: { "Id": "0efea622-e505-4eeb-8517-bcb1d8438b56", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1738060315265)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "35c8858f-d30d-4e32-8693-ed68b547827d", "InvoiceNumber": "INV11379", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 86.85, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "8c5c7d93-c398-4829-91b3-8174fe21f9a7", "ContactStatus": "ACTIVE", "Name": "TTC (College-Subway) - Construction Site (Cancom - Think Secure)", "FirstName": "Darcy", "LastName": "Chelvans", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1657574345580+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-15T00:00:00", "Date": "\/Date(1736899200000+0000)\/", "DueDateString": "2025-02-14T00:00:00", "DueDate": "\/Date(1739491200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "LTE Primary Internet (3 Carlton St., Toronto, ON M5B 1L2) - 10GB/month", "UnitAmount": 76.86, "TaxType": "TAX020", "TaxAmount": 9.99, "LineAmount": 76.86, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "33dbe81a-1c71-4be9-bdfb-7dd275444293", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] } ], "SubTotal": 76.86, "TotalTax": 9.99, "Total": 86.85, "UpdatedDateUTC": "\/Date(1738060315203+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-28 05:31:55] Production.INFO: -- Create Invoice id --35c8858f-d30d-4e32-8693-ed68b547827d [2025-01-28 05:31:55] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:31:55] Production.INFO: CheckInvoice xerov2: INV11380 [2025-01-28 05:31:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11380 [2025-01-28 05:31:57] Production.INFO: Check Invoice Id XEROV20 [2025-01-28 05:31:57] Production.INFO: Invoice SubTotal 40.500000 [2025-01-28 05:31:57] Production.INFO: Invoice DetTotal 40.5 [2025-01-28 05:31:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Graybill%20%26%20Hazlewood%20-%20Trial%20Lawyers" [2025-01-28 05:32:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-28 05:32:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-28 05:32:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-28 05:32:09] Production.INFO: =========Invoices String here======{AccountCode : 250,"Description": "Microsoft Office 365 Business - Security Add-on - IronScales Core",Quantity : 9,UnitAmount : 4.500000,LineAmount : 40.500000} [2025-01-28 05:32:12] Production.INFO: ==== result ===== [2025-01-28 05:32:12] Production.INFO: { "Id": "3c26a019-a0ff-40e0-be94-9ba5b6263dc8", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1738060332385)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "b00904b9-e1fd-464a-8012-8572c9303230", "InvoiceNumber": "INV11380", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 45.77, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "b306e9f3-f561-41b4-bd54-ad2d17a96c90", "ContactStatus": "ACTIVE", "Name": "Graybill & Hazlewood - Trial Lawyers", "FirstName": "Russ", "LastName": "Hazlewood", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1682945560397+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-15T00:00:00", "Date": "\/Date(1736899200000+0000)\/", "DueDateString": "2025-01-22T00:00:00", "DueDate": "\/Date(1737504000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Microsoft Office 365 Business - Security Add-on - IronScales Core", "UnitAmount": 4.50, "TaxType": "OUTPUT", "TaxAmount": 5.27, "LineAmount": 40.50, "AccountCode": "250", "Tracking": [], "Quantity": 9.0000, "LineItemID": "774db41f-abf1-46f9-92d5-4970486819aa", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] } ], "SubTotal": 40.50, "TotalTax": 5.27, "Total": 45.77, "UpdatedDateUTC": "\/Date(1738060332323+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-28 05:32:12] Production.INFO: -- Create Invoice id --b00904b9-e1fd-464a-8012-8572c9303230 [2025-01-28 05:32:12] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:32:12] Production.INFO: CheckInvoice xerov2: INV11381 [2025-01-28 05:32:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11381 [2025-01-28 05:32:15] Production.INFO: Check Invoice Id XEROV20 [2025-01-28 05:32:15] Production.INFO: Invoice SubTotal 70.000000 [2025-01-28 05:32:15] Production.INFO: Invoice DetTotal 70 [2025-01-28 05:32:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harbourfront%20Medicine%20Cabinet" [2025-01-28 05:32:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-28 05:32:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-28 05:32:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-28 05:32:26] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Phone channel for capacity-based billing",Quantity : 7,UnitAmount : 10.000000,LineAmount : 70.000000} [2025-01-28 05:32:30] Production.INFO: ==== result ===== [2025-01-28 05:32:30] Production.INFO: { "Id": "4d2fe46a-7344-4c86-bcdf-c0b1617937b8", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1738060349989)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "71dfbfd2-a654-48df-aaf9-88f9673b9d98", "InvoiceNumber": "INV11381", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 79.10, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "e4609e79-2a2f-49b0-a0f8-9766de2b1774", "ContactStatus": "ACTIVE", "Name": "Harbourfront Medicine Cabinet", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "AddressLine1": "205 Ava Rd", "City": "Toronto", "Region": "ON", "PostalCode": "M6C 1W8", "Country": "Canada" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1730664962810+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-15T00:00:00", "Date": "\/Date(1736899200000+0000)\/", "DueDateString": "2025-02-14T00:00:00", "DueDate": "\/Date(1739491200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Phone channel for capacity-based billing", "UnitAmount": 10.00, "TaxType": "TAX020", "TaxAmount": 9.10, "LineAmount": 70.00, "AccountCode": "203", "Tracking": [], "Quantity": 7.0000, "LineItemID": "af20ef14-9087-421d-97e9-8701030c7826", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 70.00, "TotalTax": 9.10, "Total": 79.10, "UpdatedDateUTC": "\/Date(1738060349913+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-28 05:32:30] Production.INFO: -- Create Invoice id --71dfbfd2-a654-48df-aaf9-88f9673b9d98 [2025-01-28 05:32:30] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:32:30] Production.INFO: CheckInvoice xerov2: INV11383 [2025-01-28 05:32:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11383 [2025-01-28 05:32:32] Production.INFO: Check Invoice Id XEROV20 [2025-01-28 05:32:32] Production.INFO: Invoice SubTotal 77.500000 [2025-01-28 05:32:32] Production.INFO: Invoice DetTotal 77.5 [2025-01-28 05:32:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039041%20%28Rishi%20Kakar%29" [2025-01-28 05:32:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-28 05:32:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-28 05:32:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-28 05:32:44] 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 (19052572900 - 2387 TRAFALGAR RD UNIT 1 OAKVILLE, ON L6H6K7)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-01-28 05:32:48] Production.INFO: ==== result ===== [2025-01-28 05:32:48] Production.INFO: { "Id": "7f11a048-a867-4606-b9a0-af2d5048f728", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1738060368033)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "b4baba28-fd27-47f5-87fa-938f0c738227", "InvoiceNumber": "INV11383", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 87.58, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "e874c379-a70c-405c-bc58-0ac6921c29ba", "ContactStatus": "ACTIVE", "Name": "Dominos 39041 (Rishi 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(1562267972817+0000)\/", "ContactGroups": [ { "ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58", "Name": "Benjamin's Customers", "Status": "ACTIVE", "Contacts": [], "HasValidationErrors": false } ], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-16T00:00:00", "Date": "\/Date(1736985600000+0000)\/", "DueDateString": "2025-02-15T00:00:00", "DueDate": "\/Date(1739577600000+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": "21bc8a60-8987-493e-a9bf-b268ab193451", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (19052572900 - 2387 TRAFALGAR RD UNIT 1 OAKVILLE, ON L6H6K7)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "48150949-1889-4f63-8594-8475e37a6569", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 77.50, "TotalTax": 10.08, "Total": 87.58, "UpdatedDateUTC": "\/Date(1738060367987+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-28 05:32:48] Production.INFO: -- Create Invoice id --b4baba28-fd27-47f5-87fa-938f0c738227 [2025-01-28 05:32:48] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:32:48] Production.INFO: CheckInvoice xerov2: INV11385 [2025-01-28 05:32:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11385 [2025-01-28 05:32:50] Production.INFO: Check Invoice Id XEROV20 [2025-01-28 05:32:50] Production.INFO: Invoice SubTotal 92.500000 [2025-01-28 05:32:50] Production.INFO: Invoice DetTotal 92.5 [2025-01-28 05:32:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010179%20%28Akshay%20Naik%29" [2025-01-28 05:32:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-28 05:32:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-28 05:32:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-28 05:33:02] Production.INFO: =========Invoices String here======{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 50.000000,LineAmount : 50.000000},{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (17808757725 - 4402 52 Ave 110 Lloydminster, AB T9V 0T9 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX012",AccountCode : 202,"Description": "Holiday hours change after cutoff (Ticket #854603)",Quantity : 1,UnitAmount : 40.000000,LineAmount : 40.000000} [2025-01-28 05:33:06] Production.INFO: ==== result ===== [2025-01-28 05:33:06] Production.INFO: { "Id": "23625af5-b351-44be-9354-0d5200ddfa8f", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1738060386061)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "87f33783-4512-4212-bf95-14ca325f64b9", "InvoiceNumber": "INV11385", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 97.13, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "669bb033-93e4-4d2e-aa92-454e682a5c09", "ContactStatus": "ACTIVE", "Name": "Dominos 10179 (Akshay Naik)", "FirstName": "Akshay", "LastName": "Naik", "EmailAddress": "akshaynnaik@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(1580834779557+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-16T00:00:00", "Date": "\/Date(1736985600000+0000)\/", "DueDateString": "2025-02-15T00:00:00", "DueDate": "\/Date(1739577600000+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, "DiscountRate": 0.00, "LineItemID": "3a447c95-f8e6-4091-a68a-f88ef2a3b57b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (17808757725 - 4402 52 Ave 110 Lloydminster, AB T9V 0T9 Canada)", "UnitAmount": 2.50, "TaxType": "TAX012", "TaxAmount": 0.13, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "859f2737-c695-46ea-bad0-d54e715ff664", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Holiday hours change after cutoff (Ticket #854603)", "UnitAmount": 40.00, "TaxType": "TAX012", "TaxAmount": 2.00, "LineAmount": 40.00, "AccountCode": "202", "Tracking": [], "Quantity": 1.0000, "LineItemID": "b7dfc4d5-3d29-4640-a05f-c6137d0a4643", "AccountID": "92a889dc-22ae-4d25-b487-df8f4980f0ad", "ValidationErrors": [] } ], "SubTotal": 92.50, "TotalTax": 4.63, "Total": 97.13, "UpdatedDateUTC": "\/Date(1738060385983+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-28 05:33:06] Production.INFO: -- Create Invoice id --87f33783-4512-4212-bf95-14ca325f64b9 [2025-01-28 05:33:06] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:33:06] Production.INFO: CheckInvoice xerov2: INV11386 [2025-01-28 05:33:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11386 [2025-01-28 05:33:08] Production.INFO: Check Invoice Id XEROV20 [2025-01-28 05:33:08] Production.INFO: Invoice SubTotal 32.500000 [2025-01-28 05:33:08] Production.INFO: Invoice DetTotal 32.5 [2025-01-28 05:33:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="PharmaSave%20%28Uxbridge%29" [2025-01-28 05:33:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-28 05:33:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-28 05:33:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-28 05:33:21] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Retail Phone Service - 3 Channels Dedicated/Burst to 5 Channels",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (9058622800 - 29 Toronto Street South 1B Uxbridge, ON L9P 1V9)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Discount - Friends and Family (Doug Geary referral)",Quantity : 1,UnitAmount : -45.000000,LineAmount : -45.000000} [2025-01-28 05:33:24] Production.INFO: ==== result ===== [2025-01-28 05:33:24] Production.INFO: { "Id": "6981c3d2-74e2-42cf-a0ee-5c0f90d37e9d", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1738060404505)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "8fe35bff-4da3-4e9e-9db3-9e5f909c677a", "InvoiceNumber": "INV11386", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 36.73, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "ac797c62-9d84-4beb-9f18-85a8d961b94f", "ContactStatus": "ACTIVE", "Name": "PharmaSave (Uxbridge)", "FirstName": "Sameer", "LastName": "Remtulla", "EmailAddress": "uxbridge.rx@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(1606240153850+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-16T00:00:00", "Date": "\/Date(1736985600000+0000)\/", "DueDateString": "2025-02-15T00:00:00", "DueDate": "\/Date(1739577600000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Retail Phone Service - 3 Channels Dedicated/Burst to 5 Channels", "UnitAmount": 75.00, "TaxType": "TAX020", "TaxAmount": 9.75, "LineAmount": 75.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "c8be03e2-21a3-429e-846f-cee4823f98d1", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (9058622800 - 29 Toronto Street South 1B Uxbridge, ON L9P 1V9)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "c42f9e0f-3590-4c0f-ab82-75bd3f8407d8", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "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, "DiscountRate": 0.00, "LineItemID": "9eeb096a-5ab5-404c-a24b-a8748ca7d8a4", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 32.50, "TotalTax": 4.23, "Total": 36.73, "UpdatedDateUTC": "\/Date(1738060404443+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-28 05:33:24] Production.INFO: -- Create Invoice id --8fe35bff-4da3-4e9e-9db3-9e5f909c677a [2025-01-28 05:33:24] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:33:24] Production.INFO: CheckInvoice xerov2: INV11387 [2025-01-28 05:33:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11387 [2025-01-28 05:33:27] Production.INFO: Check Invoice Id XEROV20 [2025-01-28 05:33:27] Production.INFO: Invoice SubTotal 52.500000 [2025-01-28 05:33:27] Production.INFO: Invoice DetTotal 52.5 [2025-01-28 05:33:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010476%20%28Sandeep%20Chaudhari%29" [2025-01-28 05:33:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-28 05:33:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-28 05:33:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-28 05:33:39] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 303,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 5,UnitAmount : -5.000000,LineAmount : -25.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (5197490120- 1188 Fischer Hallman Rd Unit 205 Kitchener, ON N2E0B7)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-01-28 05:33:42] Production.INFO: ==== result ===== [2025-01-28 05:33:42] Production.INFO: { "Id": "af12f7e0-0458-44ea-9a37-f5362af538ec", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1738060422501)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "54fda261-9932-422e-8dab-20682883bda8", "InvoiceNumber": "INV11387", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 59.33, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "fc4aff1d-c37f-4c5c-9191-e58f25d1bcb1", "ContactStatus": "ACTIVE", "Name": "Dominos 10476 (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(1674470231750+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-16T00:00:00", "Date": "\/Date(1736985600000+0000)\/", "DueDateString": "2025-02-15T00:00:00", "DueDate": "\/Date(1739577600000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Restaurant - 4 Line Flat Rate", "UnitAmount": 75.00, "TaxType": "TAX020", "TaxAmount": 9.75, "LineAmount": 75.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "c1094fd3-daca-4e8d-8843-269c450c6186", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service", "UnitAmount": -5.00, "TaxType": "TAX020", "TaxAmount": -3.25, "LineAmount": -25.00, "AccountCode": "303", "Tracking": [], "Quantity": 5.0000, "LineItemID": "4071d927-c096-4117-bf83-f3e81c51d9ba", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "ValidationErrors": [] }, { "Description": "e911 address registration (5197490120- 1188 Fischer Hallman Rd Unit 205 Kitchener, ON N2E0B7)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "3f218b03-94f8-4601-90e4-42dd24137051", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 6.83, "Total": 59.33, "UpdatedDateUTC": "\/Date(1738060422423+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-28 05:33:42] Production.INFO: -- Create Invoice id --54fda261-9932-422e-8dab-20682883bda8 [2025-01-28 05:33:42] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:33:42] Production.INFO: CheckInvoice xerov2: INV11388 [2025-01-28 05:33:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11388 [2025-01-28 05:33:45] Production.INFO: Check Invoice Id XEROV20 [2025-01-28 05:33:45] Production.INFO: Invoice SubTotal 57.000000 [2025-01-28 05:33:45] Production.INFO: Invoice DetTotal 57 [2025-01-28 05:33:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Personas" [2025-01-28 05:33:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-28 05:33:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-28 05:33:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-28 05:33:56] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 7,UnitAmount : 7.500000,LineAmount : 52.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (16472642233 - 55 University Ave 302 Toronto, ON M5H 3B7 Canada)",Quantity : 1,UnitAmount : 2.750000,LineAmount : 2.750000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18883119273)",Quantity : 1,UnitAmount : 1.750000,LineAmount : 1.750000} [2025-01-28 05:33:58] Production.INFO: ==== result ===== [2025-01-28 05:33:58] Production.INFO: { "Id": "161bc976-42b9-4767-a735-d97fb15ebe9a", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1738060438667)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "e8f6f166-4a69-4955-aa31-75fa08b1388e", "InvoiceNumber": "INV11388", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 64.42, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "31472f57-4acd-4468-9ab0-8ed346b2d96f", "ContactStatus": "ACTIVE", "Name": "Personas", "FirstName": "David", "LastName": "Kerry", "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(1655926156083+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-17T00:00:00", "Date": "\/Date(1737072000000+0000)\/", "DueDateString": "2025-02-16T00:00:00", "DueDate": "\/Date(1739664000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "License for a Pay As You Go Cloud Phone extension", "UnitAmount": 7.50, "TaxType": "TAX020", "TaxAmount": 6.83, "LineAmount": 52.50, "AccountCode": "203", "Tracking": [], "Quantity": 7.0000, "DiscountRate": 0.00, "LineItemID": "5ae2e545-ec24-4dcf-9888-433c0a0cd820", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (16472642233 - 55 University Ave 302 Toronto, ON M5H 3B7 Canada)", "UnitAmount": 2.75, "TaxType": "TAX020", "TaxAmount": 0.36, "LineAmount": 2.75, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "23bf6d39-e789-4bb4-a4ef-10d905c13f5b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (18883119273)", "UnitAmount": 1.75, "TaxType": "TAX020", "TaxAmount": 0.23, "LineAmount": 1.75, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "443914de-c913-47b0-bef5-237933b72a46", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 57.00, "TotalTax": 7.42, "Total": 64.42, "UpdatedDateUTC": "\/Date(1738060438620+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-28 05:33:58] Production.INFO: -- Create Invoice id --e8f6f166-4a69-4955-aa31-75fa08b1388e [2025-01-28 05:33:58] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:33:58] Production.INFO: CheckInvoice xerov2: INV11389 [2025-01-28 05:33:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11389 [2025-01-28 05:34:00] Production.INFO: Check Invoice Id XEROV20 [2025-01-28 05:34:00] Production.INFO: Invoice SubTotal 67.500000 [2025-01-28 05:34:00] Production.INFO: Invoice DetTotal 67.5 [2025-01-28 05:34:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010584%20%28Rick%20Singh%29" [2025-01-28 05:34:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-28 05:34:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-28 05:34:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-28 05:34:14] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 65.000000,LineAmount : 65.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (2264585420 - 1796 Highway 21 North Kincardine, ON N0G 2T0 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-01-28 05:34:17] Production.INFO: ==== result ===== [2025-01-28 05:34:17] Production.INFO: { "Id": "ebb209d4-e8b3-46b6-984c-8c0fd81617f0", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1738060457874)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "1947d2bf-2dfd-4ea9-adde-9ac4abb2b188", "InvoiceNumber": "INV11389", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 76.28, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "1e8b6299-6571-4c51-87f6-a0280833b109", "ContactStatus": "ACTIVE", "Name": "Dominos 10584 (Rick Singh)", "FirstName": "Rick", "LastName": "Singh", "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(1692010794453+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-17T00:00:00", "Date": "\/Date(1737072000000+0000)\/", "DueDateString": "2025-02-16T00:00:00", "DueDate": "\/Date(1739664000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Restaurant - 4 Line Flat Rate", "UnitAmount": 65.00, "TaxType": "TAX020", "TaxAmount": 8.45, "LineAmount": 65.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "42996c9f-f01b-4e71-a130-5d2ada8ce6e4", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (2264585420 - 1796 Highway 21 North Kincardine, ON N0G 2T0 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "a8c37f61-3318-4bfc-aa78-6b6b9ce551dc", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 67.50, "TotalTax": 8.78, "Total": 76.28, "UpdatedDateUTC": "\/Date(1738060457670+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-28 05:34:18] Production.INFO: -- Create Invoice id --1947d2bf-2dfd-4ea9-adde-9ac4abb2b188 [2025-01-28 05:34:18] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:34:18] Production.INFO: CheckInvoice xerov2: INV11390 [2025-01-28 05:34:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11390 [2025-01-28 05:34:21] Production.INFO: Check Invoice Id XEROV20 [2025-01-28 05:34:21] Production.INFO: Invoice SubTotal 57.500000 [2025-01-28 05:34:21] Production.INFO: Invoice DetTotal 57.5 [2025-01-28 05:34:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010515%20%28Ronny%20Khan%29" [2025-01-28 05:34:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-28 05:34:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-28 05:34:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-28 05:34:32] 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 (182 WILSON AVE NORTH YORK, ON M5M4N7)",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-01-28 05:34:36] Production.INFO: ==== result ===== [2025-01-28 05:34:36] Production.INFO: { "Id": "32dda549-c28a-4780-a332-30fc1fe80a1d", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1738060476439)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "167f1180-2f81-4d7c-88c5-526c48ddc15c", "InvoiceNumber": "INV11390", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 64.98, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "de29a9c7-cecf-49b7-b42f-7b106467f0ce", "ContactStatus": "ACTIVE", "Name": "Dominos 10515 (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-01-18T00:00:00", "Date": "\/Date(1737158400000+0000)\/", "DueDateString": "2025-02-17T00:00:00", "DueDate": "\/Date(1739750400000+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": "27be4195-c762-4a10-bc53-29de0bba556c", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (182 WILSON AVE NORTH YORK, ON M5M4N7)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "d463e1f7-b2e2-44ea-95f0-cd355a5546c8", "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": "ff50c91a-e6da-4c59-a504-1d2170ffe92f", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 57.50, "TotalTax": 7.48, "Total": 64.98, "UpdatedDateUTC": "\/Date(1738060476157+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-28 05:34:36] Production.INFO: -- Create Invoice id --167f1180-2f81-4d7c-88c5-526c48ddc15c [2025-01-28 05:34:36] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:34:36] Production.INFO: CheckInvoice xerov2: INV11395 [2025-01-28 05:34:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11395 [2025-01-28 05:34:39] Production.INFO: Check Invoice Id XEROV20 [2025-01-28 05:34:39] Production.INFO: Invoice SubTotal 32.000000 [2025-01-28 05:34:39] Production.INFO: Invoice DetTotal 32 [2025-01-28 05:34:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Stars%20%26%20Maple%20Tours" [2025-01-28 05:34:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-28 05:34:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-28 05:34:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-28 05:34:50] 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-01-28 05:34:54] Production.INFO: ==== result ===== [2025-01-28 05:34:54] Production.INFO: { "Id": "3cee2ad7-1865-4a5f-ac14-b62c6a5155c8", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1738060494269)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "bfe5c720-e1d4-460e-b728-d289c8a3af4e", "InvoiceNumber": "INV11395", "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-01-19T00:00:00", "Date": "\/Date(1737244800000+0000)\/", "DueDateString": "2025-02-18T00:00:00", "DueDate": "\/Date(1739836800000+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": "97a6ad2e-c2d0-4ed9-a1ff-f5c33383a965", "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": "3bb0508b-eea9-4573-a547-7a6d5612762f", "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": "6fe701a3-2ed3-4f73-b5ef-bb307180cbcf", "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": "649546dd-c43a-402a-8289-64e5726c29a7", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 32.00, "TotalTax": 4.16, "Total": 36.16, "UpdatedDateUTC": "\/Date(1738060494207+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-28 05:34:54] Production.INFO: -- Create Invoice id --bfe5c720-e1d4-460e-b728-d289c8a3af4e [2025-01-28 05:34:54] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:34:54] Production.INFO: CheckInvoice xerov2: INV11396 [2025-01-28 05:34:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11396 [2025-01-28 05:34:56] Production.INFO: Check Invoice Id XEROV20 [2025-01-28 05:34:56] Production.INFO: Invoice SubTotal 17.000000 [2025-01-28 05:34:56] Production.INFO: Invoice DetTotal 17 [2025-01-28 05:34:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Halcyon%20Travel" [2025-01-28 05:34:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-28 05:35:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-28 05:35:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-28 05:35:09] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 12-19-2024 To 01-18-2025",Quantity : 1,UnitAmount : 4.500000,LineAmount : 4.500000},{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-01-28 05:35:12] Production.INFO: ==== result ===== [2025-01-28 05:35:12] Production.INFO: { "Id": "21c25681-3b36-4ded-9a59-84af6ceaa4b5", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1738060512582)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "d1d06f1b-f262-47f4-a3aa-d766dc695606", "InvoiceNumber": "INV11396", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 19.22, "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-01-19T00:00:00", "Date": "\/Date(1737244800000+0000)\/", "DueDateString": "2025-02-18T00:00:00", "DueDate": "\/Date(1739836800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 12-19-2024 To 01-18-2025", "UnitAmount": 4.50, "TaxType": "TAX020", "TaxAmount": 0.59, "LineAmount": 4.50, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "7d627c87-3dbf-499d-b190-600263f13408", "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": "e4d0bf2c-1d5c-44bc-babd-dccdabb633fb", "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": "03569285-29e9-403c-ab25-c08335cfb70f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 17.00, "TotalTax": 2.22, "Total": 19.22, "UpdatedDateUTC": "\/Date(1738060512537+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-28 05:35:12] Production.INFO: -- Create Invoice id --d1d06f1b-f262-47f4-a3aa-d766dc695606 [2025-01-28 05:35:12] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:35:12] Production.INFO: CheckInvoice xerov2: INV11397 [2025-01-28 05:35:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11397 [2025-01-28 05:35:15] Production.INFO: Check Invoice Id XEROV20 [2025-01-28 05:35:15] Production.INFO: Invoice SubTotal 60.000000 [2025-01-28 05:35:15] Production.INFO: Invoice DetTotal 60 [2025-01-28 05:35:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039013%20%28Mudassar%20Zia%29" [2025-01-28 05:35:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-28 05:35:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-28 05:35:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-28 05:35:25] Production.INFO: =========Invoices String here======{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX012",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 3,UnitAmount : -5.000000,LineAmount : -15.000000} [2025-01-28 05:35:28] Production.INFO: ==== result ===== [2025-01-28 05:35:28] Production.INFO: { "Id": "1487a3bd-3c86-490e-aa2c-a1b2440fbd95", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1738060528822)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "c783e4b0-8496-4a5a-abe7-506a6270bb8c", "InvoiceNumber": "INV11397", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 63.00, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "8893c88d-0603-4dd4-9524-da8cd6ed65c9", "ContactStatus": "ACTIVE", "Name": "Dominos 39013 (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(1580833699367+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-19T00:00:00", "Date": "\/Date(1737244800000+0000)\/", "DueDateString": "2025-02-18T00:00:00", "DueDate": "\/Date(1739836800000+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": "941f8ba8-1eaa-47c8-834b-54ac7a2ba956", "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": "41b3a209-21ab-43f2-8acc-b388e656ee70", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 60.00, "TotalTax": 3.00, "Total": 63.00, "UpdatedDateUTC": "\/Date(1738060528790+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-28 05:35:28] Production.INFO: -- Create Invoice id --c783e4b0-8496-4a5a-abe7-506a6270bb8c [2025-01-28 05:35:28] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:35:29] Production.INFO: CheckInvoice xerov2: INV11401 [2025-01-28 05:35:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11401 [2025-01-28 05:35:31] Production.INFO: Check Invoice Id XEROV20 [2025-01-28 05:35:31] Production.INFO: Invoice SubTotal 67.500000 [2025-01-28 05:35:31] Production.INFO: Invoice DetTotal 67.5 [2025-01-28 05:35:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010462%20%28Anwar%20Hossain%29" [2025-01-28 05:35:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-28 05:35:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-28 05:35:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-28 05:35:44] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (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-01-28 05:35:48] Production.INFO: ==== result ===== [2025-01-28 05:35:48] Production.INFO: { "Id": "d3aabd6c-7144-4bb0-b267-33c62e626235", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1738060548478)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "d8f1a034-323a-42e3-8d69-1bc8a0943486", "InvoiceNumber": "INV11401", "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-01-20T00:00:00", "Date": "\/Date(1737331200000+0000)\/", "DueDateString": "2025-02-19T00:00:00", "DueDate": "\/Date(1739923200000+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": "10ba21d5-0118-4f8c-85c5-d9678ac46210", "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": "6c5eed61-f0f8-45fb-8e1e-bae8a1b97193", "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": "8f663167-1b0c-4952-baf1-3b81d97f85ef", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 67.50, "TotalTax": 8.78, "Total": 76.28, "UpdatedDateUTC": "\/Date(1738060548383+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-28 05:35:48] Production.INFO: -- Create Invoice id --d8f1a034-323a-42e3-8d69-1bc8a0943486 [2025-01-28 05:35:48] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:35:48] Production.INFO: CheckInvoice xerov2: INV11402 [2025-01-28 05:35:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11402 [2025-01-28 05:35:51] Production.INFO: Check Invoice Id XEROV20 [2025-01-28 05:35:51] Production.INFO: Invoice SubTotal 74.880000 [2025-01-28 05:35:51] Production.INFO: Invoice DetTotal 74.88 [2025-01-28 05:35:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Bon%20Voyage%20Travel" [2025-01-28 05:35:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-28 05:35:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-28 05:36:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-28 05:36:03] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 12-21-2024 To 01-20-2025",Quantity : 1,UnitAmount : 7.880000,LineAmount : 7.880000},{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-01-28 05:36:06] Production.INFO: ==== result ===== [2025-01-28 05:36:06] Production.INFO: { "Id": "36d6546a-a7f0-4628-864b-79c7be71029c", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1738060566856)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "696cb501-74a3-4b2b-a2df-a3ca8a186f51", "InvoiceNumber": "INV11402", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 84.61, "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-01-21T00:00:00", "Date": "\/Date(1737417600000+0000)\/", "DueDateString": "2025-02-20T00:00:00", "DueDate": "\/Date(1740009600000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 12-21-2024 To 01-20-2025", "UnitAmount": 7.88, "TaxType": "TAX020", "TaxAmount": 1.02, "LineAmount": 7.88, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "a2a07f0d-f506-4cff-94c9-dea61c9aca23", "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": "144469e2-f1e9-4f65-96f3-4d1bbd3de40e", "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": "005f4cfb-7018-4baa-81c2-8f78264cb79e", "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": "9f529000-200a-41f3-bec0-d59be7f4ce9f", "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": "cd3acdfc-1d19-48a0-832c-5cbe0ca109ba", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 74.88, "TotalTax": 9.73, "Total": 84.61, "UpdatedDateUTC": "\/Date(1738060566773+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-28 05:36:07] Production.INFO: -- Create Invoice id --696cb501-74a3-4b2b-a2df-a3ca8a186f51 [2025-01-28 05:36:07] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:36:07] Production.INFO: CheckInvoice xerov2: INV11403 [2025-01-28 05:36:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11403 [2025-01-28 05:36:09] Production.INFO: Check Invoice Id XEROV20 [2025-01-28 05:36:09] Production.INFO: Invoice SubTotal 380.350000 [2025-01-28 05:36:09] Production.INFO: Invoice DetTotal 380.35 [2025-01-28 05:36:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Sivananda%20Ashram%20Yoga%20Retreat" [2025-01-28 05:36:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-28 05:36:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-28 05:36:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-28 05:36:22] Production.INFO: =========Invoices String here======{AccountCode : 234,DiscountRate : 0.000000,"Description": " From 12-21-2024 To 01-20-2025",Quantity : 1,UnitAmount : 30.350000,LineAmount : 30.350000},{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-01-28 05:36:26] Production.INFO: ==== result ===== [2025-01-28 05:36:26] Production.INFO: { "Id": "b68e4a05-5dc1-4b40-bf18-eb92cb1e18ee", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1738060586241)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "1f91cb20-6a5c-42f9-a624-2494fa67db11", "InvoiceNumber": "INV11403", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 429.80, "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-01-21T00:00:00", "Date": "\/Date(1737417600000+0000)\/", "DueDateString": "2025-01-28T00:00:00", "DueDate": "\/Date(1738022400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 12-21-2024 To 01-20-2025", "UnitAmount": 30.35, "TaxType": "OUTPUT", "TaxAmount": 3.95, "LineAmount": 30.35, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "9fcf3aed-065f-4ff3-92aa-acb4482138ec", "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": "96d85947-9f19-42a9-b42d-5e61823c419f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 380.35, "TotalTax": 49.45, "Total": 429.80, "UpdatedDateUTC": "\/Date(1738060586163+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-28 05:36:26] Production.INFO: -- Create Invoice id --1f91cb20-6a5c-42f9-a624-2494fa67db11 [2025-01-28 05:36:26] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:36:26] Production.INFO: CheckInvoice xerov2: INV11404 [2025-01-28 05:36:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11404 [2025-01-28 05:36:29] Production.INFO: Check Invoice Id XEROV20 [2025-01-28 05:36:29] Production.INFO: Invoice SubTotal 17.280000 [2025-01-28 05:36:29] Production.INFO: Invoice DetTotal 17.28 [2025-01-28 05:36:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Escape%20Games%20Canada" [2025-01-28 05:36:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-28 05:36:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-28 05:36:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-28 05:36:42] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 12-21-2024 To 01-20-2025",Quantity : 1,UnitAmount : 7.030000,LineAmount : 7.030000},{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-01-28 05:36:45] Production.INFO: ==== result ===== [2025-01-28 05:36:45] Production.INFO: { "Id": "1930afe0-e4db-4df3-b94d-1eddaf8c084e", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1738060605324)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "c854551d-3e0d-42d6-9cbd-1f017ed100ed", "InvoiceNumber": "INV11404", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 19.53, "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-01-21T00:00:00", "Date": "\/Date(1737417600000+0000)\/", "DueDateString": "2025-02-20T00:00:00", "DueDate": "\/Date(1740009600000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 12-21-2024 To 01-20-2025", "UnitAmount": 7.03, "TaxType": "TAX020", "TaxAmount": 0.91, "LineAmount": 7.03, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "73c3415d-d31f-4b1d-ab56-ea10708315be", "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": "e9044be4-4083-4c57-ab75-283e1c0718d9", "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": "52238fb1-cdac-4343-9708-4f3d7b13f577", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 17.28, "TotalTax": 2.25, "Total": 19.53, "UpdatedDateUTC": "\/Date(1738060605263+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-28 05:36:45] Production.INFO: -- Create Invoice id --c854551d-3e0d-42d6-9cbd-1f017ed100ed [2025-01-28 05:36:45] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:36:45] Production.INFO: CheckInvoice xerov2: INV11406 [2025-01-28 05:36:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11406 [2025-01-28 05:36:48] Production.INFO: Check Invoice Id XEROV20 [2025-01-28 05:36:48] Production.INFO: Invoice SubTotal 14.540000 [2025-01-28 05:36:48] Production.INFO: Invoice DetTotal 14.54 [2025-01-28 05:36:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="MK%20TAXPLUS%20LTD" [2025-01-28 05:36:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-28 05:36:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-28 05:36:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-28 05:37:00] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 12-21-2024 To 01-20-2025",Quantity : 1,UnitAmount : 4.040000,LineAmount : 4.040000},{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-01-28 05:37:03] Production.INFO: ==== result ===== [2025-01-28 05:37:03] Production.INFO: { "Id": "ea85395b-8643-479b-b6bc-5bb5a714d582", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1738060623533)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "bbf9a1fb-21c4-44c2-88dd-66e1a754f7b5", "InvoiceNumber": "INV11406", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 16.44, "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-01-21T00:00:00", "Date": "\/Date(1737417600000+0000)\/", "DueDateString": "2025-02-20T00:00:00", "DueDate": "\/Date(1740009600000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 12-21-2024 To 01-20-2025", "UnitAmount": 4.04, "TaxType": "TAX020", "TaxAmount": 0.53, "LineAmount": 4.04, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "4770d2f7-1051-4cc9-b339-0f8b5975fb8e", "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": "84bdc1ca-acff-40c5-adf2-435d5b41b874", "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": "0e3f8edf-a344-4324-9a50-961ef207f54d", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 14.54, "TotalTax": 1.90, "Total": 16.44, "UpdatedDateUTC": "\/Date(1738060623487+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-28 05:37:03] Production.INFO: -- Create Invoice id --bbf9a1fb-21c4-44c2-88dd-66e1a754f7b5 [2025-01-28 05:37:03] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:37:03] Production.INFO: CheckInvoice xerov2: INV11407 [2025-01-28 05:37:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11407 [2025-01-28 05:37:06] Production.INFO: Check Invoice Id XEROV20 [2025-01-28 05:37:06] Production.INFO: Invoice SubTotal 8.040000 [2025-01-28 05:37:06] Production.INFO: Invoice DetTotal 8.04 [2025-01-28 05:37:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Small%20Business%20Owners%20%26%20Professionals%20Association" [2025-01-28 05:37:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-28 05:37:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-28 05:37:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-28 05:37:19] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 12-21-2024 To 01-20-2025",Quantity : 1,UnitAmount : 0.540000,LineAmount : 0.540000},{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-01-28 05:37:22] Production.INFO: ==== result ===== [2025-01-28 05:37:22] Production.INFO: { "Id": "214ee338-820a-4d2f-8216-b4c42b771de5", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1738060642606)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "41690044-752d-4383-8566-7f17b3662890", "InvoiceNumber": "INV11407", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 9.09, "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-01-21T00:00:00", "Date": "\/Date(1737417600000+0000)\/", "DueDateString": "2025-02-20T00:00:00", "DueDate": "\/Date(1740009600000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 12-21-2024 To 01-20-2025", "UnitAmount": 0.54, "TaxType": "TAX020", "TaxAmount": 0.07, "LineAmount": 0.54, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "6736fbee-aae2-4dea-bbc3-343df9d6bbd1", "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": "dc716625-56eb-4dce-a3df-0ce504acc30e", "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": "0c471473-6093-4861-b16d-32f9ce0d50a0", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 8.04, "TotalTax": 1.05, "Total": 9.09, "UpdatedDateUTC": "\/Date(1738060642527+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-28 05:37:22] Production.INFO: -- Create Invoice id --41690044-752d-4383-8566-7f17b3662890 [2025-01-28 05:37:22] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:37:22] Production.INFO: CheckInvoice xerov2: INV11409 [2025-01-28 05:37:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11409 [2025-01-28 05:37:25] Production.INFO: Check Invoice Id XEROV20 [2025-01-28 05:37:25] Production.INFO: Invoice SubTotal 70.000000 [2025-01-28 05:37:25] Production.INFO: Invoice DetTotal 70 [2025-01-28 05:37:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010538%20%28Waqas%20Ayaz%29" [2025-01-28 05:37:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-28 05:37:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-28 05:37:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-28 05:37:36] 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-01-28 05:37:39] Production.INFO: ==== result ===== [2025-01-28 05:37:39] Production.INFO: { "Id": "0d695f0e-a77c-4202-9247-96cc479400ae", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1738060659213)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "1e39f8d4-ad88-4c43-8706-99df743d788e", "InvoiceNumber": "INV11409", "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-01-21T00:00:00", "Date": "\/Date(1737417600000+0000)\/", "DueDateString": "2025-02-20T00:00:00", "DueDate": "\/Date(1740009600000+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": "6f557f65-53cc-4708-bd6a-419bd4d34b05", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 70.00, "TotalTax": 9.10, "Total": 79.10, "UpdatedDateUTC": "\/Date(1738060659167+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-28 05:37:39] Production.INFO: -- Create Invoice id --1e39f8d4-ad88-4c43-8706-99df743d788e [2025-01-28 05:37:39] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:37:39] Production.INFO: CheckInvoice xerov2: INV11412 [2025-01-28 05:37:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11412 [2025-01-28 05:37:41] Production.INFO: Check Invoice Id XEROV20 [2025-01-28 05:37:41] Production.INFO: Invoice SubTotal 200.540000 [2025-01-28 05:37:41] Production.INFO: Invoice DetTotal 200.54 [2025-01-28 05:37:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Selective%20Conformal%20Coatings%20Inc." [2025-01-28 05:37:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-28 05:37:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-28 05:37:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-28 05:37:53] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 12-23-2024 To 01-22-2025",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{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-01-28 05:37:56] Production.INFO: ==== result ===== [2025-01-28 05:37:56] Production.INFO: { "Id": "3c211b32-b4f5-4705-aa7a-e1a8b844b04f", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1738060676564)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "73133c9c-0e4c-42f9-bf15-ef8f7b4de0b3", "InvoiceNumber": "INV11412", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 226.61, "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-01-23T00:00:00", "Date": "\/Date(1737590400000+0000)\/", "DueDateString": "2025-02-22T00:00:00", "DueDate": "\/Date(1740182400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 12-23-2024 To 01-22-2025", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "982e1a21-444a-40f1-a9f7-951d7c4fe7e9", "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": "ee55cc7e-5c71-4430-9b63-cca567806c54", "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": "87f27cc0-641c-49be-97df-e76561801f27", "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": "026646f1-597c-42d4-9664-6789f5f40361", "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": "33d76ac7-9a1f-4a99-af90-b3acc2d8065a", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] } ], "SubTotal": 200.54, "TotalTax": 26.07, "Total": 226.61, "UpdatedDateUTC": "\/Date(1738060676517+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-28 05:37:56] Production.INFO: -- Create Invoice id --73133c9c-0e4c-42f9-bf15-ef8f7b4de0b3 [2025-01-28 05:37:56] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:37:56] Production.INFO: CheckInvoice xerov2: INV11413 [2025-01-28 05:37:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11413 [2025-01-28 05:37:59] Production.INFO: Check Invoice Id XEROV20 [2025-01-28 05:37:59] Production.INFO: Invoice SubTotal 52.500000 [2025-01-28 05:37:59] Production.INFO: Invoice DetTotal 52.5 [2025-01-28 05:37:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010189%20%28Akshay%20Naik%29" [2025-01-28 05:38:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-28 05:38:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-28 05:38:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-28 05:38:10] 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-01-28 05:38:14] Production.INFO: ==== result ===== [2025-01-28 05:38:14] Production.INFO: { "Id": "58df5106-172a-404e-a429-1f9a72c63298", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1738060694078)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "4b73f653-8601-46bc-a1bb-d0e70d6d1e0a", "InvoiceNumber": "INV11413", "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-01-23T00:00:00", "Date": "\/Date(1737590400000+0000)\/", "DueDateString": "2025-02-22T00:00:00", "DueDate": "\/Date(1740182400000+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": "91db96d9-1a37-4eae-bcce-e2c1c3cc79da", "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": "fc43343e-113c-4d84-9792-ec41fc64859e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 2.63, "Total": 55.13, "UpdatedDateUTC": "\/Date(1738060694037+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-28 05:38:14] Production.INFO: -- Create Invoice id --4b73f653-8601-46bc-a1bb-d0e70d6d1e0a [2025-01-28 05:38:14] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:38:14] Production.INFO: CheckInvoice xerov2: INV11416 [2025-01-28 05:38:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11416 [2025-01-28 05:38:16] Production.INFO: Check Invoice Id XEROV20 [2025-01-28 05:38:16] Production.INFO: Invoice SubTotal 67.500000 [2025-01-28 05:38:16] Production.INFO: Invoice DetTotal 67.5 [2025-01-28 05:38:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010099%20%28Mudassar%20Zia%29" [2025-01-28 05:38:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-28 05:38:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-28 05:38:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-28 05:38:28] 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-01-28 05:38:31] Production.INFO: ==== result ===== [2025-01-28 05:38:31] Production.INFO: { "Id": "71e09e95-3f29-4217-9c63-e23252b51e98", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1738060711796)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "4efa9111-833b-4862-8dac-c8ab032deadc", "InvoiceNumber": "INV11416", "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-01-24T00:00:00", "Date": "\/Date(1737676800000+0000)\/", "DueDateString": "2025-02-23T00:00:00", "DueDate": "\/Date(1740268800000+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": "e8eadc08-1f6a-4165-b161-3d8913cdaab4", "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": "ac72d603-a5dc-4efb-900d-51734960b11c", "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": "74b8cfe6-3875-4af0-97d2-0bee95693653", "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": "b4b78cb3-2b83-4022-a95b-d76d085e5cc2", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 67.50, "TotalTax": 3.38, "Total": 70.88, "UpdatedDateUTC": "\/Date(1738060711733+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-28 05:38:31] Production.INFO: -- Create Invoice id --4efa9111-833b-4862-8dac-c8ab032deadc [2025-01-28 05:38:31] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:38:31] Production.INFO: CheckInvoice xerov2: INV11417 [2025-01-28 05:38:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11417 [2025-01-28 05:38:34] Production.INFO: Check Invoice Id XEROV20 [2025-01-28 05:38:34] Production.INFO: Invoice SubTotal 52.500000 [2025-01-28 05:38:34] Production.INFO: Invoice DetTotal 52.5 [2025-01-28 05:38:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010532%20%28Sandeep%20Chaudhari%29" [2025-01-28 05:38:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-28 05:38:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-28 05:38:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-28 05:38:45] 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-01-28 05:38:48] Production.INFO: ==== result ===== [2025-01-28 05:38:48] Production.INFO: { "Id": "65d6cd94-4f43-440c-9cc4-4574bd8155e6", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1738060728553)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "aae2d340-88e6-461d-96b1-e84f50ecf7b4", "InvoiceNumber": "INV11417", "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-01-25T00:00:00", "Date": "\/Date(1737763200000+0000)\/", "DueDateString": "2025-02-24T00:00:00", "DueDate": "\/Date(1740355200000+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": "28951d48-14d3-450f-89a2-858c4b816dd9", "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": "a71d7358-6a7d-4f13-98cf-d8ae873ca75c", "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": "7462e147-0827-4ee5-a293-61050a2dd863", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 6.83, "Total": 59.33, "UpdatedDateUTC": "\/Date(1738060728507+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-28 05:38:48] Production.INFO: -- Create Invoice id --aae2d340-88e6-461d-96b1-e84f50ecf7b4 [2025-01-28 05:38:48] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:38:48] Production.INFO: CheckInvoice xerov2: INV11418 [2025-01-28 05:38:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11418 [2025-01-28 05:38:50] Production.INFO: Check Invoice Id XEROV20 [2025-01-28 05:38:50] Production.INFO: Invoice SubTotal 70.820000 [2025-01-28 05:38:50] Production.INFO: Invoice DetTotal 70.82 [2025-01-28 05:38:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010422%20%28David%20Mills%29" [2025-01-28 05:38:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-28 05:38:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-28 05:38:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-28 05:39:02] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 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-01-28 05:39:05] Production.INFO: ==== result ===== [2025-01-28 05:39:05] Production.INFO: { "Id": "09491c5c-7966-4680-b7f6-4fb292d2a721", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1738060745328)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "73ea60f6-f124-4464-9c12-89da7d6422d8", "InvoiceNumber": "INV11418", "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-01-25T00:00:00", "Date": "\/Date(1737763200000+0000)\/", "DueDateString": "2025-02-24T00:00:00", "DueDate": "\/Date(1740355200000+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": "53b7e0c5-d2cd-460e-a01e-cfc265c19304", "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": "902c6a80-3b7e-481e-8104-1a7e750c28d8", "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": "36bdd2ba-f188-4653-b08a-1737e10c1ceb", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 70.82, "TotalTax": 9.21, "Total": 80.03, "UpdatedDateUTC": "\/Date(1738060745267+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-28 05:39:05] Production.INFO: -- Create Invoice id --73ea60f6-f124-4464-9c12-89da7d6422d8 [2025-01-28 05:39:05] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:39:05] Production.INFO: CheckInvoice xerov2: INV11419 [2025-01-28 05:39:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11419 [2025-01-28 05:39:08] Production.INFO: Check Invoice Id XEROV20 [2025-01-28 05:39:08] Production.INFO: Invoice SubTotal 318.450000 [2025-01-28 05:39:08] Production.INFO: Invoice DetTotal 318.45 [2025-01-28 05:39:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010545%20%28Mohan%20Kantha%29" [2025-01-28 05:39:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-28 05:39:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-28 05:39:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-28 05:39:19] Production.INFO: =========Invoices String here======{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 : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Bundle Discount - $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},{taxType:"TAX020",AccountCode : 204,"Description": "LTE usage charges for usage above your monthly data cap (charged per GB) (13.68GB)",Quantity : 1,UnitAmount : 12.970000,LineAmount : 12.970000} [2025-01-28 05:39:23] Production.INFO: ==== result ===== [2025-01-28 05:39:23] Production.INFO: { "Id": "8d0cb8dd-9a41-488a-a952-4f4ad105608d", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1738060763421)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "2e5cd091-5827-4eca-af8a-fcb16c2f9809", "InvoiceNumber": "INV11419", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 359.86, "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-01-25T00:00:00", "Date": "\/Date(1737763200000+0000)\/", "DueDateString": "2025-02-24T00:00:00", "DueDate": "\/Date(1740355200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "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": "8d99d362-a235-4b2c-a847-a2ffee807e92", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "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": "296ce3ff-9a42-40b2-a250-bd1782a10cbc", "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": "6dba1ec8-1315-4c0c-b3d5-341e278821d5", "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": "ccfe8233-fd30-4d46-86d4-f72d94954321", "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": "d3d8c088-ba93-4ca6-b434-168df52ee099", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "LTE usage charges for usage above your monthly data cap (charged per GB) (13.68GB)", "UnitAmount": 12.97, "TaxType": "TAX020", "TaxAmount": 1.69, "LineAmount": 12.97, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "944d5069-7b5d-4631-a24b-c057a218b427", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] } ], "SubTotal": 318.45, "TotalTax": 41.41, "Total": 359.86, "UpdatedDateUTC": "\/Date(1738060763360+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-28 05:39:23] Production.INFO: -- Create Invoice id --2e5cd091-5827-4eca-af8a-fcb16c2f9809 [2025-01-28 05:39:23] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:39:23] Production.INFO: CheckInvoice xerov2: INV11421 [2025-01-28 05:39:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11421 [2025-01-28 05:39:26] Production.INFO: Check Invoice Id XEROV20 [2025-01-28 05:39:26] Production.INFO: Invoice SubTotal 193.180000 [2025-01-28 05:39:26] Production.INFO: Invoice DetTotal 193.18 [2025-01-28 05:39:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010364%20%28Shane%20Linthorne%29" [2025-01-28 05:39:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-28 05:39:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-28 05:39:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-28 05:39:37] 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-01-28 05:39:40] Production.INFO: ==== result ===== [2025-01-28 05:39:40] Production.INFO: { "Id": "4a0a8259-a557-417b-b8e0-f7c8df9aa73d", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1738060780869)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "d9d5af30-dc2e-4a59-8dad-b6387a01f9df", "InvoiceNumber": "INV11421", "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-01-26T00:00:00", "Date": "\/Date(1737849600000+0000)\/", "DueDateString": "2025-02-25T00:00:00", "DueDate": "\/Date(1740441600000+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": "3eae4477-d857-4342-a53f-14a023eeac39", "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": "a159bc53-d35c-4913-878f-6567c9042532", "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": "c2d19bb6-eb72-4f39-90c2-ac90a6c54d8b", "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": "55ba3a86-b89d-46ba-a6fd-c6005d83e066", "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": "92635eea-1267-4cfe-bfef-d51b05290a36", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 193.18, "TotalTax": 25.12, "Total": 218.30, "UpdatedDateUTC": "\/Date(1738060780777+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-28 05:39:40] Production.INFO: -- Create Invoice id --d9d5af30-dc2e-4a59-8dad-b6387a01f9df [2025-01-28 05:39:40] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:39:40] Production.INFO: CheckInvoice xerov2: INV11422 [2025-01-28 05:39:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11422 [2025-01-28 05:39:44] Production.INFO: Check Invoice Id XEROV20 [2025-01-28 05:39:44] Production.INFO: Invoice SubTotal 57.500000 [2025-01-28 05:39:44] Production.INFO: Invoice DetTotal 57.5 [2025-01-28 05:39:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010395%20%28Ronny%20Khan%29" [2025-01-28 05:39:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-28 05:39:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-28 05:39:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-28 05:39:56] 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-01-28 05:39:59] Production.INFO: ==== result ===== [2025-01-28 05:39:59] Production.INFO: { "Id": "7137b8e3-be17-49fe-b877-7a380881524c", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1738060799198)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "9ec1dd2b-88d1-4dc4-82d3-7a5d0ec08635", "InvoiceNumber": "INV11422", "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-01-27T00:00:00", "Date": "\/Date(1737936000000+0000)\/", "DueDateString": "2025-02-26T00:00:00", "DueDate": "\/Date(1740528000000+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": "75ce6c29-b59b-4072-b793-f31b9913f287", "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": "c16fc2d4-2000-4d13-9e23-5ca93802edf4", "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": "68ab696f-2b64-47b7-9953-3b7b501e5adb", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 57.50, "TotalTax": 7.48, "Total": 64.98, "UpdatedDateUTC": "\/Date(1738060799150+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-28 05:39:59] Production.INFO: -- Create Invoice id --9ec1dd2b-88d1-4dc4-82d3-7a5d0ec08635 [2025-01-28 05:39:59] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:39:59] Production.INFO: CheckInvoice xerov2: INV11425 [2025-01-28 05:39:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11425 [2025-01-28 05:40:02] Production.INFO: Check Invoice Id XEROV20 [2025-01-28 05:40:02] Production.INFO: Invoice SubTotal 360.300000 [2025-01-28 05:40:02] Production.INFO: Invoice DetTotal 360.3 [2025-01-28 05:40:02] 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-01-28 05:40:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-28 05:40:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-28 05:40:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-28 05:40:12] 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-01-28 05:40:15] Production.INFO: ==== result ===== [2025-01-28 05:40:15] Production.INFO: { "Id": "346e3975-3b84-4495-bdae-88f104857756", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1738060815618)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "3b652d8f-172a-4572-9cf6-9834cbdd287f", "InvoiceNumber": "INV11425", "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-01-27T00:00:00", "Date": "\/Date(1737936000000+0000)\/", "DueDateString": "2025-02-26T00:00:00", "DueDate": "\/Date(1740528000000+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": "ffa3a9a2-6b3c-44a9-8bbb-9fcb8c1985f2", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] } ], "SubTotal": 360.30, "TotalTax": 46.84, "Total": 407.14, "UpdatedDateUTC": "\/Date(1738060815523+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-28 05:40:15] Production.INFO: -- Create Invoice id --3b652d8f-172a-4572-9cf6-9834cbdd287f [2025-01-28 05:40:15] Production.INFO: -- Create Invoice Done -- [2025-01-28 05:40:15] Production.INFO: -- Xero End Inovice -- [2025-01-28 05:40:15] Production.INFO: ==1999== Releasing lock... [2025-01-28 05:40:15] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10580 #Stops# [2025-01-28 05:40:15] Production.INFO: 33.25 MB #Memory Used#