[2025-03-20 06:59:03] Production.INFO: -- Xero Api Check -- [2025-03-20 06:59: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] => 854 [request_size] => 352 [filetime] => -1 [ssl_verify_result] => 0 [redirect_count] => 0 [total_time] => 1.184007 [namelookup_time] => 0.530884 [connect_time] => 0.60888 [pretransfer_time] => 0.979243 [size_upload] => 82 [size_download] => 2755 [speed_download] => 2326 [speed_upload] => 69 [download_content_length] => 2755 [upload_content_length] => 82 [starttransfer_time] => 1.18394 [redirect_time] => 0 [redirect_url] => [primary_ip] => 2.21.67.50 [certinfo] => Array ( ) [primary_port] => 443 [local_ip] => 54.39.180.235 [local_port] => 35248 ) [2025-03-20 06:59:04] Production.INFO: -- connection successfully here --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NjgzNDQsImV4cCI6MTc0MjQ2ODY0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzQyNDY4MzQ0LCJhdF9oYXNoIjoieEplR1ZldkRmc2xiVlUtdTBJampMUSIsInN1YiI6Ijc1NGMxN2Q3MTA0YTUxODViYjEyZmM5ODFiN2VlMzliIiwiYXV0aF90aW1lIjoxNzQyNDY2MzA1LCJ4ZXJvX3VzZXJpZCI6IjFiOGM2ODExLTJmMGItNGU3Mi05Y2JhLTY5ZDVlM2RmOTEyYyIsImdsb2JhbF9zZXNzaW9uX2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJzaWQiOiI5ZWFmZGExM2Y5NWE0NmJjODI2Yzc4N2IxZTRjNWY1MCIsInByZWZlcnJlZF91c2VybmFtZSI6Imx5bmRhQGNsb3VkbWViLmNvbSIsImVtYWlsIjoibHluZGFAY2xvdWRtZWIuY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.kATOn7agQtxpfjMOuP1joabrf7umIuj32ascEr1H5A49a-6iqW81dORX4djcp6SqovCadblhbiMxOWmXyHMHyWUG-TbW6VOCCy01OQdKPTehovUO5_OU50_WPDI_XKQHStV1Irz9wTQ5BuDX6iGz--Wmm93vt_HK_wCAbNkzt5UCBDzUSueLua89x50VyOshjL1FA1yrgKK2q3F5LRHkjzeFFeJHU2EcLlSDFZuu_IcksyopE6aX8SVXPemzu04SpAd7rAGVfrtNCQKMGxF78klrCBVIJNbOfZxXndKuDNJp_9XgIuP9-1ch1tTWN29XHojr68P6P3uqEEtNFYvyLA [access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NjgzNDQsImV4cCI6MTc0MjQ3MDE0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI3NTRjMTdkNzEwNGE1MTg1YmIxMmZjOTgxYjdlZTM5YiIsImF1dGhfdGltZSI6MTc0MjQ2NjMwNSwieGVyb191c2VyaWQiOiIxYjhjNjgxMS0yZjBiLTRlNzItOWNiYS02OWQ1ZTNkZjkxMmMiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6IjllYWZkYTEzZjk1YTQ2YmM4MjZjNzg3YjFlNGM1ZjUwIiwic2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJqdGkiOiIyNUNEQkY1RjBBNTRGMjlDNjBDNUE2RjU4Qzg3NzMyQSIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiMGZlNDU1NWEtNmNkMy00YjFkLTljNjEtMzAzMjBmMjBmZGFkIiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.ex5mKI06o4gR_mrsOwoASUPZcMLKZ1TJLqLZIvdzcBp4Xi7I3omzPS1CmkFSWTWf8XbpTc4hbOSaVRC9JnsNRy5jo1QCGZ0AkJAA5aRW7Sc_f0NAxjlVDHsSCVJQgzL89N_PzsS6fKWNo6ODMZufMoeaz0DZlDqR8mGcbsoNq9e--GoJCN2YXDcDzo6hBQn71ueeBQVByU9ssFkUR1T7MsKv3s80jbFMfj3QsP9CYngv5sPxJGOR5lv8u6_xuDAlDK0h2uIWl-IKjfabLLpREpkenM1tHGyTWWH6tFtn3wwlOVfF2VCfEcvEJBmJXPuktB_CaD8xMchXPTuzxwNpig [expires_in] => 1800 [token_type] => Bearer [refresh_token] => 98eMbx8tnYyaDw46Y9x5rPB8bUjnJLTWpWZhsIJlz0Y [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-03-20 06:59:04] Production.INFO: -- connection successfully --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NjgzNDQsImV4cCI6MTc0MjQ2ODY0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzQyNDY4MzQ0LCJhdF9oYXNoIjoieEplR1ZldkRmc2xiVlUtdTBJampMUSIsInN1YiI6Ijc1NGMxN2Q3MTA0YTUxODViYjEyZmM5ODFiN2VlMzliIiwiYXV0aF90aW1lIjoxNzQyNDY2MzA1LCJ4ZXJvX3VzZXJpZCI6IjFiOGM2ODExLTJmMGItNGU3Mi05Y2JhLTY5ZDVlM2RmOTEyYyIsImdsb2JhbF9zZXNzaW9uX2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJzaWQiOiI5ZWFmZGExM2Y5NWE0NmJjODI2Yzc4N2IxZTRjNWY1MCIsInByZWZlcnJlZF91c2VybmFtZSI6Imx5bmRhQGNsb3VkbWViLmNvbSIsImVtYWlsIjoibHluZGFAY2xvdWRtZWIuY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.kATOn7agQtxpfjMOuP1joabrf7umIuj32ascEr1H5A49a-6iqW81dORX4djcp6SqovCadblhbiMxOWmXyHMHyWUG-TbW6VOCCy01OQdKPTehovUO5_OU50_WPDI_XKQHStV1Irz9wTQ5BuDX6iGz--Wmm93vt_HK_wCAbNkzt5UCBDzUSueLua89x50VyOshjL1FA1yrgKK2q3F5LRHkjzeFFeJHU2EcLlSDFZuu_IcksyopE6aX8SVXPemzu04SpAd7rAGVfrtNCQKMGxF78klrCBVIJNbOfZxXndKuDNJp_9XgIuP9-1ch1tTWN29XHojr68P6P3uqEEtNFYvyLA [access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NjgzNDQsImV4cCI6MTc0MjQ3MDE0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI3NTRjMTdkNzEwNGE1MTg1YmIxMmZjOTgxYjdlZTM5YiIsImF1dGhfdGltZSI6MTc0MjQ2NjMwNSwieGVyb191c2VyaWQiOiIxYjhjNjgxMS0yZjBiLTRlNzItOWNiYS02OWQ1ZTNkZjkxMmMiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6IjllYWZkYTEzZjk1YTQ2YmM4MjZjNzg3YjFlNGM1ZjUwIiwic2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJqdGkiOiIyNUNEQkY1RjBBNTRGMjlDNjBDNUE2RjU4Qzg3NzMyQSIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiMGZlNDU1NWEtNmNkMy00YjFkLTljNjEtMzAzMjBmMjBmZGFkIiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.ex5mKI06o4gR_mrsOwoASUPZcMLKZ1TJLqLZIvdzcBp4Xi7I3omzPS1CmkFSWTWf8XbpTc4hbOSaVRC9JnsNRy5jo1QCGZ0AkJAA5aRW7Sc_f0NAxjlVDHsSCVJQgzL89N_PzsS6fKWNo6ODMZufMoeaz0DZlDqR8mGcbsoNq9e--GoJCN2YXDcDzo6hBQn71ueeBQVByU9ssFkUR1T7MsKv3s80jbFMfj3QsP9CYngv5sPxJGOR5lv8u6_xuDAlDK0h2uIWl-IKjfabLLpREpkenM1tHGyTWWH6tFtn3wwlOVfF2VCfEcvEJBmJXPuktB_CaD8xMchXPTuzxwNpig [expires_in] => 1800 [token_type] => Bearer [refresh_token] => 98eMbx8tnYyaDw46Y9x5rPB8bUjnJLTWpWZhsIJlz0Y [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-03-20 06:59:04] Production.INFO: AccountID 78 [2025-03-20 06:59:04] Production.INFO: AccountName Halcyon Travel [2025-03-20 06:59:04] Production.INFO: Checkcustomer [2025-03-20 06:59:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Halcyon%20Travel" [2025-03-20 06:59:07] Production.INFO: Contact id print CheckCustomer Case===2fb0f102-2ef2-41cf-8d40-4c3f58cf996f [2025-03-20 06:59:07] Production.INFO: -- count --1 [2025-03-20 06:59:07] Production.INFO: AccountID 102 [2025-03-20 06:59:07] Production.INFO: AccountName Dominos 39013 (Mudassar Zia) [2025-03-20 06:59:07] Production.INFO: Checkcustomer [2025-03-20 06:59: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 06:59:11] Production.INFO: Contact id print CheckCustomer Case===8893c88d-0603-4dd4-9524-da8cd6ed65c9 [2025-03-20 06:59:11] Production.INFO: -- count --1 [2025-03-20 06:59:11] Production.INFO: AccountID 14 [2025-03-20 06:59:11] Production.INFO: AccountName Dominos 10515 (Ronny Khan) [2025-03-20 06:59:11] Production.INFO: Checkcustomer [2025-03-20 06:59: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 06:59:14] Production.INFO: Contact id print CheckCustomer Case===de29a9c7-cecf-49b7-b42f-7b106467f0ce [2025-03-20 06:59:14] Production.INFO: -- count --1 [2025-03-20 06:59:14] Production.INFO: AccountID 93 [2025-03-20 06:59:14] Production.INFO: AccountName Personas [2025-03-20 06:59:14] Production.INFO: Checkcustomer [2025-03-20 06:59:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Personas" [2025-03-20 06:59:17] Production.INFO: Contact id print CheckCustomer Case===31472f57-4acd-4468-9ab0-8ed346b2d96f [2025-03-20 06:59:17] Production.INFO: -- count --1 [2025-03-20 06:59:17] Production.INFO: AccountID 151 [2025-03-20 06:59:17] Production.INFO: AccountName Dominos 10584 (Rick Singh) [2025-03-20 06:59:17] Production.INFO: Checkcustomer [2025-03-20 06:59:17] 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 06:59:20] Production.INFO: Contact id print CheckCustomer Case===1e8b6299-6571-4c51-87f6-a0280833b109 [2025-03-20 06:59:20] Production.INFO: -- count --1 [2025-03-20 06:59:20] Production.INFO: AccountID 263 [2025-03-20 06:59:20] Production.INFO: AccountName Dominos 10173 (Abdul Karim) [2025-03-20 06:59:20] Production.INFO: Checkcustomer [2025-03-20 06:59:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010173%20%28Abdul%20Karim%29" [2025-03-20 06:59:22] Production.INFO: -- count --0 [2025-03-20 06:59:25] Production.INFO: ==== Contact Information 1 [2025-03-20 06:59:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010173%20%28Abdul%20Karim%29" [2025-03-20 06:59:28] Production.INFO: ContactID 50a0f1e0-c4eb-4ccb-b75a-a120cb3261f3 [2025-03-20 06:59:28] Production.INFO: -- Create Customer id --50a0f1e0-c4eb-4ccb-b75a-a120cb3261f3 [2025-03-20 06:59:28] Production.INFO: -- Create Customer name --test customer [2025-03-20 06:59:28] Production.INFO: AccountID 57 [2025-03-20 06:59:28] Production.INFO: AccountName Dominos 39041 (Rishi Kakar) [2025-03-20 06:59:28] Production.INFO: Checkcustomer [2025-03-20 06:59:28] 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 06:59:31] Production.INFO: Contact id print CheckCustomer Case===e874c379-a70c-405c-bc58-0ac6921c29ba [2025-03-20 06:59:31] Production.INFO: -- count --1 [2025-03-20 06:59:31] Production.INFO: AccountID 107 [2025-03-20 06:59:31] Production.INFO: AccountName Dominos 10179 (Akshay Naik) [2025-03-20 06:59:31] Production.INFO: Checkcustomer [2025-03-20 06:59:31] 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 06:59:33] Production.INFO: Contact id print CheckCustomer Case===669bb033-93e4-4d2e-aa92-454e682a5c09 [2025-03-20 06:59:33] Production.INFO: -- count --1 [2025-03-20 06:59:33] Production.INFO: AccountID 140 [2025-03-20 06:59:33] Production.INFO: AccountName PharmaSave (Uxbridge) [2025-03-20 06:59:33] Production.INFO: Checkcustomer [2025-03-20 06:59:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="PharmaSave%20%28Uxbridge%29" [2025-03-20 06:59:36] Production.INFO: Contact id print CheckCustomer Case===ac797c62-9d84-4beb-9f18-85a8d961b94f [2025-03-20 06:59:36] Production.INFO: -- count --1 [2025-03-20 06:59:36] Production.INFO: AccountID 161 [2025-03-20 06:59:36] Production.INFO: AccountName Dominos 10476 (Sandeep Chaudhari) [2025-03-20 06:59:36] Production.INFO: Checkcustomer [2025-03-20 06:59:36] 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 06:59:39] Production.INFO: Contact id print CheckCustomer Case===fc4aff1d-c37f-4c5c-9191-e58f25d1bcb1 [2025-03-20 06:59:39] Production.INFO: -- count --1 [2025-03-20 06:59:39] Production.INFO: -- Xero Add Inovice -- [2025-03-20 06:59:39] Production.INFO: CheckInvoice xerov2: INV11735 [2025-03-20 06:59:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11735 [2025-03-20 06:59:42] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 06:59:42] Production.INFO: Invoice SubTotal 15.320000 [2025-03-20 06:59:42] Production.INFO: Invoice DetTotal 15.32 [2025-03-20 06:59:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Halcyon%20Travel" [2025-03-20 06:59:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 06:59:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 06:59:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 06:59:54] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 02-19-2025 To 03-18-2025",Quantity : 1,UnitAmount : 2.820000,LineAmount : 2.820000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 1,UnitAmount : 10.000000,LineAmount : 10.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19052019009 - 50 Anderson Ave., Markham, ON L6E 1A6 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 06:59:57] Production.INFO: ==== result ===== [2025-03-20 06:59:57] Production.INFO: { "Id": "993d50e3-c6b8-4d0a-a2db-985ed1612903", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742468397330)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "fac0faab-451a-4e6c-9972-719749ffb643", "InvoiceNumber": "INV11735", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 17.32, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "2fb0f102-2ef2-41cf-8d40-4c3f58cf996f", "ContactStatus": "ACTIVE", "Name": "Halcyon Travel", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1533070479233+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-19T00:00:00", "Date": "\/Date(1742342400000+0000)\/", "DueDateString": "2025-04-18T00:00:00", "DueDate": "\/Date(1744934400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 02-19-2025 To 03-18-2025", "UnitAmount": 2.82, "TaxType": "TAX020", "TaxAmount": 0.37, "LineAmount": 2.82, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "23a53e51-169f-407a-8deb-29c93dfe5a5e", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for a Pay As You Go Cloud Phone extension", "UnitAmount": 10.00, "TaxType": "TAX020", "TaxAmount": 1.30, "LineAmount": 10.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "4a35df33-7ed1-4475-880b-eab51cb1c963", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (19052019009 - 50 Anderson Ave., Markham, ON L6E 1A6 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "6d94cfc0-a5ac-4e27-939d-4d8663ec7a36", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 15.32, "TotalTax": 2.00, "Total": 17.32, "UpdatedDateUTC": "\/Date(1742468397267+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 06:59:57] Production.INFO: -- Create Invoice id --fac0faab-451a-4e6c-9972-719749ffb643 [2025-03-20 06:59:57] Production.INFO: -- Create Invoice Done -- [2025-03-20 06:59:57] Production.INFO: CheckInvoice xerov2: INV11736 [2025-03-20 06:59:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11736 [2025-03-20 07:00:00] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:00:00] Production.INFO: Invoice SubTotal 60.000000 [2025-03-20 07:00:00] Production.INFO: Invoice DetTotal 60 [2025-03-20 07:00:00] 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 07:00:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:00:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:00:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:00:13] 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 07:00:16] Production.INFO: ==== result ===== [2025-03-20 07:00:16] Production.INFO: { "Id": "4cc6195a-4810-4807-a077-6828b8520b0a", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742468416075)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "341e8883-e033-477b-b1d3-f5d3d4229ab1", "InvoiceNumber": "INV11736", "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-03-19T00:00:00", "Date": "\/Date(1742342400000+0000)\/", "DueDateString": "2025-04-18T00:00:00", "DueDate": "\/Date(1744934400000+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": "1fad0583-3d0b-4e16-9399-cfaaba6a145d", "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": "2ed3a9ce-bc46-4a37-9385-7e79b41a9fe4", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 60.00, "TotalTax": 3.00, "Total": 63.00, "UpdatedDateUTC": "\/Date(1742468416013+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:00:16] Production.INFO: -- Create Invoice id --341e8883-e033-477b-b1d3-f5d3d4229ab1 [2025-03-20 07:00:16] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:00:16] Production.INFO: CheckInvoice xerov2: INV11729 [2025-03-20 07:00:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11729 [2025-03-20 07:00:19] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:00:19] Production.INFO: Invoice SubTotal 57.500000 [2025-03-20 07:00:19] Production.INFO: Invoice DetTotal 57.5 [2025-03-20 07:00:19] 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 07:00:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:00:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:00:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:00:31] 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 07:00:35] Production.INFO: ==== result ===== [2025-03-20 07:00:35] Production.INFO: { "Id": "b5cc21d5-c203-4890-ab6f-57b9cdf01ef9", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742468435197)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "b965ed4c-739d-4d21-8f6a-cddc75bac0b3", "InvoiceNumber": "INV11729", "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-03-18T00:00:00", "Date": "\/Date(1742256000000+0000)\/", "DueDateString": "2025-04-17T00:00:00", "DueDate": "\/Date(1744848000000+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": "470b7e56-6048-4619-a635-fa91716b1be6", "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": "75289dd5-454e-4577-b3aa-6bed4b49d387", "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": "bcb22be0-7f08-408a-b91c-4651a30c13d1", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 57.50, "TotalTax": 7.48, "Total": 64.98, "UpdatedDateUTC": "\/Date(1742468435120+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:00:35] Production.INFO: -- Create Invoice id --b965ed4c-739d-4d21-8f6a-cddc75bac0b3 [2025-03-20 07:00:35] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:00:35] Production.INFO: CheckInvoice xerov2: INV11725 [2025-03-20 07:00:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11725 [2025-03-20 07:00:37] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:00:37] Production.INFO: Invoice SubTotal 57.000000 [2025-03-20 07:00:37] Production.INFO: Invoice DetTotal 57 [2025-03-20 07:00:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Personas" [2025-03-20 07:00:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:00:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:00:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:00:49] 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 07:00:52] Production.INFO: ==== result ===== [2025-03-20 07:00:52] Production.INFO: { "Id": "1a5add54-d442-4d77-b9e5-eaa3e3a8db35", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742468452056)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "9c2cee76-5a8a-4037-8d99-94bf66bf529c", "InvoiceNumber": "INV11725", "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-03-17T00:00:00", "Date": "\/Date(1742169600000+0000)\/", "DueDateString": "2025-04-16T00:00:00", "DueDate": "\/Date(1744761600000+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": "ae42395a-d92e-45b5-a345-1b7e51edabc7", "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": "6bbeceaa-6022-4394-85cc-9853a69759ba", "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": "09015711-2334-466c-a8e8-513f73c5886d", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 57.00, "TotalTax": 7.42, "Total": 64.42, "UpdatedDateUTC": "\/Date(1742468451993+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:00:52] Production.INFO: -- Create Invoice id --9c2cee76-5a8a-4037-8d99-94bf66bf529c [2025-03-20 07:00:52] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:00:52] Production.INFO: CheckInvoice xerov2: INV11726 [2025-03-20 07:00:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11726 [2025-03-20 07:00:55] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:00:55] Production.INFO: Invoice SubTotal 67.500000 [2025-03-20 07:00:55] Production.INFO: Invoice DetTotal 67.5 [2025-03-20 07:00:55] 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 07:00:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:01:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:01:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:01:08] 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 07:01:11] Production.INFO: ==== result ===== [2025-03-20 07:01:11] Production.INFO: { "Id": "eeb3190e-1a71-4918-a81d-84aa1eeb24d5", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742468471446)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "82fbb8e6-f01f-4253-bbb0-51670207e1ac", "InvoiceNumber": "INV11726", "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-03-17T00:00:00", "Date": "\/Date(1742169600000+0000)\/", "DueDateString": "2025-04-16T00:00:00", "DueDate": "\/Date(1744761600000+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": "1d7b234d-d0ca-495d-b132-cced7b728d1f", "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": "b1dba280-e64d-4918-96c1-82cb56a968ca", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 67.50, "TotalTax": 8.78, "Total": 76.28, "UpdatedDateUTC": "\/Date(1742468471400+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:01:11] Production.INFO: -- Create Invoice id --82fbb8e6-f01f-4253-bbb0-51670207e1ac [2025-03-20 07:01:11] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:01:11] Production.INFO: CheckInvoice xerov2: INV11728 [2025-03-20 07:01:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11728 [2025-03-20 07:01:14] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:01:14] Production.INFO: Invoice SubTotal 91.540000 [2025-03-20 07:01:14] Production.INFO: Invoice DetTotal 91.54 [2025-03-20 07:01:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010173%20%28Abdul%20Karim%29" [2025-03-20 07:01:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:01:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:01:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:01:26] Production.INFO: =========Invoices String here======{taxType:"TAX012",AccountCode : 203,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 12.650000,LineAmount : 12.650000},{taxType:"TAX012",AccountCode : 203,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.990000,LineAmount : 75.990000},{taxType:"TAX012",AccountCode : 203,"Description": "e911 address registration (4032047955 - 175 Chestermere Station Way Unit 109 Chestermere, AB T1X0A4)",Quantity : 1,UnitAmount : 0.400000,LineAmount : 0.400000},{taxType:"TAX012",AccountCode : 203,"Description": "e911 address registration (4032047955 - 175 Chestermere Station Way Unit 109 Chestermere, AB T1X0A4)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 07:01:29] Production.INFO: ==== result ===== [2025-03-20 07:01:29] Production.INFO: { "Id": "5d6b8095-b534-434e-b542-f8bbcf28e91e", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742468489391)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "556ab142-4944-4cb5-b8e4-b67eb343ac83", "InvoiceNumber": "INV11728", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 96.12, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "50a0f1e0-c4eb-4ccb-b75a-a120cb3261f3", "ContactStatus": "ACTIVE", "Name": "Dominos 10173 (Abdul Karim)", "FirstName": "Abdul", "LastName": "Karim", "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(1742468365130+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-17T00:00:00", "Date": "\/Date(1742169600000+0000)\/", "DueDateString": "2025-04-16T00:00:00", "DueDate": "\/Date(1744761600000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Restaurant - 4 Line Flat Rate", "UnitAmount": 12.65, "TaxType": "TAX012", "TaxAmount": 0.63, "LineAmount": 12.65, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "28bb8a0f-52f6-4904-ac2a-79ba212a0a1b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Restaurant - 4 Line Flat Rate", "UnitAmount": 75.99, "TaxType": "TAX012", "TaxAmount": 3.80, "LineAmount": 75.99, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "b2c83085-9de8-4524-a5c8-553f69c1a5b1", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (4032047955 - 175 Chestermere Station Way Unit 109 Chestermere, AB T1X0A4)", "UnitAmount": 0.40, "TaxType": "TAX012", "TaxAmount": 0.02, "LineAmount": 0.40, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "b8351be7-c85d-4abd-814e-7aaef73241dc", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (4032047955 - 175 Chestermere Station Way Unit 109 Chestermere, AB T1X0A4)", "UnitAmount": 2.50, "TaxType": "TAX012", "TaxAmount": 0.13, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "15c3bc94-206a-4cc9-9e7c-fede789a7685", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 91.54, "TotalTax": 4.58, "Total": 96.12, "UpdatedDateUTC": "\/Date(1742468489267+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:01:29] Production.INFO: -- Create Invoice id --556ab142-4944-4cb5-b8e4-b67eb343ac83 [2025-03-20 07:01:29] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:01:29] Production.INFO: CheckInvoice xerov2: INV11720 [2025-03-20 07:01:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11720 [2025-03-20 07:01:32] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:01:32] Production.INFO: Invoice SubTotal 77.500000 [2025-03-20 07:01:32] Production.INFO: Invoice DetTotal 77.5 [2025-03-20 07:01:32] 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 07:01:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:01:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:01:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:01:44] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Dominos Pizza - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19052572900 - 2387 TRAFALGAR RD UNIT 1 OAKVILLE, ON L6H6K7)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 07:01:47] Production.INFO: ==== result ===== [2025-03-20 07:01:47] Production.INFO: { "Id": "25e9b946-882f-4a1b-b3dd-9ebd4009c877", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742468507367)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "25aecd35-2190-449b-93aa-7b52720b573b", "InvoiceNumber": "INV11720", "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-03-16T00:00:00", "Date": "\/Date(1742083200000+0000)\/", "DueDateString": "2025-04-15T00:00:00", "DueDate": "\/Date(1744675200000+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": "909a5250-b265-4ec4-be44-e344f58b7199", "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": "41191b84-2919-407e-8a0b-44b1311da2b8", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 77.50, "TotalTax": 10.08, "Total": 87.58, "UpdatedDateUTC": "\/Date(1742468507307+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:01:47] Production.INFO: -- Create Invoice id --25aecd35-2190-449b-93aa-7b52720b573b [2025-03-20 07:01:47] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:01:47] Production.INFO: CheckInvoice xerov2: INV11722 [2025-03-20 07:01:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11722 [2025-03-20 07:01:50] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:01:50] Production.INFO: Invoice SubTotal 52.500000 [2025-03-20 07:01:50] Production.INFO: Invoice DetTotal 52.5 [2025-03-20 07:01:50] 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 07:01:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:01:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:02:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:02:03] 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 07:02:06] Production.INFO: ==== result ===== [2025-03-20 07:02:06] Production.INFO: { "Id": "94b238db-f611-48af-a66b-f8f645304dd4", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742468526768)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "6be3b32b-b975-481c-b212-bde27ecd9faa", "InvoiceNumber": "INV11722", "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-03-16T00:00:00", "Date": "\/Date(1742083200000+0000)\/", "DueDateString": "2025-04-15T00:00:00", "DueDate": "\/Date(1744675200000+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": "99c77155-0ceb-41e8-a8e3-a40439852c55", "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": "19f7d502-cdae-4205-8671-a74a72449d7c", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 2.63, "Total": 55.13, "UpdatedDateUTC": "\/Date(1742468526720+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:02:06] Production.INFO: -- Create Invoice id --6be3b32b-b975-481c-b212-bde27ecd9faa [2025-03-20 07:02:06] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:02:06] Production.INFO: CheckInvoice xerov2: INV11723 [2025-03-20 07:02:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11723 [2025-03-20 07:02:09] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:02:09] Production.INFO: Invoice SubTotal 32.500000 [2025-03-20 07:02:09] Production.INFO: Invoice DetTotal 32.5 [2025-03-20 07:02:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="PharmaSave%20%28Uxbridge%29" [2025-03-20 07:02:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:02:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:02:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:02:21] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Retail Phone Service - 3 Channels Dedicated/Burst to 5 Channels",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (9058622800 - 29 Toronto Street South 1B Uxbridge, ON L9P 1V9)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Discount - Friends and Family (Doug Geary referral)",Quantity : 1,UnitAmount : -45.000000,LineAmount : -45.000000} [2025-03-20 07:02:25] Production.INFO: ==== result ===== [2025-03-20 07:02:25] Production.INFO: { "Id": "f134f6e0-998b-4f74-ba7e-253935ce9ec9", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742468545417)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "fb03b584-b8d3-45a5-aecb-40508fc93d6a", "InvoiceNumber": "INV11723", "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-03-16T00:00:00", "Date": "\/Date(1742083200000+0000)\/", "DueDateString": "2025-04-15T00:00:00", "DueDate": "\/Date(1744675200000+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": "d683036a-ed2f-4219-b059-108a61591639", "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": "c9b33c85-231d-4968-a325-84c5cf779c32", "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": "375721c2-dea4-4686-b662-06bbb1137cac", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 32.50, "TotalTax": 4.23, "Total": 36.73, "UpdatedDateUTC": "\/Date(1742468545353+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:02:25] Production.INFO: -- Create Invoice id --fb03b584-b8d3-45a5-aecb-40508fc93d6a [2025-03-20 07:02:25] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:02:25] Production.INFO: CheckInvoice xerov2: INV11724 [2025-03-20 07:02:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11724 [2025-03-20 07:02:28] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:02:28] Production.INFO: Invoice SubTotal 52.500000 [2025-03-20 07:02:28] Production.INFO: Invoice DetTotal 52.5 [2025-03-20 07:02:28] 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 07:02:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:02:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:02:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:02:40] 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 07:02:43] Production.INFO: ==== result ===== [2025-03-20 07:02:43] Production.INFO: { "Id": "123fded7-0b2e-4a61-a073-a8a15877aa4e", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742468563380)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "97e95653-4feb-48c9-a3d3-5a22e88a97a2", "InvoiceNumber": "INV11724", "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-03-16T00:00:00", "Date": "\/Date(1742083200000+0000)\/", "DueDateString": "2025-04-15T00:00:00", "DueDate": "\/Date(1744675200000+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": "51250a8c-dc7c-4775-b7b2-ef28e0e6aa40", "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": "ff218d19-5f28-47e3-b9d4-91dfbf24fd6d", "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": "2405f129-3458-4396-be87-908226d4e2e8", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 6.83, "Total": 59.33, "UpdatedDateUTC": "\/Date(1742468563303+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:02:43] Production.INFO: -- Create Invoice id --97e95653-4feb-48c9-a3d3-5a22e88a97a2 [2025-03-20 07:02:43] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:02:43] Production.INFO: -- Xero End Inovice -- [2025-03-20 07:02:43] Production.INFO: ==23234== Releasing lock... [2025-03-20 07:02:43] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10796 #Stops# [2025-03-20 07:02:43] Production.INFO: 33 MB #Memory Used#