[2025-03-20 08:16:03] Production.INFO: -- Xero Api Check -- [2025-03-20 08:16:04] Production.INFO: -- curl info --Array ( [url] => https://identity.xero.com/connect/token [content_type] => application/json; charset=UTF-8 [http_code] => 200 [header_size] => 855 [request_size] => 352 [filetime] => -1 [ssl_verify_result] => 0 [redirect_count] => 0 [total_time] => 1.200272 [namelookup_time] => 0.554979 [connect_time] => 0.63191 [pretransfer_time] => 0.993421 [size_upload] => 82 [size_download] => 2755 [speed_download] => 2295 [speed_upload] => 68 [download_content_length] => 2755 [upload_content_length] => 82 [starttransfer_time] => 1.200204 [redirect_time] => 0 [redirect_url] => [primary_ip] => 2.21.67.50 [certinfo] => Array ( ) [primary_port] => 443 [local_ip] => 54.39.180.235 [local_port] => 37332 ) [2025-03-20 08:16:04] Production.INFO: -- connection successfully here --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NzI5NjQsImV4cCI6MTc0MjQ3MzI2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzQyNDcyOTY0LCJhdF9oYXNoIjoiTTlYZUN6MEFZVEt1UzROSHZPV1VoUSIsInN1YiI6Ijc1NGMxN2Q3MTA0YTUxODViYjEyZmM5ODFiN2VlMzliIiwiYXV0aF90aW1lIjoxNzQyNDY2MzA1LCJ4ZXJvX3VzZXJpZCI6IjFiOGM2ODExLTJmMGItNGU3Mi05Y2JhLTY5ZDVlM2RmOTEyYyIsImdsb2JhbF9zZXNzaW9uX2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJzaWQiOiI5ZWFmZGExM2Y5NWE0NmJjODI2Yzc4N2IxZTRjNWY1MCIsInByZWZlcnJlZF91c2VybmFtZSI6Imx5bmRhQGNsb3VkbWViLmNvbSIsImVtYWlsIjoibHluZGFAY2xvdWRtZWIuY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.NPZ9dDxBFQvq6EL1XESa0RoMNSC3DrCsyzZPocpH3yL2iLUOiapWpgpo8UpDWwFchKRLaw_CGEF9YMjf8m4Dww8d_ZmmOmH_yXw74TqWpDz0oaiuPyDxdQVoKYuTRXgB_-c_bireesO04gJVM4iA4idE8iu9Sa9C26faIA9BQP6i7qQ2oPv6rwDJ-3aLBoayb9GicmswSshngBZZrfpKMOuastPQ-bkNnayDrNorK5ucBZA5nufQlTbA4Ya0ogjR33NcbxQUogPr6_m5cP14RDivpVb-BIa-C_iWUDwhZGgiguTwYVTH9Cfdncs7MxG395BeE7-9-VWuql9_ACVdEA [access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NzI5NjQsImV4cCI6MTc0MjQ3NDc2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI3NTRjMTdkNzEwNGE1MTg1YmIxMmZjOTgxYjdlZTM5YiIsImF1dGhfdGltZSI6MTc0MjQ2NjMwNSwieGVyb191c2VyaWQiOiIxYjhjNjgxMS0yZjBiLTRlNzItOWNiYS02OWQ1ZTNkZjkxMmMiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6IjllYWZkYTEzZjk1YTQ2YmM4MjZjNzg3YjFlNGM1ZjUwIiwic2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJqdGkiOiIyNUNEQkY1RjBBNTRGMjlDNjBDNUE2RjU4Qzg3NzMyQSIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiMGZlNDU1NWEtNmNkMy00YjFkLTljNjEtMzAzMjBmMjBmZGFkIiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.ZKaTCErAMVz27-AUAOrkzNjlg7mT1mWUeptbg8pYli0LpnU5BpI3HmTuOgEYeffhKFhtLsYtGauNuhqtsbGYTduRKdFBtMzkFWqIhvdyZX7GU8sEEXlLKMzJnZzvYiFQ9nZjWnaT1z_5z7MDx9qubYirDd0FfhwMxsqpFz-7BvQj3RFDKullEXxxgpZbncGMaj_NwIwGEYyNh6LV6_B9QTJUNJDS208bvdLRKhqqyi8YfljDFau3wNKh2erGG9a6IgUxPormzboGBbUirVVGlQe7gRixhnJ807Hzr9NPHgdjd9Qhs8t-QFlZLqwPCyckppLrjhUF2J_URX7UoZA_6g [expires_in] => 1800 [token_type] => Bearer [refresh_token] => zn5OqUu263GU_Sw3oDY8vZmIQK2wQC_W09Ym3FUcsA8 [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-03-20 08:16:04] Production.INFO: -- connection successfully --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NzI5NjQsImV4cCI6MTc0MjQ3MzI2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzQyNDcyOTY0LCJhdF9oYXNoIjoiTTlYZUN6MEFZVEt1UzROSHZPV1VoUSIsInN1YiI6Ijc1NGMxN2Q3MTA0YTUxODViYjEyZmM5ODFiN2VlMzliIiwiYXV0aF90aW1lIjoxNzQyNDY2MzA1LCJ4ZXJvX3VzZXJpZCI6IjFiOGM2ODExLTJmMGItNGU3Mi05Y2JhLTY5ZDVlM2RmOTEyYyIsImdsb2JhbF9zZXNzaW9uX2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJzaWQiOiI5ZWFmZGExM2Y5NWE0NmJjODI2Yzc4N2IxZTRjNWY1MCIsInByZWZlcnJlZF91c2VybmFtZSI6Imx5bmRhQGNsb3VkbWViLmNvbSIsImVtYWlsIjoibHluZGFAY2xvdWRtZWIuY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.NPZ9dDxBFQvq6EL1XESa0RoMNSC3DrCsyzZPocpH3yL2iLUOiapWpgpo8UpDWwFchKRLaw_CGEF9YMjf8m4Dww8d_ZmmOmH_yXw74TqWpDz0oaiuPyDxdQVoKYuTRXgB_-c_bireesO04gJVM4iA4idE8iu9Sa9C26faIA9BQP6i7qQ2oPv6rwDJ-3aLBoayb9GicmswSshngBZZrfpKMOuastPQ-bkNnayDrNorK5ucBZA5nufQlTbA4Ya0ogjR33NcbxQUogPr6_m5cP14RDivpVb-BIa-C_iWUDwhZGgiguTwYVTH9Cfdncs7MxG395BeE7-9-VWuql9_ACVdEA [access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NzI5NjQsImV4cCI6MTc0MjQ3NDc2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI3NTRjMTdkNzEwNGE1MTg1YmIxMmZjOTgxYjdlZTM5YiIsImF1dGhfdGltZSI6MTc0MjQ2NjMwNSwieGVyb191c2VyaWQiOiIxYjhjNjgxMS0yZjBiLTRlNzItOWNiYS02OWQ1ZTNkZjkxMmMiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6IjllYWZkYTEzZjk1YTQ2YmM4MjZjNzg3YjFlNGM1ZjUwIiwic2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJqdGkiOiIyNUNEQkY1RjBBNTRGMjlDNjBDNUE2RjU4Qzg3NzMyQSIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiMGZlNDU1NWEtNmNkMy00YjFkLTljNjEtMzAzMjBmMjBmZGFkIiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.ZKaTCErAMVz27-AUAOrkzNjlg7mT1mWUeptbg8pYli0LpnU5BpI3HmTuOgEYeffhKFhtLsYtGauNuhqtsbGYTduRKdFBtMzkFWqIhvdyZX7GU8sEEXlLKMzJnZzvYiFQ9nZjWnaT1z_5z7MDx9qubYirDd0FfhwMxsqpFz-7BvQj3RFDKullEXxxgpZbncGMaj_NwIwGEYyNh6LV6_B9QTJUNJDS208bvdLRKhqqyi8YfljDFau3wNKh2erGG9a6IgUxPormzboGBbUirVVGlQe7gRixhnJ807Hzr9NPHgdjd9Qhs8t-QFlZLqwPCyckppLrjhUF2J_URX7UoZA_6g [expires_in] => 1800 [token_type] => Bearer [refresh_token] => zn5OqUu263GU_Sw3oDY8vZmIQK2wQC_W09Ym3FUcsA8 [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-03-20 08:16:04] Production.INFO: AccountID 4 [2025-03-20 08:16:04] Production.INFO: AccountName UNIGLOBE Canada [2025-03-20 08:16:04] Production.INFO: Checkcustomer [2025-03-20 08:16:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Canada" [2025-03-20 08:16:07] Production.INFO: Contact id print CheckCustomer Case===d965b2fe-ffb5-4359-bc08-f6a098234349 [2025-03-20 08:16:07] Production.INFO: -- count --1 [2025-03-20 08:16:07] Production.INFO: AccountID 158 [2025-03-20 08:16:07] Production.INFO: AccountName Dominos 39102 (Muzafar Ahmad) [2025-03-20 08:16:07] Production.INFO: Checkcustomer [2025-03-20 08:16:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039102%20%28Muzafar%20Ahmad%29" [2025-03-20 08:16:10] Production.INFO: Contact id print CheckCustomer Case===749cea7f-cdd5-4ee1-9755-990afa6667fb [2025-03-20 08:16:10] Production.INFO: -- count --1 [2025-03-20 08:16:10] Production.INFO: AccountID 149 [2025-03-20 08:16:10] Production.INFO: AccountName Dominos 10471 (Ken Hoose) [2025-03-20 08:16:10] Production.INFO: Checkcustomer [2025-03-20 08:16:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010471%20%28Ken%20Hoose%29" [2025-03-20 08:16:13] Production.INFO: Contact id print CheckCustomer Case===035db9cd-92a8-4776-bb57-e5a70cdb3e03 [2025-03-20 08:16:13] Production.INFO: -- count --1 [2025-03-20 08:16:13] Production.INFO: AccountID 1 [2025-03-20 08:16:13] Production.INFO: AccountName OnSwitch Inc. [2025-03-20 08:16:13] Production.INFO: Checkcustomer [2025-03-20 08:16:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="OnSwitch%20Inc." [2025-03-20 08:16:16] Production.INFO: Contact id print CheckCustomer Case===58c0a22c-96df-434a-9fdd-d2d00307341d [2025-03-20 08:16:16] Production.INFO: -- count --1 [2025-03-20 08:16:16] Production.INFO: AccountID 190 [2025-03-20 08:16:16] Production.INFO: AccountName Behrns Metal Fabricating Inc [2025-03-20 08:16:16] Production.INFO: Checkcustomer [2025-03-20 08:16:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Behrns%20Metal%20Fabricating%20Inc" [2025-03-20 08:16:19] Production.INFO: Contact id print CheckCustomer Case===b5208613-a884-49ac-9417-cb8891a7008b [2025-03-20 08:16:19] Production.INFO: -- count --1 [2025-03-20 08:16:19] Production.INFO: AccountID 50 [2025-03-20 08:16:19] Production.INFO: AccountName J. Randall Graham, CPA [2025-03-20 08:16:19] Production.INFO: Checkcustomer [2025-03-20 08:16:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="J.%20Randall%20Graham%2C%20CPA" [2025-03-20 08:16:22] Production.INFO: Contact id print CheckCustomer Case===7aa12a04-66d6-4e6f-ae1b-86427d18b26f [2025-03-20 08:16:22] Production.INFO: -- count --1 [2025-03-20 08:16:22] Production.INFO: AccountID 219 [2025-03-20 08:16:22] Production.INFO: AccountName Agora Dealer Services Corp. [2025-03-20 08:16:22] Production.INFO: Checkcustomer [2025-03-20 08:16:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Agora%20Dealer%20Services%20Corp." [2025-03-20 08:16:24] Production.INFO: -- count --0 [2025-03-20 08:16:27] Production.INFO: ==== Contact Information 1 [2025-03-20 08:16:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Agora%20Dealer%20Services%20Corp." [2025-03-20 08:16:30] Production.INFO: ContactID 49e5c80a-3116-49fe-9e6f-15ec07433251 [2025-03-20 08:16:30] Production.INFO: -- Create Customer id --49e5c80a-3116-49fe-9e6f-15ec07433251 [2025-03-20 08:16:30] Production.INFO: -- Create Customer name --test customer [2025-03-20 08:16:30] Production.INFO: AccountID 251 [2025-03-20 08:16:30] Production.INFO: AccountName CopperTree Solutions [2025-03-20 08:16:30] Production.INFO: Checkcustomer [2025-03-20 08:16:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="CopperTree%20Solutions" [2025-03-20 08:16:33] Production.INFO: -- count --0 [2025-03-20 08:16:35] Production.INFO: ==== Contact Information 1 [2025-03-20 08:16:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="CopperTree%20Solutions" [2025-03-20 08:16:38] Production.INFO: ContactID 5b032d6b-da73-4d79-a723-58e72d272fdb [2025-03-20 08:16:38] Production.INFO: -- Create Customer id --5b032d6b-da73-4d79-a723-58e72d272fdb [2025-03-20 08:16:38] Production.INFO: -- Create Customer name --test customer [2025-03-20 08:16:38] Production.INFO: AccountID 254 [2025-03-20 08:16:38] Production.INFO: AccountName Robson Carpenter LLP [2025-03-20 08:16:38] Production.INFO: Checkcustomer [2025-03-20 08:16:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Robson%20Carpenter%20LLP" [2025-03-20 08:16:41] Production.INFO: Contact id print CheckCustomer Case===026264ad-30db-4a13-9750-7dee8e32341c [2025-03-20 08:16:41] Production.INFO: -- count --1 [2025-03-20 08:16:41] Production.INFO: AccountID 156 [2025-03-20 08:16:41] Production.INFO: AccountName Dominos 10583 (William Prichard) [2025-03-20 08:16:41] Production.INFO: Checkcustomer [2025-03-20 08:16:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010583%20%28William%20Prichard%29" [2025-03-20 08:16:44] Production.INFO: Contact id print CheckCustomer Case===17005aca-7cf0-4aa4-ac3f-3f8f1c2c61ea [2025-03-20 08:16:44] Production.INFO: -- count --1 [2025-03-20 08:16:44] Production.INFO: AccountID 194 [2025-03-20 08:16:44] Production.INFO: AccountName Telco Steel Works [2025-03-20 08:16:44] Production.INFO: Checkcustomer [2025-03-20 08:16:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Telco%20Steel%20Works" [2025-03-20 08:16:47] Production.INFO: Contact id print CheckCustomer Case===ce77076d-4a3e-4b85-a7f2-c24523d8b78b [2025-03-20 08:16:47] Production.INFO: -- count --1 [2025-03-20 08:16:47] Production.INFO: AccountID 150 [2025-03-20 08:16:47] Production.INFO: AccountName Dominos 10581 (Ken Hoose) [2025-03-20 08:16:47] Production.INFO: Checkcustomer [2025-03-20 08:16:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010581%20%28Ken%20Hoose%29" [2025-03-20 08:16:50] Production.INFO: Contact id print CheckCustomer Case===07c709b0-937e-40e5-a0d5-b08ea9074e65 [2025-03-20 08:16:50] Production.INFO: -- count --1 [2025-03-20 08:16:50] Production.INFO: AccountID 208 [2025-03-20 08:16:50] Production.INFO: AccountName Lions Auto Protection [2025-03-20 08:16:50] Production.INFO: Checkcustomer [2025-03-20 08:16:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Lions%20Auto%20Protection" [2025-03-20 08:16:53] Production.INFO: Contact id print CheckCustomer Case===173facd8-68c9-4e18-bac1-f10f211f33e1 [2025-03-20 08:16:53] Production.INFO: -- count --1 [2025-03-20 08:16:53] Production.INFO: AccountID 190 [2025-03-20 08:16:53] Production.INFO: AccountName Behrns Metal Fabricating Inc [2025-03-20 08:16:53] Production.INFO: Checkcustomer [2025-03-20 08:16:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Behrns%20Metal%20Fabricating%20Inc" [2025-03-20 08:16:55] Production.INFO: Contact id print CheckCustomer Case===b5208613-a884-49ac-9417-cb8891a7008b [2025-03-20 08:16:55] Production.INFO: -- count --1 [2025-03-20 08:16:55] Production.INFO: AccountID 219 [2025-03-20 08:16:55] Production.INFO: AccountName Agora Dealer Services Corp. [2025-03-20 08:16:55] Production.INFO: Checkcustomer [2025-03-20 08:16:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Agora%20Dealer%20Services%20Corp." [2025-03-20 08:16:58] Production.INFO: Contact id print CheckCustomer Case===49e5c80a-3116-49fe-9e6f-15ec07433251 [2025-03-20 08:16:58] Production.INFO: -- count --1 [2025-03-20 08:16:58] Production.INFO: AccountID 194 [2025-03-20 08:16:58] Production.INFO: AccountName Telco Steel Works [2025-03-20 08:16:58] Production.INFO: Checkcustomer [2025-03-20 08:16:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Telco%20Steel%20Works" [2025-03-20 08:17:01] Production.INFO: Contact id print CheckCustomer Case===ce77076d-4a3e-4b85-a7f2-c24523d8b78b [2025-03-20 08:17:01] Production.INFO: -- count --1 [2025-03-20 08:17:01] Production.INFO: AccountID 219 [2025-03-20 08:17:01] Production.INFO: AccountName Agora Dealer Services Corp. [2025-03-20 08:17:01] Production.INFO: Checkcustomer [2025-03-20 08:17:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Agora%20Dealer%20Services%20Corp." [2025-03-20 08:17:04] Production.INFO: Contact id print CheckCustomer Case===49e5c80a-3116-49fe-9e6f-15ec07433251 [2025-03-20 08:17:04] Production.INFO: -- count --1 [2025-03-20 08:17:04] Production.INFO: AccountID 242 [2025-03-20 08:17:04] Production.INFO: AccountName Ball Construction [2025-03-20 08:17:04] Production.INFO: Checkcustomer [2025-03-20 08:17:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Ball%20Construction" [2025-03-20 08:17:07] Production.INFO: Contact id print CheckCustomer Case===b0bd4d3e-7d9a-4f7f-a743-aafe2ee02798 [2025-03-20 08:17:07] Production.INFO: -- count --1 [2025-03-20 08:17:07] Production.INFO: AccountID 219 [2025-03-20 08:17:07] Production.INFO: AccountName Agora Dealer Services Corp. [2025-03-20 08:17:07] Production.INFO: Checkcustomer [2025-03-20 08:17:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Agora%20Dealer%20Services%20Corp." [2025-03-20 08:17:10] Production.INFO: Contact id print CheckCustomer Case===49e5c80a-3116-49fe-9e6f-15ec07433251 [2025-03-20 08:17:10] Production.INFO: -- count --1 [2025-03-20 08:17:10] Production.INFO: AccountID 193 [2025-03-20 08:17:10] Production.INFO: AccountName Plaza Auto Group [2025-03-20 08:17:10] Production.INFO: Checkcustomer [2025-03-20 08:17:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plaza%20Auto%20Group" [2025-03-20 08:17:13] Production.INFO: Contact id print CheckCustomer Case===6b58ee01-f67a-4205-8873-1c91dd58d79c [2025-03-20 08:17:13] Production.INFO: -- count --1 [2025-03-20 08:17:13] Production.INFO: AccountID 219 [2025-03-20 08:17:13] Production.INFO: AccountName Agora Dealer Services Corp. [2025-03-20 08:17:13] Production.INFO: Checkcustomer [2025-03-20 08:17:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Agora%20Dealer%20Services%20Corp." [2025-03-20 08:17:15] Production.INFO: Contact id print CheckCustomer Case===49e5c80a-3116-49fe-9e6f-15ec07433251 [2025-03-20 08:17:15] Production.INFO: -- count --1 [2025-03-20 08:17:15] Production.INFO: AccountID 219 [2025-03-20 08:17:15] Production.INFO: AccountName Agora Dealer Services Corp. [2025-03-20 08:17:15] Production.INFO: Checkcustomer [2025-03-20 08:17:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Agora%20Dealer%20Services%20Corp." [2025-03-20 08:17:18] Production.INFO: Contact id print CheckCustomer Case===49e5c80a-3116-49fe-9e6f-15ec07433251 [2025-03-20 08:17:18] Production.INFO: -- count --1 [2025-03-20 08:17:18] Production.INFO: AccountID 39 [2025-03-20 08:17:18] Production.INFO: AccountName Riavera [2025-03-20 08:17:18] Production.INFO: Checkcustomer [2025-03-20 08:17:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Riavera" [2025-03-20 08:17:21] Production.INFO: Contact id print CheckCustomer Case===e55c0831-3c53-4fcf-8b75-89133eb5af09 [2025-03-20 08:17:21] Production.INFO: -- count --1 [2025-03-20 08:17:21] Production.INFO: AccountID 39 [2025-03-20 08:17:21] Production.INFO: AccountName Riavera [2025-03-20 08:17:21] Production.INFO: Checkcustomer [2025-03-20 08:17:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Riavera" [2025-03-20 08:17:24] Production.INFO: Contact id print CheckCustomer Case===e55c0831-3c53-4fcf-8b75-89133eb5af09 [2025-03-20 08:17:24] Production.INFO: -- count --1 [2025-03-20 08:17:24] Production.INFO: -- Xero Add Inovice -- [2025-03-20 08:17:24] Production.INFO: CheckInvoice xerov2: INV50014 [2025-03-20 08:17:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV50014 [2025-03-20 08:17:27] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:17:27] Production.INFO: Invoice SubTotal 706.410000 [2025-03-20 08:17:27] Production.INFO: Invoice DetTotal 706.41 [2025-03-20 08:17:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Canada" [2025-03-20 08:17:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:17:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:17:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:17:39] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 27-12-2024 To 26-01-2025",Quantity : 1,UnitAmount : 2.900000,LineAmount : 2.900000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 8,UnitAmount : 7.000000,LineAmount : 56.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19056714497 - UNIGLOBE TRAVEL 89 SKYWAY AVE STE 109 TORONTO, ON M9W6R4)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Loyalty Discount - $20 off per month, no expiry date",Quantity : 1,UnitAmount : -20.000000,LineAmount : -20.000000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobelexus.com; EXPIRES Mar 3 2025",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobeec.com; EXPIRES Apr 21 2025",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobecbo.com; Renews May 4",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 203,"Description": "ecinfo.ca; EXPIRES May 8 2025",Quantity : 1,UnitAmount : 2.710000,LineAmount : 2.710000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobemail.com; Renews Jun 28",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobetrips.com; Renews Jul 4",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobevoyages.com; Renews Jul 4",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "unigloberegistration.com; Renews Jul 26",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobedorval.com; Renews Jul 26",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobevoyageslexus.com; EXPIRES Aug 1 2025",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobekey.com; Renews Aug 16",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobenews.com; Renews Sep 22",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "cbotravel.com; Renews Nov 28",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 203,"Description": "ucinfo.ca; Renews Jun 21",Quantity : 1,UnitAmount : 2.710000,LineAmount : 2.710000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobespecialtytravel.com; Renews May 31",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobesunbursttravel.com; Renews May 31",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 203,"Description": "uniglobetravel.ca; Renews Mar 01",Quantity : 1,UnitAmount : 2.710000,LineAmount : 2.710000},{taxType:"TAX020",AccountCode : 203,"Description": "skywayleisuretravel.ca; Renews Feb 22",Quantity : 1,UnitAmount : 2.710000,LineAmount : 2.710000},{taxType:"TAX020",AccountCode : 203,"Description": "skywayleisuretraveller.ca; Renews Feb 22",Quantity : 1,UnitAmount : 2.710000,LineAmount : 2.710000},{taxType:"TAX020",AccountCode : 203,"Description": "skywaytraveller.ca; Renews Feb 22",Quantity : 1,UnitAmount : 2.710000,LineAmount : 2.710000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobewc.com; EXPIRES Jul 19 2025",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobecarefreetravel.com; Renews Feb 28",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobekalamalkatravel.com; Renews Apr 25",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobephillips.com; Renews Mar 12 2026",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobephillipstravel.com; Renews Mar 1",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobespecialtywhitehorse.com; Renews Oct 9",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 203,"Description": "Hosting and Maintenance (per domain)",Quantity : 27,UnitAmount : 1.000000,LineAmount : 27.000000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Standard Licenses",Quantity : 10,UnitAmount : 17.000000,LineAmount : 170.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Backup for Microsoft 365",Quantity : 2,UnitAmount : 3.840000,LineAmount : 7.680000},{taxType:"TAX020",AccountCode : 212,"Description": "Managed Antivirus subscription (yearly pricing, billed monthly)",Quantity : 10,UnitAmount : 1.440000,LineAmount : 14.400000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Basic Licenses",Quantity : 11,UnitAmount : 8.100000,LineAmount : 89.100000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Standard Licenses",Quantity : 8,UnitAmount : 17.000000,LineAmount : 136.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Backup for Microsoft 365",Quantity : 1,UnitAmount : 3.840000,LineAmount : 3.840000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Basic Licenses",Quantity : 11,UnitAmount : 8.100000,LineAmount : 89.100000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Standard Licenses",Quantity : 3,UnitAmount : 17.000000,LineAmount : 51.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Backup for Microsoft 365",Quantity : 1,UnitAmount : 3.840000,LineAmount : 3.840000},{taxType:"TAX020",AccountCode : 203,"Description": "cPanel/SCP access",Quantity : 1,UnitAmount : 9.990000,LineAmount : 9.990000} [2025-03-20 08:17:42] Production.INFO: ==== result ===== [2025-03-20 08:17:42] Production.INFO: { "Id": "8c0cd9bd-f219-45a4-a548-0cf0feaba119", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473062504)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "db4699e6-cb85-49e5-b56f-a56b56eb8a05", "InvoiceNumber": "INV50014", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 798.15, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "d965b2fe-ffb5-4359-bc08-f6a098234349", "ContactStatus": "ACTIVE", "Name": "UNIGLOBE Canada", "FirstName": "Alice", "LastName": "Hildebrandt", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1708961195503+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-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": "From 27-12-2024 To 26-01-2025", "UnitAmount": 2.90, "TaxType": "TAX020", "TaxAmount": 0.38, "LineAmount": 2.90, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "1ee4b870-75b2-4bf4-9688-10cd81813338", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for a Pay As You Go Cloud Phone extension", "UnitAmount": 7.00, "TaxType": "TAX020", "TaxAmount": 7.28, "LineAmount": 56.00, "AccountCode": "203", "Tracking": [], "Quantity": 8.0000, "DiscountRate": 0.00, "LineItemID": "de5f384e-8032-4770-875e-4c29e6698a59", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (19056714497 - UNIGLOBE TRAVEL 89 SKYWAY AVE STE 109 TORONTO, ON M9W6R4)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "be6b8416-bc49-48e2-9e90-db2f8fd6d6d2", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Loyalty Discount - $20 off per month, no expiry date", "UnitAmount": -20.00, "TaxType": "TAX020", "TaxAmount": -2.60, "LineAmount": -20.00, "AccountCode": "303", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "98010bbc-5574-45b9-8d88-35a1bbdf780d", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "uniglobelexus.com; EXPIRES Mar 3 2025", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "36b3d919-0777-4be9-a78d-8506daae8a16", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobeec.com; EXPIRES Apr 21 2025", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "99d2156d-7543-40b2-bf9c-aa5242876702", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobecbo.com; Renews May 4", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "e07fc24c-0b78-4638-bfb7-56c07f99bd61", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "ecinfo.ca; EXPIRES May 8 2025", "UnitAmount": 2.71, "TaxType": "TAX020", "TaxAmount": 0.35, "LineAmount": 2.71, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "f0463780-0c08-498d-8f27-0bfce6d354b4", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "uniglobemail.com; Renews Jun 28", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "ad6d146d-6ce3-4702-afcc-190bb838e0a7", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobetrips.com; Renews Jul 4", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "fb4331fc-0e2e-4be6-b9e9-2af42eb92d00", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobevoyages.com; Renews Jul 4", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "18e15ddc-2c15-4a9f-a23d-dc7759c1ceca", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "unigloberegistration.com; Renews Jul 26", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "da735c34-1cbd-4b1a-beaf-495bc389726b", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobedorval.com; Renews Jul 26", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "2ae69745-297d-4340-b011-b266de30ed33", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobevoyageslexus.com; EXPIRES Aug 1 2025", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "ef86ea12-8604-41e8-b117-2dfa08eead34", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobekey.com; Renews Aug 16", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "46fc584e-d6df-437d-b82c-f1479257c85f", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobenews.com; Renews Sep 22", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "050a33ba-ee2d-4d40-be00-c6cb2533d2bd", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "cbotravel.com; Renews Nov 28", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "1b387d3a-7826-44b9-b0cc-8a3e80075b94", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "ucinfo.ca; Renews Jun 21", "UnitAmount": 2.71, "TaxType": "TAX020", "TaxAmount": 0.35, "LineAmount": 2.71, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "5051a133-fd9b-45eb-8234-4e9af39888f9", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "uniglobespecialtytravel.com; Renews May 31", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "3ad6f539-18cf-4be8-812a-91e79e0ceacf", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobesunbursttravel.com; Renews May 31", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "2101fc00-bbf8-4364-933f-b19d201037a5", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobetravel.ca; Renews Mar 01", "UnitAmount": 2.71, "TaxType": "TAX020", "TaxAmount": 0.35, "LineAmount": 2.71, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "6b05fc6d-118d-4e87-8c88-b8e9247120a2", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "skywayleisuretravel.ca; Renews Feb 22", "UnitAmount": 2.71, "TaxType": "TAX020", "TaxAmount": 0.35, "LineAmount": 2.71, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "a88d16f8-54df-4152-bfd4-3186d9a17815", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "skywayleisuretraveller.ca; Renews Feb 22", "UnitAmount": 2.71, "TaxType": "TAX020", "TaxAmount": 0.35, "LineAmount": 2.71, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "6260db91-e908-4319-922a-41fbf394a535", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "skywaytraveller.ca; Renews Feb 22", "UnitAmount": 2.71, "TaxType": "TAX020", "TaxAmount": 0.35, "LineAmount": 2.71, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "e39c91b2-119a-400b-b953-5102433d14f1", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "uniglobewc.com; EXPIRES Jul 19 2025", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "c3787082-036a-4f04-9aac-c857d94bd386", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobecarefreetravel.com; Renews Feb 28", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "550c94b0-eb94-4f38-b9a3-adf83c88bcd7", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobekalamalkatravel.com; Renews Apr 25", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "331f0bd3-843b-45aa-bce2-5a7e47bfc74e", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobephillips.com; Renews Mar 12 2026", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "0d1b6b18-895b-4180-ae24-4d41731ca7b0", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobephillipstravel.com; Renews Mar 1", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "32c6d738-1465-4a06-b2a6-f625cce8846a", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobespecialtywhitehorse.com; Renews Oct 9", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "86bb1570-8b48-4ba2-bb34-4fccbf25a3ea", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "Hosting and Maintenance (per domain)", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 3.51, "LineAmount": 27.00, "AccountCode": "203", "Tracking": [], "Quantity": 27.0000, "LineItemID": "62068296-fed9-4a96-8179-d6d665864419", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft 365 Standard Licenses", "UnitAmount": 17.00, "TaxType": "TAX020", "TaxAmount": 22.10, "LineAmount": 170.00, "AccountCode": "250", "Tracking": [], "Quantity": 10.0000, "LineItemID": "26794691-b61c-4b6f-b3ca-e8ad208984cd", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "Backup for Microsoft 365", "UnitAmount": 3.84, "TaxType": "TAX020", "TaxAmount": 1.00, "LineAmount": 7.68, "AccountCode": "203", "Tracking": [], "Quantity": 2.0000, "LineItemID": "92d17e86-ec0e-4f51-904a-0e6e5c59a98f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Managed Antivirus subscription (yearly pricing, billed monthly)", "UnitAmount": 1.44, "TaxType": "TAX020", "TaxAmount": 1.87, "LineAmount": 14.40, "AccountCode": "212", "Tracking": [], "Quantity": 10.0000, "LineItemID": "0b40b44a-395b-4ab1-b3c2-6afdefaba2a2", "AccountID": "f910948c-6e7a-46ea-91d4-60d5bab373c8", "ValidationErrors": [] }, { "Description": "Microsoft 365 Basic Licenses", "UnitAmount": 8.10, "TaxType": "TAX020", "TaxAmount": 11.58, "LineAmount": 89.10, "AccountCode": "250", "Tracking": [], "Quantity": 11.0000, "LineItemID": "d77c67b8-ccfc-4f1f-89fd-ff5c89da63df", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "Microsoft 365 Standard Licenses", "UnitAmount": 17.00, "TaxType": "TAX020", "TaxAmount": 17.68, "LineAmount": 136.00, "AccountCode": "250", "Tracking": [], "Quantity": 8.0000, "LineItemID": "ed92a389-abd1-4ff7-b863-60a6a90950ea", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "Backup for Microsoft 365", "UnitAmount": 3.84, "TaxType": "TAX020", "TaxAmount": 0.50, "LineAmount": 3.84, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "c3c29812-b1ba-43f2-a066-88fd234c9235", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft 365 Basic Licenses", "UnitAmount": 8.10, "TaxType": "TAX020", "TaxAmount": 11.58, "LineAmount": 89.10, "AccountCode": "250", "Tracking": [], "Quantity": 11.0000, "LineItemID": "9154171a-ff84-48c5-936a-12b829110e5b", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "Microsoft 365 Standard Licenses", "UnitAmount": 17.00, "TaxType": "TAX020", "TaxAmount": 6.63, "LineAmount": 51.00, "AccountCode": "250", "Tracking": [], "Quantity": 3.0000, "LineItemID": "b19ccfb5-9731-4fcb-a275-5f25da1750f8", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "Backup for Microsoft 365", "UnitAmount": 3.84, "TaxType": "TAX020", "TaxAmount": 0.50, "LineAmount": 3.84, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "aea94a74-9208-48e0-8dd4-3e9c000f8982", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "cPanel/SCP access", "UnitAmount": 9.99, "TaxType": "TAX020", "TaxAmount": 1.30, "LineAmount": 9.99, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "48658f31-971c-492c-8f1e-0262e4d748ed", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 706.41, "TotalTax": 91.74, "Total": 798.15, "UpdatedDateUTC": "\/Date(1742473062410+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:17:42] Production.INFO: -- Create Invoice id --db4699e6-cb85-49e5-b56f-a56b56eb8a05 [2025-03-20 08:17:42] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:17:42] Production.INFO: CheckInvoice xerov2: INV11420 [2025-03-20 08:17:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11420 [2025-03-20 08:17:45] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:17:45] Production.INFO: Invoice SubTotal 72.500000 [2025-03-20 08:17:45] Production.INFO: Invoice DetTotal 72.5 [2025-03-20 08:17:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039102%20%28Muzafar%20Ahmad%29" [2025-03-20 08:17:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:17:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:17:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:17:58] Production.INFO: =========Invoices String here======{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14037557654 - 1 Iron Gate Drive 115 Sylvan Lake, AB T4S 0T8 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX012",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount for Covid-19",Quantity : 1,UnitAmount : -5.000000,LineAmount : -5.000000} [2025-03-20 08:18:01] Production.INFO: ==== result ===== [2025-03-20 08:18:01] Production.INFO: { "Id": "28023853-4f2d-4eef-ac31-c6a3ab94895c", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473081442)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "9fec1ffb-9991-487c-89fa-16102394aba3", "InvoiceNumber": "INV11420", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 76.13, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "749cea7f-cdd5-4ee1-9755-990afa6667fb", "ContactStatus": "ACTIVE", "Name": "Dominos 39102 (Muzafar Ahmad)", "FirstName": "Muzafar", "LastName": "Ahmad", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1639848517473+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-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": "TAX012", "TaxAmount": 3.75, "LineAmount": 75.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "491ff14c-deb5-42a4-949f-cbe533c22510", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (14037557654 - 1 Iron Gate Drive 115 Sylvan Lake, AB T4S 0T8 Canada)", "UnitAmount": 2.50, "TaxType": "TAX012", "TaxAmount": 0.13, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "37417680-095a-48d7-84ac-66fd59be604d", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Provides a $5/store/month discount for Covid-19", "UnitAmount": -5.00, "TaxType": "TAX012", "TaxAmount": -0.25, "LineAmount": -5.00, "AccountCode": "303", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "cc5b490b-bfdc-47a9-9884-269cbade5fac", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 72.50, "TotalTax": 3.63, "Total": 76.13, "UpdatedDateUTC": "\/Date(1742473081380+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:18:01] Production.INFO: -- Create Invoice id --9fec1ffb-9991-487c-89fa-16102394aba3 [2025-03-20 08:18:01] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:18:01] Production.INFO: CheckInvoice xerov2: INV11393 [2025-03-20 08:18:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11393 [2025-03-20 08:18:04] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:18:04] Production.INFO: Invoice SubTotal 67.500000 [2025-03-20 08:18:04] Production.INFO: Invoice DetTotal 67.5 [2025-03-20 08:18:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010471%20%28Ken%20Hoose%29" [2025-03-20 08:18:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:18:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:18:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:18:16] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (5196333123 - 965 Talbot St C St Thomas, ON N5P 1E8 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 2,UnitAmount : -5.000000,LineAmount : -10.000000} [2025-03-20 08:18:20] Production.INFO: ==== result ===== [2025-03-20 08:18:20] Production.INFO: { "Id": "11e8d83b-f63c-4766-aa9f-d981aed86f99", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473100330)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "7796fea6-d8be-4b33-ba1d-94973c47d1c9", "InvoiceNumber": "INV11393", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 76.28, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "035db9cd-92a8-4776-bb57-e5a70cdb3e03", "ContactStatus": "ACTIVE", "Name": "Dominos 10471 (Ken Hoose)", "FirstName": "Ken", "LastName": "Hoose", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1655925306193+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-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": "Restaurant - 4 Line Flat Rate", "UnitAmount": 75.00, "TaxType": "TAX020", "TaxAmount": 9.75, "LineAmount": 75.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "372dd132-e764-42a4-adb0-cfd4ae8032b9", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (5196333123 - 965 Talbot St C St Thomas, ON N5P 1E8 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "22b20cbb-a739-42a7-b6ca-1389101e5833", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service", "UnitAmount": -5.00, "TaxType": "TAX020", "TaxAmount": -1.30, "LineAmount": -10.00, "AccountCode": "303", "Tracking": [], "Quantity": 2.0000, "LineItemID": "81336841-73f3-48d4-8cfd-e45478a4646b", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "ValidationErrors": [] } ], "SubTotal": 67.50, "TotalTax": 8.78, "Total": 76.28, "UpdatedDateUTC": "\/Date(1742473100267+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:18:20] Production.INFO: -- Create Invoice id --7796fea6-d8be-4b33-ba1d-94973c47d1c9 [2025-03-20 08:18:20] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:18:20] Production.INFO: CheckInvoice xerov2: AB20250114 [2025-03-20 08:18:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=AB20250114 [2025-03-20 08:18:23] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:18:23] Production.INFO: Invoice SubTotal 365.000000 [2025-03-20 08:18:23] Production.INFO: Invoice DetTotal 365 [2025-03-20 08:18:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="OnSwitch%20Inc." [2025-03-20 08:18:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:18:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:18:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:18:34] Production.INFO: =========Invoices String here======{taxType:"TAX020",DiscountRate : 0.000000,"Description": "Lenovo ThinkPad/I7/8TH/16/256/W10P",Quantity : 1,UnitAmount : 365.000000,LineAmount : 365.000000} [2025-03-20 08:18:37] Production.INFO: ==== result ===== [2025-03-20 08:18:37] Production.INFO: { "Id": "1f7bea09-eed1-4dab-936b-69d7a18d9c9b", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473117705)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "a18aa2af-f907-4728-934c-ee094749acd6", "InvoiceNumber": "AB20250114", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 412.45, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "58c0a22c-96df-434a-9fdd-d2d00307341d", "ContactStatus": "ACTIVE", "Name": "OnSwitch Inc.", "FirstName": "Jessica", "LastName": "Holdcroft", "EmailAddress": "jessica@onswitchit.ca", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "AddressLine1": "PO Box 25058", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Keswick", "Region": "ON", "PostalCode": "L4P 4C2", "Country": "Canada", "AttentionTo": "Jessica Holdcroft" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "(289) 4701289", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "2894701289", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1487615948263+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "DefaultCurrency": "CAD", "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": "Lenovo ThinkPad/I7/8TH/16/256/W10P", "UnitAmount": 365.00, "TaxType": "TAX020", "TaxAmount": 47.45, "LineAmount": 365.00, "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "a4d21e04-80b4-4f36-a385-aa3f5406f646", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 365.00, "TotalTax": 47.45, "Total": 412.45, "UpdatedDateUTC": "\/Date(1742473117660+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:18:37] Production.INFO: -- Create Invoice id --a18aa2af-f907-4728-934c-ee094749acd6 [2025-03-20 08:18:37] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:18:37] Production.INFO: CheckInvoice xerov2: INV11365 [2025-03-20 08:18:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11365 [2025-03-20 08:18:40] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:18:40] Production.INFO: Invoice SubTotal 77.440000 [2025-03-20 08:18:40] Production.INFO: Invoice DetTotal 77.44 [2025-03-20 08:18:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Behrns%20Metal%20Fabricating%20Inc" [2025-03-20 08:18:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:18:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:18:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:18:51] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 12-13-2024 To 01-12-2025",Quantity : 1,UnitAmount : 2.940000,LineAmount : 2.940000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 10.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 8,UnitAmount : 10.000000,LineAmount : 72.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (15192914136 - 6650 Perth County Line 88 Gowanstown, ON N0G 1Y0 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 08:18:54] Production.INFO: ==== result ===== [2025-03-20 08:18:54] Production.INFO: { "Id": "4c5767b0-0ed3-484f-978a-df32f547b7a5", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473134575)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "20b592d0-ff97-4434-80f8-45bb3021e2bc", "InvoiceNumber": "INV11365", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 87.51, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 8.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "b5208613-a884-49ac-9417-cb8891a7008b", "ContactStatus": "ACTIVE", "Name": "Behrns Metal Fabricating Inc", "FirstName": "Janice", "LastName": "George", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1686216462723+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-13T00:00:00", "Date": "\/Date(1736726400000+0000)\/", "DueDateString": "2025-02-12T00:00:00", "DueDate": "\/Date(1739318400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 12-13-2024 To 01-12-2025", "UnitAmount": 2.94, "TaxType": "TAX020", "TaxAmount": 0.38, "LineAmount": 2.94, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "14a47218-5703-48dd-8aa7-aae603d3f8be", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for an Unlimited Canada/US Cloud Phone extension", "UnitAmount": 10.00, "TaxType": "TAX020", "TaxAmount": 9.36, "LineAmount": 72.00, "AccountCode": "203", "Tracking": [], "Quantity": 8.0000, "DiscountRate": 10.00, "LineItemID": "fc510b79-dd9e-41ed-89e3-5a106fa22081", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 8.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (15192914136 - 6650 Perth County Line 88 Gowanstown, ON N0G 1Y0 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "ac5e95c5-f548-467e-9603-b6a61d2d2e52", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 77.44, "TotalTax": 10.07, "Total": 87.51, "UpdatedDateUTC": "\/Date(1742473134497+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:18:54] Production.INFO: -- Create Invoice id --20b592d0-ff97-4434-80f8-45bb3021e2bc [2025-03-20 08:18:54] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:18:54] Production.INFO: CheckInvoice xerov2: INV11343 [2025-03-20 08:18:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11343 [2025-03-20 08:18:57] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:18:57] Production.INFO: Invoice SubTotal 46.250000 [2025-03-20 08:18:57] Production.INFO: Invoice DetTotal 46.25 [2025-03-20 08:18:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="J.%20Randall%20Graham%2C%20CPA" [2025-03-20 08:19:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:19:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:19:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:19:09] Production.INFO: =========Invoices String here======{AccountCode : 234,DiscountRate : 0.000000,"Description": " From 12-10-2024 To 01-09-2025",Quantity : 1,UnitAmount : 1.750000,LineAmount : 1.750000},{AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 6,UnitAmount : 7.000000,LineAmount : 42.000000},{AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (18605166325 - 1616 METROPOLITAN CIR UNIT A TALLAHASSEE, FL 32308)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 08:19:13] Production.INFO: ==== result ===== [2025-03-20 08:19:13] Production.INFO: { "Id": "3ef77bff-c21e-407e-992a-3b2482c9d82a", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473152917)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "9cccd6b1-b8d0-40a2-b615-ff8353595214", "InvoiceNumber": "INV11343", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 52.27, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "7aa12a04-66d6-4e6f-ae1b-86427d18b26f", "ContactStatus": "ACTIVE", "Name": "J. Randall Graham, CPA", "FirstName": "Randy", "LastName": "Graham", "EmailAddress": "jrgcpa@nettally.com", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "AddressLine1": "1616-A Metropolitan Circle", "AddressLine2": "", "AddressLine3": "Tallahassee, 32308", "AddressLine4": "", "City": "Tallahassee", "Region": "", "PostalCode": "32308", "Country": "United States", "AttentionTo": "Randy Graham" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "(850) 3853711", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "8503853711,101", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "8505456466", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1497928193093+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-10T00:00:00", "Date": "\/Date(1736467200000+0000)\/", "DueDateString": "2025-01-17T00:00:00", "DueDate": "\/Date(1737072000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 12-10-2024 To 01-09-2025", "UnitAmount": 1.75, "TaxType": "OUTPUT", "TaxAmount": 0.23, "LineAmount": 1.75, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "1a7886b4-a61f-43a9-9406-a82ac96459df", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for a Pay As You Go Cloud Phone extension", "UnitAmount": 7.00, "TaxType": "OUTPUT", "TaxAmount": 5.46, "LineAmount": 42.00, "AccountCode": "203", "Tracking": [], "Quantity": 6.0000, "DiscountRate": 0.00, "LineItemID": "34ecb8a8-9938-421f-b1c1-02a7eda52b1a", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (18605166325 - 1616 METROPOLITAN CIR UNIT A TALLAHASSEE, FL 32308)", "UnitAmount": 2.50, "TaxType": "OUTPUT", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "fbe9a7f1-d02e-40b3-8094-4aee2efd7ffe", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 46.25, "TotalTax": 6.02, "Total": 52.27, "UpdatedDateUTC": "\/Date(1742473152857+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:19:13] Production.INFO: -- Create Invoice id --9cccd6b1-b8d0-40a2-b615-ff8353595214 [2025-03-20 08:19:13] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:19:13] Production.INFO: CheckInvoice xerov2: INV11332 [2025-03-20 08:19:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11332 [2025-03-20 08:19:15] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:19:15] Production.INFO: Invoice SubTotal 617.500000 [2025-03-20 08:19:15] Production.INFO: Invoice DetTotal 617.5 [2025-03-20 08:19:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Agora%20Dealer%20Services%20Corp." [2025-03-20 08:19:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:19:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:19:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:19:28] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (8554624672 - 6285 Northam Dr Suite 100, Mississauga, ON L4V 1X5)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Extension",Quantity : 27,UnitAmount : 21.000000,LineAmount : 567.000000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Softphone License Add-On",Quantity : 27,UnitAmount : 1.000000,LineAmount : 27.000000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Call Recording Add-On",Quantity : 21,UnitAmount : 1.000000,LineAmount : 21.000000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE e-Fax Add-On",Quantity : 21,UnitAmount : 1.000000,LineAmount : 21.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Unbilled Extension - Opus Consulting",Quantity : 1,UnitAmount : -21.000000,LineAmount : -21.000000} [2025-03-20 08:19:31] Production.INFO: ==== result ===== [2025-03-20 08:19:31] Production.INFO: { "Id": "032d1173-7272-4205-b9fc-4d1524cc0d7b", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473171160)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "eac33e21-fbe9-49e5-8143-8a0599b96321", "InvoiceNumber": "INV11332", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 697.78, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "49e5c80a-3116-49fe-9e6f-15ec07433251", "ContactStatus": "ACTIVE", "Name": "Agora Dealer Services Corp.", "FirstName": "Cristina", "LastName": "Zsoter", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1742472987663+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-08T00:00:00", "Date": "\/Date(1736294400000+0000)\/", "DueDateString": "2025-02-07T00:00:00", "DueDate": "\/Date(1738886400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "e911 address registration (8554624672 - 6285 Northam Dr Suite 100, Mississauga, ON L4V 1X5)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "b5f58c81-1de2-43e0-b257-54b12c5ed2d1", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Extension", "UnitAmount": 21.00, "TaxType": "TAX020", "TaxAmount": 73.71, "LineAmount": 567.00, "AccountCode": "203", "Tracking": [], "Quantity": 27.0000, "LineItemID": "1250c5d2-f455-478a-97af-65ac05004631", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 3.51, "LineAmount": 27.00, "AccountCode": "203", "Tracking": [], "Quantity": 27.0000, "LineItemID": "2b8d193a-c113-4304-bac0-f615f9bfea38", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Call Recording Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 2.73, "LineAmount": 21.00, "AccountCode": "203", "Tracking": [], "Quantity": 21.0000, "LineItemID": "d5adbab9-e465-4232-beb5-721bf9c6b554", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE e-Fax Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 2.73, "LineAmount": 21.00, "AccountCode": "203", "Tracking": [], "Quantity": 21.0000, "LineItemID": "2b8fbd84-c6d9-44dd-9a3f-14c6fa8ea2e6", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Unbilled Extension - Opus Consulting", "UnitAmount": -21.00, "TaxType": "TAX020", "TaxAmount": -2.73, "LineAmount": -21.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "7185cdf3-77fb-4a90-a491-a57e0ad85540", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 617.50, "TotalTax": 80.28, "Total": 697.78, "UpdatedDateUTC": "\/Date(1742473171113+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:19:31] Production.INFO: -- Create Invoice id --eac33e21-fbe9-49e5-8143-8a0599b96321 [2025-03-20 08:19:31] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:19:31] Production.INFO: CheckInvoice xerov2: INV11414 [2025-03-20 08:19:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11414 [2025-03-20 08:19:34] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:19:34] Production.INFO: Invoice SubTotal 2966.320000 [2025-03-20 08:19:34] Production.INFO: Invoice DetTotal 2966.32 [2025-03-20 08:19:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="CopperTree%20Solutions" [2025-03-20 08:19:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:19:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:19:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:19:46] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Per Person License (2024-08-08 to 2024-09-07)",Quantity : 28,UnitAmount : 12.990000,LineAmount : 363.720000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 50.000000,"Description": "CloudPhone.ONE Softphone License (2024-08-08 to 2024-09-07)",Quantity : 28,UnitAmount : 2.000000,LineAmount : 28.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Call Recording Per Person One Month Storage (2024-08-08 to 2024-09-07)",Quantity : 28,UnitAmount : 1.000000,LineAmount : 28.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Per Person License (2024-09-08 to 2024-10-07)",Quantity : 28,UnitAmount : 12.990000,LineAmount : 363.720000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 50.000000,"Description": "CloudPhone.ONE Softphone License (2024-09-08 to 2024-10-07)",Quantity : 28,UnitAmount : 2.000000,LineAmount : 28.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Call Recording Per Person One Month Storage (2024-09-08 to 2024-10-07)",Quantity : 28,UnitAmount : 1.000000,LineAmount : 28.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Per Person License (2024-10-08 to 2024-11-07)",Quantity : 28,UnitAmount : 12.990000,LineAmount : 363.720000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 50.000000,"Description": "CloudPhone.ONE Softphone License (2024-10-08 to 2024-11-07)",Quantity : 28,UnitAmount : 2.000000,LineAmount : 28.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Call Recording Per Person One Month Storage (2024-10-08 to 2024-11-07)",Quantity : 28,UnitAmount : 1.000000,LineAmount : 28.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Per Person License (2024-11-08 to 2024-12-07)",Quantity : 28,UnitAmount : 12.990000,LineAmount : 363.720000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 50.000000,"Description": "CloudPhone.ONE Softphone License (2024-11-08 to 2024-12-07)",Quantity : 28,UnitAmount : 2.000000,LineAmount : 28.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Call Recording Per Person One Month Storage (2024-11-08 to 2024-12-07)",Quantity : 28,UnitAmount : 1.000000,LineAmount : 28.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Per Person License (2024-12-08 to 2025-01-07)",Quantity : 28,UnitAmount : 12.990000,LineAmount : 363.720000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 50.000000,"Description": "CloudPhone.ONE Softphone License (2024-12-08 to 2025-01-07)",Quantity : 28,UnitAmount : 2.000000,LineAmount : 28.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Call Recording Per Person One Month Storage (2024-12-08 to 2025-01-07)",Quantity : 28,UnitAmount : 1.000000,LineAmount : 28.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Per Person License (2025-01-08 to 2025-02-07)",Quantity : 28,UnitAmount : 12.990000,LineAmount : 363.720000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 50.000000,"Description": "CloudPhone.ONE Softphone License (2025-01-08 to 2025-02-07)",Quantity : 28,UnitAmount : 2.000000,LineAmount : 28.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Call Recording Per Person One Month Storage (2025-01-08 to 2025-02-07)",Quantity : 28,UnitAmount : 1.000000,LineAmount : 28.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Initial Setup of CloudPhone.ONE System - Per Person License",Quantity : 28,UnitAmount : 16.000000,LineAmount : 448.000000} [2025-03-20 08:19:50] Production.INFO: ==== result ===== [2025-03-20 08:19:50] Production.INFO: { "Id": "d227b550-d479-46a5-b84f-34c4d545cb49", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473190392)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "385fdbf2-ef04-4c6f-8193-ab04eabfbd52", "InvoiceNumber": "INV11414", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 3351.92, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 168.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "5b032d6b-da73-4d79-a723-58e72d272fdb", "ContactStatus": "ACTIVE", "Name": "CopperTree Solutions", "FirstName": "Matthew", "LastName": "Hutchinson", "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(1742472995730+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-08T00:00:00", "Date": "\/Date(1736294400000+0000)\/", "DueDateString": "2025-02-07T00:00:00", "DueDate": "\/Date(1738886400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "CloudPhone.ONE Per Person License (2024-08-08 to 2024-09-07)", "UnitAmount": 12.99, "TaxType": "TAX020", "TaxAmount": 47.28, "LineAmount": 363.72, "AccountCode": "203", "Tracking": [], "Quantity": 28.0000, "DiscountRate": 0.00, "LineItemID": "86b07589-b29c-43df-95d8-7ca716961f79", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License (2024-08-08 to 2024-09-07)", "UnitAmount": 2.00, "TaxType": "TAX020", "TaxAmount": 3.64, "LineAmount": 28.00, "AccountCode": "203", "Tracking": [], "Quantity": 28.0000, "DiscountRate": 50.00, "LineItemID": "4c9c555c-f1b0-4ce3-84ad-1f3af06a2527", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 28.0000, "ValidationErrors": [] }, { "Description": "Call Recording Per Person One Month Storage (2024-08-08 to 2024-09-07)", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 3.64, "LineAmount": 28.00, "AccountCode": "203", "Tracking": [], "Quantity": 28.0000, "DiscountRate": 0.00, "LineItemID": "cb081b45-e7fa-4b83-8a48-ac5e39145443", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Per Person License (2024-09-08 to 2024-10-07)", "UnitAmount": 12.99, "TaxType": "TAX020", "TaxAmount": 47.28, "LineAmount": 363.72, "AccountCode": "203", "Tracking": [], "Quantity": 28.0000, "DiscountRate": 0.00, "LineItemID": "3ffb07b1-a30f-46f2-817d-0b4ddd2a99e5", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License (2024-09-08 to 2024-10-07)", "UnitAmount": 2.00, "TaxType": "TAX020", "TaxAmount": 3.64, "LineAmount": 28.00, "AccountCode": "203", "Tracking": [], "Quantity": 28.0000, "DiscountRate": 50.00, "LineItemID": "2e57ce61-fd6f-4c5b-88ac-6410b07845dd", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 28.0000, "ValidationErrors": [] }, { "Description": "Call Recording Per Person One Month Storage (2024-09-08 to 2024-10-07)", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 3.64, "LineAmount": 28.00, "AccountCode": "203", "Tracking": [], "Quantity": 28.0000, "DiscountRate": 0.00, "LineItemID": "35287714-f4df-4348-94f3-fe232f441383", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Per Person License (2024-10-08 to 2024-11-07)", "UnitAmount": 12.99, "TaxType": "TAX020", "TaxAmount": 47.28, "LineAmount": 363.72, "AccountCode": "203", "Tracking": [], "Quantity": 28.0000, "DiscountRate": 0.00, "LineItemID": "6ecb6cff-677e-4083-a4d9-29ab44d48b0e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License (2024-10-08 to 2024-11-07)", "UnitAmount": 2.00, "TaxType": "TAX020", "TaxAmount": 3.64, "LineAmount": 28.00, "AccountCode": "203", "Tracking": [], "Quantity": 28.0000, "DiscountRate": 50.00, "LineItemID": "bd9bbf47-24b2-431f-ae60-c6cb33a4f8fa", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 28.0000, "ValidationErrors": [] }, { "Description": "Call Recording Per Person One Month Storage (2024-10-08 to 2024-11-07)", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 3.64, "LineAmount": 28.00, "AccountCode": "203", "Tracking": [], "Quantity": 28.0000, "DiscountRate": 0.00, "LineItemID": "59670183-f90f-44f2-8440-a5b84dad3821", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Per Person License (2024-11-08 to 2024-12-07)", "UnitAmount": 12.99, "TaxType": "TAX020", "TaxAmount": 47.28, "LineAmount": 363.72, "AccountCode": "203", "Tracking": [], "Quantity": 28.0000, "DiscountRate": 0.00, "LineItemID": "9609e286-38b0-48d8-9977-4b14b711e44f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License (2024-11-08 to 2024-12-07)", "UnitAmount": 2.00, "TaxType": "TAX020", "TaxAmount": 3.64, "LineAmount": 28.00, "AccountCode": "203", "Tracking": [], "Quantity": 28.0000, "DiscountRate": 50.00, "LineItemID": "93a4d4b8-b410-4ca8-bfd9-c5f9312e0330", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 28.0000, "ValidationErrors": [] }, { "Description": "Call Recording Per Person One Month Storage (2024-11-08 to 2024-12-07)", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 3.64, "LineAmount": 28.00, "AccountCode": "203", "Tracking": [], "Quantity": 28.0000, "DiscountRate": 0.00, "LineItemID": "784c5295-9cdb-4705-901a-20bc0209ebc7", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Per Person License (2024-12-08 to 2025-01-07)", "UnitAmount": 12.99, "TaxType": "TAX020", "TaxAmount": 47.28, "LineAmount": 363.72, "AccountCode": "203", "Tracking": [], "Quantity": 28.0000, "DiscountRate": 0.00, "LineItemID": "e4c91973-5114-42c3-b008-b1f30cd42a16", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License (2024-12-08 to 2025-01-07)", "UnitAmount": 2.00, "TaxType": "TAX020", "TaxAmount": 3.64, "LineAmount": 28.00, "AccountCode": "203", "Tracking": [], "Quantity": 28.0000, "DiscountRate": 50.00, "LineItemID": "eebc7606-ff1e-41eb-860d-aea556691091", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 28.0000, "ValidationErrors": [] }, { "Description": "Call Recording Per Person One Month Storage (2024-12-08 to 2025-01-07)", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 3.64, "LineAmount": 28.00, "AccountCode": "203", "Tracking": [], "Quantity": 28.0000, "DiscountRate": 0.00, "LineItemID": "6c273a70-4c4e-4964-98d0-075e09ed518c", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Per Person License (2025-01-08 to 2025-02-07)", "UnitAmount": 12.99, "TaxType": "TAX020", "TaxAmount": 47.28, "LineAmount": 363.72, "AccountCode": "203", "Tracking": [], "Quantity": 28.0000, "DiscountRate": 0.00, "LineItemID": "f004e51f-c9ff-4668-9f28-58a1c76f3b59", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License (2025-01-08 to 2025-02-07)", "UnitAmount": 2.00, "TaxType": "TAX020", "TaxAmount": 3.64, "LineAmount": 28.00, "AccountCode": "203", "Tracking": [], "Quantity": 28.0000, "DiscountRate": 50.00, "LineItemID": "4b8c12cd-5e33-47a2-b259-7ff90748193a", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 28.0000, "ValidationErrors": [] }, { "Description": "Call Recording Per Person One Month Storage (2025-01-08 to 2025-02-07)", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 3.64, "LineAmount": 28.00, "AccountCode": "203", "Tracking": [], "Quantity": 28.0000, "DiscountRate": 0.00, "LineItemID": "013415e6-3ef8-465f-9bb5-2f23fd200081", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Initial Setup of CloudPhone.ONE System - Per Person License", "UnitAmount": 16.00, "TaxType": "TAX020", "TaxAmount": 58.24, "LineAmount": 448.00, "AccountCode": "203", "Tracking": [], "Quantity": 28.0000, "DiscountRate": 0.00, "LineItemID": "cfb2fa53-cea7-467b-873e-108b12de699d", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 2966.32, "TotalTax": 385.60, "Total": 3351.92, "UpdatedDateUTC": "\/Date(1742473190283+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:19:50] Production.INFO: -- Create Invoice id --385fdbf2-ef04-4c6f-8193-ab04eabfbd52 [2025-03-20 08:19:50] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:19:50] Production.INFO: CheckInvoice xerov2: INV11415 [2025-03-20 08:19:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11415 [2025-03-20 08:19:53] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:19:53] Production.INFO: Invoice SubTotal 4765.040000 [2025-03-20 08:19:53] Production.INFO: Invoice DetTotal 4765.04 [2025-03-20 08:19:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Robson%20Carpenter%20LLP" [2025-03-20 08:19:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:19:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:20:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:20:05] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Initial setup: CloudPhone.ONE Per Person License",Quantity : 37,UnitAmount : 16.000000,LineAmount : 592.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Per Person License (2024-06-08 to 2024-07-07)",Quantity : 37,UnitAmount : 12.990000,LineAmount : 480.630000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone License (2024-06-08 to 2024-07-07)",Quantity : 18,UnitAmount : 2.000000,LineAmount : 36.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Add-On - Fax Line (2024-06-08 to 2024-07-07)",Quantity : 1,UnitAmount : 5.000000,LineAmount : 5.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Per Person License (2024-07-08 to 2024-08-07)",Quantity : 37,UnitAmount : 12.990000,LineAmount : 480.630000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone License (2024-07-08 to 2024-08-07)",Quantity : 18,UnitAmount : 2.000000,LineAmount : 36.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Add-On - Fax Line (2024-07-08 to 2024-08-07)",Quantity : 1,UnitAmount : 5.000000,LineAmount : 5.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Per Person License (2024-08-08 to 2024-09-07)",Quantity : 37,UnitAmount : 12.990000,LineAmount : 480.630000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone License (2024-08-08 to 2024-09-07)",Quantity : 18,UnitAmount : 2.000000,LineAmount : 36.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Add-On - Fax Line (2024-08-08 to 2024-09-07)",Quantity : 1,UnitAmount : 5.000000,LineAmount : 5.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Per Person License (2024-09-08 to 2024-10-07)",Quantity : 37,UnitAmount : 12.990000,LineAmount : 480.630000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone License (2024-09-08 to 2024-10-07)",Quantity : 18,UnitAmount : 2.000000,LineAmount : 36.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Add-On - Fax Line (2024-09-08 to 2024-10-07)",Quantity : 1,UnitAmount : 5.000000,LineAmount : 5.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Per Person License (2024-10-08 to 2024-11-07)",Quantity : 37,UnitAmount : 12.990000,LineAmount : 480.630000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone License (2024-10-08 to 2024-11-07)",Quantity : 18,UnitAmount : 2.000000,LineAmount : 36.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Add-On - Fax Line (2024-10-08 to 2024-11-07)",Quantity : 1,UnitAmount : 5.000000,LineAmount : 5.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Per Person License (2024-11-08 to 2024-12-07)",Quantity : 37,UnitAmount : 12.990000,LineAmount : 480.630000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone License (2024-11-08 to 2024-12-07)",Quantity : 18,UnitAmount : 2.000000,LineAmount : 36.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Add-On - Fax Line (2024-11-08 to 2024-12-07)",Quantity : 1,UnitAmount : 5.000000,LineAmount : 5.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Per Person License (2024-12-08 to 2025-01-07)",Quantity : 37,UnitAmount : 12.990000,LineAmount : 480.630000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone License (2024-12-08 to 2025-01-07)",Quantity : 18,UnitAmount : 2.000000,LineAmount : 36.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Add-On - Fax Line (2024-12-08 to 2025-01-07)",Quantity : 1,UnitAmount : 5.000000,LineAmount : 5.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Per Person License (2025-01-08 to 2025-02-07)",Quantity : 37,UnitAmount : 12.990000,LineAmount : 480.630000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone License (2025-01-08 to 2025-02-07)",Quantity : 18,UnitAmount : 2.000000,LineAmount : 36.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Add-On - Fax Line (2025-01-08 to 2025-02-07)",Quantity : 1,UnitAmount : 5.000000,LineAmount : 5.000000} [2025-03-20 08:20:09] Production.INFO: ==== result ===== [2025-03-20 08:20:09] Production.INFO: { "Id": "774f7d79-5e74-4c9c-9bd7-8fe6cf16b230", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473209778)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "073dc1ab-17d0-4318-9615-f9016250c2f3", "InvoiceNumber": "INV11415", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 5384.48, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "026264ad-30db-4a13-9750-7dee8e32341c", "ContactStatus": "ACTIVE", "Name": "Robson Carpenter LLP", "FirstName": "Jessica", "LastName": "Kerr", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1742468949203+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-08T00:00:00", "Date": "\/Date(1736294400000+0000)\/", "DueDateString": "2025-02-07T00:00:00", "DueDate": "\/Date(1738886400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Initial setup: CloudPhone.ONE Per Person License", "UnitAmount": 16.00, "TaxType": "TAX020", "TaxAmount": 76.96, "LineAmount": 592.00, "AccountCode": "203", "Tracking": [], "Quantity": 37.0000, "DiscountRate": 0.00, "LineItemID": "781792ea-3fb9-4839-bc48-f6b0fbee265d", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Per Person License (2024-06-08 to 2024-07-07)", "UnitAmount": 12.99, "TaxType": "TAX020", "TaxAmount": 62.48, "LineAmount": 480.63, "AccountCode": "203", "Tracking": [], "Quantity": 37.0000, "DiscountRate": 0.00, "LineItemID": "5b74edc9-fc71-4717-b60b-726260ca7e7e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License (2024-06-08 to 2024-07-07)", "UnitAmount": 2.00, "TaxType": "TAX020", "TaxAmount": 4.68, "LineAmount": 36.00, "AccountCode": "203", "Tracking": [], "Quantity": 18.0000, "DiscountRate": 0.00, "LineItemID": "9679c023-c8d1-4e0d-ad20-e5e9b5c261e7", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Add-On - Fax Line (2024-06-08 to 2024-07-07)", "UnitAmount": 5.00, "TaxType": "TAX020", "TaxAmount": 0.65, "LineAmount": 5.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "fca56690-1eb1-47fd-b678-d5504a6fbf7b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Per Person License (2024-07-08 to 2024-08-07)", "UnitAmount": 12.99, "TaxType": "TAX020", "TaxAmount": 62.48, "LineAmount": 480.63, "AccountCode": "203", "Tracking": [], "Quantity": 37.0000, "DiscountRate": 0.00, "LineItemID": "9de4c45b-8015-4d9c-87c8-cd6ba27a2d26", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License (2024-07-08 to 2024-08-07)", "UnitAmount": 2.00, "TaxType": "TAX020", "TaxAmount": 4.68, "LineAmount": 36.00, "AccountCode": "203", "Tracking": [], "Quantity": 18.0000, "DiscountRate": 0.00, "LineItemID": "b85d5c3c-4817-4fef-beba-72047e859229", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Add-On - Fax Line (2024-07-08 to 2024-08-07)", "UnitAmount": 5.00, "TaxType": "TAX020", "TaxAmount": 0.65, "LineAmount": 5.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "22c56ba6-b284-4b9e-b10a-2b849ea8bee0", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Per Person License (2024-08-08 to 2024-09-07)", "UnitAmount": 12.99, "TaxType": "TAX020", "TaxAmount": 62.48, "LineAmount": 480.63, "AccountCode": "203", "Tracking": [], "Quantity": 37.0000, "DiscountRate": 0.00, "LineItemID": "21fa0d4a-26b1-40d2-9f34-5aca50097037", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License (2024-08-08 to 2024-09-07)", "UnitAmount": 2.00, "TaxType": "TAX020", "TaxAmount": 4.68, "LineAmount": 36.00, "AccountCode": "203", "Tracking": [], "Quantity": 18.0000, "DiscountRate": 0.00, "LineItemID": "adc1f1ef-c94f-4e27-a908-c079645f31b7", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Add-On - Fax Line (2024-08-08 to 2024-09-07)", "UnitAmount": 5.00, "TaxType": "TAX020", "TaxAmount": 0.65, "LineAmount": 5.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "773305de-3739-4cbb-932b-7853b0b01d93", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Per Person License (2024-09-08 to 2024-10-07)", "UnitAmount": 12.99, "TaxType": "TAX020", "TaxAmount": 62.48, "LineAmount": 480.63, "AccountCode": "203", "Tracking": [], "Quantity": 37.0000, "DiscountRate": 0.00, "LineItemID": "daf84930-0be3-405c-aedf-5ccd7d7fbda3", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License (2024-09-08 to 2024-10-07)", "UnitAmount": 2.00, "TaxType": "TAX020", "TaxAmount": 4.68, "LineAmount": 36.00, "AccountCode": "203", "Tracking": [], "Quantity": 18.0000, "DiscountRate": 0.00, "LineItemID": "45e12ef7-889b-4aba-8786-babc7c53b972", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Add-On - Fax Line (2024-09-08 to 2024-10-07)", "UnitAmount": 5.00, "TaxType": "TAX020", "TaxAmount": 0.65, "LineAmount": 5.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "b85cd2e2-9384-441a-b6f0-7f214745b6b2", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Per Person License (2024-10-08 to 2024-11-07)", "UnitAmount": 12.99, "TaxType": "TAX020", "TaxAmount": 62.48, "LineAmount": 480.63, "AccountCode": "203", "Tracking": [], "Quantity": 37.0000, "DiscountRate": 0.00, "LineItemID": "24567f19-e69d-4f6d-b6bd-8d34965fa4b7", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License (2024-10-08 to 2024-11-07)", "UnitAmount": 2.00, "TaxType": "TAX020", "TaxAmount": 4.68, "LineAmount": 36.00, "AccountCode": "203", "Tracking": [], "Quantity": 18.0000, "DiscountRate": 0.00, "LineItemID": "eb288dba-780e-4e0a-beb0-ed45c4c43b96", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Add-On - Fax Line (2024-10-08 to 2024-11-07)", "UnitAmount": 5.00, "TaxType": "TAX020", "TaxAmount": 0.65, "LineAmount": 5.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "22bf4e06-bcf1-4008-94da-cc8580b1c17e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Per Person License (2024-11-08 to 2024-12-07)", "UnitAmount": 12.99, "TaxType": "TAX020", "TaxAmount": 62.48, "LineAmount": 480.63, "AccountCode": "203", "Tracking": [], "Quantity": 37.0000, "DiscountRate": 0.00, "LineItemID": "27e0b1b8-8b83-41e8-9cdf-e5f5df13c08f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License (2024-11-08 to 2024-12-07)", "UnitAmount": 2.00, "TaxType": "TAX020", "TaxAmount": 4.68, "LineAmount": 36.00, "AccountCode": "203", "Tracking": [], "Quantity": 18.0000, "DiscountRate": 0.00, "LineItemID": "b8edc5ef-2cbf-4d03-b782-3eb525e7faca", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Add-On - Fax Line (2024-11-08 to 2024-12-07)", "UnitAmount": 5.00, "TaxType": "TAX020", "TaxAmount": 0.65, "LineAmount": 5.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "79900d73-dc3f-43ce-b4bb-3ed3f796885e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Per Person License (2024-12-08 to 2025-01-07)", "UnitAmount": 12.99, "TaxType": "TAX020", "TaxAmount": 62.48, "LineAmount": 480.63, "AccountCode": "203", "Tracking": [], "Quantity": 37.0000, "DiscountRate": 0.00, "LineItemID": "94a89c16-8ba1-400a-bd7b-795e1d30fed8", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License (2024-12-08 to 2025-01-07)", "UnitAmount": 2.00, "TaxType": "TAX020", "TaxAmount": 4.68, "LineAmount": 36.00, "AccountCode": "203", "Tracking": [], "Quantity": 18.0000, "DiscountRate": 0.00, "LineItemID": "0570f470-fae0-46c0-a684-2a23b05968ef", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Add-On - Fax Line (2024-12-08 to 2025-01-07)", "UnitAmount": 5.00, "TaxType": "TAX020", "TaxAmount": 0.65, "LineAmount": 5.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "81b67751-f8c0-4e4f-9e92-056a9213cb37", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Per Person License (2025-01-08 to 2025-02-07)", "UnitAmount": 12.99, "TaxType": "TAX020", "TaxAmount": 62.48, "LineAmount": 480.63, "AccountCode": "203", "Tracking": [], "Quantity": 37.0000, "DiscountRate": 0.00, "LineItemID": "39e59c20-382d-4422-9c88-07b81cb5ba69", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License (2025-01-08 to 2025-02-07)", "UnitAmount": 2.00, "TaxType": "TAX020", "TaxAmount": 4.68, "LineAmount": 36.00, "AccountCode": "203", "Tracking": [], "Quantity": 18.0000, "DiscountRate": 0.00, "LineItemID": "f40450f5-b8b2-4407-a078-7cb9f2be943d", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Add-On - Fax Line (2025-01-08 to 2025-02-07)", "UnitAmount": 5.00, "TaxType": "TAX020", "TaxAmount": 0.65, "LineAmount": 5.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "8a3d855c-83e1-4bc3-87e7-11ebdfd73ddf", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 4765.04, "TotalTax": 619.44, "Total": 5384.48, "UpdatedDateUTC": "\/Date(1742473209433+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:20:10] Production.INFO: -- Create Invoice id --073dc1ab-17d0-4318-9615-f9016250c2f3 [2025-03-20 08:20:10] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:20:10] Production.INFO: CheckInvoice xerov2: INV11307 [2025-03-20 08:20:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11307 [2025-03-20 08:20:13] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:20:13] Production.INFO: Invoice SubTotal 77.500000 [2025-03-20 08:20:13] Production.INFO: Invoice DetTotal 77.5 [2025-03-20 08:20:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010583%20%28William%20Prichard%29" [2025-03-20 08:20:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:20:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:20:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:20:25] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (12262272000 - 257 James St Delhi, ON N4B 1X5 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 08:20:28] Production.INFO: ==== result ===== [2025-03-20 08:20:28] Production.INFO: { "Id": "003cbf63-fb4d-44aa-bc0d-bfcac0e93e9d", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473228138)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "39230c8a-d0ef-4f88-9e59-598a4cef3b24", "InvoiceNumber": "INV11307", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 87.58, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "17005aca-7cf0-4aa4-ac3f-3f8f1c2c61ea", "ContactStatus": "ACTIVE", "Name": "Dominos 10583 (William Prichard)", "FirstName": "William", "LastName": "Prichard", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1646697446090+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-04T00:00:00", "Date": "\/Date(1735948800000+0000)\/", "DueDateString": "2025-02-03T00:00:00", "DueDate": "\/Date(1738540800000+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": "8feb698a-594a-490b-8879-fd5c5a734ff2", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (12262272000 - 257 James St Delhi, ON N4B 1X5 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "6772d667-2c2f-4f58-b47d-f284e2e14acf", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 77.50, "TotalTax": 10.08, "Total": 87.58, "UpdatedDateUTC": "\/Date(1742473228090+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:20:28] Production.INFO: -- Create Invoice id --39230c8a-d0ef-4f88-9e59-598a4cef3b24 [2025-03-20 08:20:28] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:20:28] Production.INFO: CheckInvoice xerov2: INV11308 [2025-03-20 08:20:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11308 [2025-03-20 08:20:30] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:20:30] Production.INFO: Invoice SubTotal 106.010000 [2025-03-20 08:20:30] Production.INFO: Invoice DetTotal 106.01 [2025-03-20 08:20:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Telco%20Steel%20Works" [2025-03-20 08:20:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:20:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:20:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:20:42] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 12-04-2024 To 01-03-2025",Quantity : 1,UnitAmount : 6.010000,LineAmount : 6.010000},{taxType:"TAX020",AccountCode : 203,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 5,UnitAmount : 15.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 70.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension (courtesy/seldom used phones)",Quantity : 5,UnitAmount : 15.000000,LineAmount : 22.500000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (5198371973 - 550 Southgate Drive Guelph, ON N1G4P6 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 08:20:45] Production.INFO: ==== result ===== [2025-03-20 08:20:45] Production.INFO: { "Id": "4177b555-783d-4e16-b2d1-39d737670ed8", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473245805)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "158d3242-b623-434f-8b1e-03ab8310760b", "InvoiceNumber": "INV11308", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 119.80, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 52.50, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "ce77076d-4a3e-4b85-a7f2-c24523d8b78b", "ContactStatus": "ACTIVE", "Name": "Telco Steel Works", "FirstName": "Anne Marie", "LastName": "Bianchi", "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(1696240424807+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-04T00:00:00", "Date": "\/Date(1735948800000+0000)\/", "DueDateString": "2025-02-03T00:00:00", "DueDate": "\/Date(1738540800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 12-04-2024 To 01-03-2025", "UnitAmount": 6.01, "TaxType": "TAX020", "TaxAmount": 0.78, "LineAmount": 6.01, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "97605b5d-d8b3-43ea-b9ae-4fef099c1bf0", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for an Unlimited Canada/US Cloud Phone extension", "UnitAmount": 15.00, "TaxType": "TAX020", "TaxAmount": 9.75, "LineAmount": 75.00, "AccountCode": "203", "Tracking": [], "Quantity": 5.0000, "LineItemID": "3d3bf38c-350d-4ab4-bb48-0b7bbda5394a", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "License for an Unlimited Canada/US Cloud Phone extension (courtesy/seldom used phones)", "UnitAmount": 15.00, "TaxType": "TAX020", "TaxAmount": 2.93, "LineAmount": 22.50, "AccountCode": "203", "Tracking": [], "Quantity": 5.0000, "DiscountRate": 70.00, "LineItemID": "94a75697-3552-4f37-bc2b-682c7dff056a", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 52.5000, "ValidationErrors": [] }, { "Description": "e911 address registration (5198371973 - 550 Southgate Drive Guelph, ON N1G4P6 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "339f53ae-a3ad-4421-9e51-c9e6f1a94a40", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 106.01, "TotalTax": 13.79, "Total": 119.80, "UpdatedDateUTC": "\/Date(1742473245773+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:20:45] Production.INFO: -- Create Invoice id --158d3242-b623-434f-8b1e-03ab8310760b [2025-03-20 08:20:45] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:20:45] Production.INFO: CheckInvoice xerov2: INV11293 [2025-03-20 08:20:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11293 [2025-03-20 08:20:48] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:20:48] Production.INFO: Invoice SubTotal 67.500000 [2025-03-20 08:20:48] Production.INFO: Invoice DetTotal 67.5 [2025-03-20 08:20:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010581%20%28Ken%20Hoose%29" [2025-03-20 08:20:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:20:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:20:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:20: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 (12265700029- 300 Elm Street St. Thomas, ON N5R 1J7 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 2,UnitAmount : -5.000000,LineAmount : -10.000000} [2025-03-20 08:21:02] Production.INFO: ==== result ===== [2025-03-20 08:21:02] Production.INFO: { "Id": "ea7ccf70-8c9f-484f-8a52-fd8c9f829b9c", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473262701)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "46b74c01-02a8-4128-9812-f2612e1c9c69", "InvoiceNumber": "INV11293", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 76.28, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "07c709b0-937e-40e5-a0d5-b08ea9074e65", "ContactStatus": "ACTIVE", "Name": "Dominos 10581 (Ken Hoose)", "FirstName": "Ken", "LastName": "Hoose", "EmailAddress": "kenhoose94@gmail.com", "BankAccountDetails": "", "AccountsReceivableTaxType": "TAX011", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "", "AttentionTo": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "", "AttentionTo": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1617976682070+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesDefaultAccountCode": "203", "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-01T00:00:00", "Date": "\/Date(1735689600000+0000)\/", "DueDateString": "2025-01-31T00:00:00", "DueDate": "\/Date(1738281600000+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": "64a9a77f-77cf-4302-be21-16fc1346d010", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (12265700029- 300 Elm Street St. Thomas, ON N5R 1J7 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "2bc116d8-bfac-4091-b80a-be0c16ac375f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service", "UnitAmount": -5.00, "TaxType": "TAX020", "TaxAmount": -1.30, "LineAmount": -10.00, "AccountCode": "303", "Tracking": [], "Quantity": 2.0000, "LineItemID": "2497aea1-d3a5-4470-bd7a-5b7978292bf1", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "ValidationErrors": [] } ], "SubTotal": 67.50, "TotalTax": 8.78, "Total": 76.28, "UpdatedDateUTC": "\/Date(1742473262653+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:21:02] Production.INFO: -- Create Invoice id --46b74c01-02a8-4128-9812-f2612e1c9c69 [2025-03-20 08:21:02] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:21:02] Production.INFO: CheckInvoice xerov2: INV11280 [2025-03-20 08:21:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11280 [2025-03-20 08:21:05] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:21:05] Production.INFO: Invoice SubTotal 79.630000 [2025-03-20 08:21:05] Production.INFO: Invoice DetTotal 79.63 [2025-03-20 08:21:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Lions%20Auto%20Protection" [2025-03-20 08:21:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:21:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:21:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:21:18] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 12-01-2024 To 12-30-2024",Quantity : 1,UnitAmount : 17.130000,LineAmount : 17.130000},{taxType:"TAX020",AccountCode : 203,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 6,UnitAmount : 10.000000,LineAmount : 60.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (9056299698 - 1 Greensborough Drive, Suite 300, Etobicoke, ON M9W1C8)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 08:21:21] Production.INFO: ==== result ===== [2025-03-20 08:21:21] Production.INFO: { "Id": "c5b870a8-e82a-4089-b80f-5d5f067385f5", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473281441)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "c0cda08b-68ab-42fb-a281-aafa7b4cdb87", "InvoiceNumber": "INV11280", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 89.99, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "173facd8-68c9-4e18-bac1-f10f211f33e1", "ContactStatus": "ACTIVE", "Name": "Lions Auto Protection", "FirstName": "Krystyne", "LastName": "V.", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1696242146763+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-12-31T00:00:00", "Date": "\/Date(1735603200000+0000)\/", "DueDateString": "2025-01-30T00:00:00", "DueDate": "\/Date(1738195200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 12-01-2024 To 12-30-2024", "UnitAmount": 17.13, "TaxType": "TAX020", "TaxAmount": 2.23, "LineAmount": 17.13, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "d839eff6-eed0-4a00-ad68-ec7f56c416ae", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for an Unlimited Canada/US Cloud Phone extension", "UnitAmount": 10.00, "TaxType": "TAX020", "TaxAmount": 7.80, "LineAmount": 60.00, "AccountCode": "203", "Tracking": [], "Quantity": 6.0000, "LineItemID": "c4b55974-d2a3-4547-9b54-395f8c5b806f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (9056299698 - 1 Greensborough Drive, Suite 300, Etobicoke, ON M9W1C8)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "45912a8f-26f3-464f-b1dd-ee46514efb59", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 79.63, "TotalTax": 10.36, "Total": 89.99, "UpdatedDateUTC": "\/Date(1742473281393+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:21:21] Production.INFO: -- Create Invoice id --c0cda08b-68ab-42fb-a281-aafa7b4cdb87 [2025-03-20 08:21:21] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:21:21] Production.INFO: CheckInvoice xerov2: INV11211 [2025-03-20 08:21:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11211 [2025-03-20 08:21:24] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:21:24] Production.INFO: Invoice SubTotal 77.700000 [2025-03-20 08:21:24] Production.INFO: Invoice DetTotal 77.7 [2025-03-20 08:21:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Behrns%20Metal%20Fabricating%20Inc" [2025-03-20 08:21:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:21:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:21:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:21:36] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 11-13-2024 To 12-12-2024",Quantity : 1,UnitAmount : 3.200000,LineAmount : 3.200000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 10.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 8,UnitAmount : 10.000000,LineAmount : 72.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (15192914136 - 6650 Perth County Line 88 Gowanstown, ON N0G 1Y0 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 08:21:39] Production.INFO: ==== result ===== [2025-03-20 08:21:39] Production.INFO: { "Id": "a855d701-cb79-403f-a8ae-9843a35bdf9a", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473299650)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "404c4bf3-5a7a-4481-8987-dc89fafb3784", "InvoiceNumber": "INV11211", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 87.81, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 8.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "b5208613-a884-49ac-9417-cb8891a7008b", "ContactStatus": "ACTIVE", "Name": "Behrns Metal Fabricating Inc", "FirstName": "Janice", "LastName": "George", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1686216462723+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-12-13T00:00:00", "Date": "\/Date(1734048000000+0000)\/", "DueDateString": "2025-01-12T00:00:00", "DueDate": "\/Date(1736640000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 11-13-2024 To 12-12-2024", "UnitAmount": 3.20, "TaxType": "TAX020", "TaxAmount": 0.42, "LineAmount": 3.20, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "6bba5cdc-290f-4a57-ad9f-ccf3b64bb2c8", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for an Unlimited Canada/US Cloud Phone extension", "UnitAmount": 10.00, "TaxType": "TAX020", "TaxAmount": 9.36, "LineAmount": 72.00, "AccountCode": "203", "Tracking": [], "Quantity": 8.0000, "DiscountRate": 10.00, "LineItemID": "1cd90ce9-53d4-4b1d-8eb3-caab7ab044a4", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 8.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (15192914136 - 6650 Perth County Line 88 Gowanstown, ON N0G 1Y0 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "31463dd5-6969-4bc7-8383-f0a470c67b28", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 77.70, "TotalTax": 10.11, "Total": 87.81, "UpdatedDateUTC": "\/Date(1742473299603+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:21:39] Production.INFO: -- Create Invoice id --404c4bf3-5a7a-4481-8987-dc89fafb3784 [2025-03-20 08:21:39] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:21:39] Production.INFO: CheckInvoice xerov2: INV11175 [2025-03-20 08:21:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11175 [2025-03-20 08:21:42] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:21:42] Production.INFO: Invoice SubTotal 617.500000 [2025-03-20 08:21:42] Production.INFO: Invoice DetTotal 617.5 [2025-03-20 08:21:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Agora%20Dealer%20Services%20Corp." [2025-03-20 08:21:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:21:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:21:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:21:53] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (8554624672 - 6285 Northam Dr Suite 100, Mississauga, ON L4V 1X5)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Extension",Quantity : 27,UnitAmount : 21.000000,LineAmount : 567.000000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Softphone License Add-On",Quantity : 27,UnitAmount : 1.000000,LineAmount : 27.000000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Call Recording Add-On",Quantity : 21,UnitAmount : 1.000000,LineAmount : 21.000000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE e-Fax Add-On",Quantity : 21,UnitAmount : 1.000000,LineAmount : 21.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Unbilled Extension - Opus Consulting",Quantity : 1,UnitAmount : -21.000000,LineAmount : -21.000000} [2025-03-20 08:21:57] Production.INFO: ==== result ===== [2025-03-20 08:21:57] Production.INFO: { "Id": "657aa219-e3c9-481d-8f25-3edf94faf684", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473317028)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "389aa15a-9e78-49fb-92eb-49f80fbca754", "InvoiceNumber": "INV11175", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 697.78, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "49e5c80a-3116-49fe-9e6f-15ec07433251", "ContactStatus": "ACTIVE", "Name": "Agora Dealer Services Corp.", "FirstName": "Cristina", "LastName": "Zsoter", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1742472987663+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-12-08T00:00:00", "Date": "\/Date(1733616000000+0000)\/", "DueDateString": "2025-01-07T00:00:00", "DueDate": "\/Date(1736208000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "e911 address registration (8554624672 - 6285 Northam Dr Suite 100, Mississauga, ON L4V 1X5)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "cccd3be4-c451-4542-9245-f49ca00a235e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Extension", "UnitAmount": 21.00, "TaxType": "TAX020", "TaxAmount": 73.71, "LineAmount": 567.00, "AccountCode": "203", "Tracking": [], "Quantity": 27.0000, "LineItemID": "07b13a06-7a53-45d7-83cc-fccdf8cdb504", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 3.51, "LineAmount": 27.00, "AccountCode": "203", "Tracking": [], "Quantity": 27.0000, "LineItemID": "9244d25b-c7c3-4a56-9722-09066e7d5dfe", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Call Recording Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 2.73, "LineAmount": 21.00, "AccountCode": "203", "Tracking": [], "Quantity": 21.0000, "LineItemID": "97beb924-63e2-4366-8656-35281bb85029", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE e-Fax Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 2.73, "LineAmount": 21.00, "AccountCode": "203", "Tracking": [], "Quantity": 21.0000, "LineItemID": "2e25f28c-7f3b-46e9-9f57-4c1bc2eb2bff", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Unbilled Extension - Opus Consulting", "UnitAmount": -21.00, "TaxType": "TAX020", "TaxAmount": -2.73, "LineAmount": -21.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "dc90d713-48b4-45b1-8e2f-3bb6623998e2", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 617.50, "TotalTax": 80.28, "Total": 697.78, "UpdatedDateUTC": "\/Date(1742473316980+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:21:57] Production.INFO: -- Create Invoice id --389aa15a-9e78-49fb-92eb-49f80fbca754 [2025-03-20 08:21:57] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:21:57] Production.INFO: CheckInvoice xerov2: INV11150 [2025-03-20 08:21:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11150 [2025-03-20 08:22:00] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:22:00] Production.INFO: Invoice SubTotal 106.240000 [2025-03-20 08:22:00] Production.INFO: Invoice DetTotal 106.24 [2025-03-20 08:22:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Telco%20Steel%20Works" [2025-03-20 08:22:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:22:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:22:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:22:11] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 11-04-2024 To 12-03-2024",Quantity : 1,UnitAmount : 6.240000,LineAmount : 6.240000},{taxType:"TAX020",AccountCode : 203,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 5,UnitAmount : 15.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 70.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension (courtesy/seldom used phones)",Quantity : 5,UnitAmount : 15.000000,LineAmount : 22.500000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (5198371973 - 550 Southgate Drive Guelph, ON N1G4P6 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 08:22:14] Production.INFO: ==== result ===== [2025-03-20 08:22:14] Production.INFO: { "Id": "3913e1b1-9bf1-4855-9dd3-90eb121f4b81", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473334563)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "787d20f8-89bf-43e5-8136-64f13a50c819", "InvoiceNumber": "INV11150", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 120.06, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 52.50, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "ce77076d-4a3e-4b85-a7f2-c24523d8b78b", "ContactStatus": "ACTIVE", "Name": "Telco Steel Works", "FirstName": "Anne Marie", "LastName": "Bianchi", "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(1696240424807+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-12-04T00:00:00", "Date": "\/Date(1733270400000+0000)\/", "DueDateString": "2025-01-03T00:00:00", "DueDate": "\/Date(1735862400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 11-04-2024 To 12-03-2024", "UnitAmount": 6.24, "TaxType": "TAX020", "TaxAmount": 0.81, "LineAmount": 6.24, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "c5d1af32-7eb8-4eda-a29a-8db62aa8d5f1", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for an Unlimited Canada/US Cloud Phone extension", "UnitAmount": 15.00, "TaxType": "TAX020", "TaxAmount": 9.75, "LineAmount": 75.00, "AccountCode": "203", "Tracking": [], "Quantity": 5.0000, "LineItemID": "c0c84814-1b7b-4d1c-b744-c82af462a90e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "License for an Unlimited Canada/US Cloud Phone extension (courtesy/seldom used phones)", "UnitAmount": 15.00, "TaxType": "TAX020", "TaxAmount": 2.93, "LineAmount": 22.50, "AccountCode": "203", "Tracking": [], "Quantity": 5.0000, "DiscountRate": 70.00, "LineItemID": "aa19169c-a42f-4a4a-b062-a0aaa09703c2", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 52.5000, "ValidationErrors": [] }, { "Description": "e911 address registration (5198371973 - 550 Southgate Drive Guelph, ON N1G4P6 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "86204fcf-b1f5-4dff-9a22-55ac5066504a", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 106.24, "TotalTax": 13.82, "Total": 120.06, "UpdatedDateUTC": "\/Date(1742473334533+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:22:14] Production.INFO: -- Create Invoice id --787d20f8-89bf-43e5-8136-64f13a50c819 [2025-03-20 08:22:14] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:22:14] Production.INFO: CheckInvoice xerov2: INV11016 [2025-03-20 08:22:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11016 [2025-03-20 08:22:17] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:22:17] Production.INFO: Invoice SubTotal 617.500000 [2025-03-20 08:22:17] Production.INFO: Invoice DetTotal 617.5 [2025-03-20 08:22:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Agora%20Dealer%20Services%20Corp." [2025-03-20 08:22:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:22:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:22:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:22:29] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (8554624672 - 6285 Northam Dr Suite 100, Mississauga, ON L4V 1X5)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Extension",Quantity : 27,UnitAmount : 21.000000,LineAmount : 567.000000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Softphone License Add-On",Quantity : 27,UnitAmount : 1.000000,LineAmount : 27.000000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Call Recording Add-On",Quantity : 21,UnitAmount : 1.000000,LineAmount : 21.000000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE e-Fax Add-On",Quantity : 21,UnitAmount : 1.000000,LineAmount : 21.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Unbilled Extension - Opus Consulting",Quantity : 1,UnitAmount : -21.000000,LineAmount : -21.000000} [2025-03-20 08:22:33] Production.INFO: ==== result ===== [2025-03-20 08:22:33] Production.INFO: { "Id": "0f478d2d-5cc9-42fd-8b5e-45fbe34f67d0", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473353046)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "28194bfb-0cd2-4abb-a613-98434b93861a", "InvoiceNumber": "INV11016", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 697.78, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "49e5c80a-3116-49fe-9e6f-15ec07433251", "ContactStatus": "ACTIVE", "Name": "Agora Dealer Services Corp.", "FirstName": "Cristina", "LastName": "Zsoter", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1742472987663+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-11-08T00:00:00", "Date": "\/Date(1731024000000+0000)\/", "DueDateString": "2024-12-08T00:00:00", "DueDate": "\/Date(1733616000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "e911 address registration (8554624672 - 6285 Northam Dr Suite 100, Mississauga, ON L4V 1X5)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "0943389b-535c-4971-9721-f356c1f77a3f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Extension", "UnitAmount": 21.00, "TaxType": "TAX020", "TaxAmount": 73.71, "LineAmount": 567.00, "AccountCode": "203", "Tracking": [], "Quantity": 27.0000, "LineItemID": "533dfc81-6be5-4584-898b-997f4e10f41c", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 3.51, "LineAmount": 27.00, "AccountCode": "203", "Tracking": [], "Quantity": 27.0000, "LineItemID": "754af8fc-61fd-4947-a2ee-a5ee6585978e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Call Recording Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 2.73, "LineAmount": 21.00, "AccountCode": "203", "Tracking": [], "Quantity": 21.0000, "LineItemID": "435b6f12-dfc2-4eb6-9fc9-29db27c9823b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE e-Fax Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 2.73, "LineAmount": 21.00, "AccountCode": "203", "Tracking": [], "Quantity": 21.0000, "LineItemID": "e8efbc5b-32b4-4494-8bc3-1be33fe4b126", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Unbilled Extension - Opus Consulting", "UnitAmount": -21.00, "TaxType": "TAX020", "TaxAmount": -2.73, "LineAmount": -21.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "70fb2ddc-2ef8-43be-89eb-9d3af75ca127", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 617.50, "TotalTax": 80.28, "Total": 697.78, "UpdatedDateUTC": "\/Date(1742473353013+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:22:33] Production.INFO: -- Create Invoice id --28194bfb-0cd2-4abb-a613-98434b93861a [2025-03-20 08:22:33] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:22:33] Production.INFO: CheckInvoice xerov2: INV10865 [2025-03-20 08:22:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10865 [2025-03-20 08:22:36] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:22:36] Production.INFO: Invoice SubTotal 1615.760000 [2025-03-20 08:22:36] Production.INFO: Invoice DetTotal 1615.76 [2025-03-20 08:22:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Ball%20Construction" [2025-03-20 08:22:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:22:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:22:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:22:48] 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-03-20 08:22:52] Production.INFO: ==== result ===== [2025-03-20 08:22:52] Production.INFO: { "Id": "bd7f7e55-b460-44a8-9f0e-2f6a80d79fc6", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473372279)\/", "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-03-20 08:22:52] Production.INFO: -- Create Invoice Error -- [2025-03-20 08:22:52] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:22:52] Production.INFO: CheckInvoice xerov2: INV10847 [2025-03-20 08:22:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10847 [2025-03-20 08:22:55] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:22:55] Production.INFO: Invoice SubTotal 1093.750000 [2025-03-20 08:22:55] Production.INFO: Invoice DetTotal 1093.75 [2025-03-20 08:22:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Agora%20Dealer%20Services%20Corp." [2025-03-20 08:22:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:23:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:23:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:23:07] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (8554624672 - 6285 Northam Dr Suite 100, Mississauga, ON L4V 1X5)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Extension",Quantity : 27,UnitAmount : 21.000000,LineAmount : 567.000000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Softphone License Add-On",Quantity : 27,UnitAmount : 1.000000,LineAmount : 27.000000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Call Recording Add-On",Quantity : 21,UnitAmount : 1.000000,LineAmount : 21.000000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE e-Fax Add-On",Quantity : 21,UnitAmount : 1.000000,LineAmount : 21.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Unbilled Extension - Opus Consulting",Quantity : 1,UnitAmount : -21.000000,LineAmount : -21.000000},{taxType:"TAX020",AccountCode : 202,"Description": "CloudPhone.ONE Phone Provisioning",Quantity : 1,UnitAmount : 25.000000,LineAmount : 25.000000},{taxType:"TAX020",AccountCode : 202,"Description": "Custom Development - eFax merging and cover page combination",Quantity : 4.75,UnitAmount : 95.000000,LineAmount : 451.250000} [2025-03-20 08:23:11] Production.INFO: ==== result ===== [2025-03-20 08:23:11] Production.INFO: { "Id": "c1d1de3e-2a1c-481f-97e5-2b01207ff1e4", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473391298)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "37d97408-1af1-4f2a-9d3a-f77ea5426a72", "InvoiceNumber": "INV10847", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 1235.94, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "49e5c80a-3116-49fe-9e6f-15ec07433251", "ContactStatus": "ACTIVE", "Name": "Agora Dealer Services Corp.", "FirstName": "Cristina", "LastName": "Zsoter", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1742472987663+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-10-08T00:00:00", "Date": "\/Date(1728345600000+0000)\/", "DueDateString": "2024-11-07T00:00:00", "DueDate": "\/Date(1730937600000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "e911 address registration (8554624672 - 6285 Northam Dr Suite 100, Mississauga, ON L4V 1X5)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "fb5c334e-8645-4e59-bb0a-0b204b3ccb09", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Extension", "UnitAmount": 21.00, "TaxType": "TAX020", "TaxAmount": 73.71, "LineAmount": 567.00, "AccountCode": "203", "Tracking": [], "Quantity": 27.0000, "LineItemID": "34607989-a1ea-4bc3-892c-4e8bac8d42ff", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 3.51, "LineAmount": 27.00, "AccountCode": "203", "Tracking": [], "Quantity": 27.0000, "LineItemID": "550c41f0-b023-4cc0-b233-6c26926f584e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Call Recording Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 2.73, "LineAmount": 21.00, "AccountCode": "203", "Tracking": [], "Quantity": 21.0000, "LineItemID": "9743b2d5-e7ca-4c47-b568-0381e20152f8", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE e-Fax Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 2.73, "LineAmount": 21.00, "AccountCode": "203", "Tracking": [], "Quantity": 21.0000, "LineItemID": "8955a75f-3456-4724-9f95-d50277bdcb14", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Unbilled Extension - Opus Consulting", "UnitAmount": -21.00, "TaxType": "TAX020", "TaxAmount": -2.73, "LineAmount": -21.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "60aaa58e-0b56-4a7c-b62e-266bf74ee190", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Phone Provisioning", "UnitAmount": 25.00, "TaxType": "TAX020", "TaxAmount": 3.25, "LineAmount": 25.00, "AccountCode": "202", "Tracking": [], "Quantity": 1.0000, "LineItemID": "60102cf4-f650-4335-9c0c-c443711fcb6b", "AccountID": "92a889dc-22ae-4d25-b487-df8f4980f0ad", "ValidationErrors": [] }, { "Description": "Custom Development - eFax merging and cover page combination", "UnitAmount": 95.00, "TaxType": "TAX020", "TaxAmount": 58.66, "LineAmount": 451.25, "AccountCode": "202", "Tracking": [], "Quantity": 4.7500, "LineItemID": "7faeeb78-3d8d-434f-bf0b-9623eebc8d7e", "AccountID": "92a889dc-22ae-4d25-b487-df8f4980f0ad", "ValidationErrors": [] } ], "SubTotal": 1093.75, "TotalTax": 142.19, "Total": 1235.94, "UpdatedDateUTC": "\/Date(1742473391253+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:23:11] Production.INFO: -- Create Invoice id --37d97408-1af1-4f2a-9d3a-f77ea5426a72 [2025-03-20 08:23:11] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:23:11] Production.INFO: CheckInvoice xerov2: INV10700 [2025-03-20 08:23:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10700 [2025-03-20 08:23:14] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:23:14] Production.INFO: Invoice SubTotal 29.100000 [2025-03-20 08:23:14] Production.INFO: Invoice DetTotal 29.1 [2025-03-20 08:23:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plaza%20Auto%20Group" [2025-03-20 08:23:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:23:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:23:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:23:25] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 5.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 4,UnitAmount : 7.000000,LineAmount : 26.600000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (4169007907 - 9144 Yonge St., Richmond Hill, ON)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 08:23:29] Production.INFO: ==== result ===== [2025-03-20 08:23:29] Production.INFO: { "Id": "9d73fbec-7101-464f-8ade-4a6c2afe7fd9", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473408916)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "6cdf15e2-1aac-4042-bc4d-4698d4d9b3d7", "InvoiceNumber": "INV10700", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 32.89, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 1.40, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "6b58ee01-f67a-4205-8873-1c91dd58d79c", "ContactStatus": "ACTIVE", "Name": "Plaza Auto Group", "FirstName": "Daniel", "LastName": "Stein", "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(1730121861697+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-09-14T00:00:00", "Date": "\/Date(1726272000000+0000)\/", "DueDateString": "2024-10-14T00:00:00", "DueDate": "\/Date(1728864000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "License for an Unlimited Canada/US Cloud Phone extension", "UnitAmount": 7.00, "TaxType": "TAX020", "TaxAmount": 3.46, "LineAmount": 26.60, "AccountCode": "203", "Tracking": [], "Quantity": 4.0000, "DiscountRate": 5.00, "LineItemID": "fa4c14fc-6c37-4a7c-92bb-6c22b8fdee79", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 1.4000, "ValidationErrors": [] }, { "Description": "e911 address registration (4169007907 - 9144 Yonge St., Richmond Hill, ON)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "eb2f6461-cb0e-47d8-adf1-463ead73a981", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 29.10, "TotalTax": 3.79, "Total": 32.89, "UpdatedDateUTC": "\/Date(1742473408853+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:23:29] Production.INFO: -- Create Invoice id --6cdf15e2-1aac-4042-bc4d-4698d4d9b3d7 [2025-03-20 08:23:29] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:23:29] Production.INFO: CheckInvoice xerov2: INV10660 [2025-03-20 08:23:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10660 [2025-03-20 08:23:32] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:23:32] Production.INFO: Invoice SubTotal 617.500000 [2025-03-20 08:23:32] Production.INFO: Invoice DetTotal 617.5 [2025-03-20 08:23:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Agora%20Dealer%20Services%20Corp." [2025-03-20 08:23:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:23:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:23:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:23:43] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (8554624672 - 6285 Northam Dr Suite 100, Mississauga, ON L4V 1X5)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Extension",Quantity : 27,UnitAmount : 21.000000,LineAmount : 567.000000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Softphone License Add-On",Quantity : 27,UnitAmount : 1.000000,LineAmount : 27.000000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Call Recording Add-On",Quantity : 21,UnitAmount : 1.000000,LineAmount : 21.000000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE e-Fax Add-On",Quantity : 21,UnitAmount : 1.000000,LineAmount : 21.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Unbilled Extension - Opus Consulting",Quantity : 1,UnitAmount : -21.000000,LineAmount : -21.000000} [2025-03-20 08:23:47] Production.INFO: ==== result ===== [2025-03-20 08:23:47] Production.INFO: { "Id": "264cace5-e68b-46b6-b697-808df0590d37", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473427113)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "10d37b4a-a3c6-4f20-bf6d-981937a8ff4f", "InvoiceNumber": "INV10660", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 697.78, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "49e5c80a-3116-49fe-9e6f-15ec07433251", "ContactStatus": "ACTIVE", "Name": "Agora Dealer Services Corp.", "FirstName": "Cristina", "LastName": "Zsoter", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1742472987663+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-09-08T00:00:00", "Date": "\/Date(1725753600000+0000)\/", "DueDateString": "2024-10-08T00:00:00", "DueDate": "\/Date(1728345600000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "e911 address registration (8554624672 - 6285 Northam Dr Suite 100, Mississauga, ON L4V 1X5)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "3a3d2974-8243-4759-9d98-82a9e3278807", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Extension", "UnitAmount": 21.00, "TaxType": "TAX020", "TaxAmount": 73.71, "LineAmount": 567.00, "AccountCode": "203", "Tracking": [], "Quantity": 27.0000, "LineItemID": "25e6bb19-98f0-44ee-8678-680dd5914c67", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 3.51, "LineAmount": 27.00, "AccountCode": "203", "Tracking": [], "Quantity": 27.0000, "LineItemID": "2edc5d17-6544-49f2-9688-dde2c21b32b3", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Call Recording Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 2.73, "LineAmount": 21.00, "AccountCode": "203", "Tracking": [], "Quantity": 21.0000, "LineItemID": "1f728fac-c8f9-4336-8579-9efcb9caea72", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE e-Fax Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 2.73, "LineAmount": 21.00, "AccountCode": "203", "Tracking": [], "Quantity": 21.0000, "LineItemID": "ba973bd9-6bf6-4cbe-96f6-25f8a3b89594", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Unbilled Extension - Opus Consulting", "UnitAmount": -21.00, "TaxType": "TAX020", "TaxAmount": -2.73, "LineAmount": -21.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "af7b1304-6010-4995-bf29-042e9da8b215", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 617.50, "TotalTax": 80.28, "Total": 697.78, "UpdatedDateUTC": "\/Date(1742473427050+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:23:47] Production.INFO: -- Create Invoice id --10d37b4a-a3c6-4f20-bf6d-981937a8ff4f [2025-03-20 08:23:47] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:23:47] Production.INFO: CheckInvoice xerov2: INV10748 [2025-03-20 08:23:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10748 [2025-03-20 08:23:50] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:23:50] Production.INFO: Invoice SubTotal 1235.000000 [2025-03-20 08:23:50] Production.INFO: Invoice DetTotal 1235 [2025-03-20 08:23:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Agora%20Dealer%20Services%20Corp." [2025-03-20 08:23:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:23:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:23:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:24:02] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "8554624672 - 6285 Northam Dr Suite 100, Mississauga, ON L4V 1X5 Jul 8 to Aug 7",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Extension Jul 8 to Aug 7",Quantity : 27,UnitAmount : 21.000000,LineAmount : 567.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone License Add-On Jul 8 to Aug 7",Quantity : 27,UnitAmount : 1.000000,LineAmount : 27.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Call Recording Add-On Jul 8 to Aug 7",Quantity : 21,UnitAmount : 1.000000,LineAmount : 21.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE eFax Add-On Jul 8 to Aug 7",Quantity : 21,UnitAmount : 1.000000,LineAmount : 21.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Unbilled Extension for Opus Consulting Jul 8 to Aug 7",Quantity : 1,UnitAmount : -21.000000,LineAmount : -21.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "8554624672 - 6285 Northam Dr Suite 100, Mississauga, ON L4V 1X5 Aug 8 to Sep 7",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Extension Aug 8 to Sep 7",Quantity : 27,UnitAmount : 21.000000,LineAmount : 567.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone License Add-On Aug 8 to Sep 7",Quantity : 27,UnitAmount : 1.000000,LineAmount : 27.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Call Recording Add-On Aug 8 to Sep 7",Quantity : 21,UnitAmount : 1.000000,LineAmount : 21.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE eFax Add-On Aug 8 to Sep 7",Quantity : 21,UnitAmount : 1.000000,LineAmount : 21.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Unbilled Extension for Opus Consulting Aug 8 to Sep 7",Quantity : 1,UnitAmount : -21.000000,LineAmount : -21.000000} [2025-03-20 08:24:06] Production.INFO: ==== result ===== [2025-03-20 08:24:06] Production.INFO: { "Id": "15dcc391-6e61-4143-9cf4-3d1e8a4221e2", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473445849)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "df2c9464-5471-4b33-96f6-d22001e6359d", "InvoiceNumber": "INV10748", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 1395.56, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "49e5c80a-3116-49fe-9e6f-15ec07433251", "ContactStatus": "ACTIVE", "Name": "Agora Dealer Services Corp.", "FirstName": "Cristina", "LastName": "Zsoter", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1742472987663+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-09-07T00:00:00", "Date": "\/Date(1725667200000+0000)\/", "DueDateString": "2024-10-07T00:00:00", "DueDate": "\/Date(1728259200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "8554624672 - 6285 Northam Dr Suite 100, Mississauga, ON L4V 1X5 Jul 8 to Aug 7", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "f21df286-24ea-46cd-b6ad-6d1a21c8558f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Extension Jul 8 to Aug 7", "UnitAmount": 21.00, "TaxType": "TAX020", "TaxAmount": 73.71, "LineAmount": 567.00, "AccountCode": "203", "Tracking": [], "Quantity": 27.0000, "DiscountRate": 0.00, "LineItemID": "2ba286f0-1cbc-4361-ac15-d44b60ef19d4", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License Add-On Jul 8 to Aug 7", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 3.51, "LineAmount": 27.00, "AccountCode": "203", "Tracking": [], "Quantity": 27.0000, "DiscountRate": 0.00, "LineItemID": "ca9e2420-e43e-45ea-bba0-8fd8977557e3", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Call Recording Add-On Jul 8 to Aug 7", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 2.73, "LineAmount": 21.00, "AccountCode": "203", "Tracking": [], "Quantity": 21.0000, "DiscountRate": 0.00, "LineItemID": "f5f43af7-faa9-4877-8b2a-297c42e68ed5", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE eFax Add-On Jul 8 to Aug 7", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 2.73, "LineAmount": 21.00, "AccountCode": "203", "Tracking": [], "Quantity": 21.0000, "DiscountRate": 0.00, "LineItemID": "1abd8824-8d31-4d94-9a39-93593b04f496", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Unbilled Extension for Opus Consulting Jul 8 to Aug 7", "UnitAmount": -21.00, "TaxType": "TAX020", "TaxAmount": -2.73, "LineAmount": -21.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "357a469a-6e7e-4807-abd9-c4bacf19e884", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "8554624672 - 6285 Northam Dr Suite 100, Mississauga, ON L4V 1X5 Aug 8 to Sep 7", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "f440f881-e385-4f36-a4ef-ac5ce81a9432", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Extension Aug 8 to Sep 7", "UnitAmount": 21.00, "TaxType": "TAX020", "TaxAmount": 73.71, "LineAmount": 567.00, "AccountCode": "203", "Tracking": [], "Quantity": 27.0000, "DiscountRate": 0.00, "LineItemID": "90d16dde-56a9-4e93-8792-5d14b5216f84", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License Add-On Aug 8 to Sep 7", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 3.51, "LineAmount": 27.00, "AccountCode": "203", "Tracking": [], "Quantity": 27.0000, "DiscountRate": 0.00, "LineItemID": "4a3d4ef5-1fb1-4a1b-a78b-c95617145eeb", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Call Recording Add-On Aug 8 to Sep 7", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 2.73, "LineAmount": 21.00, "AccountCode": "203", "Tracking": [], "Quantity": 21.0000, "DiscountRate": 0.00, "LineItemID": "8d7de104-28c7-4b13-abb8-8fbee4f01b55", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE eFax Add-On Aug 8 to Sep 7", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 2.73, "LineAmount": 21.00, "AccountCode": "203", "Tracking": [], "Quantity": 21.0000, "DiscountRate": 0.00, "LineItemID": "7c9de301-4fe5-447a-951d-bfba5ebd68b7", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Unbilled Extension for Opus Consulting Aug 8 to Sep 7", "UnitAmount": -21.00, "TaxType": "TAX020", "TaxAmount": -2.73, "LineAmount": -21.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "dba67e48-290e-47c8-8f1c-ff3a409ba5e3", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 1235.00, "TotalTax": 160.56, "Total": 1395.56, "UpdatedDateUTC": "\/Date(1742473445803+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:24:06] Production.INFO: -- Create Invoice id --df2c9464-5471-4b33-96f6-d22001e6359d [2025-03-20 08:24:06] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:24:06] Production.INFO: CheckInvoice xerov2: INV10403 [2025-03-20 08:24:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10403 [2025-03-20 08:24:09] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:24:09] Production.INFO: Invoice SubTotal 197.760000 [2025-03-20 08:24:09] Production.INFO: Invoice DetTotal 197.76 [2025-03-20 08:24:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Riavera" [2025-03-20 08:24:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:24:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:24:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:24:21] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 06-18-2024 To 07-17-2024",Quantity : 1,UnitAmount : 0.170000,LineAmount : 0.170000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14168157000)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (16474939495)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DIDs (16477890070 - 16477890079)",Quantity : 10,UnitAmount : 1.500000,LineAmount : 15.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18557890078)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18663639217)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18776890076)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18889890071)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14168157000 - 181 UNIVERSITY AVE STE 2000 TORONTO, ON M5H3M7)",Quantity : 1,UnitAmount : 2.750000,LineAmount : 2.750000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 15,UnitAmount : 10.990000,LineAmount : 164.850000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (16477890077) - Digital Fax",Quantity : 1,UnitAmount : 5.990000,LineAmount : 5.990000} [2025-03-20 08:24:24] Production.INFO: ==== result ===== [2025-03-20 08:24:24] Production.INFO: { "Id": "1c3e39ae-4ca1-4710-a8a0-fd7c58dfbfde", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473464749)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "a9e05ce9-b465-4cdc-a564-ca7ae2c9d2fb", "InvoiceNumber": "INV10403", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 223.50, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "e55c0831-3c53-4fcf-8b75-89133eb5af09", "ContactStatus": "ACTIVE", "Name": "Riavera", "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(1655922965160+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-07-18T00:00:00", "Date": "\/Date(1721260800000+0000)\/", "DueDateString": "2024-08-17T00:00:00", "DueDate": "\/Date(1723852800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 06-18-2024 To 07-17-2024", "UnitAmount": 0.17, "TaxType": "TAX020", "TaxAmount": 0.02, "LineAmount": 0.17, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "36c5fb9d-0304-48a2-b761-f42e4f16fae3", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (14168157000)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "a11054c2-7728-4d0a-b982-3f43e618a8d6", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (16474939495)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "6d69b231-597c-4982-b490-3bf860ced727", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DIDs (16477890070 - 16477890079)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 1.95, "LineAmount": 15.00, "AccountCode": "203", "Tracking": [], "Quantity": 10.0000, "DiscountRate": 0.00, "LineItemID": "e19c6ca8-b7d8-41d1-a80f-6da3c61faad7", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (18557890078)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "72db14f2-eec5-4d1a-980d-54e3b5550d9e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (18663639217)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "6961d3a3-11d1-4c52-96b1-5570fa26e6af", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (18776890076)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "119c9335-ea14-4f9f-ac70-a032245aaffe", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (18889890071)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "4266a1c8-2901-4e82-a8a1-7c92eba86e02", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (14168157000 - 181 UNIVERSITY AVE STE 2000 TORONTO, ON M5H3M7)", "UnitAmount": 2.75, "TaxType": "TAX020", "TaxAmount": 0.36, "LineAmount": 2.75, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "f256b320-e7dd-40be-bc86-c5f2169c75a6", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for a Pay As You Go Cloud Phone extension", "UnitAmount": 10.99, "TaxType": "TAX020", "TaxAmount": 21.43, "LineAmount": 164.85, "AccountCode": "203", "Tracking": [], "Quantity": 15.0000, "DiscountRate": 0.00, "LineItemID": "60787069-409e-4bab-91b0-5d4d9717991d", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (16477890077) - Digital Fax", "UnitAmount": 5.99, "TaxType": "TAX020", "TaxAmount": 0.78, "LineAmount": 5.99, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "d3e6945e-b417-4b1e-9b7f-53e17467c1dd", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 197.76, "TotalTax": 25.74, "Total": 223.50, "UpdatedDateUTC": "\/Date(1742473464670+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:24:24] Production.INFO: -- Create Invoice id --a9e05ce9-b465-4cdc-a564-ca7ae2c9d2fb [2025-03-20 08:24:24] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:24:24] Production.INFO: CheckInvoice xerov2: INV9661 [2025-03-20 08:24:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV9661 [2025-03-20 08:24:27] Production.INFO: Check Invoice Id XEROV21 [2025-03-20 08:24:27] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:24:27] Production.INFO: -- Xero End Inovice -- [2025-03-20 08:24:27] Production.INFO: ==30966== Releasing lock... [2025-03-20 08:24:27] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10799 #Stops# [2025-03-20 08:24:27] Production.INFO: 33.75 MB #Memory Used#