[2025-03-20 08:31:03] Production.INFO: -- Xero Api Check --  
[2025-03-20 08:31: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] => 856
    [request_size] => 352
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.638902
    [namelookup_time] => 0.280478
    [connect_time] => 0.289189
    [pretransfer_time] => 0.482642
    [size_upload] => 82
    [size_download] => 2755
    [speed_download] => 4312
    [speed_upload] => 128
    [download_content_length] => 2755
    [upload_content_length] => 82
    [starttransfer_time] => 0.637993
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 23.53.4.17
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 54.39.180.235
    [local_port] => 57998
)
  
[2025-03-20 08:31:04] Production.INFO: -- connection successfully here --stdClass Object
(
    [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NzM4NjQsImV4cCI6MTc0MjQ3NDE2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzQyNDczODY0LCJhdF9oYXNoIjoiVjNVdzRheC1uN0h0N255Z3pPdzFkZyIsInN1YiI6Ijc1NGMxN2Q3MTA0YTUxODViYjEyZmM5ODFiN2VlMzliIiwiYXV0aF90aW1lIjoxNzQyNDY2MzA1LCJ4ZXJvX3VzZXJpZCI6IjFiOGM2ODExLTJmMGItNGU3Mi05Y2JhLTY5ZDVlM2RmOTEyYyIsImdsb2JhbF9zZXNzaW9uX2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJzaWQiOiI5ZWFmZGExM2Y5NWE0NmJjODI2Yzc4N2IxZTRjNWY1MCIsInByZWZlcnJlZF91c2VybmFtZSI6Imx5bmRhQGNsb3VkbWViLmNvbSIsImVtYWlsIjoibHluZGFAY2xvdWRtZWIuY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.iLwwLRsSYnloVj8G53IsH59PpF3NUjg5yWqBX-cnfU28hMNBKODc5Q-kYcgQnLv7NrJLlr6pBxZWVHlOr5vSTm1DyE2lG6ycg-vJCp9N_48chiRF5MecT5xfPG5VdEzmlEm7bKrgFgdZjsa9wt3-8lhZjqH-Cb9bCcisaKGmQNLDpsN4Zj2jzm9Py9Ovg2Zm1FSyqlYYDHvCg7PGp2yWxylB_yKlZu11E7tzwkwxvUb72G6GmMMuqB0YhS2B7URK_yZnYy9DjEGxeBj6zMMn1Wx5uJL-ei5dIYW0A-a1qd25ljMw2mfY8L_ipclAwfp6JEUgynxKAeUZ09ZVkXhIWQ
    [access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NzM4NjQsImV4cCI6MTc0MjQ3NTY2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI3NTRjMTdkNzEwNGE1MTg1YmIxMmZjOTgxYjdlZTM5YiIsImF1dGhfdGltZSI6MTc0MjQ2NjMwNSwieGVyb191c2VyaWQiOiIxYjhjNjgxMS0yZjBiLTRlNzItOWNiYS02OWQ1ZTNkZjkxMmMiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6IjllYWZkYTEzZjk1YTQ2YmM4MjZjNzg3YjFlNGM1ZjUwIiwic2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJqdGkiOiIyNUNEQkY1RjBBNTRGMjlDNjBDNUE2RjU4Qzg3NzMyQSIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiMGZlNDU1NWEtNmNkMy00YjFkLTljNjEtMzAzMjBmMjBmZGFkIiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.pUGgxCS0iUnC_Tnf5UzvNYeqc8zhgbEzmxQ8x3olsPDEC0rfvZlkU-hi_DWHWeYfc7Xroa6LaAFTxSDmSAeaS-_aP8KkoDlFGrpTAMBeASnQ5IgaqVlAGO-ieEsRFykTDeaxioUgir0OS7DlfXgAd6RfzUbqBWppV9G-DNs_bLx1Sfs1FzYdS1bOO-LCh5440uLQ6daiuoIvs7pAvwCzbStYydFFBb5mqtbZf-pfGML8HOx3DoPCePt3-X5JGElIgH0oUzogwHf3FD4_PsH4zNPv6JyA1VvCQFYpOSRn92UoFYxthL7qb6pz1yo4X_8tUIdqnaHbsQJyh94F5vLZQw
    [expires_in] => 1800
    [token_type] => Bearer
    [refresh_token] => l9fYakFdH6PsZug-_3Zm4heQFdjUL0og76iiaGULh7M
    [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
  
[2025-03-20 08:31:04] Production.INFO: -- connection successfully --stdClass Object
(
    [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NzM4NjQsImV4cCI6MTc0MjQ3NDE2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzQyNDczODY0LCJhdF9oYXNoIjoiVjNVdzRheC1uN0h0N255Z3pPdzFkZyIsInN1YiI6Ijc1NGMxN2Q3MTA0YTUxODViYjEyZmM5ODFiN2VlMzliIiwiYXV0aF90aW1lIjoxNzQyNDY2MzA1LCJ4ZXJvX3VzZXJpZCI6IjFiOGM2ODExLTJmMGItNGU3Mi05Y2JhLTY5ZDVlM2RmOTEyYyIsImdsb2JhbF9zZXNzaW9uX2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJzaWQiOiI5ZWFmZGExM2Y5NWE0NmJjODI2Yzc4N2IxZTRjNWY1MCIsInByZWZlcnJlZF91c2VybmFtZSI6Imx5bmRhQGNsb3VkbWViLmNvbSIsImVtYWlsIjoibHluZGFAY2xvdWRtZWIuY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.iLwwLRsSYnloVj8G53IsH59PpF3NUjg5yWqBX-cnfU28hMNBKODc5Q-kYcgQnLv7NrJLlr6pBxZWVHlOr5vSTm1DyE2lG6ycg-vJCp9N_48chiRF5MecT5xfPG5VdEzmlEm7bKrgFgdZjsa9wt3-8lhZjqH-Cb9bCcisaKGmQNLDpsN4Zj2jzm9Py9Ovg2Zm1FSyqlYYDHvCg7PGp2yWxylB_yKlZu11E7tzwkwxvUb72G6GmMMuqB0YhS2B7URK_yZnYy9DjEGxeBj6zMMn1Wx5uJL-ei5dIYW0A-a1qd25ljMw2mfY8L_ipclAwfp6JEUgynxKAeUZ09ZVkXhIWQ
    [access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NzM4NjQsImV4cCI6MTc0MjQ3NTY2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI3NTRjMTdkNzEwNGE1MTg1YmIxMmZjOTgxYjdlZTM5YiIsImF1dGhfdGltZSI6MTc0MjQ2NjMwNSwieGVyb191c2VyaWQiOiIxYjhjNjgxMS0yZjBiLTRlNzItOWNiYS02OWQ1ZTNkZjkxMmMiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6IjllYWZkYTEzZjk1YTQ2YmM4MjZjNzg3YjFlNGM1ZjUwIiwic2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJqdGkiOiIyNUNEQkY1RjBBNTRGMjlDNjBDNUE2RjU4Qzg3NzMyQSIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiMGZlNDU1NWEtNmNkMy00YjFkLTljNjEtMzAzMjBmMjBmZGFkIiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.pUGgxCS0iUnC_Tnf5UzvNYeqc8zhgbEzmxQ8x3olsPDEC0rfvZlkU-hi_DWHWeYfc7Xroa6LaAFTxSDmSAeaS-_aP8KkoDlFGrpTAMBeASnQ5IgaqVlAGO-ieEsRFykTDeaxioUgir0OS7DlfXgAd6RfzUbqBWppV9G-DNs_bLx1Sfs1FzYdS1bOO-LCh5440uLQ6daiuoIvs7pAvwCzbStYydFFBb5mqtbZf-pfGML8HOx3DoPCePt3-X5JGElIgH0oUzogwHf3FD4_PsH4zNPv6JyA1VvCQFYpOSRn92UoFYxthL7qb6pz1yo4X_8tUIdqnaHbsQJyh94F5vLZQw
    [expires_in] => 1800
    [token_type] => Bearer
    [refresh_token] => l9fYakFdH6PsZug-_3Zm4heQFdjUL0og76iiaGULh7M
    [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
  
[2025-03-20 08:31:04] Production.INFO: AccountID 90  
[2025-03-20 08:31:04] Production.INFO: AccountName Terry Anderson  
[2025-03-20 08:31:04] Production.INFO: Checkcustomer  
[2025-03-20 08:31:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Terry%20Anderson"  
[2025-03-20 08:31:07] Production.INFO: Contact id print CheckCustomer Case===d5be271f-e649-44ed-a97e-8af24111fe24  
[2025-03-20 08:31:07] Production.INFO: -- count --1  
[2025-03-20 08:31:07] Production.INFO: AccountID 102  
[2025-03-20 08:31:07] Production.INFO: AccountName Dominos 39013 (Mudassar Zia)  
[2025-03-20 08:31:07] Production.INFO: Checkcustomer  
[2025-03-20 08:31:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039013%20%28Mudassar%20Zia%29"  
[2025-03-20 08:31:10] Production.INFO: Contact id print CheckCustomer Case===8893c88d-0603-4dd4-9524-da8cd6ed65c9  
[2025-03-20 08:31:10] Production.INFO: -- count --1  
[2025-03-20 08:31:10] Production.INFO: AccountID 14  
[2025-03-20 08:31:10] Production.INFO: AccountName Dominos 10515 (Ronny Khan)  
[2025-03-20 08:31:10] Production.INFO: Checkcustomer  
[2025-03-20 08:31:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010515%20%28Ronny%20Khan%29"  
[2025-03-20 08:31:13] Production.INFO: Contact id print CheckCustomer Case===de29a9c7-cecf-49b7-b42f-7b106467f0ce  
[2025-03-20 08:31:13] Production.INFO: -- count --1  
[2025-03-20 08:31:13] Production.INFO: AccountID 133  
[2025-03-20 08:31:13] Production.INFO: AccountName Compass ELC - Admin  
[2025-03-20 08:31:13] Production.INFO: Checkcustomer  
[2025-03-20 08:31:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Admin"  
[2025-03-20 08:31:17] Production.INFO: Contact id print CheckCustomer Case===45a97611-b88b-4aeb-9499-d79cf1bf033c  
[2025-03-20 08:31:17] Production.INFO: -- count --1  
[2025-03-20 08:31:17] Production.INFO: AccountID 93  
[2025-03-20 08:31:17] Production.INFO: AccountName Personas  
[2025-03-20 08:31:17] Production.INFO: Checkcustomer  
[2025-03-20 08:31:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Personas"  
[2025-03-20 08:31:20] Production.INFO: Contact id print CheckCustomer Case===31472f57-4acd-4468-9ab0-8ed346b2d96f  
[2025-03-20 08:31:20] Production.INFO: -- count --1  
[2025-03-20 08:31:20] Production.INFO: AccountID 151  
[2025-03-20 08:31:20] Production.INFO: AccountName Dominos 10584 (Rick Singh)  
[2025-03-20 08:31:20] Production.INFO: Checkcustomer  
[2025-03-20 08:31:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010584%20%28Rick%20Singh%29"  
[2025-03-20 08:31:23] Production.INFO: Contact id print CheckCustomer Case===1e8b6299-6571-4c51-87f6-a0280833b109  
[2025-03-20 08:31:23] Production.INFO: -- count --1  
[2025-03-20 08:31:23] Production.INFO: AccountID 57  
[2025-03-20 08:31:23] Production.INFO: AccountName Dominos 39041 (Rishi Kakar)  
[2025-03-20 08:31:23] Production.INFO: Checkcustomer  
[2025-03-20 08:31:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039041%20%28Rishi%20Kakar%29"  
[2025-03-20 08:31:25] Production.INFO: Contact id print CheckCustomer Case===e874c379-a70c-405c-bc58-0ac6921c29ba  
[2025-03-20 08:31:25] Production.INFO: -- count --1  
[2025-03-20 08:31:25] Production.INFO: AccountID 107  
[2025-03-20 08:31:25] Production.INFO: AccountName Dominos 10179 (Akshay Naik)  
[2025-03-20 08:31:25] Production.INFO: Checkcustomer  
[2025-03-20 08:31:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010179%20%28Akshay%20Naik%29"  
[2025-03-20 08:31:28] Production.INFO: Contact id print CheckCustomer Case===669bb033-93e4-4d2e-aa92-454e682a5c09  
[2025-03-20 08:31:28] Production.INFO: -- count --1  
[2025-03-20 08:31:28] Production.INFO: AccountID 140  
[2025-03-20 08:31:28] Production.INFO: AccountName PharmaSave (Uxbridge)  
[2025-03-20 08:31:28] Production.INFO: Checkcustomer  
[2025-03-20 08:31:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="PharmaSave%20%28Uxbridge%29"  
[2025-03-20 08:31:30] Production.INFO: Contact id print CheckCustomer Case===ac797c62-9d84-4beb-9f18-85a8d961b94f  
[2025-03-20 08:31:30] Production.INFO: -- count --1  
[2025-03-20 08:31:30] Production.INFO: AccountID 161  
[2025-03-20 08:31:30] Production.INFO: AccountName Dominos 10476 (Sandeep Chaudhari)  
[2025-03-20 08:31:30] Production.INFO: Checkcustomer  
[2025-03-20 08:31:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010476%20%28Sandeep%20Chaudhari%29"  
[2025-03-20 08:31:33] Production.INFO: Contact id print CheckCustomer Case===fc4aff1d-c37f-4c5c-9191-e58f25d1bcb1  
[2025-03-20 08:31:33] Production.INFO: -- count --1  
[2025-03-20 08:31:33] Production.INFO: AccountID 32  
[2025-03-20 08:31:33] Production.INFO: AccountName Dominos 10353 (Ronny Khan)  
[2025-03-20 08:31:33] Production.INFO: Checkcustomer  
[2025-03-20 08:31:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010353%20%28Ronny%20Khan%29"  
[2025-03-20 08:31:36] Production.INFO: Contact id print CheckCustomer Case===a80d32c8-bbaa-43c9-b4d0-a7fff9d3ef21  
[2025-03-20 08:31:36] Production.INFO: -- count --1  
[2025-03-20 08:31:36] Production.INFO: AccountID 136  
[2025-03-20 08:31:36] Production.INFO: AccountName Dominos 10483 (Ronny Khan)  
[2025-03-20 08:31:36] Production.INFO: Checkcustomer  
[2025-03-20 08:31:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010483%20%28Ronny%20Khan%29"  
[2025-03-20 08:31:39] Production.INFO: Contact id print CheckCustomer Case===39e8e2e7-bbd0-4c58-9676-ff9889ed0960  
[2025-03-20 08:31:39] Production.INFO: -- count --1  
[2025-03-20 08:31:39] Production.INFO: AccountID 146  
[2025-03-20 08:31:39] Production.INFO: AccountName Destawed  
[2025-03-20 08:31:39] Production.INFO: Checkcustomer  
[2025-03-20 08:31:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Destawed"  
[2025-03-20 08:31:42] Production.INFO: Contact id print CheckCustomer Case===4fde2a4c-1ac0-4a92-9312-bc67898ee56e  
[2025-03-20 08:31:42] Production.INFO: -- count --1  
[2025-03-20 08:31:42] Production.INFO: AccountID 184  
[2025-03-20 08:31:42] Production.INFO: AccountName TTC (Donlands - Strathmore Subway) - Construction Site (Cancom - Think Secure)  
[2025-03-20 08:31:42] Production.INFO: Checkcustomer  
[2025-03-20 08:31:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="TTC%20%28Donlands%20-%20Strathmore%20Subway%29%20-%20Construction%20Site%20%28Cancom%20-%20Think%20Secure%29"  
[2025-03-20 08:31:45] Production.INFO: Contact id print CheckCustomer Case===bc13c86d-cd70-4f32-948a-d1f4850061a0  
[2025-03-20 08:31:45] Production.INFO: -- count --1  
[2025-03-20 08:31:45] Production.INFO: AccountID 185  
[2025-03-20 08:31:45] Production.INFO: AccountName TTC (College-Subway) - Construction Site (Cancom - Think Secure)  
[2025-03-20 08:31:45] Production.INFO: Checkcustomer  
[2025-03-20 08:31:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="TTC%20%28College-Subway%29%20-%20Construction%20Site%20%28Cancom%20-%20Think%20Secure%29"  
[2025-03-20 08:31:48] Production.INFO: Contact id print CheckCustomer Case===8c5c7d93-c398-4829-91b3-8174fe21f9a7  
[2025-03-20 08:31:48] Production.INFO: -- count --1  
[2025-03-20 08:31:48] Production.INFO: AccountID 187  
[2025-03-20 08:31:48] Production.INFO: AccountName Graybill & Hazlewood - Trial Lawyers  
[2025-03-20 08:31:48] Production.INFO: Checkcustomer  
[2025-03-20 08:31:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Graybill%20%26%20Hazlewood%20-%20Trial%20Lawyers"  
[2025-03-20 08:31:51] Production.INFO: Contact id print CheckCustomer Case===b306e9f3-f561-41b4-bd54-ad2d17a96c90  
[2025-03-20 08:31:51] Production.INFO: -- count --1  
[2025-03-20 08:31:51] Production.INFO: AccountID 230  
[2025-03-20 08:31:51] Production.INFO: AccountName Harbourfront Medicine Cabinet  
[2025-03-20 08:31:51] Production.INFO: Checkcustomer  
[2025-03-20 08:31:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harbourfront%20Medicine%20Cabinet"  
[2025-03-20 08:31:54] Production.INFO: Contact id print CheckCustomer Case===e4609e79-2a2f-49b0-a0f8-9766de2b1774  
[2025-03-20 08:31:54] Production.INFO: -- count --1  
[2025-03-20 08:31:54] Production.INFO: AccountID 20  
[2025-03-20 08:31:54] Production.INFO: AccountName Dominos 10514 (Sandeep Chaudhari)  
[2025-03-20 08:31:54] Production.INFO: Checkcustomer  
[2025-03-20 08:31:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010514%20%28Sandeep%20Chaudhari%29"  
[2025-03-20 08:31:57] Production.INFO: Contact id print CheckCustomer Case===f2764bcf-df27-4f1c-86cf-e8005ea19444  
[2025-03-20 08:31:57] Production.INFO: -- count --1  
[2025-03-20 08:31:57] Production.INFO: AccountID 21  
[2025-03-20 08:31:57] Production.INFO: AccountName Aaxel Insurance Brokers (Peel Ltd.)  
[2025-03-20 08:31:57] Production.INFO: Checkcustomer  
[2025-03-20 08:31:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Aaxel%20Insurance%20Brokers%20%28Peel%20Ltd.%29"  
[2025-03-20 08:31:59] Production.INFO: Contact id print CheckCustomer Case===ae39ade0-cb7f-4596-8b84-41b21b906e54  
[2025-03-20 08:31:59] Production.INFO: -- count --1  
[2025-03-20 08:31:59] Production.INFO: AccountID 43  
[2025-03-20 08:31:59] Production.INFO: AccountName Wattpad  
[2025-03-20 08:31:59] Production.INFO: Checkcustomer  
[2025-03-20 08:31:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Wattpad"  
[2025-03-20 08:32:02] Production.INFO: Contact id print CheckCustomer Case===8c586c5d-b401-441c-8cc4-7ca5911a8c28  
[2025-03-20 08:32:02] Production.INFO: -- count --1  
[2025-03-20 08:32:02] Production.INFO: AccountID 49  
[2025-03-20 08:32:02] Production.INFO: AccountName Technologies for Learning Group  
[2025-03-20 08:32:02] Production.INFO: Checkcustomer  
[2025-03-20 08:32:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Technologies%20for%20Learning%20Group"  
[2025-03-20 08:32:05] Production.INFO: Contact id print CheckCustomer Case===548d87cf-625c-4b68-be89-595b2161a774  
[2025-03-20 08:32:05] Production.INFO: -- count --1  
[2025-03-20 08:32:05] Production.INFO: AccountID 137  
[2025-03-20 08:32:05] Production.INFO: AccountName Dominos 10558 (David Mills)  
[2025-03-20 08:32:05] Production.INFO: Checkcustomer  
[2025-03-20 08:32:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010558%20%28David%20Mills%29"  
[2025-03-20 08:32:08] Production.INFO: Contact id print CheckCustomer Case===2149c89a-278c-4dda-ad9d-2a94478559a8  
[2025-03-20 08:32:08] Production.INFO: -- count --1  
[2025-03-20 08:32:08] Production.INFO: AccountID 138  
[2025-03-20 08:32:08] Production.INFO: AccountName Dominos 10567 (Sandeep Chaudhari)  
[2025-03-20 08:32:08] Production.INFO: Checkcustomer  
[2025-03-20 08:32:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010567%20%28Sandeep%20Chaudhari%29"  
[2025-03-20 08:32:11] Production.INFO: Contact id print CheckCustomer Case===e7245c9e-f77f-4765-a131-4eff2704ecf0  
[2025-03-20 08:32:11] Production.INFO: -- count --1  
[2025-03-20 08:32:11] Production.INFO: AccountID 192  
[2025-03-20 08:32:11] Production.INFO: AccountName Ontario Turtle Conservation Centre  
[2025-03-20 08:32:11] Production.INFO: Checkcustomer  
[2025-03-20 08:32:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Ontario%20Turtle%20Conservation%20Centre"  
[2025-03-20 08:32:13] Production.INFO: Contact id print CheckCustomer Case===24cd1aba-5ae0-4087-aad8-a6d157b1a548  
[2025-03-20 08:32:13] Production.INFO: -- count --1  
[2025-03-20 08:32:13] Production.INFO: AccountID 52  
[2025-03-20 08:32:13] Production.INFO: AccountName Dunbloor Medical Centre  
[2025-03-20 08:32:13] Production.INFO: Checkcustomer  
[2025-03-20 08:32:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dunbloor%20Medical%20Centre"  
[2025-03-20 08:32:16] Production.INFO: Contact id print CheckCustomer Case===afd1bd01-a006-445e-9a92-85deb57a3bc0  
[2025-03-20 08:32:16] Production.INFO: -- count --1  
[2025-03-20 08:32:16] Production.INFO: AccountID 54  
[2025-03-20 08:32:16] Production.INFO: AccountName Dominos 10296 (Gurinder Saini)  
[2025-03-20 08:32:16] Production.INFO: Checkcustomer  
[2025-03-20 08:32:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010296%20%28Gurinder%20Saini%29"  
[2025-03-20 08:32:18] Production.INFO: Contact id print CheckCustomer Case===6c1941a7-23be-4018-9a2e-523e55d27a57  
[2025-03-20 08:32:18] Production.INFO: -- count --1  
[2025-03-20 08:32:18] Production.INFO: AccountID 82  
[2025-03-20 08:32:18] Production.INFO: AccountName Delco Windows & Doors  
[2025-03-20 08:32:18] Production.INFO: Checkcustomer  
[2025-03-20 08:32:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Delco%20Windows%20%26%20Doors"  
[2025-03-20 08:32:21] Production.INFO: Contact id print CheckCustomer Case===2a87a634-1e8b-4663-9f61-13fff8791cfb  
[2025-03-20 08:32:21] Production.INFO: -- count --1  
[2025-03-20 08:32:21] Production.INFO: AccountID 83  
[2025-03-20 08:32:21] Production.INFO: AccountName Dominos 10455 (Ricky Singh)  
[2025-03-20 08:32:21] Production.INFO: Checkcustomer  
[2025-03-20 08:32:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010455%20%28Ricky%20Singh%29"  
[2025-03-20 08:32:25] Production.INFO: Contact id print CheckCustomer Case===40d799a0-fa8e-497f-be5e-788af7a33b55  
[2025-03-20 08:32:25] Production.INFO: -- count --1  
[2025-03-20 08:32:25] Production.INFO: AccountID 84  
[2025-03-20 08:32:25] Production.INFO: AccountName Dominos 10534 (Sandeep Chaudhari)  
[2025-03-20 08:32:25] Production.INFO: Checkcustomer  
[2025-03-20 08:32:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010534%20%28Sandeep%20Chaudhari%29"  
[2025-03-20 08:32:27] Production.INFO: Contact id print CheckCustomer Case===8f094a5b-f8d1-4cb4-be2e-59f80f574839  
[2025-03-20 08:32:27] Production.INFO: -- count --1  
[2025-03-20 08:32:27] Production.INFO: AccountID 131  
[2025-03-20 08:32:27] Production.INFO: AccountName Infinite Possibilities  
[2025-03-20 08:32:27] Production.INFO: Checkcustomer  
[2025-03-20 08:32:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Infinite%20Possibilities"  
[2025-03-20 08:32:30] Production.INFO: Contact id print CheckCustomer Case===a00da236-4e1c-4856-8599-fd3ed8268a07  
[2025-03-20 08:32:30] Production.INFO: -- count --1  
[2025-03-20 08:32:30] Production.INFO: AccountID 186  
[2025-03-20 08:32:30] Production.INFO: AccountName Compass ELC - Shamrock  
[2025-03-20 08:32:30] Production.INFO: Checkcustomer  
[2025-03-20 08:32:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Shamrock"  
[2025-03-20 08:32:33] Production.INFO: Contact id print CheckCustomer Case===df7a6ec9-a1c3-47bf-9a70-a8ca44c5cf25  
[2025-03-20 08:32:33] Production.INFO: -- count --1  
[2025-03-20 08:32:33] Production.INFO: AccountID 189  
[2025-03-20 08:32:33] Production.INFO: AccountName Bauman Group Inc.  
[2025-03-20 08:32:33] Production.INFO: Checkcustomer  
[2025-03-20 08:32:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bauman%20Group%20Inc."  
[2025-03-20 08:32:36] Production.INFO: Contact id print CheckCustomer Case===55837711-2979-41d6-b74d-0bee4c711dc6  
[2025-03-20 08:32:36] Production.INFO: -- count --1  
[2025-03-20 08:32:36] Production.INFO: AccountID 190  
[2025-03-20 08:32:36] Production.INFO: AccountName Behrns Metal Fabricating Inc  
[2025-03-20 08:32:36] Production.INFO: Checkcustomer  
[2025-03-20 08:32:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Behrns%20Metal%20Fabricating%20Inc"  
[2025-03-20 08:32:38] Production.INFO: Contact id print CheckCustomer Case===b5208613-a884-49ac-9417-cb8891a7008b  
[2025-03-20 08:32:38] Production.INFO: -- count --1  
[2025-03-20 08:32:38] Production.INFO: AccountID 191  
[2025-03-20 08:32:38] Production.INFO: AccountName Lake Life Financial Solutions Inc.  
[2025-03-20 08:32:38] Production.INFO: Checkcustomer  
[2025-03-20 08:32:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Lake%20Life%20Financial%20Solutions%20Inc."  
[2025-03-20 08:32:41] Production.INFO: Contact id print CheckCustomer Case===2ab5d3da-c85d-4d7e-91cc-61b21f64178e  
[2025-03-20 08:32:41] Production.INFO: -- count --1  
[2025-03-20 08:32:41] Production.INFO: AccountID 70  
[2025-03-20 08:32:41] Production.INFO: AccountName Dominos 10293 (David Mills)  
[2025-03-20 08:32:41] Production.INFO: Checkcustomer  
[2025-03-20 08:32:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010293%20%28David%20Mills%29"  
[2025-03-20 08:32:44] Production.INFO: Contact id print CheckCustomer Case===dd25779b-67aa-4626-b1f4-381418d46919  
[2025-03-20 08:32:44] Production.INFO: -- count --1  
[2025-03-20 08:32:44] Production.INFO: AccountID 258  
[2025-03-20 08:32:44] Production.INFO: AccountName Lion Motors  
[2025-03-20 08:32:44] Production.INFO: Checkcustomer  
[2025-03-20 08:32:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Lion%20Motors"  
[2025-03-20 08:32:46] Production.INFO: -- count --0  
[2025-03-20 08:32:48] Production.INFO: ==== Contact Information 1  
[2025-03-20 08:32:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Lion%20Motors"  
[2025-03-20 08:32:51] Production.INFO: ContactID 8b770578-c376-449c-a07d-c9913161456e  
[2025-03-20 08:32:51] Production.INFO: -- Create Customer id --8b770578-c376-449c-a07d-c9913161456e  
[2025-03-20 08:32:51] Production.INFO: -- Create Customer name --test customer  
[2025-03-20 08:32:51] Production.INFO: AccountID 98  
[2025-03-20 08:32:51] Production.INFO: AccountName Dominos 10537 (Brandon Meyers)  
[2025-03-20 08:32:51] Production.INFO: Checkcustomer  
[2025-03-20 08:32:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010537%20%28Brandon%20Meyers%29"  
[2025-03-20 08:32:54] Production.INFO: Contact id print CheckCustomer Case===e432f2ff-87d1-4a0f-b87d-a33325db6e89  
[2025-03-20 08:32:54] Production.INFO: -- count --1  
[2025-03-20 08:32:54] Production.INFO: AccountID 106  
[2025-03-20 08:32:54] Production.INFO: AccountName G4 Broker  
[2025-03-20 08:32:54] Production.INFO: Checkcustomer  
[2025-03-20 08:32:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="G4%20Broker"  
[2025-03-20 08:32:57] Production.INFO: Contact id print CheckCustomer Case===3cfda7a3-4db5-4680-a967-42dbcc00679b  
[2025-03-20 08:32:57] Production.INFO: -- count --1  
[2025-03-20 08:32:57] Production.INFO: AccountID 119  
[2025-03-20 08:32:57] Production.INFO: AccountName Dominos 10402 (Anwar Hossain)  
[2025-03-20 08:32:57] Production.INFO: Checkcustomer  
[2025-03-20 08:32:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010402%20%28Anwar%20Hossain%29"  
[2025-03-20 08:33:00] Production.INFO: Contact id print CheckCustomer Case===638629e4-7df5-47ca-ab31-ab7d228ee597  
[2025-03-20 08:33:00] Production.INFO: -- count --1  
[2025-03-20 08:33:00] Production.INFO: AccountID 123  
[2025-03-20 08:33:00] Production.INFO: AccountName Dominos 10547 (Nathan Krishnan)  
[2025-03-20 08:33:00] Production.INFO: Checkcustomer  
[2025-03-20 08:33:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010547%20%28Nathan%20Krishnan%29"  
[2025-03-20 08:33:02] Production.INFO: Contact id print CheckCustomer Case===b7a54595-13f3-43f4-ba4f-ba957a026442  
[2025-03-20 08:33:02] Production.INFO: -- count --1  
[2025-03-20 08:33:02] Production.INFO: AccountID 134  
[2025-03-20 08:33:02] Production.INFO: AccountName Sidhu Law Chambers  
[2025-03-20 08:33:02] Production.INFO: Checkcustomer  
[2025-03-20 08:33:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Sidhu%20Law%20Chambers"  
[2025-03-20 08:33:06] Production.INFO: Contact id print CheckCustomer Case===2844b970-e681-4127-91fd-f61dd7a36ea0  
[2025-03-20 08:33:06] Production.INFO: -- count --1  
[2025-03-20 08:33:06] Production.INFO: AccountID 229  
[2025-03-20 08:33:06] Production.INFO: AccountName Dominos 10096 (Albert Chan)  
[2025-03-20 08:33:06] Production.INFO: Checkcustomer  
[2025-03-20 08:33:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010096%20%28Albert%20Chan%29"  
[2025-03-20 08:33:08] Production.INFO: Contact id print CheckCustomer Case===dc1089bc-e9ac-4fac-8919-44bc3549e60a  
[2025-03-20 08:33:08] Production.INFO: -- count --1  
[2025-03-20 08:33:08] Production.INFO: AccountID 5  
[2025-03-20 08:33:08] Production.INFO: AccountName DMCI  
[2025-03-20 08:33:08] Production.INFO: Checkcustomer  
[2025-03-20 08:33:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="DMCI"  
[2025-03-20 08:33:11] Production.INFO: Contact id print CheckCustomer Case===7bc9d577-a1e5-4866-a22c-25fb311cbded  
[2025-03-20 08:33:11] Production.INFO: -- count --1  
[2025-03-20 08:33:11] Production.INFO: AccountID 13  
[2025-03-20 08:33:11] Production.INFO: AccountName Rosedale Diner  
[2025-03-20 08:33:11] Production.INFO: Checkcustomer  
[2025-03-20 08:33:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Rosedale%20Diner"  
[2025-03-20 08:33:14] Production.INFO: Contact id print CheckCustomer Case===d315b223-0318-473a-8190-ce14e673da0e  
[2025-03-20 08:33:14] Production.INFO: -- count --1  
[2025-03-20 08:33:14] Production.INFO: AccountID 50  
[2025-03-20 08:33:14] Production.INFO: AccountName J. Randall Graham, CPA  
[2025-03-20 08:33:14] Production.INFO: Checkcustomer  
[2025-03-20 08:33:14] 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:33:17] Production.INFO: Contact id print CheckCustomer Case===7aa12a04-66d6-4e6f-ae1b-86427d18b26f  
[2025-03-20 08:33:17] Production.INFO: -- count --1  
[2025-03-20 08:33:17] Production.INFO: AccountID 73  
[2025-03-20 08:33:17] Production.INFO: AccountName Discovery Point Nursery  
[2025-03-20 08:33:17] Production.INFO: Checkcustomer  
[2025-03-20 08:33:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Discovery%20Point%20Nursery"  
[2025-03-20 08:33:20] Production.INFO: Contact id print CheckCustomer Case===cb58377f-8ea7-4ab2-9952-d9be1c41b3e2  
[2025-03-20 08:33:20] Production.INFO: -- count --1  
[2025-03-20 08:33:20] Production.INFO: AccountID 139  
[2025-03-20 08:33:20] Production.INFO: AccountName Dominos 10560 (Ricky Singh)  
[2025-03-20 08:33:20] Production.INFO: Checkcustomer  
[2025-03-20 08:33:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010560%20%28Ricky%20Singh%29"  
[2025-03-20 08:33:23] Production.INFO: Contact id print CheckCustomer Case===7c24a24f-0252-42cb-b4ca-aa9aa79c4f0b  
[2025-03-20 08:33:23] Production.INFO: -- count --1  
[2025-03-20 08:33:23] Production.INFO: AccountID 65  
[2025-03-20 08:33:23] Production.INFO: AccountName AOPG Inc.  
[2025-03-20 08:33:23] Production.INFO: Checkcustomer  
[2025-03-20 08:33:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="AOPG%20Inc."  
[2025-03-20 08:33:25] Production.INFO: Contact id print CheckCustomer Case===d7433a1b-abec-492c-bcf0-79c422ee5e45  
[2025-03-20 08:33:25] Production.INFO: -- count --1  
[2025-03-20 08:33:25] Production.INFO: AccountID 160  
[2025-03-20 08:33:25] Production.INFO: AccountName Avani Rolls & Bowls  
[2025-03-20 08:33:25] Production.INFO: Checkcustomer  
[2025-03-20 08:33:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Avani%20Rolls%20%26%20Bowls"  
[2025-03-20 08:33:28] Production.INFO: Contact id print CheckCustomer Case===08d693ac-f648-4d13-baf5-18b2b59d959f  
[2025-03-20 08:33:28] Production.INFO: -- count --1  
[2025-03-20 08:33:28] Production.INFO: AccountID 53  
[2025-03-20 08:33:28] Production.INFO: AccountName Plus Travel Group  
[2025-03-20 08:33:28] Production.INFO: Checkcustomer  
[2025-03-20 08:33:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group"  
[2025-03-20 08:33:32] Production.INFO: Contact id print CheckCustomer Case===5f6b39a6-c5bb-485f-9fdd-a6c7a1eccc47  
[2025-03-20 08:33:32] Production.INFO: -- count --1  
[2025-03-20 08:33:32] Production.INFO: -- Xero Add Inovice --  
[2025-03-20 08:33:32] Production.INFO: CheckInvoice xerov2: INV11636  
[2025-03-20 08:33:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11636  
[2025-03-20 08:33:34] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:33:34] Production.INFO: Invoice SubTotal 3.000000  
[2025-03-20 08:33:34] Production.INFO: Invoice DetTotal 3  
[2025-03-20 08:33:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Terry%20Anderson"  
[2025-03-20 08:33:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:33:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:33:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:33:47] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 1,UnitAmount : 10.000000,LineAmount : 10.000000},{taxType:"TAX020",AccountCode : 303,"Description": "The "You're Overcharging Me" Discount",Quantity : 1,UnitAmount : -7.000000,LineAmount : -7.000000}  
[2025-03-20 08:33:50] Production.INFO: ==== result =====  
[2025-03-20 08:33:50] Production.INFO: {
  "ErrorNumber": 14,
  "Type": "PostDataInvalidException",
  "Message": "Invalid Json data"
}  
[2025-03-20 08:33:50] Production.ERROR: exception 'ErrorException' with message 'Undefined property: stdClass::$Invoices' in /var/www/html/onswitch.neon.service/app/lib/XeroV2.php:0
Stack trace:
#0 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined prope...', '/var/www/html/o...', 0, Array)
#1 /var/www/html/onswitch.neon.service/app/lib/XeroV2.php(0): App\Lib\XeroV2->CreateInvoice()
#2 /var/www/html/onswitch.neon.service/app/Console/Commands/XeroInvoicePostV2.php(0): App\Lib\XeroV2->addInvoices()
#3 [internal function]: App\Console\Commands\XeroInvoicePostV2->fire()
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#6 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\XeroInvoicePostV2), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 {main}  
[2025-03-20 08:33:50] Production.INFO: -- Create Invoice Error --Undefined property: stdClass::$Invoices  
[2025-03-20 08:33:50] Production.INFO: -- Create Invoice Error --  
[2025-03-20 08:33:50] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:33:50] Production.INFO: CheckInvoice xerov2: INV11566  
[2025-03-20 08:33:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11566  
[2025-03-20 08:33:53] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:33:53] Production.INFO: Invoice SubTotal 60.000000  
[2025-03-20 08:33:53] Production.INFO: Invoice DetTotal 60  
[2025-03-20 08:33:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039013%20%28Mudassar%20Zia%29"  
[2025-03-20 08:33:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:33:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:34:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:34:04] Production.INFO: =========Invoices String here======{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX012",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 3,UnitAmount : -5.000000,LineAmount : -15.000000}  
[2025-03-20 08:34:08] Production.INFO: ==== result =====  
[2025-03-20 08:34:08] Production.INFO: {
  "Id": "cc4852b4-9a36-4a20-8155-4821ede3b293",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474047937)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "f930d009-1b40-46a0-a1d7-3a13af0d51f7",
      "InvoiceNumber": "INV11566",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 63.00,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "TotalDiscount": 0.00,
      "IsDiscounted": true,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "8893c88d-0603-4dd4-9524-da8cd6ed65c9",
        "ContactStatus": "ACTIVE",
        "Name": "Dominos 39013 (Mudassar Zia)",
        "FirstName": "Mudassar",
        "LastName": "Zia",
        "EmailAddress": "mudasarzia@gmail.com",
        "BankAccountDetails": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1580833699367+0000)\/",
        "ContactGroups": [],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-19T00:00:00",
      "Date": "\/Date(1739923200000+0000)\/",
      "DueDateString": "2025-03-21T00:00:00",
      "DueDate": "\/Date(1742515200000+0000)\/",
      "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
      "Status": "DRAFT",
      "LineAmountTypes": "Exclusive",
      "LineItems": [
        {
          "Description": "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": "d46470fc-949b-4e38-bdee-89975b637464",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",
          "UnitAmount": -5.00,
          "TaxType": "TAX012",
          "TaxAmount": -0.75,
          "LineAmount": -15.00,
          "AccountCode": "303",
          "Tracking": [],
          "Quantity": 3.0000,
          "DiscountRate": 0.00,
          "LineItemID": "c93aaf30-1ed5-47d3-8cbf-f9a83c3575c6",
          "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        }
      ],
      "SubTotal": 60.00,
      "TotalTax": 3.00,
      "Total": 63.00,
      "UpdatedDateUTC": "\/Date(1742474047907+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:34:08] Production.INFO: -- Create Invoice id --f930d009-1b40-46a0-a1d7-3a13af0d51f7  
[2025-03-20 08:34:08] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:34:08] Production.INFO: CheckInvoice xerov2: INV11558  
[2025-03-20 08:34:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11558  
[2025-03-20 08:34:11] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:34:11] Production.INFO: Invoice SubTotal 57.500000  
[2025-03-20 08:34:11] Production.INFO: Invoice DetTotal 57.5  
[2025-03-20 08:34:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010515%20%28Ronny%20Khan%29"  
[2025-03-20 08:34:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:34:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:34:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:34:23] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Dominos Pizza - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (182 WILSON AVE  NORTH YORK, ON M5M4N7)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 4,UnitAmount : -5.000000,LineAmount : -20.000000}  
[2025-03-20 08:34:25] Production.INFO: ==== result =====  
[2025-03-20 08:34:25] Production.INFO: {
  "Id": "8144f43f-7a38-4672-aebe-788ead766629",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474065896)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "41e9c6fa-9267-4c00-a55a-d5c5bd3a5a87",
      "InvoiceNumber": "INV11558",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 64.98,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "TotalDiscount": 0.00,
      "IsDiscounted": true,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "de29a9c7-cecf-49b7-b42f-7b106467f0ce",
        "ContactStatus": "ACTIVE",
        "Name": "Dominos 10515 (Ronny Khan)",
        "EmailAddress": "",
        "BankAccountDetails": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1562267972817+0000)\/",
        "ContactGroups": [
          {
            "ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
            "Name": "Benjamin's Customers",
            "Status": "ACTIVE",
            "Contacts": [],
            "HasValidationErrors": false
          }
        ],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-18T00:00:00",
      "Date": "\/Date(1739836800000+0000)\/",
      "DueDateString": "2025-03-20T00:00:00",
      "DueDate": "\/Date(1742428800000+0000)\/",
      "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
      "Status": "DRAFT",
      "LineAmountTypes": "Exclusive",
      "LineItems": [
        {
          "Description": "Dominos Pizza - 4 Line Flat Rate",
          "UnitAmount": 75.00,
          "TaxType": "TAX020",
          "TaxAmount": 9.75,
          "LineAmount": 75.00,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "7cf0b4aa-8d90-48d2-89d1-aec1272e1b96",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "e911 address registration (182 WILSON AVE  NORTH YORK, ON M5M4N7)",
          "UnitAmount": 2.50,
          "TaxType": "TAX020",
          "TaxAmount": 0.33,
          "LineAmount": 2.50,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "50fa009a-e3fc-445f-96cb-4325bda7d374",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",
          "UnitAmount": -5.00,
          "TaxType": "TAX020",
          "TaxAmount": -2.60,
          "LineAmount": -20.00,
          "AccountCode": "303",
          "Tracking": [],
          "Quantity": 4.0000,
          "DiscountRate": 0.00,
          "LineItemID": "ffff4e6c-55f6-4859-81bf-db906caf0add",
          "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        }
      ],
      "SubTotal": 57.50,
      "TotalTax": 7.48,
      "Total": 64.98,
      "UpdatedDateUTC": "\/Date(1742474065820+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:34:25] Production.INFO: -- Create Invoice id --41e9c6fa-9267-4c00-a55a-d5c5bd3a5a87  
[2025-03-20 08:34:25] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:34:25] Production.INFO: CheckInvoice xerov2: INV11562  
[2025-03-20 08:34:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11562  
[2025-03-20 08:34:28] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:34:28] Production.INFO: Invoice SubTotal 232.070000  
[2025-03-20 08:34:28] Production.INFO: Invoice DetTotal 232.07  
[2025-03-20 08:34:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Admin"  
[2025-03-20 08:34:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:34:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:34:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:34:40] Production.INFO: =========Invoices String here======{taxType:"TAX020",DiscountRate : 0.000000,"Description": "Yealink T34W 4 line, colour screen, wifi-enabled VoIP phone (uses power supply part ID YKPSU1)

**New phone for Sam Monteith-Damario",Quantity : 1,UnitAmount : 201.560000,LineAmount : 201.560000},{taxType:"TAX020",DiscountRate : 0.000000,"Description": "Yealink PS5V1200US, 5V, 1.2A AC power supply suitable for larger models of desk phones",Quantity : 1,UnitAmount : 14.510000,LineAmount : 14.510000},{taxType:"TAX020",AccountCode : 202,DiscountRate : 31.900000,"Description": "Setup of phones attached to a Cloud Phone system",Quantity : 1,UnitAmount : 23.500000,LineAmount : 16.000000}  
[2025-03-20 08:34:44] Production.INFO: ==== result =====  
[2025-03-20 08:34:44] Production.INFO: {
  "Id": "be84fd57-61df-405a-b258-d89cc076a873",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474084496)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "3394711c-3ab9-43b8-b257-6202653b3eb8",
      "InvoiceNumber": "INV11562",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 262.24,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "TotalDiscount": 7.50,
      "IsDiscounted": true,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "45a97611-b88b-4aeb-9499-d79cf1bf033c",
        "ContactStatus": "ACTIVE",
        "Name": "Compass ELC - Admin",
        "FirstName": "Tammy",
        "LastName": "Phelan",
        "EmailAddress": "ap@compasselc.com",
        "BankAccountDetails": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1594755345803+0000)\/",
        "ContactGroups": [],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-18T00:00:00",
      "Date": "\/Date(1739836800000+0000)\/",
      "DueDateString": "2025-03-20T00:00:00",
      "DueDate": "\/Date(1742428800000+0000)\/",
      "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
      "Status": "DRAFT",
      "LineAmountTypes": "Exclusive",
      "LineItems": [
        {
          "Description": "Yealink T34W 4 line, colour screen, wifi-enabled VoIP phone (uses power supply part ID YKPSU1)

**New phone for Sam Monteith-Damario",
          "UnitAmount": 201.56,
          "TaxType": "TAX020",
          "TaxAmount": 26.20,
          "LineAmount": 201.56,
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "6acd1c79-57db-47ed-86c5-3946282301fd",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "Yealink PS5V1200US, 5V, 1.2A AC power supply suitable for larger models of desk phones",
          "UnitAmount": 14.51,
          "TaxType": "TAX020",
          "TaxAmount": 1.89,
          "LineAmount": 14.51,
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "c9488c8f-a0c9-4568-a28e-fe4f1d4b40da",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "Setup of phones attached to a Cloud Phone system",
          "UnitAmount": 23.50,
          "TaxType": "TAX020",
          "TaxAmount": 2.08,
          "LineAmount": 16.00,
          "AccountCode": "202",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 31.90,
          "LineItemID": "0623244a-5ee1-4765-96bd-4de9fb438e59",
          "AccountID": "92a889dc-22ae-4d25-b487-df8f4980f0ad",
          "DiscountEnteredAsPercent": true,
          "DiscountAmount": 7.5000,
          "ValidationErrors": []
        }
      ],
      "SubTotal": 232.07,
      "TotalTax": 30.17,
      "Total": 262.24,
      "UpdatedDateUTC": "\/Date(1742474084307+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:34:44] Production.INFO: -- Create Invoice id --3394711c-3ab9-43b8-b257-6202653b3eb8  
[2025-03-20 08:34:44] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:34:44] Production.INFO: CheckInvoice xerov2: INV11555  
[2025-03-20 08:34:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11555  
[2025-03-20 08:34:47] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:34:47] Production.INFO: Invoice SubTotal 57.000000  
[2025-03-20 08:34:47] Production.INFO: Invoice DetTotal 57  
[2025-03-20 08:34:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Personas"  
[2025-03-20 08:34:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:34:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:34:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:35:00] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 7,UnitAmount : 7.500000,LineAmount : 52.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (16472642233 - 55 University Ave 302 Toronto, ON M5H 3B7 Canada)",Quantity : 1,UnitAmount : 2.750000,LineAmount : 2.750000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18883119273)",Quantity : 1,UnitAmount : 1.750000,LineAmount : 1.750000}  
[2025-03-20 08:35:04] Production.INFO: ==== result =====  
[2025-03-20 08:35:04] Production.INFO: {
  "Id": "bf00213d-1407-4234-869a-373b89cc9f54",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474104269)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "487ec720-0363-4659-9519-dece2bc5f512",
      "InvoiceNumber": "INV11555",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 64.42,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "TotalDiscount": 0.00,
      "IsDiscounted": true,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "31472f57-4acd-4468-9ab0-8ed346b2d96f",
        "ContactStatus": "ACTIVE",
        "Name": "Personas",
        "FirstName": "David",
        "LastName": "Kerry",
        "EmailAddress": "",
        "BankAccountDetails": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1655926156083+0000)\/",
        "ContactGroups": [],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-17T00:00:00",
      "Date": "\/Date(1739750400000+0000)\/",
      "DueDateString": "2025-03-19T00:00:00",
      "DueDate": "\/Date(1742342400000+0000)\/",
      "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
      "Status": "DRAFT",
      "LineAmountTypes": "Exclusive",
      "LineItems": [
        {
          "Description": "License for a Pay As You Go Cloud Phone extension",
          "UnitAmount": 7.50,
          "TaxType": "TAX020",
          "TaxAmount": 6.83,
          "LineAmount": 52.50,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 7.0000,
          "DiscountRate": 0.00,
          "LineItemID": "fbf03584-f72c-4a94-be50-c73370a96dcb",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "e911 address registration (16472642233 - 55 University Ave 302 Toronto, ON M5H 3B7 Canada)",
          "UnitAmount": 2.75,
          "TaxType": "TAX020",
          "TaxAmount": 0.36,
          "LineAmount": 2.75,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "f747b976-869f-44e0-8ec9-3e4304de93ec",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "Additional DID (18883119273)",
          "UnitAmount": 1.75,
          "TaxType": "TAX020",
          "TaxAmount": 0.23,
          "LineAmount": 1.75,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "fe2d066b-6df4-4acd-97eb-724f2a0c7c41",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        }
      ],
      "SubTotal": 57.00,
      "TotalTax": 7.42,
      "Total": 64.42,
      "UpdatedDateUTC": "\/Date(1742474104223+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:35:04] Production.INFO: -- Create Invoice id --487ec720-0363-4659-9519-dece2bc5f512  
[2025-03-20 08:35:04] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:35:04] Production.INFO: CheckInvoice xerov2: INV11556  
[2025-03-20 08:35:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11556  
[2025-03-20 08:35:07] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:35:07] Production.INFO: Invoice SubTotal 67.500000  
[2025-03-20 08:35:07] Production.INFO: Invoice DetTotal 67.5  
[2025-03-20 08:35:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010584%20%28Rick%20Singh%29"  
[2025-03-20 08:35:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:35:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:35:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:35:19] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 65.000000,LineAmount : 65.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (2264585420 - 1796 Highway 21 North Kincardine, ON N0G 2T0 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}  
[2025-03-20 08:35:22] Production.INFO: ==== result =====  
[2025-03-20 08:35:22] Production.INFO: {
  "Id": "6d1d38f8-1306-425c-8657-c79faf27cda9",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474121971)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "68b6f836-8734-4172-8fa2-0fe9fc43ecca",
      "InvoiceNumber": "INV11556",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 76.28,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "TotalDiscount": 0.00,
      "IsDiscounted": true,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "1e8b6299-6571-4c51-87f6-a0280833b109",
        "ContactStatus": "ACTIVE",
        "Name": "Dominos 10584 (Rick Singh)",
        "FirstName": "Rick",
        "LastName": "Singh",
        "EmailAddress": "",
        "BankAccountDetails": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1692010794453+0000)\/",
        "ContactGroups": [],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-17T00:00:00",
      "Date": "\/Date(1739750400000+0000)\/",
      "DueDateString": "2025-03-19T00:00:00",
      "DueDate": "\/Date(1742342400000+0000)\/",
      "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
      "Status": "DRAFT",
      "LineAmountTypes": "Exclusive",
      "LineItems": [
        {
          "Description": "Restaurant - 4 Line Flat Rate",
          "UnitAmount": 65.00,
          "TaxType": "TAX020",
          "TaxAmount": 8.45,
          "LineAmount": 65.00,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "845e6012-6be7-463e-85f9-340534d406d6",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "e911 address registration (2264585420 - 1796 Highway 21 North Kincardine, ON N0G 2T0 Canada)",
          "UnitAmount": 2.50,
          "TaxType": "TAX020",
          "TaxAmount": 0.33,
          "LineAmount": 2.50,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "b53cd7e8-f3fa-428d-a5f8-7c3d388e8012",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        }
      ],
      "SubTotal": 67.50,
      "TotalTax": 8.78,
      "Total": 76.28,
      "UpdatedDateUTC": "\/Date(1742474121923+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:35:22] Production.INFO: -- Create Invoice id --68b6f836-8734-4172-8fa2-0fe9fc43ecca  
[2025-03-20 08:35:22] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:35:22] Production.INFO: CheckInvoice xerov2: INV11550  
[2025-03-20 08:35:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11550  
[2025-03-20 08:35:24] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:35:24] Production.INFO: Invoice SubTotal 77.500000  
[2025-03-20 08:35:24] Production.INFO: Invoice DetTotal 77.5  
[2025-03-20 08:35:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039041%20%28Rishi%20Kakar%29"  
[2025-03-20 08:35:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:35:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:35:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:35:36] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Dominos Pizza - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19052572900 - 2387 TRAFALGAR RD UNIT 1 OAKVILLE, ON L6H6K7)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}  
[2025-03-20 08:35:39] Production.INFO: ==== result =====  
[2025-03-20 08:35:39] Production.INFO: {
  "Id": "079d76f9-3496-48cb-a22a-43f3f35b8805",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474139434)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "c6651fdf-cf08-46e0-b6a3-e8c057bf046b",
      "InvoiceNumber": "INV11550",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 87.58,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "TotalDiscount": 0.00,
      "IsDiscounted": true,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "e874c379-a70c-405c-bc58-0ac6921c29ba",
        "ContactStatus": "ACTIVE",
        "Name": "Dominos 39041 (Rishi Kakar)",
        "EmailAddress": "",
        "BankAccountDetails": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1562267972817+0000)\/",
        "ContactGroups": [
          {
            "ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
            "Name": "Benjamin's Customers",
            "Status": "ACTIVE",
            "Contacts": [],
            "HasValidationErrors": false
          }
        ],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-16T00:00:00",
      "Date": "\/Date(1739664000000+0000)\/",
      "DueDateString": "2025-03-18T00:00:00",
      "DueDate": "\/Date(1742256000000+0000)\/",
      "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
      "Status": "DRAFT",
      "LineAmountTypes": "Exclusive",
      "LineItems": [
        {
          "Description": "Dominos Pizza - 4 Line Flat Rate",
          "UnitAmount": 75.00,
          "TaxType": "TAX020",
          "TaxAmount": 9.75,
          "LineAmount": 75.00,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "61a76531-cadb-417c-9acd-c4c39f484af2",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "e911 address registration (19052572900 - 2387 TRAFALGAR RD UNIT 1 OAKVILLE, ON L6H6K7)",
          "UnitAmount": 2.50,
          "TaxType": "TAX020",
          "TaxAmount": 0.33,
          "LineAmount": 2.50,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "f7307e9b-b8bb-41b6-98da-7f990f1f6b5e",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        }
      ],
      "SubTotal": 77.50,
      "TotalTax": 10.08,
      "Total": 87.58,
      "UpdatedDateUTC": "\/Date(1742474139387+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:35:39] Production.INFO: -- Create Invoice id --c6651fdf-cf08-46e0-b6a3-e8c057bf046b  
[2025-03-20 08:35:39] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:35:39] Production.INFO: CheckInvoice xerov2: INV11552  
[2025-03-20 08:35:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11552  
[2025-03-20 08:35:42] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:35:42] Production.INFO: Invoice SubTotal 52.500000  
[2025-03-20 08:35:42] Production.INFO: Invoice DetTotal 52.5  
[2025-03-20 08:35:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010179%20%28Akshay%20Naik%29"  
[2025-03-20 08:35:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:35:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:35:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:35:54] Production.INFO: =========Invoices String here======{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 50.000000,LineAmount : 50.000000},{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (17808757725 - 4402 52 Ave 110 Lloydminster, AB T9V 0T9 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}  
[2025-03-20 08:35:58] Production.INFO: ==== result =====  
[2025-03-20 08:35:58] Production.INFO: {
  "Id": "b23a3e5e-911e-4288-bcfe-d4efdb95bf36",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474157944)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "b0521aea-c1f6-45ee-8dc1-c0ee94b720ff",
      "InvoiceNumber": "INV11552",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 55.13,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "TotalDiscount": 0.00,
      "IsDiscounted": true,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "669bb033-93e4-4d2e-aa92-454e682a5c09",
        "ContactStatus": "ACTIVE",
        "Name": "Dominos 10179 (Akshay Naik)",
        "FirstName": "Akshay",
        "LastName": "Naik",
        "EmailAddress": "akshaynnaik@gmail.com",
        "BankAccountDetails": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1580834779557+0000)\/",
        "ContactGroups": [],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-16T00:00:00",
      "Date": "\/Date(1739664000000+0000)\/",
      "DueDateString": "2025-03-18T00:00:00",
      "DueDate": "\/Date(1742256000000+0000)\/",
      "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
      "Status": "DRAFT",
      "LineAmountTypes": "Exclusive",
      "LineItems": [
        {
          "Description": "Restaurant - 4 Line Flat Rate",
          "UnitAmount": 50.00,
          "TaxType": "TAX012",
          "TaxAmount": 2.50,
          "LineAmount": 50.00,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "ef0b5498-257b-4948-83ea-2fda912aca0e",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "e911 address registration (17808757725 - 4402 52 Ave 110 Lloydminster, AB T9V 0T9 Canada)",
          "UnitAmount": 2.50,
          "TaxType": "TAX012",
          "TaxAmount": 0.13,
          "LineAmount": 2.50,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "75dce364-2404-402c-9098-910c178c1feb",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        }
      ],
      "SubTotal": 52.50,
      "TotalTax": 2.63,
      "Total": 55.13,
      "UpdatedDateUTC": "\/Date(1742474157867+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:35:58] Production.INFO: -- Create Invoice id --b0521aea-c1f6-45ee-8dc1-c0ee94b720ff  
[2025-03-20 08:35:58] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:35:58] Production.INFO: CheckInvoice xerov2: INV11553  
[2025-03-20 08:35:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11553  
[2025-03-20 08:36:00] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:36:00] Production.INFO: Invoice SubTotal 32.500000  
[2025-03-20 08:36:00] Production.INFO: Invoice DetTotal 32.5  
[2025-03-20 08:36:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="PharmaSave%20%28Uxbridge%29"  
[2025-03-20 08:36:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:36:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:36:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:36:13] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Retail Phone Service - 3 Channels Dedicated/Burst to 5 Channels",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (9058622800 - 29 Toronto Street South 1B Uxbridge, ON L9P 1V9)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Discount - Friends and Family (Doug Geary referral)",Quantity : 1,UnitAmount : -45.000000,LineAmount : -45.000000}  
[2025-03-20 08:36:16] Production.INFO: ==== result =====  
[2025-03-20 08:36:16] Production.INFO: {
  "Id": "3a95d35a-35d8-4615-807f-db656de52775",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474176768)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "02d17308-e860-4e5a-81a4-b94fc265f04d",
      "InvoiceNumber": "INV11553",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 36.73,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "TotalDiscount": 0.00,
      "IsDiscounted": true,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "ac797c62-9d84-4beb-9f18-85a8d961b94f",
        "ContactStatus": "ACTIVE",
        "Name": "PharmaSave (Uxbridge)",
        "FirstName": "Sameer",
        "LastName": "Remtulla",
        "EmailAddress": "uxbridge.rx@gmail.com",
        "BankAccountDetails": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1606240153850+0000)\/",
        "ContactGroups": [],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-16T00:00:00",
      "Date": "\/Date(1739664000000+0000)\/",
      "DueDateString": "2025-03-18T00:00:00",
      "DueDate": "\/Date(1742256000000+0000)\/",
      "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
      "Status": "DRAFT",
      "LineAmountTypes": "Exclusive",
      "LineItems": [
        {
          "Description": "Retail Phone Service - 3 Channels Dedicated/Burst to 5 Channels",
          "UnitAmount": 75.00,
          "TaxType": "TAX020",
          "TaxAmount": 9.75,
          "LineAmount": 75.00,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "5087b21e-7d76-40a2-9706-c36636b00a3d",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "e911 address registration (9058622800 - 29 Toronto Street South 1B Uxbridge, ON L9P 1V9)",
          "UnitAmount": 2.50,
          "TaxType": "TAX020",
          "TaxAmount": 0.33,
          "LineAmount": 2.50,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "397de840-4e26-4210-b2f3-739357d54ee6",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "Discount - Friends and Family (Doug Geary referral)",
          "UnitAmount": -45.00,
          "TaxType": "TAX020",
          "TaxAmount": -5.85,
          "LineAmount": -45.00,
          "AccountCode": "303",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "a3437305-0b16-4cd1-8eef-0020193bc13c",
          "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        }
      ],
      "SubTotal": 32.50,
      "TotalTax": 4.23,
      "Total": 36.73,
      "UpdatedDateUTC": "\/Date(1742474176160+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:36:16] Production.INFO: -- Create Invoice id --02d17308-e860-4e5a-81a4-b94fc265f04d  
[2025-03-20 08:36:16] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:36:16] Production.INFO: CheckInvoice xerov2: INV11554  
[2025-03-20 08:36:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11554  
[2025-03-20 08:36:19] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:36:19] Production.INFO: Invoice SubTotal 52.500000  
[2025-03-20 08:36:19] Production.INFO: Invoice DetTotal 52.5  
[2025-03-20 08:36:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010476%20%28Sandeep%20Chaudhari%29"  
[2025-03-20 08:36:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:36:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:36:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:36:31] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 303,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 5,UnitAmount : -5.000000,LineAmount : -25.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (5197490120- 1188 Fischer Hallman Rd Unit 205 Kitchener, ON N2E0B7)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}  
[2025-03-20 08:36:34] Production.INFO: ==== result =====  
[2025-03-20 08:36:34] Production.INFO: {
  "Id": "29186ab6-272b-45d9-a992-d71ea1c15d90",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474194808)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "1ec76b37-3da8-4c44-85b6-5db637b3f7a0",
      "InvoiceNumber": "INV11554",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 59.33,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "IsDiscounted": false,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "fc4aff1d-c37f-4c5c-9191-e58f25d1bcb1",
        "ContactStatus": "ACTIVE",
        "Name": "Dominos 10476 (Sandeep Chaudhari)",
        "FirstName": "Sandeep`",
        "LastName": "Chaudhari",
        "EmailAddress": "",
        "BankAccountDetails": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1674470231750+0000)\/",
        "ContactGroups": [],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-16T00:00:00",
      "Date": "\/Date(1739664000000+0000)\/",
      "DueDateString": "2025-03-18T00:00:00",
      "DueDate": "\/Date(1742256000000+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": "b6f5a1ca-f3f7-40e1-b38c-da23ec40d75c",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "ValidationErrors": []
        },
        {
          "Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",
          "UnitAmount": -5.00,
          "TaxType": "TAX020",
          "TaxAmount": -3.25,
          "LineAmount": -25.00,
          "AccountCode": "303",
          "Tracking": [],
          "Quantity": 5.0000,
          "LineItemID": "ab9f62ea-6e08-42b2-a6cc-1114f9c038d8",
          "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
          "ValidationErrors": []
        },
        {
          "Description": "e911 address registration (5197490120- 1188 Fischer Hallman Rd Unit 205 Kitchener, ON N2E0B7)",
          "UnitAmount": 2.50,
          "TaxType": "TAX020",
          "TaxAmount": 0.33,
          "LineAmount": 2.50,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "LineItemID": "7ea55827-b90f-4521-8a5a-bb1fa1739bba",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "ValidationErrors": []
        }
      ],
      "SubTotal": 52.50,
      "TotalTax": 6.83,
      "Total": 59.33,
      "UpdatedDateUTC": "\/Date(1742474194747+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:36:34] Production.INFO: -- Create Invoice id --1ec76b37-3da8-4c44-85b6-5db637b3f7a0  
[2025-03-20 08:36:34] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:36:34] Production.INFO: CheckInvoice xerov2: INV11542  
[2025-03-20 08:36:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11542  
[2025-03-20 08:36:37] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:36:37] Production.INFO: Invoice SubTotal 57.500000  
[2025-03-20 08:36:37] Production.INFO: Invoice DetTotal 57.5  
[2025-03-20 08:36:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010353%20%28Ronny%20Khan%29"  
[2025-03-20 08:36:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:36:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:36:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:36:50] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Dominos Pizza - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14164292929 - 784 Eglinton Avenue East Toronto, ON M4G2L1)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 4,UnitAmount : -5.000000,LineAmount : -20.000000}  
[2025-03-20 08:36:53] Production.INFO: ==== result =====  
[2025-03-20 08:36:53] Production.INFO: {
  "Id": "15b8cad1-712f-4cee-9bda-eb9c437370bc",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474213755)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "f34ecaed-f071-4c6e-8dc9-29a2f961c8fc",
      "InvoiceNumber": "INV11542",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 64.98,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "TotalDiscount": 0.00,
      "IsDiscounted": true,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "a80d32c8-bbaa-43c9-b4d0-a7fff9d3ef21",
        "ContactStatus": "ACTIVE",
        "Name": "Dominos 10353 (Ronny Khan)",
        "EmailAddress": "",
        "BankAccountDetails": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1562267972817+0000)\/",
        "ContactGroups": [
          {
            "ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
            "Name": "Benjamin's Customers",
            "Status": "ACTIVE",
            "Contacts": [],
            "HasValidationErrors": false
          }
        ],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-15T00:00:00",
      "Date": "\/Date(1739577600000+0000)\/",
      "DueDateString": "2025-03-17T00:00:00",
      "DueDate": "\/Date(1742169600000+0000)\/",
      "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
      "Status": "DRAFT",
      "LineAmountTypes": "Exclusive",
      "LineItems": [
        {
          "Description": "Dominos Pizza - 4 Line Flat Rate",
          "UnitAmount": 75.00,
          "TaxType": "TAX020",
          "TaxAmount": 9.75,
          "LineAmount": 75.00,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "9494a53b-2e4a-4725-a1c6-19b7c4d800ae",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "e911 address registration (14164292929 - 784 Eglinton Avenue East Toronto, ON M4G2L1)",
          "UnitAmount": 2.50,
          "TaxType": "TAX020",
          "TaxAmount": 0.33,
          "LineAmount": 2.50,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "b5250f46-90bc-42ab-a4c4-11fa7315f576",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",
          "UnitAmount": -5.00,
          "TaxType": "TAX020",
          "TaxAmount": -2.60,
          "LineAmount": -20.00,
          "AccountCode": "303",
          "Tracking": [],
          "Quantity": 4.0000,
          "DiscountRate": 0.00,
          "LineItemID": "0a238137-5bba-41e6-9dc2-77e765209270",
          "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        }
      ],
      "SubTotal": 57.50,
      "TotalTax": 7.48,
      "Total": 64.98,
      "UpdatedDateUTC": "\/Date(1742474213693+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:36:53] Production.INFO: -- Create Invoice id --f34ecaed-f071-4c6e-8dc9-29a2f961c8fc  
[2025-03-20 08:36:53] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:36:53] Production.INFO: CheckInvoice xerov2: INV11543  
[2025-03-20 08:36:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11543  
[2025-03-20 08:36:56] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:36:56] Production.INFO: Invoice SubTotal 57.500000  
[2025-03-20 08:36:56] Production.INFO: Invoice DetTotal 57.5  
[2025-03-20 08:36:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010483%20%28Ronny%20Khan%29"  
[2025-03-20 08:36:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:37:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:37:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:37:09] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (6473525055 - 10 Mallard Rd 52 North York, ON M3B 0A7)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 4,UnitAmount : -5.000000,LineAmount : -20.000000}  
[2025-03-20 08:37:13] Production.INFO: ==== result =====  
[2025-03-20 08:37:13] Production.INFO: {
  "Id": "c22dd3e8-3682-412f-bd92-cc1f97eb192f",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474233131)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "3af923ea-4760-4130-bbe7-1d7e461fa9e3",
      "InvoiceNumber": "INV11543",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 64.98,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "TotalDiscount": 0.00,
      "IsDiscounted": true,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "39e8e2e7-bbd0-4c58-9676-ff9889ed0960",
        "ContactStatus": "ACTIVE",
        "Name": "Dominos 10483 (Ronny Khan)",
        "FirstName": "Ronny",
        "LastName": "Khan",
        "EmailAddress": "sarwar247@hotmail.com",
        "BankAccountDetails": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1602454226393+0000)\/",
        "ContactGroups": [],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-15T00:00:00",
      "Date": "\/Date(1739577600000+0000)\/",
      "DueDateString": "2025-03-17T00:00:00",
      "DueDate": "\/Date(1742169600000+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": "e7695984-c938-483b-8379-23b3b711b293",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "e911 address registration (6473525055 - 10 Mallard Rd 52 North York, ON M3B 0A7)",
          "UnitAmount": 2.50,
          "TaxType": "TAX020",
          "TaxAmount": 0.33,
          "LineAmount": 2.50,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "33866e5e-5ea1-49d2-9dd1-6012075cce89",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",
          "UnitAmount": -5.00,
          "TaxType": "TAX020",
          "TaxAmount": -2.60,
          "LineAmount": -20.00,
          "AccountCode": "303",
          "Tracking": [],
          "Quantity": 4.0000,
          "DiscountRate": 0.00,
          "LineItemID": "c0eaa8e9-c22a-4c86-8d77-c8182da03396",
          "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        }
      ],
      "SubTotal": 57.50,
      "TotalTax": 7.48,
      "Total": 64.98,
      "UpdatedDateUTC": "\/Date(1742474233070+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:37:13] Production.INFO: -- Create Invoice id --3af923ea-4760-4130-bbe7-1d7e461fa9e3  
[2025-03-20 08:37:13] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:37:13] Production.INFO: CheckInvoice xerov2: INV11544  
[2025-03-20 08:37:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11544  
[2025-03-20 08:37:16] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:37:16] Production.INFO: Invoice SubTotal 18.000000  
[2025-03-20 08:37:16] Production.INFO: Invoice DetTotal 18  
[2025-03-20 08:37:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Destawed"  
[2025-03-20 08:37:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:37:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:37:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:37:28] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 6,UnitAmount : 2.000000,LineAmount : 12.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (1-83-DESTAWED)",Quantity : 1,UnitAmount : 3.000000,LineAmount : 3.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (1-833-457-SUIT)",Quantity : 1,UnitAmount : 3.000000,LineAmount : 3.000000}  
[2025-03-20 08:37:32] Production.INFO: ==== result =====  
[2025-03-20 08:37:32] Production.INFO: {
  "Id": "97be0a2a-8db9-449c-ba63-746c6c92cc69",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474252046)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "bf568767-c6eb-455b-8e79-e3350f46c138",
      "InvoiceNumber": "INV11544",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 20.34,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "TotalDiscount": 0.00,
      "IsDiscounted": true,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "4fde2a4c-1ac0-4a92-9312-bc67898ee56e",
        "ContactStatus": "ACTIVE",
        "Name": "Destawed",
        "FirstName": "Amitt",
        "LastName": "Saini",
        "EmailAddress": "",
        "BankAccountDetails": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1646681546973+0000)\/",
        "ContactGroups": [],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-15T00:00:00",
      "Date": "\/Date(1739577600000+0000)\/",
      "DueDateString": "2025-03-17T00:00:00",
      "DueDate": "\/Date(1742169600000+0000)\/",
      "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
      "Status": "DRAFT",
      "LineAmountTypes": "Exclusive",
      "LineItems": [
        {
          "Description": "License for a Pay As You Go Cloud Phone extension",
          "UnitAmount": 2.00,
          "TaxType": "TAX020",
          "TaxAmount": 1.56,
          "LineAmount": 12.00,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 6.0000,
          "DiscountRate": 0.00,
          "LineItemID": "b2f2e30f-4c68-4fd4-82bd-23a41a1badc4",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "Additional DID (1-83-DESTAWED)",
          "UnitAmount": 3.00,
          "TaxType": "TAX020",
          "TaxAmount": 0.39,
          "LineAmount": 3.00,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "4cb24b4b-dfbd-4954-ba44-158902922008",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "Additional DID (1-833-457-SUIT)",
          "UnitAmount": 3.00,
          "TaxType": "TAX020",
          "TaxAmount": 0.39,
          "LineAmount": 3.00,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "e166e808-d46f-4cb7-85ca-ebd48027d735",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        }
      ],
      "SubTotal": 18.00,
      "TotalTax": 2.34,
      "Total": 20.34,
      "UpdatedDateUTC": "\/Date(1742474252017+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:37:32] Production.INFO: -- Create Invoice id --bf568767-c6eb-455b-8e79-e3350f46c138  
[2025-03-20 08:37:32] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:37:32] Production.INFO: CheckInvoice xerov2: INV11545  
[2025-03-20 08:37:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11545  
[2025-03-20 08:37:35] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:37:35] Production.INFO: Invoice SubTotal 76.860000  
[2025-03-20 08:37:35] Production.INFO: Invoice DetTotal 76.86  
[2025-03-20 08:37:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="TTC%20%28Donlands%20-%20Strathmore%20Subway%29%20-%20Construction%20Site%20%28Cancom%20-%20Think%20Secure%29"  
[2025-03-20 08:37:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:37:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:37:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:37:47] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 204,"Description": "LTE Primary Internet (30 Donalds Ave, Toronto, ON M4J3N6) - 10GB/month",Quantity : 1,UnitAmount : 76.860000,LineAmount : 76.860000}  
[2025-03-20 08:37:50] Production.INFO: ==== result =====  
[2025-03-20 08:37:50] Production.INFO: {
  "Id": "c3214195-b3e5-4348-be5a-89db46398546",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474270352)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "b893b2f1-ded2-4248-b756-5986286136ff",
      "InvoiceNumber": "INV11545",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 86.85,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "IsDiscounted": false,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "bc13c86d-cd70-4f32-948a-d1f4850061a0",
        "ContactStatus": "ACTIVE",
        "Name": "TTC (Donlands - Strathmore Subway) - Construction Site (Cancom - Think Secure)",
        "FirstName": "Darcy",
        "LastName": "Chelvan",
        "EmailAddress": "",
        "BankAccountDetails": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1657573506193+0000)\/",
        "ContactGroups": [],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-15T00:00:00",
      "Date": "\/Date(1739577600000+0000)\/",
      "DueDateString": "2025-03-17T00:00:00",
      "DueDate": "\/Date(1742169600000+0000)\/",
      "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
      "Status": "DRAFT",
      "LineAmountTypes": "Exclusive",
      "LineItems": [
        {
          "Description": "LTE Primary Internet (30 Donalds Ave, Toronto, ON M4J3N6) - 10GB/month",
          "UnitAmount": 76.86,
          "TaxType": "TAX020",
          "TaxAmount": 9.99,
          "LineAmount": 76.86,
          "AccountCode": "204",
          "Tracking": [],
          "Quantity": 1.0000,
          "LineItemID": "2dc2b1a9-a18e-493b-8829-9bde90c6c555",
          "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
          "ValidationErrors": []
        }
      ],
      "SubTotal": 76.86,
      "TotalTax": 9.99,
      "Total": 86.85,
      "UpdatedDateUTC": "\/Date(1742474270307+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:37:50] Production.INFO: -- Create Invoice id --b893b2f1-ded2-4248-b756-5986286136ff  
[2025-03-20 08:37:50] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:37:50] Production.INFO: CheckInvoice xerov2: INV11546  
[2025-03-20 08:37:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11546  
[2025-03-20 08:37:53] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:37:53] Production.INFO: Invoice SubTotal 76.860000  
[2025-03-20 08:37:53] Production.INFO: Invoice DetTotal 76.86  
[2025-03-20 08:37:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="TTC%20%28College-Subway%29%20-%20Construction%20Site%20%28Cancom%20-%20Think%20Secure%29"  
[2025-03-20 08:37:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:37:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:38:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:38:04] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 204,"Description": "LTE Primary Internet (3 Carlton St., Toronto, ON M5B 1L2) - 10GB/month",Quantity : 1,UnitAmount : 76.860000,LineAmount : 76.860000}  
[2025-03-20 08:38:07] Production.INFO: ==== result =====  
[2025-03-20 08:38:07] Production.INFO: {
  "Id": "1bdaec33-ad7f-4b99-a676-f46a9110fd45",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474287696)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "9f7600c6-2fbb-4be6-8715-1625d2c331f0",
      "InvoiceNumber": "INV11546",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 86.85,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "IsDiscounted": false,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "8c5c7d93-c398-4829-91b3-8174fe21f9a7",
        "ContactStatus": "ACTIVE",
        "Name": "TTC (College-Subway) - Construction Site (Cancom - Think Secure)",
        "FirstName": "Darcy",
        "LastName": "Chelvans",
        "EmailAddress": "",
        "BankAccountDetails": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1657574345580+0000)\/",
        "ContactGroups": [],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-15T00:00:00",
      "Date": "\/Date(1739577600000+0000)\/",
      "DueDateString": "2025-03-17T00:00:00",
      "DueDate": "\/Date(1742169600000+0000)\/",
      "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
      "Status": "DRAFT",
      "LineAmountTypes": "Exclusive",
      "LineItems": [
        {
          "Description": "LTE Primary Internet (3 Carlton St., Toronto, ON M5B 1L2) - 10GB/month",
          "UnitAmount": 76.86,
          "TaxType": "TAX020",
          "TaxAmount": 9.99,
          "LineAmount": 76.86,
          "AccountCode": "204",
          "Tracking": [],
          "Quantity": 1.0000,
          "LineItemID": "5adf7b9d-6f9b-4c1a-8eca-f00bde6edf34",
          "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
          "ValidationErrors": []
        }
      ],
      "SubTotal": 76.86,
      "TotalTax": 9.99,
      "Total": 86.85,
      "UpdatedDateUTC": "\/Date(1742474287667+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:38:07] Production.INFO: -- Create Invoice id --9f7600c6-2fbb-4be6-8715-1625d2c331f0  
[2025-03-20 08:38:07] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:38:07] Production.INFO: CheckInvoice xerov2: INV11547  
[2025-03-20 08:38:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11547  
[2025-03-20 08:38:10] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:38:10] Production.INFO: Invoice SubTotal 40.500000  
[2025-03-20 08:38:10] Production.INFO: Invoice DetTotal 40.5  
[2025-03-20 08:38:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Graybill%20%26%20Hazlewood%20-%20Trial%20Lawyers"  
[2025-03-20 08:38:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:38:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:38:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:38:22] Production.INFO: =========Invoices String here======{AccountCode : 250,"Description": "Microsoft Office 365 Business - Security Add-on - IronScales Core",Quantity : 9,UnitAmount : 4.500000,LineAmount : 40.500000}  
[2025-03-20 08:38:26] Production.INFO: ==== result =====  
[2025-03-20 08:38:26] Production.INFO: {
  "Id": "dd204cfd-d62e-4602-bbda-fe012566ae93",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474306075)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "1feb312a-4567-4162-8d99-805b0433e951",
      "InvoiceNumber": "INV11547",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 45.77,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "IsDiscounted": false,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "b306e9f3-f561-41b4-bd54-ad2d17a96c90",
        "ContactStatus": "ACTIVE",
        "Name": "Graybill & Hazlewood - Trial Lawyers",
        "FirstName": "Russ",
        "LastName": "Hazlewood",
        "EmailAddress": "",
        "BankAccountDetails": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1682945560397+0000)\/",
        "ContactGroups": [],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-15T00:00:00",
      "Date": "\/Date(1739577600000+0000)\/",
      "DueDateString": "2025-02-22T00:00:00",
      "DueDate": "\/Date(1740182400000+0000)\/",
      "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
      "Status": "DRAFT",
      "LineAmountTypes": "Exclusive",
      "LineItems": [
        {
          "Description": "Microsoft Office 365 Business - Security Add-on - IronScales Core",
          "UnitAmount": 4.50,
          "TaxType": "OUTPUT",
          "TaxAmount": 5.27,
          "LineAmount": 40.50,
          "AccountCode": "250",
          "Tracking": [],
          "Quantity": 9.0000,
          "LineItemID": "50b07ca9-a719-4fc6-a27e-52e2b66cf2c6",
          "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7",
          "ValidationErrors": []
        }
      ],
      "SubTotal": 40.50,
      "TotalTax": 5.27,
      "Total": 45.77,
      "UpdatedDateUTC": "\/Date(1742474306013+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:38:26] Production.INFO: -- Create Invoice id --1feb312a-4567-4162-8d99-805b0433e951  
[2025-03-20 08:38:26] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:38:26] Production.INFO: CheckInvoice xerov2: INV11548  
[2025-03-20 08:38:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11548  
[2025-03-20 08:38:29] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:38:29] Production.INFO: Invoice SubTotal 70.000000  
[2025-03-20 08:38:29] Production.INFO: Invoice DetTotal 70  
[2025-03-20 08:38:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harbourfront%20Medicine%20Cabinet"  
[2025-03-20 08:38:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:38:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:38:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:38:41] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Phone channel for capacity-based billing",Quantity : 7,UnitAmount : 10.000000,LineAmount : 70.000000}  
[2025-03-20 08:38:44] Production.INFO: ==== result =====  
[2025-03-20 08:38:44] Production.INFO: {
  "Id": "a677b1fc-882e-4931-9ec1-53cdb04b3266",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474323976)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "a91a3a9b-e191-4947-96ab-3077b20ebb64",
      "InvoiceNumber": "INV11548",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 79.10,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "IsDiscounted": false,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "e4609e79-2a2f-49b0-a0f8-9766de2b1774",
        "ContactStatus": "ACTIVE",
        "Name": "Harbourfront Medicine Cabinet",
        "EmailAddress": "",
        "BankAccountDetails": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "AddressLine1": "205 Ava Rd",
            "City": "Toronto",
            "Region": "ON",
            "PostalCode": "M6C 1W8",
            "Country": "Canada"
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1730664962810+0000)\/",
        "ContactGroups": [],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-15T00:00:00",
      "Date": "\/Date(1739577600000+0000)\/",
      "DueDateString": "2025-03-17T00:00:00",
      "DueDate": "\/Date(1742169600000+0000)\/",
      "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
      "Status": "DRAFT",
      "LineAmountTypes": "Exclusive",
      "LineItems": [
        {
          "Description": "Phone channel for capacity-based billing",
          "UnitAmount": 10.00,
          "TaxType": "TAX020",
          "TaxAmount": 9.10,
          "LineAmount": 70.00,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 7.0000,
          "LineItemID": "dd84b1e6-4023-4a9b-9572-41e599dea8f5",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "ValidationErrors": []
        }
      ],
      "SubTotal": 70.00,
      "TotalTax": 9.10,
      "Total": 79.10,
      "UpdatedDateUTC": "\/Date(1742474323930+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:38:44] Production.INFO: -- Create Invoice id --a91a3a9b-e191-4947-96ab-3077b20ebb64  
[2025-03-20 08:38:44] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:38:44] Production.INFO: CheckInvoice xerov2: INV11534  
[2025-03-20 08:38:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11534  
[2025-03-20 08:38:46] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:38:46] Production.INFO: Invoice SubTotal 52.500000  
[2025-03-20 08:38:46] Production.INFO: Invoice DetTotal 52.5  
[2025-03-20 08:38:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010514%20%28Sandeep%20Chaudhari%29"  
[2025-03-20 08:38:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:38:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:38:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:38:58] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Dominos Pizza - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (15198880012 - 221 HOLIDAY INN DR  CAMBRIDGE, ON N3C3T2)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 5,UnitAmount : -5.000000,LineAmount : -25.000000}  
[2025-03-20 08:39:01] Production.INFO: ==== result =====  
[2025-03-20 08:39:01] Production.INFO: {
  "Id": "337d773c-f7c8-46e3-9405-5415cb4f5bd0",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474341584)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "86f7312a-ab27-4064-9688-f23718943275",
      "InvoiceNumber": "INV11534",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 59.33,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "TotalDiscount": 0.00,
      "IsDiscounted": true,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "f2764bcf-df27-4f1c-86cf-e8005ea19444",
        "ContactStatus": "ACTIVE",
        "Name": "Dominos 10514 (Sandeep Chaudhari)",
        "EmailAddress": "",
        "BankAccountDetails": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1562267972817+0000)\/",
        "ContactGroups": [
          {
            "ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
            "Name": "Benjamin's Customers",
            "Status": "ACTIVE",
            "Contacts": [],
            "HasValidationErrors": false
          }
        ],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-14T00:00:00",
      "Date": "\/Date(1739491200000+0000)\/",
      "DueDateString": "2025-03-16T00:00:00",
      "DueDate": "\/Date(1742083200000+0000)\/",
      "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
      "Status": "DRAFT",
      "LineAmountTypes": "Exclusive",
      "LineItems": [
        {
          "Description": "Dominos Pizza - 4 Line Flat Rate",
          "UnitAmount": 75.00,
          "TaxType": "TAX020",
          "TaxAmount": 9.75,
          "LineAmount": 75.00,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "74fe44e9-f9d2-406b-a42a-c6f886a28c39",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "e911 address registration (15198880012 - 221 HOLIDAY INN DR  CAMBRIDGE, ON N3C3T2)",
          "UnitAmount": 2.50,
          "TaxType": "TAX020",
          "TaxAmount": 0.33,
          "LineAmount": 2.50,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "9977468e-2691-4435-9493-cac9be0f56fc",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",
          "UnitAmount": -5.00,
          "TaxType": "TAX020",
          "TaxAmount": -3.25,
          "LineAmount": -25.00,
          "AccountCode": "303",
          "Tracking": [],
          "Quantity": 5.0000,
          "DiscountRate": 0.00,
          "LineItemID": "da6add91-29d2-43ce-9565-b027192ad2d4",
          "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        }
      ],
      "SubTotal": 52.50,
      "TotalTax": 6.83,
      "Total": 59.33,
      "UpdatedDateUTC": "\/Date(1742474341473+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:39:01] Production.INFO: -- Create Invoice id --86f7312a-ab27-4064-9688-f23718943275  
[2025-03-20 08:39:01] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:39:01] Production.INFO: CheckInvoice xerov2: INV11535  
[2025-03-20 08:39:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11535  
[2025-03-20 08:39:04] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:39:04] Production.INFO: Invoice SubTotal 201.940000  
[2025-03-20 08:39:04] Production.INFO: Invoice DetTotal 201.94  
[2025-03-20 08:39:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Aaxel%20Insurance%20Brokers%20%28Peel%20Ltd.%29"  
[2025-03-20 08:39:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:39:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:39:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:39:16] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-14-2025 To 02-13-2025",Quantity : 1,UnitAmount : 82.190000,LineAmount : 82.190000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 18,UnitAmount : 7.500000,LineAmount : 135.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19055656644 - 1332 KHALSA DR UNIT 11 MISSISSAUGA, ON L5S0A2)",Quantity : 1,UnitAmount : 2.750000,LineAmount : 2.750000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Discount - 10+ Extensions ($1 off per extension per month)",Quantity : 18,UnitAmount : -1.000000,LineAmount : -18.000000}  
[2025-03-20 08:39:19] Production.INFO: ==== result =====  
[2025-03-20 08:39:19] Production.INFO: {
  "Id": "2b9fdcc5-410a-49ec-b738-e966c6094ad8",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474359753)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "43ccc4be-43e3-405c-be2f-a6ee50def6e2",
      "InvoiceNumber": "INV11535",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 228.19,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "TotalDiscount": 0.00,
      "IsDiscounted": true,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "ae39ade0-cb7f-4596-8b84-41b21b906e54",
        "ContactStatus": "ACTIVE",
        "Name": "Aaxel Insurance Brokers (Peel Ltd.)",
        "FirstName": "Kuldip",
        "LastName": "Chahal",
        "EmailAddress": "",
        "BankAccountDetails": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1655917145357+0000)\/",
        "ContactGroups": [],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-14T00:00:00",
      "Date": "\/Date(1739491200000+0000)\/",
      "DueDateString": "2025-03-16T00:00:00",
      "DueDate": "\/Date(1742083200000+0000)\/",
      "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
      "Status": "DRAFT",
      "LineAmountTypes": "Exclusive",
      "LineItems": [
        {
          "Description": "From 01-14-2025 To 02-13-2025",
          "UnitAmount": 82.19,
          "TaxType": "TAX020",
          "TaxAmount": 10.68,
          "LineAmount": 82.19,
          "AccountCode": "234",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "458467b2-ac7a-4b20-8952-0a2cd3c6ad15",
          "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "License for a Pay As You Go Cloud Phone extension",
          "UnitAmount": 7.50,
          "TaxType": "TAX020",
          "TaxAmount": 17.55,
          "LineAmount": 135.00,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 18.0000,
          "DiscountRate": 0.00,
          "LineItemID": "8acc0762-b0cb-4148-afb3-908ab7a87fec",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "e911 address registration (19055656644 - 1332 KHALSA DR UNIT 11 MISSISSAUGA, ON L5S0A2)",
          "UnitAmount": 2.75,
          "TaxType": "TAX020",
          "TaxAmount": 0.36,
          "LineAmount": 2.75,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "3fe58d50-dcaa-4519-9bfa-8fe601875034",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "Discount - 10+ Extensions ($1 off per extension per month)",
          "UnitAmount": -1.00,
          "TaxType": "TAX020",
          "TaxAmount": -2.34,
          "LineAmount": -18.00,
          "AccountCode": "303",
          "Tracking": [],
          "Quantity": 18.0000,
          "DiscountRate": 0.00,
          "LineItemID": "d4738122-d707-48a3-8712-da9563e092eb",
          "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        }
      ],
      "SubTotal": 201.94,
      "TotalTax": 26.25,
      "Total": 228.19,
      "UpdatedDateUTC": "\/Date(1742474359677+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:39:19] Production.INFO: -- Create Invoice id --43ccc4be-43e3-405c-be2f-a6ee50def6e2  
[2025-03-20 08:39:19] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:39:19] Production.INFO: CheckInvoice xerov2: INV11536  
[2025-03-20 08:39:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11536  
[2025-03-20 08:39:22] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:39:22] Production.INFO: Invoice SubTotal 200.500000  
[2025-03-20 08:39:22] Production.INFO: Invoice DetTotal 200.5  
[2025-03-20 08:39:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Wattpad"  
[2025-03-20 08:39:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:39:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:39:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:39:35] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 18,UnitAmount : 7.750000,LineAmount : 139.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14164799694 - 36 WELLINGTON ST E STE 200 TORONTO, ON M5E1C7)",Quantity : 1,UnitAmount : 2.750000,LineAmount : 2.750000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Softphone users",Quantity : 18,UnitAmount : 3.000000,LineAmount : 54.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (1-833-WATTPAD (1-833-928-8723))",Quantity : 1,UnitAmount : 2.750000,LineAmount : 2.750000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (16474178599)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000}  
[2025-03-20 08:39:38] Production.INFO: ==== result =====  
[2025-03-20 08:39:38] Production.INFO: {
  "Id": "81ef65eb-c636-49a2-a92a-9ef001eefd34",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474378596)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "2fbb0046-662f-49e0-bc41-57e378605f92",
      "InvoiceNumber": "INV11536",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 226.58,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "TotalDiscount": 0.00,
      "IsDiscounted": true,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "8c586c5d-b401-441c-8cc4-7ca5911a8c28",
        "ContactStatus": "ACTIVE",
        "Name": "Wattpad",
        "EmailAddress": "",
        "BankAccountDetails": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1533070462703+0000)\/",
        "ContactGroups": [],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-14T00:00:00",
      "Date": "\/Date(1739491200000+0000)\/",
      "DueDateString": "2025-03-16T00:00:00",
      "DueDate": "\/Date(1742083200000+0000)\/",
      "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
      "Status": "DRAFT",
      "LineAmountTypes": "Exclusive",
      "LineItems": [
        {
          "Description": "License for a Pay As You Go Cloud Phone extension",
          "UnitAmount": 7.75,
          "TaxType": "TAX020",
          "TaxAmount": 18.14,
          "LineAmount": 139.50,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 18.0000,
          "DiscountRate": 0.00,
          "LineItemID": "f62dfa15-ab64-47b9-8761-96666938b77f",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "e911 address registration (14164799694 - 36 WELLINGTON ST E STE 200 TORONTO, ON M5E1C7)",
          "UnitAmount": 2.75,
          "TaxType": "TAX020",
          "TaxAmount": 0.36,
          "LineAmount": 2.75,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "30730d79-c763-4441-b898-30f5e54cb1dc",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "Softphone users",
          "UnitAmount": 3.00,
          "TaxType": "TAX020",
          "TaxAmount": 7.02,
          "LineAmount": 54.00,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 18.0000,
          "DiscountRate": 0.00,
          "LineItemID": "e3027d95-9c82-4064-b597-a5c085965924",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "Additional DID (1-833-WATTPAD (1-833-928-8723))",
          "UnitAmount": 2.75,
          "TaxType": "TAX020",
          "TaxAmount": 0.36,
          "LineAmount": 2.75,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "9f5cdd1b-0e9d-4829-b5d8-03ae03812c7c",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "Additional DID (16474178599)",
          "UnitAmount": 1.50,
          "TaxType": "TAX020",
          "TaxAmount": 0.20,
          "LineAmount": 1.50,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "4ca4344e-68b1-4235-9357-e561697834e0",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        }
      ],
      "SubTotal": 200.50,
      "TotalTax": 26.08,
      "Total": 226.58,
      "UpdatedDateUTC": "\/Date(1742474378533+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:39:38] Production.INFO: -- Create Invoice id --2fbb0046-662f-49e0-bc41-57e378605f92  
[2025-03-20 08:39:38] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:39:38] Production.INFO: CheckInvoice xerov2: INV11537  
[2025-03-20 08:39:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11537  
[2025-03-20 08:39:41] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:39:41] Production.INFO: Invoice SubTotal 51.500000  
[2025-03-20 08:39:41] Production.INFO: Invoice DetTotal 51.5  
[2025-03-20 08:39:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Technologies%20for%20Learning%20Group"  
[2025-03-20 08:39:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:39:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:39:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:39:54] Production.INFO: =========Invoices String here======{taxType:"TAX014",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 7,UnitAmount : 7.000000,LineAmount : 49.000000},{taxType:"TAX014",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (12049404550 - 110 PRINCESS ST STE 101 WINNIPEG, MB R3B1K7)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}  
[2025-03-20 08:39:57] Production.INFO: ==== result =====  
[2025-03-20 08:39:57] Production.INFO: {
  "Id": "72940147-ebf8-41b3-92b4-135a62354554",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474397647)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "f1118a17-a5f0-498d-86f3-c29c4a53d679",
      "InvoiceNumber": "INV11537",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 58.20,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "TotalDiscount": 0.00,
      "IsDiscounted": true,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "548d87cf-625c-4b68-be89-595b2161a774",
        "ContactStatus": "ACTIVE",
        "Name": "Technologies for Learning Group",
        "EmailAddress": "",
        "BankAccountDetails": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1533070462873+0000)\/",
        "ContactGroups": [],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-14T00:00:00",
      "Date": "\/Date(1739491200000+0000)\/",
      "DueDateString": "2025-02-21T00:00:00",
      "DueDate": "\/Date(1740096000000+0000)\/",
      "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
      "Status": "DRAFT",
      "LineAmountTypes": "Exclusive",
      "LineItems": [
        {
          "Description": "License for a Pay As You Go Cloud Phone extension",
          "UnitAmount": 7.00,
          "TaxType": "TAX014",
          "TaxAmount": 6.37,
          "LineAmount": 49.00,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 7.0000,
          "DiscountRate": 0.00,
          "LineItemID": "fd17e23d-d767-4224-b066-e973f57db1bf",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "e911 address registration (12049404550 - 110 PRINCESS ST STE 101 WINNIPEG, MB R3B1K7)",
          "UnitAmount": 2.50,
          "TaxType": "TAX014",
          "TaxAmount": 0.33,
          "LineAmount": 2.50,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "19c32f25-3eac-432d-b185-791ab7ef9c17",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        }
      ],
      "SubTotal": 51.50,
      "TotalTax": 6.70,
      "Total": 58.20,
      "UpdatedDateUTC": "\/Date(1742474397473+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:39:57] Production.INFO: -- Create Invoice id --f1118a17-a5f0-498d-86f3-c29c4a53d679  
[2025-03-20 08:39:57] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:39:57] Production.INFO: CheckInvoice xerov2: INV11538  
[2025-03-20 08:39:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11538  
[2025-03-20 08:40:00] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:40:00] Production.INFO: Invoice SubTotal 57.500000  
[2025-03-20 08:40:00] Production.INFO: Invoice DetTotal 57.5  
[2025-03-20 08:40:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010558%20%28David%20Mills%29"  
[2025-03-20 08:40:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:40:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:40:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:40:12] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (2893233323 - 10 Dewside Drive U15 Brampton, ON L6R 3Y3)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 4,UnitAmount : -5.000000,LineAmount : -20.000000}  
[2025-03-20 08:40:16] Production.INFO: ==== result =====  
[2025-03-20 08:40:16] Production.INFO: {
  "Id": "923415e3-faaf-49dd-ad51-bcc33ca51c6d",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474416154)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "c9bb8a20-14c3-4b9e-959d-aab60f96f71f",
      "InvoiceNumber": "INV11538",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 64.98,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "TotalDiscount": 0.00,
      "IsDiscounted": true,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "2149c89a-278c-4dda-ad9d-2a94478559a8",
        "ContactStatus": "ACTIVE",
        "Name": "Dominos 10558 (David Mills)",
        "EmailAddress": "office@teamtenfold.com",
        "BankAccountDetails": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1594927753780+0000)\/",
        "ContactGroups": [],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-14T00:00:00",
      "Date": "\/Date(1739491200000+0000)\/",
      "DueDateString": "2025-03-16T00:00:00",
      "DueDate": "\/Date(1742083200000+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": "2336372a-15a8-4fbe-b336-86cb41e2933a",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "e911 address registration (2893233323 - 10 Dewside Drive U15 Brampton, ON L6R 3Y3)",
          "UnitAmount": 2.50,
          "TaxType": "TAX020",
          "TaxAmount": 0.33,
          "LineAmount": 2.50,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "65a0f0ab-a28d-4d22-96a3-1d637ef6a644",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",
          "UnitAmount": -5.00,
          "TaxType": "TAX020",
          "TaxAmount": -2.60,
          "LineAmount": -20.00,
          "AccountCode": "303",
          "Tracking": [],
          "Quantity": 4.0000,
          "DiscountRate": 0.00,
          "LineItemID": "929613d9-a8f1-4a2f-a948-1d13f287e3fd",
          "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        }
      ],
      "SubTotal": 57.50,
      "TotalTax": 7.48,
      "Total": 64.98,
      "UpdatedDateUTC": "\/Date(1742474416123+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:40:16] Production.INFO: -- Create Invoice id --c9bb8a20-14c3-4b9e-959d-aab60f96f71f  
[2025-03-20 08:40:16] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:40:16] Production.INFO: CheckInvoice xerov2: INV11539  
[2025-03-20 08:40:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11539  
[2025-03-20 08:40:19] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:40:19] Production.INFO: Invoice SubTotal 52.500000  
[2025-03-20 08:40:19] Production.INFO: Invoice DetTotal 52.5  
[2025-03-20 08:40:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010567%20%28Sandeep%20Chaudhari%29"  
[2025-03-20 08:40:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:40:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:40:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:40:31] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (5198049744 - 195 Franklin Blvd 5 Cambridge, ON N1R 8H3)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 5,UnitAmount : -5.000000,LineAmount : -25.000000}  
[2025-03-20 08:40:34] Production.INFO: ==== result =====  
[2025-03-20 08:40:34] Production.INFO: {
  "Id": "4f7358a1-ce1d-49d8-9eb3-f66a7184a29e",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474434860)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "5bb980d9-f330-4b92-97c6-333e805e0dcb",
      "InvoiceNumber": "INV11539",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 59.33,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "TotalDiscount": 0.00,
      "IsDiscounted": true,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "e7245c9e-f77f-4765-a131-4eff2704ecf0",
        "ContactStatus": "ACTIVE",
        "Name": "Dominos 10567 (Sandeep Chaudhari)",
        "FirstName": "Sandeep",
        "LastName": "Chaudhari",
        "EmailAddress": "schaudha@hotmail.com",
        "BankAccountDetails": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1594927784687+0000)\/",
        "ContactGroups": [],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-14T00:00:00",
      "Date": "\/Date(1739491200000+0000)\/",
      "DueDateString": "2025-03-16T00:00:00",
      "DueDate": "\/Date(1742083200000+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": "4a38e5f1-a47b-46ef-9319-5ff21c68e8b8",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "e911 address registration (5198049744 - 195 Franklin Blvd 5 Cambridge, ON N1R 8H3)",
          "UnitAmount": 2.50,
          "TaxType": "TAX020",
          "TaxAmount": 0.33,
          "LineAmount": 2.50,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "e5c4c789-abed-4844-9327-cb463945e435",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",
          "UnitAmount": -5.00,
          "TaxType": "TAX020",
          "TaxAmount": -3.25,
          "LineAmount": -25.00,
          "AccountCode": "303",
          "Tracking": [],
          "Quantity": 5.0000,
          "DiscountRate": 0.00,
          "LineItemID": "05b5eee0-d189-4d79-b7bc-5d24afafbe22",
          "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        }
      ],
      "SubTotal": 52.50,
      "TotalTax": 6.83,
      "Total": 59.33,
      "UpdatedDateUTC": "\/Date(1742474434813+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:40:34] Production.INFO: -- Create Invoice id --5bb980d9-f330-4b92-97c6-333e805e0dcb  
[2025-03-20 08:40:34] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:40:35] Production.INFO: CheckInvoice xerov2: INV11540  
[2025-03-20 08:40:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11540  
[2025-03-20 08:40:37] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:40:37] Production.INFO: Invoice SubTotal 79.750000  
[2025-03-20 08:40:37] Production.INFO: Invoice DetTotal 79.75  
[2025-03-20 08:40:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Ontario%20Turtle%20Conservation%20Centre"  
[2025-03-20 08:40:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:40:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:40:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:40:50] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Restaurant/Retail Package - 4 Line Flat Rate",Quantity : 1,UnitAmount : 45,LineAmount : 45.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 30.000000,"Description": "e911 address registration (17057415000 - 2785 Television Road, Douro-Dummer, ON K9L 1E9)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 1.750000},{taxType:"TAX020",AccountCode : 212,"Description": "PasswordBoss - password management and sharing",Quantity : 6,UnitAmount : 5.500000,LineAmount : 33.000000}  
[2025-03-20 08:40:53] Production.INFO: ==== result =====  
[2025-03-20 08:40:53] Production.INFO: {
  "Id": "656a49af-f23d-4e65-b099-5a011696cde8",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474453481)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "9b15a223-6532-4eaf-b21c-436d5f11e88f",
      "InvoiceNumber": "INV11540",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 90.12,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "TotalDiscount": 0.75,
      "IsDiscounted": true,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "24cd1aba-5ae0-4087-aad8-a6d157b1a548",
        "ContactStatus": "ACTIVE",
        "Name": "Ontario Turtle Conservation Centre",
        "EmailAddress": "info@ontarioturtle.ca",
        "BankAccountDetails": "",
        "TaxNumber": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "AddressLine1": "1434 Chemong Road",
            "AddressLine2": "Unit 4",
            "City": "Selwyn",
            "Region": "ON",
            "PostalCode": "K9J 6X2",
            "Country": "CANADA"
          },
          {
            "AddressType": "POBOX",
            "AddressLine1": "1434 Chemong Road",
            "AddressLine2": "Unit 4",
            "City": "Selwyn",
            "Region": "ON",
            "PostalCode": "K9J 6X2",
            "Country": "CANADA"
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "(705) 741-5000",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1714493843707+0000)\/",
        "ContactGroups": [],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-14T00:00:00",
      "Date": "\/Date(1739491200000+0000)\/",
      "DueDateString": "2025-03-16T00:00:00",
      "DueDate": "\/Date(1742083200000+0000)\/",
      "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
      "Status": "DRAFT",
      "LineAmountTypes": "Exclusive",
      "LineItems": [
        {
          "Description": "Restaurant/Retail Package - 4 Line Flat Rate",
          "UnitAmount": 45.00,
          "TaxType": "TAX020",
          "TaxAmount": 5.85,
          "LineAmount": 45.00,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "LineItemID": "af1d8563-afe5-4bce-876d-1f86eb77ea34",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "ValidationErrors": []
        },
        {
          "Description": "e911 address registration (17057415000 - 2785 Television Road, Douro-Dummer, ON K9L 1E9)",
          "UnitAmount": 2.50,
          "TaxType": "TAX020",
          "TaxAmount": 0.23,
          "LineAmount": 1.75,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 30.00,
          "LineItemID": "92625633-beb4-4a1e-ad48-55206faa9937",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountEnteredAsPercent": true,
          "DiscountAmount": 0.7500,
          "ValidationErrors": []
        },
        {
          "Description": "PasswordBoss - password management and sharing",
          "UnitAmount": 5.50,
          "TaxType": "TAX020",
          "TaxAmount": 4.29,
          "LineAmount": 33.00,
          "AccountCode": "212",
          "Tracking": [],
          "Quantity": 6.0000,
          "LineItemID": "be39bb25-ea0a-4e56-93af-31130d45b01d",
          "AccountID": "f910948c-6e7a-46ea-91d4-60d5bab373c8",
          "ValidationErrors": []
        }
      ],
      "SubTotal": 79.75,
      "TotalTax": 10.37,
      "Total": 90.12,
      "UpdatedDateUTC": "\/Date(1742474453420+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:40:53] Production.INFO: -- Create Invoice id --9b15a223-6532-4eaf-b21c-436d5f11e88f  
[2025-03-20 08:40:53] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:40:53] Production.INFO: CheckInvoice xerov2: INV11523  
[2025-03-20 08:40:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11523  
[2025-03-20 08:40:56] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:40:56] Production.INFO: Invoice SubTotal 81.750000  
[2025-03-20 08:40:56] Production.INFO: Invoice DetTotal 81.75  
[2025-03-20 08:40:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dunbloor%20Medical%20Centre"  
[2025-03-20 08:40:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:41:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:41:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:41:06] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-13-2025 To 02-12-2025",Quantity : 1,UnitAmount : 9.250000,LineAmount : 9.250000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 10,UnitAmount : 7.000000,LineAmount : 70.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14164821980 - 5115 DUNDAS ST W  ETOBICOKE, ON M9A1C1)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}  
[2025-03-20 08:41:10] Production.INFO: ==== result =====  
[2025-03-20 08:41:10] Production.INFO: {
  "Id": "3fc76652-3980-4019-88cd-c0b8eb7407f4",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474470319)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "6ed85ddc-51fa-49f9-a12f-8ae88e9fc232",
      "InvoiceNumber": "INV11523",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 92.38,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "TotalDiscount": 0.00,
      "IsDiscounted": true,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "afd1bd01-a006-445e-9a92-85deb57a3bc0",
        "ContactStatus": "ACTIVE",
        "Name": "Dunbloor Medical Centre",
        "FirstName": "Ashraf",
        "LastName": "Soliman",
        "EmailAddress": "dunbloor@outlook.com",
        "BankAccountDetails": "",
        "TaxNumber": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "AddressLine1": "5115 Dundas Street West",
            "AddressLine2": "",
            "AddressLine3": "",
            "AddressLine4": "",
            "City": "Etobicoke",
            "Region": "ON",
            "PostalCode": "M9A 1C1",
            "Country": "Canada",
            "AttentionTo": "Ashraf Soliman"
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "(416) 4821980",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "4164821980",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1562268146223+0000)\/",
        "ContactGroups": [
          {
            "ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
            "Name": "Benjamin's Customers",
            "Status": "ACTIVE",
            "Contacts": [],
            "HasValidationErrors": false
          }
        ],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-13T00:00:00",
      "Date": "\/Date(1739404800000+0000)\/",
      "DueDateString": "2025-03-15T00:00:00",
      "DueDate": "\/Date(1741996800000+0000)\/",
      "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
      "Status": "DRAFT",
      "LineAmountTypes": "Exclusive",
      "LineItems": [
        {
          "Description": "From 01-13-2025 To 02-12-2025",
          "UnitAmount": 9.25,
          "TaxType": "TAX020",
          "TaxAmount": 1.20,
          "LineAmount": 9.25,
          "AccountCode": "234",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "bb18e88e-6564-4d59-b637-6eacfade42f9",
          "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "License for a Pay As You Go Cloud Phone extension",
          "UnitAmount": 7.00,
          "TaxType": "TAX020",
          "TaxAmount": 9.10,
          "LineAmount": 70.00,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 10.0000,
          "DiscountRate": 0.00,
          "LineItemID": "0a198983-a087-4f8b-8d5c-89f3b9bbf6d8",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "e911 address registration (14164821980 - 5115 DUNDAS ST W  ETOBICOKE, ON M9A1C1)",
          "UnitAmount": 2.50,
          "TaxType": "TAX020",
          "TaxAmount": 0.33,
          "LineAmount": 2.50,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "34806499-6cf4-448d-940b-1caa37dbe4e4",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        }
      ],
      "SubTotal": 81.75,
      "TotalTax": 10.63,
      "Total": 92.38,
      "UpdatedDateUTC": "\/Date(1742474470240+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:41:10] Production.INFO: -- Create Invoice id --6ed85ddc-51fa-49f9-a12f-8ae88e9fc232  
[2025-03-20 08:41:10] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:41:10] Production.INFO: CheckInvoice xerov2: INV11524  
[2025-03-20 08:41:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11524  
[2025-03-20 08:41:13] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:41:13] Production.INFO: Invoice SubTotal 328.800000  
[2025-03-20 08:41:13] Production.INFO: Invoice DetTotal 328.8  
[2025-03-20 08:41:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010296%20%28Gurinder%20Saini%29"  
[2025-03-20 08:41:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:41:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:41:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:41:25] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Dominos Pizza - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (15197633030 - 204 SILVERCREEK PKWY N UNIT 1 GUELPH, ON N1H7P7)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "Line of Sight Wireless Internet Access - 50mbps/10mbps",Quantity : 1,UnitAmount : 266.300000,LineAmount : 266.300000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 3,UnitAmount : -5.000000,LineAmount : -15.000000}  
[2025-03-20 08:41:28] Production.INFO: ==== result =====  
[2025-03-20 08:41:28] Production.INFO: {
  "Id": "f5567185-606c-4f2e-bff4-23ff6c604d12",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474488728)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "7cd4f75e-da2a-4eb0-bc9f-851ba06992f2",
      "InvoiceNumber": "INV11524",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 371.55,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "TotalDiscount": 0.00,
      "IsDiscounted": true,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "6c1941a7-23be-4018-9a2e-523e55d27a57",
        "ContactStatus": "ACTIVE",
        "Name": "Dominos 10296 (Gurinder Saini)",
        "EmailAddress": "",
        "BankAccountDetails": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1562267972817+0000)\/",
        "ContactGroups": [
          {
            "ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
            "Name": "Benjamin's Customers",
            "Status": "ACTIVE",
            "Contacts": [],
            "HasValidationErrors": false
          }
        ],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-13T00:00:00",
      "Date": "\/Date(1739404800000+0000)\/",
      "DueDateString": "2025-03-15T00:00:00",
      "DueDate": "\/Date(1741996800000+0000)\/",
      "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
      "Status": "DRAFT",
      "LineAmountTypes": "Exclusive",
      "LineItems": [
        {
          "Description": "Dominos Pizza - 4 Line Flat Rate",
          "UnitAmount": 75.00,
          "TaxType": "TAX020",
          "TaxAmount": 9.75,
          "LineAmount": 75.00,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "8a094c83-4a62-4bec-94a6-01f3a6dde337",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "e911 address registration (15197633030 - 204 SILVERCREEK PKWY N UNIT 1 GUELPH, ON N1H7P7)",
          "UnitAmount": 2.50,
          "TaxType": "TAX020",
          "TaxAmount": 0.33,
          "LineAmount": 2.50,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "0e2019d2-697e-42a5-a977-501e3f1f8ac9",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "Line of Sight Wireless Internet Access - 50mbps/10mbps",
          "UnitAmount": 266.30,
          "TaxType": "TAX020",
          "TaxAmount": 34.62,
          "LineAmount": 266.30,
          "AccountCode": "204",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "0d3e2689-b7dc-4110-9764-02f9560299d1",
          "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",
          "UnitAmount": -5.00,
          "TaxType": "TAX020",
          "TaxAmount": -1.95,
          "LineAmount": -15.00,
          "AccountCode": "303",
          "Tracking": [],
          "Quantity": 3.0000,
          "DiscountRate": 0.00,
          "LineItemID": "bd9bf5fd-06c6-4d1d-acbf-f62ea421216c",
          "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        }
      ],
      "SubTotal": 328.80,
      "TotalTax": 42.75,
      "Total": 371.55,
      "UpdatedDateUTC": "\/Date(1742474488667+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:41:28] Production.INFO: -- Create Invoice id --7cd4f75e-da2a-4eb0-bc9f-851ba06992f2  
[2025-03-20 08:41:28] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:41:28] Production.INFO: CheckInvoice xerov2: INV11526  
[2025-03-20 08:41:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11526  
[2025-03-20 08:41:31] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:41:31] Production.INFO: Invoice SubTotal 39.320000  
[2025-03-20 08:41:31] Production.INFO: Invoice DetTotal 39.32  
[2025-03-20 08:41:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Delco%20Windows%20%26%20Doors"  
[2025-03-20 08:41:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:41:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:41:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:41:43] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-13-2025 To 02-12-2025",Quantity : 1,UnitAmount : 8.820000,LineAmount : 8.820000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 4,UnitAmount : 7.000000,LineAmount : 28.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14163643834  - 9994 KEELE ST UNIT 201 VAUGHAN, ON L6A3Y4)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}  
[2025-03-20 08:41:46] Production.INFO: ==== result =====  
[2025-03-20 08:41:46] Production.INFO: {
  "Id": "40b3ae68-bee0-44ee-bd75-13e6ca23a1cb",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474506616)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "b6d4b788-d9c8-4d82-8b2b-7397a3d60db4",
      "InvoiceNumber": "INV11526",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 44.44,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "TotalDiscount": 0.00,
      "IsDiscounted": true,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "2a87a634-1e8b-4663-9f61-13fff8791cfb",
        "ContactStatus": "ACTIVE",
        "Name": "Delco Windows & Doors",
        "FirstName": "Ayal",
        "LastName": "Cohen",
        "EmailAddress": "info@delcowindows.com",
        "BankAccountDetails": "",
        "TaxNumber": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "AddressLine1": "9994 Keele Street",
            "AddressLine2": "Unit 201",
            "AddressLine3": "",
            "AddressLine4": "",
            "City": "Toronto",
            "Region": "ON",
            "PostalCode": "L6A 3Y4",
            "Country": "Canada",
            "AttentionTo": "Ayal Cohen"
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "(416) 3643834",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "4163643834,103",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "4166776381",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1562268099593+0000)\/",
        "ContactGroups": [
          {
            "ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
            "Name": "Benjamin's Customers",
            "Status": "ACTIVE",
            "Contacts": [],
            "HasValidationErrors": false
          }
        ],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-13T00:00:00",
      "Date": "\/Date(1739404800000+0000)\/",
      "DueDateString": "2025-03-15T00:00:00",
      "DueDate": "\/Date(1741996800000+0000)\/",
      "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
      "Status": "DRAFT",
      "LineAmountTypes": "Exclusive",
      "LineItems": [
        {
          "Description": "From 01-13-2025 To 02-12-2025",
          "UnitAmount": 8.82,
          "TaxType": "TAX020",
          "TaxAmount": 1.15,
          "LineAmount": 8.82,
          "AccountCode": "234",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "51f40ddb-1aea-4e0f-8081-a4750db58057",
          "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "License for a Pay As You Go Cloud Phone extension",
          "UnitAmount": 7.00,
          "TaxType": "TAX020",
          "TaxAmount": 3.64,
          "LineAmount": 28.00,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 4.0000,
          "DiscountRate": 0.00,
          "LineItemID": "b1219a00-a867-403e-a354-84ae19a6201b",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "e911 address registration (14163643834  - 9994 KEELE ST UNIT 201 VAUGHAN, ON L6A3Y4)",
          "UnitAmount": 2.50,
          "TaxType": "TAX020",
          "TaxAmount": 0.33,
          "LineAmount": 2.50,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "ebe4def3-8ade-4e94-a0de-740d21d91add",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        }
      ],
      "SubTotal": 39.32,
      "TotalTax": 5.12,
      "Total": 44.44,
      "UpdatedDateUTC": "\/Date(1742474506553+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:41:46] Production.INFO: -- Create Invoice id --b6d4b788-d9c8-4d82-8b2b-7397a3d60db4  
[2025-03-20 08:41:46] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:41:46] Production.INFO: CheckInvoice xerov2: INV11527  
[2025-03-20 08:41:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11527  
[2025-03-20 08:41:49] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:41:49] Production.INFO: Invoice SubTotal 60.000000  
[2025-03-20 08:41:49] Production.INFO: Invoice DetTotal 60  
[2025-03-20 08:41:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010455%20%28Ricky%20Singh%29"  
[2025-03-20 08:41:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:41:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:41:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:42:01] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",Quantity : 3,UnitAmount : -5.000000,LineAmount : -15.000000}  
[2025-03-20 08:42:04] Production.INFO: ==== result =====  
[2025-03-20 08:42:04] Production.INFO: {
  "Id": "2317fe43-1474-4d69-8ac6-8dcf6c93e56a",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474524357)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "96f86bae-8425-405b-8e3f-8ba1901bb5f2",
      "InvoiceNumber": "INV11527",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 67.80,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "TotalDiscount": 0.00,
      "IsDiscounted": true,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "40d799a0-fa8e-497f-be5e-788af7a33b55",
        "ContactStatus": "ACTIVE",
        "Name": "Dominos 10455 (Ricky Singh)",
        "FirstName": "Ricky",
        "LastName": "Singh",
        "EmailAddress": "ricky_bhawar@yahoo.com",
        "BankAccountDetails": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1597802803227+0000)\/",
        "ContactGroups": [],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-13T00:00:00",
      "Date": "\/Date(1739404800000+0000)\/",
      "DueDateString": "2025-03-15T00:00:00",
      "DueDate": "\/Date(1741996800000+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": "d57a3c7f-9791-4deb-b3ff-a132c21d18e5",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",
          "UnitAmount": -5.00,
          "TaxType": "TAX020",
          "TaxAmount": -1.95,
          "LineAmount": -15.00,
          "AccountCode": "303",
          "Tracking": [],
          "Quantity": 3.0000,
          "DiscountRate": 0.00,
          "LineItemID": "f1a2e7d2-08c6-4f9c-afb0-cf3ea7c1e779",
          "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        }
      ],
      "SubTotal": 60.00,
      "TotalTax": 7.80,
      "Total": 67.80,
      "UpdatedDateUTC": "\/Date(1742474524310+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:42:04] Production.INFO: -- Create Invoice id --96f86bae-8425-405b-8e3f-8ba1901bb5f2  
[2025-03-20 08:42:04] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:42:04] Production.INFO: CheckInvoice xerov2: INV11528  
[2025-03-20 08:42:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11528  
[2025-03-20 08:42:07] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:42:07] Production.INFO: Invoice SubTotal 52.500000  
[2025-03-20 08:42:07] Production.INFO: Invoice DetTotal 52.5  
[2025-03-20 08:42:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010534%20%28Sandeep%20Chaudhari%29"  
[2025-03-20 08:42:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:42:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:42:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:42:19] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (PHONENUMBER - ADDRESS)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 5,UnitAmount : -5.000000,LineAmount : -25.000000}  
[2025-03-20 08:42:23] Production.INFO: ==== result =====  
[2025-03-20 08:42:23] Production.INFO: {
  "Id": "aa254a55-3bfb-46cd-b3fe-9006bcc8ee8c",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474542799)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "117a6356-a11b-44ef-bdd9-7f953cc24e0d",
      "InvoiceNumber": "INV11528",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 59.33,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "TotalDiscount": 0.00,
      "IsDiscounted": true,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "8f094a5b-f8d1-4cb4-be2e-59f80f574839",
        "ContactStatus": "ACTIVE",
        "Name": "Dominos 10534 (Sandeep Chaudhari)",
        "EmailAddress": "",
        "BankAccountDetails": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1562267972817+0000)\/",
        "ContactGroups": [
          {
            "ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
            "Name": "Benjamin's Customers",
            "Status": "ACTIVE",
            "Contacts": [],
            "HasValidationErrors": false
          }
        ],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-13T00:00:00",
      "Date": "\/Date(1739404800000+0000)\/",
      "DueDateString": "2025-03-15T00:00:00",
      "DueDate": "\/Date(1741996800000+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": "5aa32dd8-f06b-47c3-b860-62be4a9f9a6b",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "e911 address registration (PHONENUMBER - ADDRESS)",
          "UnitAmount": 2.50,
          "TaxType": "TAX020",
          "TaxAmount": 0.33,
          "LineAmount": 2.50,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "df03c4d8-a9b8-4fc5-a2cf-a88e70d0acd9",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",
          "UnitAmount": -5.00,
          "TaxType": "TAX020",
          "TaxAmount": -3.25,
          "LineAmount": -25.00,
          "AccountCode": "303",
          "Tracking": [],
          "Quantity": 5.0000,
          "DiscountRate": 0.00,
          "LineItemID": "0b04a5b2-164c-40e6-97c6-41b711c671bf",
          "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        }
      ],
      "SubTotal": 52.50,
      "TotalTax": 6.83,
      "Total": 59.33,
      "UpdatedDateUTC": "\/Date(1742474542707+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:42:23] Production.INFO: -- Create Invoice id --117a6356-a11b-44ef-bdd9-7f953cc24e0d  
[2025-03-20 08:42:23] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:42:23] Production.INFO: CheckInvoice xerov2: INV11529  
[2025-03-20 08:42:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11529  
[2025-03-20 08:42:26] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:42:26] Production.INFO: Invoice SubTotal 5.000000  
[2025-03-20 08:42:26] Production.INFO: Invoice DetTotal 5  
[2025-03-20 08:42:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Infinite%20Possibilities"  
[2025-03-20 08:42:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:42:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:42:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:42:37] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone toll free DID (18666955378)",Quantity : 1,UnitAmount : 5.000000,LineAmount : 5.000000}  
[2025-03-20 08:42:40] Production.INFO: ==== result =====  
[2025-03-20 08:42:40] Production.INFO: {
  "Id": "e7972ebd-40fd-4167-bec6-1ea953093bcf",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474560591)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "67ed0c4f-950e-4b39-b1f9-da904874b196",
      "InvoiceNumber": "INV11529",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 5.65,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "TotalDiscount": 0.00,
      "IsDiscounted": true,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "a00da236-4e1c-4856-8599-fd3ed8268a07",
        "ContactStatus": "ACTIVE",
        "Name": "Infinite Possibilities",
        "FirstName": "Rob",
        "LastName": "Brubacher",
        "EmailAddress": "accounts@ipdesignbuild.com",
        "BankAccountDetails": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1594746678157+0000)\/",
        "ContactGroups": [],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-13T00:00:00",
      "Date": "\/Date(1739404800000+0000)\/",
      "DueDateString": "2025-03-15T00:00:00",
      "DueDate": "\/Date(1741996800000+0000)\/",
      "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
      "Status": "DRAFT",
      "LineAmountTypes": "Exclusive",
      "LineItems": [
        {
          "Description": "License for a Pay As You Go Cloud Phone toll free DID (18666955378)",
          "UnitAmount": 5.00,
          "TaxType": "TAX020",
          "TaxAmount": 0.65,
          "LineAmount": 5.00,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "29b5c377-dc29-4e2d-aa5e-d83b2253ab0f",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        }
      ],
      "SubTotal": 5.00,
      "TotalTax": 0.65,
      "Total": 5.65,
      "UpdatedDateUTC": "\/Date(1742474560543+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:42:40] Production.INFO: -- Create Invoice id --67ed0c4f-950e-4b39-b1f9-da904874b196  
[2025-03-20 08:42:40] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:42:40] Production.INFO: CheckInvoice xerov2: INV11530  
[2025-03-20 08:42:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11530  
[2025-03-20 08:42:43] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:42:43] Production.INFO: Invoice SubTotal 205.920000  
[2025-03-20 08:42:43] Production.INFO: Invoice DetTotal 205.92  
[2025-03-20 08:42:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Shamrock"  
[2025-03-20 08:42:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:42:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:42:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:42:55] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 204,"Description": "Starlink Internet Service (525 Ennis Rd., Ennismore, ON)",Quantity : 1,UnitAmount : 220.920000,LineAmount : 220.920000},{taxType:"TAX020",AccountCode : 303,"Description": "Long Term Rental Discount - $15/mo",Quantity : 1,UnitAmount : -15.000000,LineAmount : -15.000000}  
[2025-03-20 08:42:59] Production.INFO: ==== result =====  
[2025-03-20 08:42:59] Production.INFO: {
  "Id": "07212c80-7e0d-42a5-a3ea-9449c4f12e93",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474579163)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "5e018478-3263-48f0-99b4-3b804e436f8a",
      "InvoiceNumber": "INV11530",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 232.69,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "IsDiscounted": false,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "df7a6ec9-a1c3-47bf-9a70-a8ca44c5cf25",
        "ContactStatus": "ACTIVE",
        "Name": "Compass ELC - Shamrock",
        "FirstName": "Shamrock",
        "LastName": "Program",
        "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(1690450280900+0000)\/",
        "ContactGroups": [],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-13T00:00:00",
      "Date": "\/Date(1739404800000+0000)\/",
      "DueDateString": "2025-03-15T00:00:00",
      "DueDate": "\/Date(1741996800000+0000)\/",
      "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
      "Status": "DRAFT",
      "LineAmountTypes": "Exclusive",
      "LineItems": [
        {
          "Description": "Starlink Internet Service (525 Ennis Rd., Ennismore, ON)",
          "UnitAmount": 220.92,
          "TaxType": "TAX020",
          "TaxAmount": 28.72,
          "LineAmount": 220.92,
          "AccountCode": "204",
          "Tracking": [],
          "Quantity": 1.0000,
          "LineItemID": "b602287f-5b06-4702-80f0-9229273f4476",
          "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
          "ValidationErrors": []
        },
        {
          "Description": "Long Term Rental Discount - $15/mo",
          "UnitAmount": -15.00,
          "TaxType": "TAX020",
          "TaxAmount": -1.95,
          "LineAmount": -15.00,
          "AccountCode": "303",
          "Tracking": [],
          "Quantity": 1.0000,
          "LineItemID": "3689fede-195f-48c2-8938-a995e604d291",
          "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
          "ValidationErrors": []
        }
      ],
      "SubTotal": 205.92,
      "TotalTax": 26.77,
      "Total": 232.69,
      "UpdatedDateUTC": "\/Date(1742474579117+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:42:59] Production.INFO: -- Create Invoice id --5e018478-3263-48f0-99b4-3b804e436f8a  
[2025-03-20 08:42:59] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:42:59] Production.INFO: CheckInvoice xerov2: INV11531  
[2025-03-20 08:42:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11531  
[2025-03-20 08:43:02] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:43:02] Production.INFO: Invoice SubTotal 221.200000  
[2025-03-20 08:43:02] Production.INFO: Invoice DetTotal 221.2  
[2025-03-20 08:43:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bauman%20Group%20Inc."  
[2025-03-20 08:43:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:43:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:43:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:43:14] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 10.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 27,UnitAmount : 9.000000,LineAmount : 218.700000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (15196694333 - 3 Industrial Drive Elmira, ON N3B 2S1 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}  
[2025-03-20 08:43:16] Production.INFO: ==== result =====  
[2025-03-20 08:43:16] Production.INFO: {
  "Id": "f0b4d2d3-a00b-44a0-88e2-ee24d824d7ce",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474596811)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "b1a710ce-beb9-4343-8655-02b6abfa37f8",
      "InvoiceNumber": "INV11531",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 249.96,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "TotalDiscount": 24.30,
      "IsDiscounted": true,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "55837711-2979-41d6-b74d-0bee4c711dc6",
        "ContactStatus": "ACTIVE",
        "Name": "Bauman Group Inc.",
        "FirstName": "Randy",
        "LastName": "Bauman",
        "EmailAddress": "",
        "BankAccountDetails": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1700566819650+0000)\/",
        "ContactGroups": [],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-13T00:00:00",
      "Date": "\/Date(1739404800000+0000)\/",
      "DueDateString": "2025-03-15T00:00:00",
      "DueDate": "\/Date(1741996800000+0000)\/",
      "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
      "Status": "DRAFT",
      "LineAmountTypes": "Exclusive",
      "LineItems": [
        {
          "Description": "License for an Unlimited Canada/US Cloud Phone extension",
          "UnitAmount": 9.00,
          "TaxType": "TAX020",
          "TaxAmount": 28.43,
          "LineAmount": 218.70,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 27.0000,
          "DiscountRate": 10.00,
          "LineItemID": "2ae93d3e-de68-4789-9b13-75aacc129b03",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountEnteredAsPercent": true,
          "DiscountAmount": 24.3000,
          "ValidationErrors": []
        },
        {
          "Description": "e911 address registration (15196694333 - 3 Industrial Drive Elmira, ON N3B 2S1 Canada)",
          "UnitAmount": 2.50,
          "TaxType": "TAX020",
          "TaxAmount": 0.33,
          "LineAmount": 2.50,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "LineItemID": "7812a3f5-59db-46ed-a327-403ad89a220c",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "ValidationErrors": []
        }
      ],
      "SubTotal": 221.20,
      "TotalTax": 28.76,
      "Total": 249.96,
      "UpdatedDateUTC": "\/Date(1742474596763+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:43:16] Production.INFO: -- Create Invoice id --b1a710ce-beb9-4343-8655-02b6abfa37f8  
[2025-03-20 08:43:16] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:43:16] Production.INFO: CheckInvoice xerov2: INV11532  
[2025-03-20 08:43:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11532  
[2025-03-20 08:43:19] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:43:19] Production.INFO: Invoice SubTotal 78.080000  
[2025-03-20 08:43:19] Production.INFO: Invoice DetTotal 78.08  
[2025-03-20 08:43:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Behrns%20Metal%20Fabricating%20Inc"  
[2025-03-20 08:43:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:43:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:43:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:43:32] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-13-2025 To 02-12-2025",Quantity : 1,UnitAmount : 3.580000,LineAmount : 3.580000},{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:43:36] Production.INFO: ==== result =====  
[2025-03-20 08:43:36] Production.INFO: {
  "Id": "356c1de7-9a87-48fd-abaf-fcc44f9d6cd2",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474615919)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "1e334a1a-79d1-4c12-bd0c-7bffcb3c4fa0",
      "InvoiceNumber": "INV11532",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 88.24,
      "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-02-13T00:00:00",
      "Date": "\/Date(1739404800000+0000)\/",
      "DueDateString": "2025-03-15T00:00:00",
      "DueDate": "\/Date(1741996800000+0000)\/",
      "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
      "Status": "DRAFT",
      "LineAmountTypes": "Exclusive",
      "LineItems": [
        {
          "Description": "From 01-13-2025 To 02-12-2025",
          "UnitAmount": 3.58,
          "TaxType": "TAX020",
          "TaxAmount": 0.47,
          "LineAmount": 3.58,
          "AccountCode": "234",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "a79cae39-c653-4671-b374-d35ba0e3bf9b",
          "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": "4949a18b-6f42-4c54-89f5-23ff061c6b84",
          "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": "b9d8ef3b-f2de-4ce0-bb4b-8083b53c47b6",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "ValidationErrors": []
        }
      ],
      "SubTotal": 78.08,
      "TotalTax": 10.16,
      "Total": 88.24,
      "UpdatedDateUTC": "\/Date(1742474615827+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:43:36] Production.INFO: -- Create Invoice id --1e334a1a-79d1-4c12-bd0c-7bffcb3c4fa0  
[2025-03-20 08:43:36] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:43:36] Production.INFO: CheckInvoice xerov2: INV11533  
[2025-03-20 08:43:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11533  
[2025-03-20 08:43:38] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:43:38] Production.INFO: Invoice SubTotal 38.500000  
[2025-03-20 08:43:38] Production.INFO: Invoice DetTotal 38.5  
[2025-03-20 08:43:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Lake%20Life%20Financial%20Solutions%20Inc."  
[2025-03-20 08:43:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:43:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:43:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:43:50] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 10.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 4,UnitAmount : 10.000000,LineAmount : 36.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (12263995253 - 255 King Street North 301 Waterloo, ON N2J 4V2 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}  
[2025-03-20 08:43:54] Production.INFO: ==== result =====  
[2025-03-20 08:43:54] Production.INFO: {
  "Id": "f2319ae5-f351-407e-855c-14bca32968fd",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474634004)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "19e1712d-d7ab-4171-a139-73ef7db63447",
      "InvoiceNumber": "INV11533",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 43.51,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "TotalDiscount": 4.00,
      "IsDiscounted": true,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "2ab5d3da-c85d-4d7e-91cc-61b21f64178e",
        "ContactStatus": "ACTIVE",
        "Name": "Lake Life Financial Solutions Inc.",
        "FirstName": "Ryan",
        "LastName": "Hammar",
        "EmailAddress": "",
        "BankAccountDetails": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1682946194770+0000)\/",
        "ContactGroups": [],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-13T00:00:00",
      "Date": "\/Date(1739404800000+0000)\/",
      "DueDateString": "2025-03-15T00:00:00",
      "DueDate": "\/Date(1741996800000+0000)\/",
      "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
      "Status": "DRAFT",
      "LineAmountTypes": "Exclusive",
      "LineItems": [
        {
          "Description": "License for an Unlimited Canada/US Cloud Phone extension",
          "UnitAmount": 10.00,
          "TaxType": "TAX020",
          "TaxAmount": 4.68,
          "LineAmount": 36.00,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 4.0000,
          "DiscountRate": 10.00,
          "LineItemID": "ae00b6b5-3972-4b0c-a701-31d8360695a7",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountEnteredAsPercent": true,
          "DiscountAmount": 4.0000,
          "ValidationErrors": []
        },
        {
          "Description": "e911 address registration (12263995253 - 255 King Street North 301 Waterloo, ON N2J 4V2 Canada)",
          "UnitAmount": 2.50,
          "TaxType": "TAX020",
          "TaxAmount": 0.33,
          "LineAmount": 2.50,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "LineItemID": "60406826-777c-4342-b624-47d24efcca64",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "ValidationErrors": []
        }
      ],
      "SubTotal": 38.50,
      "TotalTax": 5.01,
      "Total": 43.51,
      "UpdatedDateUTC": "\/Date(1742474633927+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:43:54] Production.INFO: -- Create Invoice id --19e1712d-d7ab-4171-a139-73ef7db63447  
[2025-03-20 08:43:54] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:43:54] Production.INFO: CheckInvoice xerov2: INV11519  
[2025-03-20 08:43:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11519  
[2025-03-20 08:43:57] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:43:57] Production.INFO: Invoice SubTotal 57.500000  
[2025-03-20 08:43:57] Production.INFO: Invoice DetTotal 57.5  
[2025-03-20 08:43:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010293%20%28David%20Mills%29"  
[2025-03-20 08:43:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:44:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:44:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:44:08] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19054589858 - 1650 WILLIAMS PKWY  BRAMPTON, ON L6S5R7)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",Quantity : 4,UnitAmount : -5.000000,LineAmount : -20.000000}  
[2025-03-20 08:44:12] Production.INFO: ==== result =====  
[2025-03-20 08:44:12] Production.INFO: {
  "Id": "f59bc12e-d006-4a8e-9974-507e79b4f618",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474652209)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "8d1f35c8-4e92-4fe9-8a3c-806a8b54a32d",
      "InvoiceNumber": "INV11519",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 64.98,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "TotalDiscount": 0.00,
      "IsDiscounted": true,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "dd25779b-67aa-4626-b1f4-381418d46919",
        "ContactStatus": "ACTIVE",
        "Name": "Dominos 10293 (David Mills)",
        "EmailAddress": "",
        "BankAccountDetails": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1562267972817+0000)\/",
        "ContactGroups": [
          {
            "ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
            "Name": "Benjamin's Customers",
            "Status": "ACTIVE",
            "Contacts": [],
            "HasValidationErrors": false
          }
        ],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-12T00:00:00",
      "Date": "\/Date(1739318400000+0000)\/",
      "DueDateString": "2025-03-14T00:00:00",
      "DueDate": "\/Date(1741910400000+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": "162556dc-ec15-4f7c-b854-2e3a9f430fed",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "e911 address registration (19054589858 - 1650 WILLIAMS PKWY  BRAMPTON, ON L6S5R7)",
          "UnitAmount": 2.50,
          "TaxType": "TAX020",
          "TaxAmount": 0.33,
          "LineAmount": 2.50,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "9568c637-2914-4bbb-950b-745045223f17",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",
          "UnitAmount": -5.00,
          "TaxType": "TAX020",
          "TaxAmount": -2.60,
          "LineAmount": -20.00,
          "AccountCode": "303",
          "Tracking": [],
          "Quantity": 4.0000,
          "DiscountRate": 0.00,
          "LineItemID": "16dab3e7-f83f-4f07-abee-7a98adcfc466",
          "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        }
      ],
      "SubTotal": 57.50,
      "TotalTax": 7.48,
      "Total": 64.98,
      "UpdatedDateUTC": "\/Date(1742474652147+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:44:12] Production.INFO: -- Create Invoice id --8d1f35c8-4e92-4fe9-8a3c-806a8b54a32d  
[2025-03-20 08:44:12] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:44:12] Production.INFO: CheckInvoice xerov2: INV11522  
[2025-03-20 08:44:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11522  
[2025-03-20 08:44:15] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:44:15] Production.INFO: Invoice SubTotal 39.400000  
[2025-03-20 08:44:15] Production.INFO: Invoice DetTotal 39.4  
[2025-03-20 08:44:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Lion%20Motors"  
[2025-03-20 08:44:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:44:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:44:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:44:32] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Per Line License",Quantity : 2,UnitAmount : 16.000000,LineAmount : 32.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone License",Quantity : 4,UnitAmount : 1.850000,LineAmount : 7.400000}  
[2025-03-20 08:44:35] Production.INFO: ==== result =====  
[2025-03-20 08:44:35] Production.INFO: {
  "Id": "1235c6c3-9748-4fd0-8aa1-78c2983548cf",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474675376)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "558f0d4b-c411-4d40-b0b8-45b288442200",
      "InvoiceNumber": "INV11522",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 44.52,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "TotalDiscount": 0.00,
      "IsDiscounted": true,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "8b770578-c376-449c-a07d-c9913161456e",
        "ContactStatus": "ACTIVE",
        "Name": "Lion Motors",
        "FirstName": "Yusuf",
        "LastName": "Haydar",
        "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(1742473968507+0000)\/",
        "ContactGroups": [],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-12T00:00:00",
      "Date": "\/Date(1739318400000+0000)\/",
      "DueDateString": "2025-03-14T00:00:00",
      "DueDate": "\/Date(1741910400000+0000)\/",
      "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
      "Status": "DRAFT",
      "LineAmountTypes": "Exclusive",
      "LineItems": [
        {
          "Description": "CloudPhone.ONE Per Line License",
          "UnitAmount": 16.00,
          "TaxType": "TAX020",
          "TaxAmount": 4.16,
          "LineAmount": 32.00,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 2.0000,
          "DiscountRate": 0.00,
          "LineItemID": "741447d0-bb59-437e-b380-2d4918a8a9cd",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "CloudPhone.ONE Softphone License",
          "UnitAmount": 1.85,
          "TaxType": "TAX020",
          "TaxAmount": 0.96,
          "LineAmount": 7.40,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 4.0000,
          "DiscountRate": 0.00,
          "LineItemID": "348f389b-8477-46a5-bf96-87cdf4cc92df",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        }
      ],
      "SubTotal": 39.40,
      "TotalTax": 5.12,
      "Total": 44.52,
      "UpdatedDateUTC": "\/Date(1742474675300+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:44:35] Production.INFO: -- Create Invoice id --558f0d4b-c411-4d40-b0b8-45b288442200  
[2025-03-20 08:44:35] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:44:35] Production.INFO: CheckInvoice xerov2: INV11513  
[2025-03-20 08:44:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11513  
[2025-03-20 08:44:38] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:44:38] Production.INFO: Invoice SubTotal 57.500000  
[2025-03-20 08:44:38] Production.INFO: Invoice DetTotal 57.5  
[2025-03-20 08:44:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010537%20%28Brandon%20Meyers%29"  
[2025-03-20 08:44:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:44:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:44:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:44:50] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 55.000000,LineAmount : 55.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (12264580100 - 316 Suncoast Dr. E. Unit C Goderich, On N7A 4N7, Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}  
[2025-03-20 08:44:53] Production.INFO: ==== result =====  
[2025-03-20 08:44:53] Production.INFO: {
  "Id": "2ae0b6ca-655b-4ad3-93cc-fe6e2bd21382",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474693730)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "db755e54-1d84-499e-a8e0-1b2ee24d1b56",
      "InvoiceNumber": "INV11513",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 64.98,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "TotalDiscount": 0.00,
      "IsDiscounted": true,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "e432f2ff-87d1-4a0f-b87d-a33325db6e89",
        "ContactStatus": "ACTIVE",
        "Name": "Dominos 10537 (Brandon Meyers)",
        "FirstName": "Brandon",
        "LastName": "Meyers",
        "EmailAddress": "brandongordonmeyers@gmail.com",
        "BankAccountDetails": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1562267972817+0000)\/",
        "ContactGroups": [
          {
            "ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
            "Name": "Benjamin's Customers",
            "Status": "ACTIVE",
            "Contacts": [],
            "HasValidationErrors": false
          }
        ],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-11T00:00:00",
      "Date": "\/Date(1739232000000+0000)\/",
      "DueDateString": "2025-03-13T00:00:00",
      "DueDate": "\/Date(1741824000000+0000)\/",
      "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
      "Status": "DRAFT",
      "LineAmountTypes": "Exclusive",
      "LineItems": [
        {
          "Description": "Restaurant - 4 Line Flat Rate",
          "UnitAmount": 55.00,
          "TaxType": "TAX020",
          "TaxAmount": 7.15,
          "LineAmount": 55.00,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "8109ccb4-b00e-4a42-aea3-b3f95c0b7684",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "e911 address registration (12264580100 - 316 Suncoast Dr. E. Unit C Goderich, On N7A 4N7, Canada)",
          "UnitAmount": 2.50,
          "TaxType": "TAX020",
          "TaxAmount": 0.33,
          "LineAmount": 2.50,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "8f256782-35e4-4dfb-a779-f0c6d9d0e4ef",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        }
      ],
      "SubTotal": 57.50,
      "TotalTax": 7.48,
      "Total": 64.98,
      "UpdatedDateUTC": "\/Date(1742474693667+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:44:53] Production.INFO: -- Create Invoice id --db755e54-1d84-499e-a8e0-1b2ee24d1b56  
[2025-03-20 08:44:53] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:44:53] Production.INFO: CheckInvoice xerov2: INV11514  
[2025-03-20 08:44:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11514  
[2025-03-20 08:44:56] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:44:56] Production.INFO: Invoice SubTotal 9.500000  
[2025-03-20 08:44:56] Production.INFO: Invoice DetTotal 9.5  
[2025-03-20 08:44:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="G4%20Broker"  
[2025-03-20 08:44:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:45:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:45:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:45:09] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 1,UnitAmount : 7.000000,LineAmount : 7.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (13652350035 - 145 Royal Crest Court 4 Unionville, ON L3R 9Z4 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}  
[2025-03-20 08:45:12] Production.INFO: ==== result =====  
[2025-03-20 08:45:12] Production.INFO: {
  "Id": "06055d6e-4b88-453b-8b7d-5748becf1ee3",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474712106)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "55f97e37-246b-4638-8c63-9e05fb121b78",
      "InvoiceNumber": "INV11514",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 10.74,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "TotalDiscount": 0.00,
      "IsDiscounted": true,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "3cfda7a3-4db5-4680-a967-42dbcc00679b",
        "ContactStatus": "ACTIVE",
        "Name": "G4 Broker",
        "FirstName": "Paul",
        "LastName": "Mann",
        "EmailAddress": "paul.mann@aaxelinsurance.com",
        "BankAccountDetails": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1580834599177+0000)\/",
        "ContactGroups": [],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-11T00:00:00",
      "Date": "\/Date(1739232000000+0000)\/",
      "DueDateString": "2025-03-13T00:00:00",
      "DueDate": "\/Date(1741824000000+0000)\/",
      "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
      "Status": "DRAFT",
      "LineAmountTypes": "Exclusive",
      "LineItems": [
        {
          "Description": "License for a Pay As You Go Cloud Phone extension",
          "UnitAmount": 7.00,
          "TaxType": "TAX020",
          "TaxAmount": 0.91,
          "LineAmount": 7.00,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "94d05eba-a80a-4338-ace1-0ce0a4af6f96",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "e911 address registration (13652350035 - 145 Royal Crest Court 4 Unionville, ON L3R 9Z4 Canada)",
          "UnitAmount": 2.50,
          "TaxType": "TAX020",
          "TaxAmount": 0.33,
          "LineAmount": 2.50,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "158b816e-c2ca-4a87-8f63-c0a24482b594",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        }
      ],
      "SubTotal": 9.50,
      "TotalTax": 1.24,
      "Total": 10.74,
      "UpdatedDateUTC": "\/Date(1742474712067+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:45:12] Production.INFO: -- Create Invoice id --55f97e37-246b-4638-8c63-9e05fb121b78  
[2025-03-20 08:45:12] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:45:12] Production.INFO: CheckInvoice xerov2: INV11515  
[2025-03-20 08:45:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11515  
[2025-03-20 08:45:15] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:45:15] Production.INFO: Invoice SubTotal 65.000000  
[2025-03-20 08:45:15] Production.INFO: Invoice DetTotal 65  
[2025-03-20 08:45:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010402%20%28Anwar%20Hossain%29"  
[2025-03-20 08:45:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:45:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:45:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:45:26] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",Quantity : 2,UnitAmount : -5.000000,LineAmount : -10.000000}  
[2025-03-20 08:45:30] Production.INFO: ==== result =====  
[2025-03-20 08:45:30] Production.INFO: {
  "Id": "c4686bbb-4aa3-4e49-b4e4-1e390e83791e",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474729851)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "c59b79eb-8951-4ef4-86e8-2876e07c13ba",
      "InvoiceNumber": "INV11515",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 73.45,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "TotalDiscount": 0.00,
      "IsDiscounted": true,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "638629e4-7df5-47ca-ab31-ab7d228ee597",
        "ContactStatus": "ACTIVE",
        "Name": "Dominos 10402 (Anwar Hossain)",
        "FirstName": "Anwar",
        "LastName": "Hossain",
        "EmailAddress": "anwar377@yahoo.com",
        "BankAccountDetails": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1581435194217+0000)\/",
        "ContactGroups": [],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-11T00:00:00",
      "Date": "\/Date(1739232000000+0000)\/",
      "DueDateString": "2025-03-13T00:00:00",
      "DueDate": "\/Date(1741824000000+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": "a7b4e170-1ade-4125-93c9-54dd3520390b",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",
          "UnitAmount": -5.00,
          "TaxType": "TAX020",
          "TaxAmount": -1.30,
          "LineAmount": -10.00,
          "AccountCode": "303",
          "Tracking": [],
          "Quantity": 2.0000,
          "DiscountRate": 0.00,
          "LineItemID": "d511feff-2118-4f81-9392-31d65e80f6c1",
          "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        }
      ],
      "SubTotal": 65.00,
      "TotalTax": 8.45,
      "Total": 73.45,
      "UpdatedDateUTC": "\/Date(1742474729773+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:45:30] Production.INFO: -- Create Invoice id --c59b79eb-8951-4ef4-86e8-2876e07c13ba  
[2025-03-20 08:45:30] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:45:30] Production.INFO: CheckInvoice xerov2: INV11516  
[2025-03-20 08:45:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11516  
[2025-03-20 08:45:32] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:45:32] Production.INFO: Invoice SubTotal 77.500000  
[2025-03-20 08:45:32] Production.INFO: Invoice DetTotal 77.5  
[2025-03-20 08:45:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010547%20%28Nathan%20Krishnan%29"  
[2025-03-20 08:45:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:45:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:45:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:45:45] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14162515251 - 3345 LAKESHORE BLVD W  ETOBICOKE, ON M8W1N1 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}  
[2025-03-20 08:45:48] Production.INFO: ==== result =====  
[2025-03-20 08:45:48] Production.INFO: {
  "Id": "86a1f52a-2720-40e3-bc7a-cf3248054d86",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474748369)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "51b2444a-9253-4042-9075-3b0a74288434",
      "InvoiceNumber": "INV11516",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 87.58,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "TotalDiscount": 0.00,
      "IsDiscounted": true,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "b7a54595-13f3-43f4-ba4f-ba957a026442",
        "ContactStatus": "ACTIVE",
        "Name": "Dominos 10547 (Nathan Krishnan)",
        "EmailAddress": "",
        "BankAccountDetails": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1629352418927+0000)\/",
        "ContactGroups": [],
        "IsSupplier": false,
        "IsCustomer": true,
        "DefaultCurrency": "CAD",
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-11T00:00:00",
      "Date": "\/Date(1739232000000+0000)\/",
      "DueDateString": "2025-03-13T00:00:00",
      "DueDate": "\/Date(1741824000000+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": "81c154aa-8e86-402d-8be1-c4bbaf3b0645",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "e911 address registration (14162515251 - 3345 LAKESHORE BLVD W  ETOBICOKE, ON M8W1N1 Canada)",
          "UnitAmount": 2.50,
          "TaxType": "TAX020",
          "TaxAmount": 0.33,
          "LineAmount": 2.50,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "6c3805ec-ae65-4c57-b371-8e5a7af8351d",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        }
      ],
      "SubTotal": 77.50,
      "TotalTax": 10.08,
      "Total": 87.58,
      "UpdatedDateUTC": "\/Date(1742474748230+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:45:48] Production.INFO: -- Create Invoice id --51b2444a-9253-4042-9075-3b0a74288434  
[2025-03-20 08:45:48] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:45:48] Production.INFO: CheckInvoice xerov2: INV11517  
[2025-03-20 08:45:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11517  
[2025-03-20 08:45:51] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:45:51] Production.INFO: Invoice SubTotal 20.000000  
[2025-03-20 08:45:51] Production.INFO: Invoice DetTotal 20  
[2025-03-20 08:45:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Sidhu%20Law%20Chambers"  
[2025-03-20 08:45:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:45:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:45:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:46:02] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 1,UnitAmount : 15.000000,LineAmount : 15.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Fax DID (9057996231)",Quantity : 1,UnitAmount : 5.000000,LineAmount : 5.000000}  
[2025-03-20 08:46:06] Production.INFO: ==== result =====  
[2025-03-20 08:46:06] Production.INFO: {
  "Id": "df02fe91-892d-43b4-b052-f12e5107a42e",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474766165)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "45eb9b9d-88ea-4a7d-a599-dcf0228df62d",
      "InvoiceNumber": "INV11517",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 22.60,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "TotalDiscount": 0.00,
      "IsDiscounted": true,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "2844b970-e681-4127-91fd-f61dd7a36ea0",
        "ContactStatus": "ACTIVE",
        "Name": "Sidhu Law Chambers",
        "FirstName": "Rupinder",
        "LastName": "Sidhu",
        "EmailAddress": "sidhulawchambers@gmail.com",
        "BankAccountDetails": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1594930454860+0000)\/",
        "ContactGroups": [],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-11T00:00:00",
      "Date": "\/Date(1739232000000+0000)\/",
      "DueDateString": "2025-03-13T00:00:00",
      "DueDate": "\/Date(1741824000000+0000)\/",
      "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
      "Status": "DRAFT",
      "LineAmountTypes": "Exclusive",
      "LineItems": [
        {
          "Description": "License for an Unlimited Canada/US Cloud Phone extension",
          "UnitAmount": 15.00,
          "TaxType": "TAX020",
          "TaxAmount": 1.95,
          "LineAmount": 15.00,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "3c0a1f35-362e-4064-8d56-2b57f7f6e472",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "Fax DID (9057996231)",
          "UnitAmount": 5.00,
          "TaxType": "TAX020",
          "TaxAmount": 0.65,
          "LineAmount": 5.00,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "a0644fe9-8a0c-40da-808d-6419c5b33d9f",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        }
      ],
      "SubTotal": 20.00,
      "TotalTax": 2.60,
      "Total": 22.60,
      "UpdatedDateUTC": "\/Date(1742474766087+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:46:06] Production.INFO: -- Create Invoice id --45eb9b9d-88ea-4a7d-a599-dcf0228df62d  
[2025-03-20 08:46:06] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:46:06] Production.INFO: CheckInvoice xerov2: INV11518  
[2025-03-20 08:46:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11518  
[2025-03-20 08:46:09] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:46:09] Production.INFO: Invoice SubTotal 75.150000  
[2025-03-20 08:46:09] Production.INFO: Invoice DetTotal 75.15  
[2025-03-20 08:46:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010096%20%28Albert%20Chan%29"  
[2025-03-20 08:46:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:46:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:46:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:46:21] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Restaurant - 5 Line Flat Rate DPZ Canada",Quantity : 1,UnitAmount : 75.990000,LineAmount : 75.990000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (1-778-649-2222 - 386 City Centre Kitimat, BC V8C2G3 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,"Description": "Credit - Yealink hardware discount ($500 total, $50/mo for 10 months)",Quantity : 1,UnitAmount : -3.340000,LineAmount : -3.340000}  
[2025-03-20 08:46:25] Production.INFO: ==== result =====  
[2025-03-20 08:46:25] Production.INFO: {
  "Id": "02e403ec-e4e4-4ac3-b0f8-73e9988d11fb",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474785032)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "1fa42212-7aad-4eb6-bbd4-43c4631bbcb2",
      "InvoiceNumber": "INV11518",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 84.93,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "IsDiscounted": false,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "dc1089bc-e9ac-4fac-8919-44bc3549e60a",
        "ContactStatus": "ACTIVE",
        "Name": "Dominos 10096 (Albert Chan)",
        "FirstName": "Albert",
        "LastName": "Chan",
        "EmailAddress": "",
        "BankAccountDetails": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1730121892430+0000)\/",
        "ContactGroups": [],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-11T00:00:00",
      "Date": "\/Date(1739232000000+0000)\/",
      "DueDateString": "2025-03-13T00:00:00",
      "DueDate": "\/Date(1741824000000+0000)\/",
      "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
      "Status": "DRAFT",
      "LineAmountTypes": "Exclusive",
      "LineItems": [
        {
          "Description": "Restaurant - 5 Line Flat Rate DPZ Canada",
          "UnitAmount": 75.99,
          "TaxType": "TAX020",
          "TaxAmount": 9.88,
          "LineAmount": 75.99,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "LineItemID": "0ed036da-5d2d-4111-8f1e-54bf9e44e551",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "ValidationErrors": []
        },
        {
          "Description": "e911 address registration (1-778-649-2222 - 386 City Centre Kitimat, BC V8C2G3 Canada)",
          "UnitAmount": 2.50,
          "TaxType": "TAX020",
          "TaxAmount": 0.33,
          "LineAmount": 2.50,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "LineItemID": "6e28f977-8ac5-4c5e-8bc1-f2661c7d92af",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "ValidationErrors": []
        },
        {
          "Description": "Credit - Yealink hardware discount ($500 total, $50/mo for 10 months)",
          "UnitAmount": -3.34,
          "TaxType": "TAX020",
          "TaxAmount": -0.43,
          "LineAmount": -3.34,
          "AccountCode": "303",
          "Tracking": [],
          "Quantity": 1.0000,
          "LineItemID": "4fbb1cd6-be4b-4f31-9d56-4201f01f37a5",
          "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
          "ValidationErrors": []
        }
      ],
      "SubTotal": 75.15,
      "TotalTax": 9.78,
      "Total": 84.93,
      "UpdatedDateUTC": "\/Date(1742474784987+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:46:25] Production.INFO: -- Create Invoice id --1fa42212-7aad-4eb6-bbd4-43c4631bbcb2  
[2025-03-20 08:46:25] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:46:25] Production.INFO: CheckInvoice xerov2: INV11508  
[2025-03-20 08:46:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11508  
[2025-03-20 08:46:28] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:46:28] Production.INFO: Invoice SubTotal 38.870000  
[2025-03-20 08:46:28] Production.INFO: Invoice DetTotal 38.87  
[2025-03-20 08:46:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="DMCI"  
[2025-03-20 08:46:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:46:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:46:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:46:40] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension (DMCi)",Quantity : 5,UnitAmount : 5.000000,LineAmount : 25.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional Toll Free DID (18336210750)",Quantity : 1,UnitAmount : 5.000000,LineAmount : 5.000000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Loyalty discount - $10/month - Never expires (XR)",Quantity : 1,UnitAmount : -10.000000,LineAmount : -10.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Allows Microsoft Teams app to be used to make and receive calls via Cloud Phone.",Quantity : 3,UnitAmount : 6.290000,LineAmount : 18.870000}  
[2025-03-20 08:46:43] Production.INFO: ==== result =====  
[2025-03-20 08:46:43] Production.INFO: {
  "Id": "f42aeb02-0ae3-4ae8-bf97-e37d7ff8a39e",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474802921)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "f79bef74-ab3a-471c-afb3-f7eef3e11827",
      "InvoiceNumber": "INV11508",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 43.92,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "TotalDiscount": 0.00,
      "IsDiscounted": true,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "7bc9d577-a1e5-4866-a22c-25fb311cbded",
        "ContactStatus": "ACTIVE",
        "Name": "DMCI",
        "FirstName": "Prasad",
        "LastName": "Gopinath",
        "EmailAddress": "prasad@dmci.ca",
        "BankAccountDetails": "",
        "TaxNumber": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "AddressLine1": "1448 Lawrence Ave. East",
            "AddressLine2": "Suite 303",
            "AddressLine3": "",
            "AddressLine4": "",
            "City": "North York",
            "Region": "ON",
            "PostalCode": "M4A2V6",
            "Country": "Canada",
            "AttentionTo": "Prasad Gopinath"
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "(416) 4258001",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "4164258001,4201",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "6478893297",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1629352418927+0000)\/",
        "ContactGroups": [],
        "IsSupplier": false,
        "IsCustomer": true,
        "DefaultCurrency": "CAD",
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-10T00:00:00",
      "Date": "\/Date(1739145600000+0000)\/",
      "DueDateString": "2025-03-12T00:00:00",
      "DueDate": "\/Date(1741737600000+0000)\/",
      "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
      "Status": "DRAFT",
      "LineAmountTypes": "Exclusive",
      "LineItems": [
        {
          "Description": "License for a Pay As You Go Cloud Phone extension (DMCi)",
          "UnitAmount": 5.00,
          "TaxType": "TAX020",
          "TaxAmount": 3.25,
          "LineAmount": 25.00,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 5.0000,
          "DiscountRate": 0.00,
          "LineItemID": "8482bad8-1b53-43a0-93bc-22909491a179",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "Additional Toll Free DID (18336210750)",
          "UnitAmount": 5.00,
          "TaxType": "TAX020",
          "TaxAmount": 0.65,
          "LineAmount": 5.00,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "cc965f56-9ac2-4061-b309-0ecd6e21914c",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "Loyalty discount - $10/month - Never expires (XR)",
          "UnitAmount": -10.00,
          "TaxType": "TAX020",
          "TaxAmount": -1.30,
          "LineAmount": -10.00,
          "AccountCode": "303",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "ee117a54-43e1-4fba-9d8e-107c05b2eae7",
          "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "Allows Microsoft Teams app to be used to make and receive calls via Cloud Phone.",
          "UnitAmount": 6.29,
          "TaxType": "TAX020",
          "TaxAmount": 2.45,
          "LineAmount": 18.87,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 3.0000,
          "LineItemID": "68be09ba-1798-4f47-bbe1-ef4946eaf37e",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "ValidationErrors": []
        }
      ],
      "SubTotal": 38.87,
      "TotalTax": 5.05,
      "Total": 43.92,
      "UpdatedDateUTC": "\/Date(1742474802843+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:46:43] Production.INFO: -- Create Invoice id --f79bef74-ab3a-471c-afb3-f7eef3e11827  
[2025-03-20 08:46:43] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:46:43] Production.INFO: CheckInvoice xerov2: INV11509  
[2025-03-20 08:46:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11509  
[2025-03-20 08:46:45] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:46:45] Production.INFO: Invoice SubTotal 14.910000  
[2025-03-20 08:46:45] Production.INFO: Invoice DetTotal 14.91  
[2025-03-20 08:46:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Rosedale%20Diner"  
[2025-03-20 08:46:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:46:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:46:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:46:58] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-10-2025 To 02-09-2025",Quantity : 1,UnitAmount : 0.410000,LineAmount : 0.410000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 1,UnitAmount : 7.000000,LineAmount : 7.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14169233122 - 1164 YONGE ST  TORONTO, ON M4W2L9)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14167850655)",Quantity : 1,UnitAmount : 3.000000,LineAmount : 3.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Additional DID (14168770759)",Quantity : 1,UnitAmount : 2.000000,LineAmount : 2.000000}  
[2025-03-20 08:47:01] Production.INFO: ==== result =====  
[2025-03-20 08:47:01] Production.INFO: {
  "Id": "879998c3-7385-4970-8392-3bdd70f296ba",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474821713)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "cf49bd2a-6d53-4fe1-8d79-86931c05c20f",
      "InvoiceNumber": "INV11509",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 16.85,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "TotalDiscount": 0.00,
      "IsDiscounted": true,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "d315b223-0318-473a-8190-ce14e673da0e",
        "ContactStatus": "ACTIVE",
        "Name": "Rosedale Diner",
        "EmailAddress": "",
        "BankAccountDetails": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1562268227653+0000)\/",
        "ContactGroups": [
          {
            "ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
            "Name": "Benjamin's Customers",
            "Status": "ACTIVE",
            "Contacts": [],
            "HasValidationErrors": false
          }
        ],
        "IsSupplier": true,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-10T00:00:00",
      "Date": "\/Date(1739145600000+0000)\/",
      "DueDateString": "2025-03-12T00:00:00",
      "DueDate": "\/Date(1741737600000+0000)\/",
      "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
      "Status": "DRAFT",
      "LineAmountTypes": "Exclusive",
      "LineItems": [
        {
          "Description": "From 01-10-2025 To 02-09-2025",
          "UnitAmount": 0.41,
          "TaxType": "TAX020",
          "TaxAmount": 0.05,
          "LineAmount": 0.41,
          "AccountCode": "234",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "1f4c772e-a57b-404f-82d2-bdbbfefc28bc",
          "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "License for a Pay As You Go Cloud Phone extension",
          "UnitAmount": 7.00,
          "TaxType": "TAX020",
          "TaxAmount": 0.91,
          "LineAmount": 7.00,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "8f80a081-b3be-44e0-97d0-cfc05ad08299",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "e911 address registration (14169233122 - 1164 YONGE ST  TORONTO, ON M4W2L9)",
          "UnitAmount": 2.50,
          "TaxType": "TAX020",
          "TaxAmount": 0.33,
          "LineAmount": 2.50,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "5f7d3ebc-c085-4413-b580-df4f8b0b76ea",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "Additional DID (14167850655)",
          "UnitAmount": 3.00,
          "TaxType": "TAX020",
          "TaxAmount": 0.39,
          "LineAmount": 3.00,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "cba7ce9a-ba7c-4ef3-8f42-d21b8cffe762",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "Additional DID (14168770759)",
          "UnitAmount": 2.00,
          "TaxType": "TAX020",
          "TaxAmount": 0.26,
          "LineAmount": 2.00,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "LineItemID": "b02cd352-75de-4fc7-9512-3712d68621a6",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "ValidationErrors": []
        }
      ],
      "SubTotal": 14.91,
      "TotalTax": 1.94,
      "Total": 16.85,
      "UpdatedDateUTC": "\/Date(1742474821633+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:47:01] Production.INFO: -- Create Invoice id --cf49bd2a-6d53-4fe1-8d79-86931c05c20f  
[2025-03-20 08:47:01] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:47:01] Production.INFO: CheckInvoice xerov2: INV11510  
[2025-03-20 08:47:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11510  
[2025-03-20 08:47:05] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:47:05] Production.INFO: Invoice SubTotal 46.490000  
[2025-03-20 08:47:05] Production.INFO: Invoice DetTotal 46.49  
[2025-03-20 08:47:05] 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:47:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:47:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:47:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:47:17] Production.INFO: =========Invoices String here======{AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-10-2025 To 02-09-2025",Quantity : 1,UnitAmount : 1.990000,LineAmount : 1.990000},{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:47:21] Production.INFO: ==== result =====  
[2025-03-20 08:47:21] Production.INFO: {
  "Id": "69c3390d-7d89-4dac-ba1b-e0ad0e9c9da6",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474841058)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "884d88d5-df48-4a9c-a386-7e187ec2ff72",
      "InvoiceNumber": "INV11510",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 52.54,
      "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-02-10T00:00:00",
      "Date": "\/Date(1739145600000+0000)\/",
      "DueDateString": "2025-02-17T00:00:00",
      "DueDate": "\/Date(1739750400000+0000)\/",
      "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
      "Status": "DRAFT",
      "LineAmountTypes": "Exclusive",
      "LineItems": [
        {
          "Description": "From 01-10-2025 To 02-09-2025",
          "UnitAmount": 1.99,
          "TaxType": "OUTPUT",
          "TaxAmount": 0.26,
          "LineAmount": 1.99,
          "AccountCode": "234",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "1692f7a2-24a5-49b2-8666-243d3325279f",
          "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": "e067c30f-4ecf-47dd-9f48-f2eaf6e33bfb",
          "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": "5c950c64-b040-494e-9586-abd4bea9e3aa",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        }
      ],
      "SubTotal": 46.49,
      "TotalTax": 6.05,
      "Total": 52.54,
      "UpdatedDateUTC": "\/Date(1742474840980+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:47:21] Production.INFO: -- Create Invoice id --884d88d5-df48-4a9c-a386-7e187ec2ff72  
[2025-03-20 08:47:21] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:47:21] Production.INFO: CheckInvoice xerov2: INV11511  
[2025-03-20 08:47:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11511  
[2025-03-20 08:47:24] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:47:24] Production.INFO: Invoice SubTotal 11.260000  
[2025-03-20 08:47:24] Production.INFO: Invoice DetTotal 11.26  
[2025-03-20 08:47:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Discovery%20Point%20Nursery"  
[2025-03-20 08:47:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:47:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:47:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:47:36] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-10-2025 To 02-09-2025",Quantity : 1,UnitAmount : 1.760000,LineAmount : 1.760000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 1,UnitAmount : 7.000000,LineAmount : 7.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19057273568 - 10501 WESTON RD  WOODBRIDGE, ON L4H4G8)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}  
[2025-03-20 08:47:40] Production.INFO: ==== result =====  
[2025-03-20 08:47:40] Production.INFO: {
  "Id": "74c17fe7-ecd3-43ef-828e-8003134ce97c",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474859870)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "9e51c789-4986-4389-9abb-8f73172ddcf0",
      "InvoiceNumber": "INV11511",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 12.73,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "TotalDiscount": 0.00,
      "IsDiscounted": true,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "cb58377f-8ea7-4ab2-9952-d9be1c41b3e2",
        "ContactStatus": "ACTIVE",
        "Name": "Discovery Point Nursery",
        "EmailAddress": "",
        "BankAccountDetails": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1562268117260+0000)\/",
        "ContactGroups": [
          {
            "ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58",
            "Name": "Benjamin's Customers",
            "Status": "ACTIVE",
            "Contacts": [],
            "HasValidationErrors": false
          }
        ],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-10T00:00:00",
      "Date": "\/Date(1739145600000+0000)\/",
      "DueDateString": "2025-03-12T00:00:00",
      "DueDate": "\/Date(1741737600000+0000)\/",
      "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
      "Status": "DRAFT",
      "LineAmountTypes": "Exclusive",
      "LineItems": [
        {
          "Description": "From 01-10-2025 To 02-09-2025",
          "UnitAmount": 1.76,
          "TaxType": "TAX020",
          "TaxAmount": 0.23,
          "LineAmount": 1.76,
          "AccountCode": "234",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "2ebabec7-4fdb-4103-a2bd-459f2582e99b",
          "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "License for a Pay As You Go Cloud Phone extension",
          "UnitAmount": 7.00,
          "TaxType": "TAX020",
          "TaxAmount": 0.91,
          "LineAmount": 7.00,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "6a3d8d1d-a947-4fba-9356-d42070e69506",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "e911 address registration (19057273568 - 10501 WESTON RD  WOODBRIDGE, ON L4H4G8)",
          "UnitAmount": 2.50,
          "TaxType": "TAX020",
          "TaxAmount": 0.33,
          "LineAmount": 2.50,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "ca6ade2e-927c-4bb9-9390-55f3b4b409e8",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        }
      ],
      "SubTotal": 11.26,
      "TotalTax": 1.47,
      "Total": 12.73,
      "UpdatedDateUTC": "\/Date(1742474859823+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:47:40] Production.INFO: -- Create Invoice id --9e51c789-4986-4389-9abb-8f73172ddcf0  
[2025-03-20 08:47:40] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:47:40] Production.INFO: CheckInvoice xerov2: INV11512  
[2025-03-20 08:47:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11512  
[2025-03-20 08:47:42] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:47:42] Production.INFO: Invoice SubTotal 249.220000  
[2025-03-20 08:47:42] Production.INFO: Invoice DetTotal 249.22  
[2025-03-20 08:47:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010560%20%28Ricky%20Singh%29"  
[2025-03-20 08:47:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:47:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:47:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:47:54] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "Cable Internet Service (60 McNaughton Ave, Unit A-101, Wallaceburg, ON) - 80x15",Quantity : 1,UnitAmount : 125.980000,LineAmount : 125.980000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "LTE Internet Failover Service (60 McNaughton Ave, Unit A-101, Wallaceburg, ON) - 1GB transfer",Quantity : 1,UnitAmount : 63.240000,LineAmount : 63.240000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Bundle discount",Quantity : 3,UnitAmount : -5.000000,LineAmount : -15.000000}  
[2025-03-20 08:47:58] Production.INFO: ==== result =====  
[2025-03-20 08:47:58] Production.INFO: {
  "Id": "c77a5753-76a7-4acf-8ce1-11182594ed20",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474878339)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "4070237d-4841-4b2a-9048-e9741d4fdbc5",
      "InvoiceNumber": "INV11512",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 281.62,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "TotalDiscount": 0.00,
      "IsDiscounted": true,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "7c24a24f-0252-42cb-b4ca-aa9aa79c4f0b",
        "ContactStatus": "ACTIVE",
        "Name": "Dominos 10560 (Ricky Singh)",
        "FirstName": "Ricky",
        "LastName": "Singh",
        "EmailAddress": "ricky_bhawar@yahoo.com",
        "BankAccountDetails": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1606238954070+0000)\/",
        "ContactGroups": [],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-10T00:00:00",
      "Date": "\/Date(1739145600000+0000)\/",
      "DueDateString": "2025-03-12T00:00:00",
      "DueDate": "\/Date(1741737600000+0000)\/",
      "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
      "Status": "DRAFT",
      "LineAmountTypes": "Exclusive",
      "LineItems": [
        {
          "Description": "Cable Internet Service (60 McNaughton Ave, Unit A-101, Wallaceburg, ON) - 80x15",
          "UnitAmount": 125.98,
          "TaxType": "TAX020",
          "TaxAmount": 16.38,
          "LineAmount": 125.98,
          "AccountCode": "204",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "90b77baa-5717-4ce5-991b-a66d70263a24",
          "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "LTE Internet Failover Service (60 McNaughton Ave, Unit A-101, Wallaceburg, ON) - 1GB transfer",
          "UnitAmount": 63.24,
          "TaxType": "TAX020",
          "TaxAmount": 8.22,
          "LineAmount": 63.24,
          "AccountCode": "204",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "957c91de-14fc-407e-9e01-c841ad254a67",
          "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "Restaurant - 4 Line Flat Rate",
          "UnitAmount": 75.00,
          "TaxType": "TAX020",
          "TaxAmount": 9.75,
          "LineAmount": 75.00,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "7c95e5cf-8214-46a0-aa5b-d211475f025a",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "Bundle discount",
          "UnitAmount": -5.00,
          "TaxType": "TAX020",
          "TaxAmount": -1.95,
          "LineAmount": -15.00,
          "AccountCode": "303",
          "Tracking": [],
          "Quantity": 3.0000,
          "DiscountRate": 0.00,
          "LineItemID": "59b42b4e-95ca-4e23-9649-2fede2e167cb",
          "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        }
      ],
      "SubTotal": 249.22,
      "TotalTax": 32.40,
      "Total": 281.62,
      "UpdatedDateUTC": "\/Date(1742474878247+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:47:58] Production.INFO: -- Create Invoice id --4070237d-4841-4b2a-9048-e9741d4fdbc5  
[2025-03-20 08:47:58] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:47:58] Production.INFO: CheckInvoice xerov2: INV11502  
[2025-03-20 08:47:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11502  
[2025-03-20 08:48:01] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:48:01] Production.INFO: Invoice SubTotal 23.890000  
[2025-03-20 08:48:01] Production.INFO: Invoice DetTotal 23.89  
[2025-03-20 08:48:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="AOPG%20Inc."  
[2025-03-20 08:48:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:48:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:48:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:48:14] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-09-2025 To 02-08-2025",Quantity : 1,UnitAmount : 0.390000,LineAmount : 0.390000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 3,UnitAmount : 7.000000,LineAmount : 21.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (16473177297 - 69 KINGSGATE CRES  MOUNT ALBERT, ON L0G1M0)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000}  
[2025-03-20 08:48:18] Production.INFO: ==== result =====  
[2025-03-20 08:48:18] Production.INFO: {
  "Id": "a1c84245-dfc1-45fd-9ec0-e536d89672e5",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474897956)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "7d554a0c-7922-4919-a304-8f98952f70d5",
      "InvoiceNumber": "INV11502",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 27.00,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "TotalDiscount": 0.00,
      "IsDiscounted": true,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "d7433a1b-abec-492c-bcf0-79c422ee5e45",
        "ContactStatus": "ACTIVE",
        "Name": "AOPG Inc.",
        "FirstName": "John",
        "LastName": "Caswell",
        "EmailAddress": "jec@aopginc.com",
        "BankAccountDetails": "",
        "TaxNumber": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "AddressLine1": "69 Kingsgate Crescent",
            "AddressLine2": "",
            "AddressLine3": "",
            "AddressLine4": "",
            "City": "Mount Albert",
            "Region": "ON",
            "PostalCode": "L0G 1M0",
            "Country": "Canada",
            "AttentionTo": "John Caswell"
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "(647) 3177297",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "6473177297",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1487615948263+0000)\/",
        "ContactGroups": [],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-09T00:00:00",
      "Date": "\/Date(1739059200000+0000)\/",
      "DueDateString": "2025-03-11T00:00:00",
      "DueDate": "\/Date(1741651200000+0000)\/",
      "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
      "Status": "DRAFT",
      "LineAmountTypes": "Exclusive",
      "LineItems": [
        {
          "Description": "From 01-09-2025 To 02-08-2025",
          "UnitAmount": 0.39,
          "TaxType": "TAX020",
          "TaxAmount": 0.05,
          "LineAmount": 0.39,
          "AccountCode": "234",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "7502a8e4-5d0f-4882-a5e7-6513d98bc89e",
          "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "License for a Pay As You Go Cloud Phone extension",
          "UnitAmount": 7.00,
          "TaxType": "TAX020",
          "TaxAmount": 2.73,
          "LineAmount": 21.00,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 3.0000,
          "DiscountRate": 0.00,
          "LineItemID": "7db886cd-6cbe-4690-b25e-a0ddd0b3155e",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "e911 address registration (16473177297 - 69 KINGSGATE CRES  MOUNT ALBERT, ON L0G1M0)",
          "UnitAmount": 2.50,
          "TaxType": "TAX020",
          "TaxAmount": 0.33,
          "LineAmount": 2.50,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "987de3ba-40f9-47dc-9295-fe06fe951db2",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        }
      ],
      "SubTotal": 23.89,
      "TotalTax": 3.11,
      "Total": 27.00,
      "UpdatedDateUTC": "\/Date(1742474897910+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:48:18] Production.INFO: -- Create Invoice id --7d554a0c-7922-4919-a304-8f98952f70d5  
[2025-03-20 08:48:18] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:48:18] Production.INFO: CheckInvoice xerov2: INV11507  
[2025-03-20 08:48:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11507  
[2025-03-20 08:48:21] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:48:21] Production.INFO: Invoice SubTotal 1537.020000  
[2025-03-20 08:48:21] Production.INFO: Invoice DetTotal 1537.02  
[2025-03-20 08:48:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Avani%20Rolls%20%26%20Bowls"  
[2025-03-20 08:48:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:48:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:48:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:48:32] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Purchase of premium phone number 519-806-8000 in September 2021",Quantity : 1,UnitAmount : 1537.020000,LineAmount : 1537.020000}  
[2025-03-20 08:48:35] Production.INFO: ==== result =====  
[2025-03-20 08:48:35] Production.INFO: {
  "Id": "d07aab58-10c2-4c4f-99db-de86eadf87e6",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474915444)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "0dee2555-646b-4f90-af80-3d0044fc9226",
      "InvoiceNumber": "INV11507",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 1736.83,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "TotalDiscount": 0.00,
      "IsDiscounted": true,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "08d693ac-f648-4d13-baf5-18b2b59d959f",
        "ContactStatus": "ACTIVE",
        "Name": "Avani Rolls & Bowls",
        "FirstName": "Rishi",
        "LastName": "Kakar",
        "EmailAddress": "",
        "BankAccountDetails": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          },
          {
            "AddressType": "POBOX",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": ""
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1666687333697+0000)\/",
        "ContactGroups": [],
        "IsSupplier": false,
        "IsCustomer": true,
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-09T00:00:00",
      "Date": "\/Date(1739059200000+0000)\/",
      "DueDateString": "2025-03-11T00:00:00",
      "DueDate": "\/Date(1741651200000+0000)\/",
      "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
      "Status": "DRAFT",
      "LineAmountTypes": "Exclusive",
      "LineItems": [
        {
          "Description": "Purchase of premium phone number 519-806-8000 in September 2021",
          "UnitAmount": 1537.02,
          "TaxType": "TAX020",
          "TaxAmount": 199.81,
          "LineAmount": 1537.02,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "6b19af8c-08e4-47e5-994e-03ff973529f9",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        }
      ],
      "SubTotal": 1537.02,
      "TotalTax": 199.81,
      "Total": 1736.83,
      "UpdatedDateUTC": "\/Date(1742474915367+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:48:35] Production.INFO: -- Create Invoice id --0dee2555-646b-4f90-af80-3d0044fc9226  
[2025-03-20 08:48:35] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:48:35] Production.INFO: CheckInvoice xerov2: INV50018  
[2025-03-20 08:48:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV50018  
[2025-03-20 08:48:38] Production.INFO: Check Invoice Id XEROV20  
[2025-03-20 08:48:38] Production.INFO: Invoice SubTotal 2296.430000  
[2025-03-20 08:48:38] Production.INFO: Invoice DetTotal 2296.43  
[2025-03-20 08:48:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group"  
[2025-03-20 08:48:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items  
[2025-03-20 08:48:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates  
[2025-03-20 08:48:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts  
[2025-03-20 08:48:50] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 08-01-2025 To 07-02-2025",Quantity : 1,UnitAmount : 0.810000,LineAmount : 0.810000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Unlimited Can/US Extension",Quantity : 25,UnitAmount : 6.500000,LineAmount : 162.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18779739378)",Quantity : 1,UnitAmount : 3.500000,LineAmount : 3.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension (18665957130)",Quantity : 1,UnitAmount : 55.000000,LineAmount : 55.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18775737303)",Quantity : 1,UnitAmount : 3.500000,LineAmount : 3.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension (18002547598)",Quantity : 1,UnitAmount : 55.000000,LineAmount : 55.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (12898030100)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14162812044)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14162815300)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14165994888)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (19052787239)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (19056290329)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,"Description": "Managed Hosting SERVER: Windows Server 2016 Standard",Quantity : 1,UnitAmount : 198.720000,LineAmount : 198.720000},{taxType:"TAX020",AccountCode : 203,"Description": "Managed Hosting STORAGE: 500GB data storage disk",Quantity : 1,UnitAmount : 34.560000,LineAmount : 34.560000},{taxType:"TAX020",AccountCode : 203,"Description": "Managed Backup: Cloud replication (charged per gigabyte)",Quantity : 150,UnitAmount : 0.300000,LineAmount : 45.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Managed Backup: Site License for each site being backed up (for servers)",Quantity : 1,UnitAmount : 60.000000,LineAmount : 60.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Support for approximately 14 employee home routers",Quantity : 1,UnitAmount : 70.000000,LineAmount : 70.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Management of server",Quantity : 1,UnitAmount : 25.000000,LineAmount : 25.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Managed IT: Workstation",Quantity : 18,UnitAmount : 52.000000,LineAmount : 936.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Management for Part-Time Workstation - Basic monitoring and anti-virus",Quantity : 7,UnitAmount : 10.000000,LineAmount : 70.000000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Basic collaboration and productivity suite",Quantity : 15,UnitAmount : 8.100000,LineAmount : 121.500000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Standard collaboration and productivity suite",Quantity : 24,UnitAmount : 17.000000,LineAmount : 408.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Plan 1 - Email only",Quantity : 6,UnitAmount : 5.390000,LineAmount : 32.340000}  
[2025-03-20 08:48:53] Production.INFO: ==== result =====  
[2025-03-20 08:48:53] Production.INFO: {
  "Id": "bbb39167-d521-48eb-a5c5-1b7829c8c493",
  "Status": "OK",
  "ProviderName": "Neon OAuth v2",
  "DateTimeUTC": "\/Date(1742474933554)\/",
  "Invoices": [
    {
      "Type": "ACCREC",
      "InvoiceID": "e2f5b5d1-10eb-4bea-aca4-d9631c1b5936",
      "InvoiceNumber": "INV50018",
      "Reference": "",
      "Prepayments": [],
      "Overpayments": [],
      "AmountDue": 2595.01,
      "AmountPaid": 0.00,
      "SentToContact": false,
      "CurrencyRate": 1.0000000000,
      "TotalDiscount": 0.00,
      "IsDiscounted": true,
      "HasErrors": false,
      "InvoicePaymentServices": [],
      "Contact": {
        "ContactID": "5f6b39a6-c5bb-485f-9fdd-a6c7a1eccc47",
        "ContactNumber": "Plus Travel Group",
        "ContactStatus": "ACTIVE",
        "Name": "Plus Travel Group",
        "FirstName": "",
        "LastName": "",
        "EmailAddress": "luiza.rocha-baker@donaldsontravel.com",
        "BankAccountDetails": "",
        "TaxNumber": "",
        "Addresses": [
          {
            "AddressType": "STREET",
            "AddressLine1": "73 Water Street North",
            "AddressLine2": "Unit 300",
            "AddressLine3": "",
            "AddressLine4": "",
            "City": "Cambridge",
            "Region": "ON",
            "PostalCode": "N1R 7L6",
            "Country": "CANADA",
            "AttentionTo": ""
          },
          {
            "AddressType": "POBOX",
            "AddressLine1": "",
            "AddressLine2": "",
            "AddressLine3": "",
            "AddressLine4": "",
            "City": "",
            "Region": "",
            "PostalCode": "",
            "Country": "",
            "AttentionTo": ""
          }
        ],
        "Phones": [
          {
            "PhoneType": "DEFAULT",
            "PhoneNumber": "9056290329",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "DDI",
            "PhoneNumber": "9056290329",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "FAX",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          },
          {
            "PhoneType": "MOBILE",
            "PhoneNumber": "",
            "PhoneAreaCode": "",
            "PhoneCountryCode": ""
          }
        ],
        "UpdatedDateUTC": "\/Date(1719936260903+0000)\/",
        "ContactGroups": [],
        "IsSupplier": false,
        "IsCustomer": true,
        "DefaultCurrency": "CAD",
        "SalesTrackingCategories": [],
        "PurchasesTrackingCategories": [],
        "ContactPersons": [],
        "HasValidationErrors": false
      },
      "DateString": "2025-02-08T00:00:00",
      "Date": "\/Date(1738972800000+0000)\/",
      "DueDateString": "2025-03-10T00:00:00",
      "DueDate": "\/Date(1741564800000+0000)\/",
      "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b",
      "Status": "DRAFT",
      "LineAmountTypes": "Exclusive",
      "LineItems": [
        {
          "Description": "From 08-01-2025 To 07-02-2025",
          "UnitAmount": 0.81,
          "TaxType": "TAX020",
          "TaxAmount": 0.11,
          "LineAmount": 0.81,
          "AccountCode": "234",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "d21b92dd-42c7-4c7a-b373-b840794f1323",
          "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "License for a Unlimited Can/US Extension",
          "UnitAmount": 6.50,
          "TaxType": "TAX020",
          "TaxAmount": 21.13,
          "LineAmount": 162.50,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 25.0000,
          "DiscountRate": 0.00,
          "LineItemID": "551f0456-e0e4-40bd-9024-42060fb622aa",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "Additional DID (18779739378)",
          "UnitAmount": 3.50,
          "TaxType": "TAX020",
          "TaxAmount": 0.46,
          "LineAmount": 3.50,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "3e4ef4e6-3b77-4b2c-844e-6ba77d028816",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "License for an Unlimited Canada/US Cloud Phone extension (18665957130)",
          "UnitAmount": 55.00,
          "TaxType": "TAX020",
          "TaxAmount": 7.15,
          "LineAmount": 55.00,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "31b6c3d6-30f1-4f31-bd4e-a2c67e3fc915",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "Additional DID (18775737303)",
          "UnitAmount": 3.50,
          "TaxType": "TAX020",
          "TaxAmount": 0.46,
          "LineAmount": 3.50,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "7f353fda-1d12-4346-8155-8abcc6559dd6",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "License for an Unlimited Canada/US Cloud Phone extension (18002547598)",
          "UnitAmount": 55.00,
          "TaxType": "TAX020",
          "TaxAmount": 7.15,
          "LineAmount": 55.00,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "edc10250-9c3e-4b80-ac2d-8c73ac9637bf",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "Additional DID (12898030100)",
          "UnitAmount": 2.50,
          "TaxType": "TAX020",
          "TaxAmount": 0.33,
          "LineAmount": 2.50,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "f6e155f1-6c66-41a4-a92c-7f5c1e568836",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "Additional DID (14162812044)",
          "UnitAmount": 2.50,
          "TaxType": "TAX020",
          "TaxAmount": 0.33,
          "LineAmount": 2.50,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "06b76821-472e-466a-89aa-5c2bbfd0c301",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "Additional DID (14162815300)",
          "UnitAmount": 2.50,
          "TaxType": "TAX020",
          "TaxAmount": 0.33,
          "LineAmount": 2.50,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "d4b7980f-52d2-49a2-9b27-7c86492c97ee",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "Additional DID (14165994888)",
          "UnitAmount": 2.50,
          "TaxType": "TAX020",
          "TaxAmount": 0.33,
          "LineAmount": 2.50,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "0574ad05-70d2-4fb2-a7d0-b37078bd367d",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "Additional DID (19052787239)",
          "UnitAmount": 2.50,
          "TaxType": "TAX020",
          "TaxAmount": 0.33,
          "LineAmount": 2.50,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "d69d6fef-f8e1-4a0b-a0bc-108a85f42bb7",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "Additional DID (19056290329)",
          "UnitAmount": 2.50,
          "TaxType": "TAX020",
          "TaxAmount": 0.33,
          "LineAmount": 2.50,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "DiscountRate": 0.00,
          "LineItemID": "d12070aa-a68b-4652-868a-0f55b95830e8",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "DiscountAmount": 0.0000,
          "ValidationErrors": []
        },
        {
          "Description": "Managed Hosting SERVER: Windows Server 2016 Standard",
          "UnitAmount": 198.72,
          "TaxType": "TAX020",
          "TaxAmount": 25.83,
          "LineAmount": 198.72,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "LineItemID": "5d6392fe-af04-45b6-a193-eee76b07f3b8",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "ValidationErrors": []
        },
        {
          "Description": "Managed Hosting STORAGE: 500GB data storage disk",
          "UnitAmount": 34.56,
          "TaxType": "TAX020",
          "TaxAmount": 4.49,
          "LineAmount": 34.56,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "LineItemID": "3c633446-8d83-42df-899e-0f3479421177",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "ValidationErrors": []
        },
        {
          "Description": "Managed Backup: Cloud replication (charged per gigabyte)",
          "UnitAmount": 0.30,
          "TaxType": "TAX020",
          "TaxAmount": 5.85,
          "LineAmount": 45.00,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 150.0000,
          "LineItemID": "e2194c4a-a82e-4e32-9ed6-dd9450db84d6",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "ValidationErrors": []
        },
        {
          "Description": "Managed Backup: Site License for each site being backed up (for servers)",
          "UnitAmount": 60.00,
          "TaxType": "TAX020",
          "TaxAmount": 7.80,
          "LineAmount": 60.00,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "LineItemID": "ee7b5532-8f0b-47b7-b334-0e332ea78c18",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "ValidationErrors": []
        },
        {
          "Description": "Support for approximately 14 employee home routers",
          "UnitAmount": 70.00,
          "TaxType": "TAX020",
          "TaxAmount": 9.10,
          "LineAmount": 70.00,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "LineItemID": "4bb7afcf-3bdf-47ee-bf14-afc2087ee4ce",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "ValidationErrors": []
        },
        {
          "Description": "Management of server",
          "UnitAmount": 25.00,
          "TaxType": "TAX020",
          "TaxAmount": 3.25,
          "LineAmount": 25.00,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 1.0000,
          "LineItemID": "f039a7cc-bf1a-43b6-96b9-ba889c9dc512",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "ValidationErrors": []
        },
        {
          "Description": "Managed IT: Workstation",
          "UnitAmount": 52.00,
          "TaxType": "TAX020",
          "TaxAmount": 121.68,
          "LineAmount": 936.00,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 18.0000,
          "LineItemID": "70f16e71-6001-4050-978f-9d1b61850613",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "ValidationErrors": []
        },
        {
          "Description": "Management for Part-Time Workstation - Basic monitoring and anti-virus",
          "UnitAmount": 10.00,
          "TaxType": "TAX020",
          "TaxAmount": 9.10,
          "LineAmount": 70.00,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 7.0000,
          "LineItemID": "24d37d2d-e4a6-4ee2-b607-b98ebc7b2bea",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "ValidationErrors": []
        },
        {
          "Description": "Microsoft 365 Basic collaboration and productivity suite",
          "UnitAmount": 8.10,
          "TaxType": "TAX020",
          "TaxAmount": 15.80,
          "LineAmount": 121.50,
          "AccountCode": "250",
          "Tracking": [],
          "Quantity": 15.0000,
          "LineItemID": "35c14305-9d6b-48dc-a05d-d3d1494114c4",
          "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7",
          "ValidationErrors": []
        },
        {
          "Description": "Microsoft 365 Standard collaboration and productivity suite",
          "UnitAmount": 17.00,
          "TaxType": "TAX020",
          "TaxAmount": 53.04,
          "LineAmount": 408.00,
          "AccountCode": "250",
          "Tracking": [],
          "Quantity": 24.0000,
          "LineItemID": "e587a48b-bb72-471c-83d5-bf9366a59b6c",
          "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7",
          "ValidationErrors": []
        },
        {
          "Description": "Plan 1 - Email only",
          "UnitAmount": 5.39,
          "TaxType": "TAX020",
          "TaxAmount": 4.20,
          "LineAmount": 32.34,
          "AccountCode": "203",
          "Tracking": [],
          "Quantity": 6.0000,
          "LineItemID": "780e0389-0a9b-4d07-96d8-3ce84620ba56",
          "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2",
          "ValidationErrors": []
        }
      ],
      "SubTotal": 2296.43,
      "TotalTax": 298.58,
      "Total": 2595.01,
      "UpdatedDateUTC": "\/Date(1742474933460+0000)\/",
      "CurrencyCode": "CAD",
      "StatusAttributeString": "OK"
    }
  ]
}  
[2025-03-20 08:48:53] Production.INFO: -- Create Invoice id --e2f5b5d1-10eb-4bea-aca4-d9631c1b5936  
[2025-03-20 08:48:53] Production.INFO: -- Create Invoice Done --  
[2025-03-20 08:48:53] Production.INFO: -- Xero End Inovice --  
[2025-03-20 08:48:53] Production.INFO: ==32494== Releasing lock...  
[2025-03-20 08:48:53] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10800 #Stops#   
[2025-03-20 08:48:53] Production.INFO: 33.75 MB  #Memory Used#