[2025-06-23 05:59:03] Production.INFO: -- Xero Api Check -- [2025-06-23 05:59:05] Production.INFO: -- curl info --Array ( [url] => https://identity.xero.com/connect/token [content_type] => application/json; charset=UTF-8 [http_code] => 200 [header_size] => 856 [request_size] => 352 [filetime] => -1 [ssl_verify_result] => 0 [redirect_count] => 0 [total_time] => 1.525531 [namelookup_time] => 0.539741 [connect_time] => 0.635211 [pretransfer_time] => 1.065646 [size_upload] => 82 [size_download] => 2755 [speed_download] => 1805 [speed_upload] => 53 [download_content_length] => 2755 [upload_content_length] => 82 [starttransfer_time] => 1.525471 [redirect_time] => 0 [redirect_url] => [primary_ip] => 2.16.6.30 [certinfo] => Array ( ) [primary_port] => 443 [local_ip] => 54.39.180.235 [local_port] => 38320 ) [2025-06-23 05:59:05] Production.INFO: -- connection successfully here --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NTA2NzI3NDUsImV4cCI6MTc1MDY3MzA0NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzUwNjcyNzQ0LCJhdF9oYXNoIjoiVWJsVURwZVJ3eUdyOHAtdFl4OXNRQSIsInN1YiI6Ijc1NGMxN2Q3MTA0YTUxODViYjEyZmM5ODFiN2VlMzliIiwiYXV0aF90aW1lIjoxNzQyNDY2MzA1LCJ4ZXJvX3VzZXJpZCI6IjFiOGM2ODExLTJmMGItNGU3Mi05Y2JhLTY5ZDVlM2RmOTEyYyIsImdsb2JhbF9zZXNzaW9uX2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJzaWQiOiI5ZWFmZGExM2Y5NWE0NmJjODI2Yzc4N2IxZTRjNWY1MCIsInByZWZlcnJlZF91c2VybmFtZSI6Imx5bmRhQGNsb3VkbWViLmNvbSIsImVtYWlsIjoibHluZGFAY2xvdWRtZWIuY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.GxWz1VnKnn1mGo2V5rkfWsNhNWwM9x1lG3D0ALeXDs9iqdXf6WIuGQDkxElTEEuKNzB-dcgkMgAcJhoS6UzocC47RZwbZDvmgOqLizJht-RFxg8DA1F9ccpUbE0TyW_QL3-JgO_9ir_wYVRXF0WJYMUA5XTl7zXjiR6qFrBu_X7E5AFa9Yb07Q0ynhZImaBuk9B_WUPbYcucz6B1Zu2y4AJexzdrFRbast3hzFA8UGy2ZCcnUoPARM5Fer3OTjh0WjZPuwqNppDkp89wsGV6V9KZGlAwj3cm0-Kmsq0IcUiyLbA3Gfx4uPAHEydYPnYBF9YNDz4HJQIqutrXMz9QfQ [access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NTA2NzI3NDQsImV4cCI6MTc1MDY3NDU0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI3NTRjMTdkNzEwNGE1MTg1YmIxMmZjOTgxYjdlZTM5YiIsImF1dGhfdGltZSI6MTc0MjQ2NjMwNSwieGVyb191c2VyaWQiOiIxYjhjNjgxMS0yZjBiLTRlNzItOWNiYS02OWQ1ZTNkZjkxMmMiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6IjllYWZkYTEzZjk1YTQ2YmM4MjZjNzg3YjFlNGM1ZjUwIiwic2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJqdGkiOiIyNUNEQkY1RjBBNTRGMjlDNjBDNUE2RjU4Qzg3NzMyQSIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiMGZlNDU1NWEtNmNkMy00YjFkLTljNjEtMzAzMjBmMjBmZGFkIiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.Bqs8el0Gd6wm12nRMnJhosznDTxHKdMar-7sGFsasTbbvdYOdwXKoRII-VIgK-TXtm57Gu_sZmQuOQ3xe3p1OnzTRoubUCgOu0FlRuJbnZzaXs26i84DzCAR-tLIQNU9Al2w0YFY7eL4NS5Z5L-qx61vDI1Ovq2dU1uirH8tdcdf1Lwc6y6PjC4GGHeOPmIcnblrW8KsKeIvUvCykv-WY_wp8N-b-MeW0bdawd7QKFuer0K_PoMcHo563iKOjYKXzwWoOFdP0y-EFMeFmy7vxG7YmOHVkvbZR-g-4kRfwNAO8VUpR0aHG6PXS-5FImioTEnoY-kdLR6dYFO4JbKyNQ [expires_in] => 1800 [token_type] => Bearer [refresh_token] => cStrn28zQt6f9hDE91oKAu7b58vf5pI_9KGdcBBTJ0M [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-06-23 05:59:05] Production.INFO: -- connection successfully --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NTA2NzI3NDUsImV4cCI6MTc1MDY3MzA0NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzUwNjcyNzQ0LCJhdF9oYXNoIjoiVWJsVURwZVJ3eUdyOHAtdFl4OXNRQSIsInN1YiI6Ijc1NGMxN2Q3MTA0YTUxODViYjEyZmM5ODFiN2VlMzliIiwiYXV0aF90aW1lIjoxNzQyNDY2MzA1LCJ4ZXJvX3VzZXJpZCI6IjFiOGM2ODExLTJmMGItNGU3Mi05Y2JhLTY5ZDVlM2RmOTEyYyIsImdsb2JhbF9zZXNzaW9uX2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJzaWQiOiI5ZWFmZGExM2Y5NWE0NmJjODI2Yzc4N2IxZTRjNWY1MCIsInByZWZlcnJlZF91c2VybmFtZSI6Imx5bmRhQGNsb3VkbWViLmNvbSIsImVtYWlsIjoibHluZGFAY2xvdWRtZWIuY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.GxWz1VnKnn1mGo2V5rkfWsNhNWwM9x1lG3D0ALeXDs9iqdXf6WIuGQDkxElTEEuKNzB-dcgkMgAcJhoS6UzocC47RZwbZDvmgOqLizJht-RFxg8DA1F9ccpUbE0TyW_QL3-JgO_9ir_wYVRXF0WJYMUA5XTl7zXjiR6qFrBu_X7E5AFa9Yb07Q0ynhZImaBuk9B_WUPbYcucz6B1Zu2y4AJexzdrFRbast3hzFA8UGy2ZCcnUoPARM5Fer3OTjh0WjZPuwqNppDkp89wsGV6V9KZGlAwj3cm0-Kmsq0IcUiyLbA3Gfx4uPAHEydYPnYBF9YNDz4HJQIqutrXMz9QfQ [access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NTA2NzI3NDQsImV4cCI6MTc1MDY3NDU0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI3NTRjMTdkNzEwNGE1MTg1YmIxMmZjOTgxYjdlZTM5YiIsImF1dGhfdGltZSI6MTc0MjQ2NjMwNSwieGVyb191c2VyaWQiOiIxYjhjNjgxMS0yZjBiLTRlNzItOWNiYS02OWQ1ZTNkZjkxMmMiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6IjllYWZkYTEzZjk1YTQ2YmM4MjZjNzg3YjFlNGM1ZjUwIiwic2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJqdGkiOiIyNUNEQkY1RjBBNTRGMjlDNjBDNUE2RjU4Qzg3NzMyQSIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiMGZlNDU1NWEtNmNkMy00YjFkLTljNjEtMzAzMjBmMjBmZGFkIiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.Bqs8el0Gd6wm12nRMnJhosznDTxHKdMar-7sGFsasTbbvdYOdwXKoRII-VIgK-TXtm57Gu_sZmQuOQ3xe3p1OnzTRoubUCgOu0FlRuJbnZzaXs26i84DzCAR-tLIQNU9Al2w0YFY7eL4NS5Z5L-qx61vDI1Ovq2dU1uirH8tdcdf1Lwc6y6PjC4GGHeOPmIcnblrW8KsKeIvUvCykv-WY_wp8N-b-MeW0bdawd7QKFuer0K_PoMcHo563iKOjYKXzwWoOFdP0y-EFMeFmy7vxG7YmOHVkvbZR-g-4kRfwNAO8VUpR0aHG6PXS-5FImioTEnoY-kdLR6dYFO4JbKyNQ [expires_in] => 1800 [token_type] => Bearer [refresh_token] => cStrn28zQt6f9hDE91oKAu7b58vf5pI_9KGdcBBTJ0M [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-06-23 05:59:05] Production.INFO: AccountID 63 [2025-06-23 05:59:05] Production.INFO: AccountName Clek Inc. [2025-06-23 05:59:05] Production.INFO: Checkcustomer [2025-06-23 05:59:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc." [2025-06-23 05:59:08] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b [2025-06-23 05:59:08] Production.INFO: -- count --1 [2025-06-23 05:59:08] Production.INFO: AccountID 209 [2025-06-23 05:59:08] Production.INFO: AccountName Workside Early Childhood Education Centre [2025-06-23 05:59:08] Production.INFO: Checkcustomer [2025-06-23 05:59:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Workside%20Early%20Childhood%20Education%20Centre" [2025-06-23 05:59:11] Production.INFO: Contact id print CheckCustomer Case===40cecbae-263a-4b0c-adbf-5350531feed1 [2025-06-23 05:59:11] Production.INFO: -- count --1 [2025-06-23 05:59:11] Production.INFO: AccountID 235 [2025-06-23 05:59:11] Production.INFO: AccountName All Seasons Learning Center [2025-06-23 05:59:11] Production.INFO: Checkcustomer [2025-06-23 05:59:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="All%20Seasons%20Learning%20Center" [2025-06-23 05:59:14] Production.INFO: Contact id print CheckCustomer Case===680201a7-650c-4c24-b7d7-b8171bdcd911 [2025-06-23 05:59:14] Production.INFO: -- count --1 [2025-06-23 05:59:14] Production.INFO: AccountID 88 [2025-06-23 05:59:14] Production.INFO: AccountName Susan Vint & Associates [2025-06-23 05:59:14] Production.INFO: Checkcustomer [2025-06-23 05:59:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Susan%20Vint%20%26%20Associates" [2025-06-23 05:59:17] Production.INFO: Contact id print CheckCustomer Case===8f5d1077-523e-40cd-9119-6c57b7fc3a74 [2025-06-23 05:59:17] Production.INFO: -- count --1 [2025-06-23 05:59:17] Production.INFO: AccountID 88 [2025-06-23 05:59:17] Production.INFO: AccountName Susan Vint & Associates [2025-06-23 05:59:17] Production.INFO: Checkcustomer [2025-06-23 05:59:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Susan%20Vint%20%26%20Associates" [2025-06-23 05:59:20] Production.INFO: Contact id print CheckCustomer Case===8f5d1077-523e-40cd-9119-6c57b7fc3a74 [2025-06-23 05:59:20] Production.INFO: -- count --1 [2025-06-23 05:59:20] Production.INFO: AccountID 242 [2025-06-23 05:59:20] Production.INFO: AccountName Ball Construction [2025-06-23 05:59:20] Production.INFO: Checkcustomer [2025-06-23 05:59:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Ball%20Construction" [2025-06-23 05:59:23] Production.INFO: Contact id print CheckCustomer Case===b0bd4d3e-7d9a-4f7f-a743-aafe2ee02798 [2025-06-23 05:59:23] Production.INFO: -- count --1 [2025-06-23 05:59:23] Production.INFO: AccountID 88 [2025-06-23 05:59:23] Production.INFO: AccountName Susan Vint & Associates [2025-06-23 05:59:23] Production.INFO: Checkcustomer [2025-06-23 05:59:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Susan%20Vint%20%26%20Associates" [2025-06-23 05:59:26] Production.INFO: Contact id print CheckCustomer Case===8f5d1077-523e-40cd-9119-6c57b7fc3a74 [2025-06-23 05:59:26] Production.INFO: -- count --1 [2025-06-23 05:59:26] Production.INFO: AccountID 39 [2025-06-23 05:59:26] Production.INFO: AccountName Riavera [2025-06-23 05:59:26] Production.INFO: Checkcustomer [2025-06-23 05:59:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Riavera" [2025-06-23 05:59:28] Production.INFO: Contact id print CheckCustomer Case===e55c0831-3c53-4fcf-8b75-89133eb5af09 [2025-06-23 05:59:28] Production.INFO: -- count --1 [2025-06-23 05:59:28] Production.INFO: AccountID 88 [2025-06-23 05:59:28] Production.INFO: AccountName Susan Vint & Associates [2025-06-23 05:59:28] Production.INFO: Checkcustomer [2025-06-23 05:59:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Susan%20Vint%20%26%20Associates" [2025-06-23 05:59:31] Production.INFO: Contact id print CheckCustomer Case===8f5d1077-523e-40cd-9119-6c57b7fc3a74 [2025-06-23 05:59:31] Production.INFO: -- count --1 [2025-06-23 05:59:31] Production.INFO: AccountID 39 [2025-06-23 05:59:31] Production.INFO: AccountName Riavera [2025-06-23 05:59:31] Production.INFO: Checkcustomer [2025-06-23 05:59:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Riavera" [2025-06-23 05:59:34] Production.INFO: Contact id print CheckCustomer Case===e55c0831-3c53-4fcf-8b75-89133eb5af09 [2025-06-23 05:59:34] Production.INFO: -- count --1 [2025-06-23 05:59:34] Production.INFO: AccountID 88 [2025-06-23 05:59:34] Production.INFO: AccountName Susan Vint & Associates [2025-06-23 05:59:34] Production.INFO: Checkcustomer [2025-06-23 05:59:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Susan%20Vint%20%26%20Associates" [2025-06-23 05:59:37] Production.INFO: Contact id print CheckCustomer Case===8f5d1077-523e-40cd-9119-6c57b7fc3a74 [2025-06-23 05:59:37] Production.INFO: -- count --1 [2025-06-23 05:59:37] Production.INFO: AccountID 88 [2025-06-23 05:59:37] Production.INFO: AccountName Susan Vint & Associates [2025-06-23 05:59:37] Production.INFO: Checkcustomer [2025-06-23 05:59:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Susan%20Vint%20%26%20Associates" [2025-06-23 05:59:39] Production.INFO: Contact id print CheckCustomer Case===8f5d1077-523e-40cd-9119-6c57b7fc3a74 [2025-06-23 05:59:39] Production.INFO: -- count --1 [2025-06-23 05:59:39] Production.INFO: AccountID 193 [2025-06-23 05:59:39] Production.INFO: AccountName Plaza Auto Group [2025-06-23 05:59:39] Production.INFO: Checkcustomer [2025-06-23 05:59:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plaza%20Auto%20Group" [2025-06-23 05:59:42] Production.INFO: Contact id print CheckCustomer Case===6b58ee01-f67a-4205-8873-1c91dd58d79c [2025-06-23 05:59:42] Production.INFO: -- count --1 [2025-06-23 05:59:42] Production.INFO: AccountID 242 [2025-06-23 05:59:42] Production.INFO: AccountName Ball Construction [2025-06-23 05:59:42] Production.INFO: Checkcustomer [2025-06-23 05:59:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Ball%20Construction" [2025-06-23 05:59:45] Production.INFO: Contact id print CheckCustomer Case===b0bd4d3e-7d9a-4f7f-a743-aafe2ee02798 [2025-06-23 05:59:45] Production.INFO: -- count --1 [2025-06-23 05:59:45] Production.INFO: AccountID 39 [2025-06-23 05:59:45] Production.INFO: AccountName Riavera [2025-06-23 05:59:45] Production.INFO: Checkcustomer [2025-06-23 05:59:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Riavera" [2025-06-23 05:59:47] Production.INFO: Contact id print CheckCustomer Case===e55c0831-3c53-4fcf-8b75-89133eb5af09 [2025-06-23 05:59:47] Production.INFO: -- count --1 [2025-06-23 05:59:47] Production.INFO: -- Xero Add Inovice -- [2025-06-23 05:59:47] Production.INFO: CheckInvoice xerov2: INV11847 [2025-06-23 05:59:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11847 [2025-06-23 05:59:50] Production.INFO: Check Invoice Id XEROV20 [2025-06-23 05:59:50] Production.INFO: Invoice SubTotal 957.640000 [2025-06-23 05:59:50] Production.INFO: Invoice DetTotal 957.64 [2025-06-23 05:59:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc." [2025-06-23 05:59:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-06-23 05:59:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-06-23 05:59:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-06-23 06:00:02] Production.INFO: =========Invoices String here======{taxType:"TAX020",DiscountRate : 0.000000,"Description": "LAPTOP REFURB THINKPAD P15 CORE I7/11850H | 32GB | 512SSD | 15" | W11P | GEN 2 NOTE: Replacement laptop for Greg Post.",Quantity : 1,UnitAmount : 875.000000,LineAmount : 875.000000},{taxType:"TAX020",DiscountRate : 0.000000,"Description": "3 Year Depot Warranty",Quantity : 1,UnitAmount : 63.000000,LineAmount : 63.000000},{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": "Shipping",Quantity : 1,UnitAmount : 19.640000,LineAmount : 19.640000} [2025-06-23 06:00:05] Production.INFO: ==== result ===== [2025-06-23 06:00:05] Production.INFO: { "ErrorNumber": 14, "Type": "PostDataInvalidException", "Message": "Invalid Json data" } [2025-06-23 06:00:05] 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-06-23 06:00:05] Production.INFO: -- Create Invoice Error --Undefined property: stdClass::$Invoices [2025-06-23 06:00:05] Production.INFO: -- Create Invoice Error -- [2025-06-23 06:00:05] Production.INFO: -- Create Invoice Done -- [2025-06-23 06:00:05] Production.INFO: CheckInvoice xerov2: INV11806 [2025-06-23 06:00:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11806 [2025-06-23 06:00:08] Production.INFO: Check Invoice Id XEROV20 [2025-06-23 06:00:08] Production.INFO: Invoice SubTotal 46.640000 [2025-06-23 06:00:08] Production.INFO: Invoice DetTotal 46.64 [2025-06-23 06:00:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Workside%20Early%20Childhood%20Education%20Centre" [2025-06-23 06:00:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-06-23 06:00:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-06-23 06:00:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-06-23 06:00:20] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 03-04-2025 To 04-03-2025",Quantity : 1,UnitAmount : 1.510000,LineAmount : 1.510000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 5.000000,"Description": "e911 address registration (5198226500) (99 Woolwich Street Guelph, ON N1H 3V1 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.380000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 5.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension/digital line",Quantity : 3,UnitAmount : 15.000000,LineAmount : 42.750000} [2025-06-23 06:00:23] Production.INFO: ==== result ===== [2025-06-23 06:00:23] Production.INFO: { "Id": "d2f390b6-84ef-4b19-88c2-97f2a7a90d74", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1750672823824)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "5c33830f-9d63-4176-9ae5-559e6828f900", "InvoiceNumber": "INV11806", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 52.71, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 2.38, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "40cecbae-263a-4b0c-adbf-5350531feed1", "ContactStatus": "ACTIVE", "Name": "Workside Early Childhood Education Centre", "FirstName": "Christina", "LastName": "Roberts Farrell", "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(1696240431583+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-04-04T00:00:00", "Date": "\/Date(1743724800000+0000)\/", "DueDateString": "2025-05-04T00:00:00", "DueDate": "\/Date(1746316800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 03-04-2025 To 04-03-2025", "UnitAmount": 1.51, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.51, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "c45ec3ba-5e39-49fc-b171-6cd9d2254c00", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (5198226500) (99 Woolwich Street Guelph, ON N1H 3V1 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.31, "LineAmount": 2.38, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 5.00, "LineItemID": "9c45fee2-8c81-4d81-98a9-6877f0c948b5", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 0.1200, "ValidationErrors": [] }, { "Description": "License for an Unlimited Canada/US Cloud Phone extension/digital line", "UnitAmount": 15.00, "TaxType": "TAX020", "TaxAmount": 5.56, "LineAmount": 42.75, "AccountCode": "203", "Tracking": [], "Quantity": 3.0000, "DiscountRate": 5.00, "LineItemID": "f6652504-ea5f-4a09-9a59-2b336fdcb496", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 2.2500, "ValidationErrors": [] } ], "SubTotal": 46.64, "TotalTax": 6.07, "Total": 52.71, "UpdatedDateUTC": "\/Date(1750672823717+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-06-23 06:00:23] Production.INFO: -- Create Invoice id --5c33830f-9d63-4176-9ae5-559e6828f900 [2025-06-23 06:00:23] Production.INFO: -- Create Invoice Done -- [2025-06-23 06:00:23] Production.INFO: CheckInvoice xerov2: INV11794 [2025-06-23 06:00:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11794 [2025-06-23 06:00:26] Production.INFO: Check Invoice Id XEROV20 [2025-06-23 06:00:26] Production.INFO: Invoice SubTotal 62.000000 [2025-06-23 06:00:26] Production.INFO: Invoice DetTotal 62 [2025-06-23 06:00:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="All%20Seasons%20Learning%20Center" [2025-06-23 06:00:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-06-23 06:00:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-06-23 06:00:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-06-23 06:00:38] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Managed IT: Workstation",Quantity : 1,UnitAmount : 62.000000,LineAmount : 62.000000} [2025-06-23 06:00:41] Production.INFO: ==== result ===== [2025-06-23 06:00:41] Production.INFO: { "Id": "fac6dda4-803a-4371-9874-c8c0b9e45c6b", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1750672841592)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "245adf8d-e7e8-45dd-b2f6-5e36e15c598d", "InvoiceNumber": "INV11794", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 70.06, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "680201a7-650c-4c24-b7d7-b8171bdcd911", "ContactNumber": "All Seasons Learning Center", "ContactStatus": "ACTIVE", "Name": "All Seasons Learning Center", "FirstName": "", "LastName": "", "EmailAddress": "mrixon@cogeco.ca", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "AddressLine1": "217 Townsend Street", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Peterborough", "Region": "ON", "PostalCode": "K9J 2K4", "Country": "CANADA", "AttentionTo": "" }, { "AddressType": "POBOX", "AddressLine1": "217 Townsend Street", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Peterborough", "Region": "ON", "PostalCode": "K9J 2K4", "Country": "CANADA", "AttentionTo": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "(705) 748-2262", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1719936269583+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "DefaultCurrency": "CAD", "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-04-01T00:00:00", "Date": "\/Date(1743465600000+0000)\/", "DueDateString": "2025-05-01T00:00:00", "DueDate": "\/Date(1746057600000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Managed IT: Workstation", "UnitAmount": 62.00, "TaxType": "TAX020", "TaxAmount": 8.06, "LineAmount": 62.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "61420255-7fbc-4f79-9d3d-7958ff0b6aef", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 62.00, "TotalTax": 8.06, "Total": 70.06, "UpdatedDateUTC": "\/Date(1750672841547+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-06-23 06:00:41] Production.INFO: -- Create Invoice id --245adf8d-e7e8-45dd-b2f6-5e36e15c598d [2025-06-23 06:00:41] Production.INFO: -- Create Invoice Done -- [2025-06-23 06:00:41] Production.INFO: CheckInvoice xerov2: INV11747 [2025-06-23 06:00:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11747 [2025-06-23 06:00:44] Production.INFO: Check Invoice Id XEROV20 [2025-06-23 06:00:44] Production.INFO: Invoice SubTotal 18.170000 [2025-06-23 06:00:44] Production.INFO: Invoice DetTotal 18.17 [2025-06-23 06:00:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Susan%20Vint%20%26%20Associates" [2025-06-23 06:00:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-06-23 06:00:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-06-23 06:00:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-06-23 06:00:56] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 02-21-2025 To 03-20-2025",Quantity : 1,UnitAmount : 1.670000,LineAmount : 1.670000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 2,UnitAmount : 7.000000,LineAmount : 14.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19058573351 - 22 SIMONA DR BOLTON, ON L7E4K1 CANADA)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-06-23 06:01:00] Production.INFO: ==== result ===== [2025-06-23 06:01:00] Production.INFO: { "Id": "89dc80b4-a912-4fbe-a6f1-68e6a1cf8583", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1750672860266)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "a3017396-0961-4064-bea8-adadec7b59de", "InvoiceNumber": "INV11747", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 20.54, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "8f5d1077-523e-40cd-9119-6c57b7fc3a74", "ContactStatus": "ACTIVE", "Name": "Susan Vint & Associates", "FirstName": "Susan", "LastName": "Vint", "EmailAddress": "svint@susanvint.ca", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1549034646127+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-21T00:00:00", "Date": "\/Date(1742515200000+0000)\/", "DueDateString": "2025-04-20T00:00:00", "DueDate": "\/Date(1745107200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 02-21-2025 To 03-20-2025", "UnitAmount": 1.67, "TaxType": "TAX020", "TaxAmount": 0.22, "LineAmount": 1.67, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "4514b14b-97d5-43df-b63c-e1a423734e8c", "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": 1.82, "LineAmount": 14.00, "AccountCode": "203", "Tracking": [], "Quantity": 2.0000, "DiscountRate": 0.00, "LineItemID": "a2f6fdce-9a59-4f84-b6d2-c62838fe68f1", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (19058573351 - 22 SIMONA DR BOLTON, ON L7E4K1 CANADA)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "504384e6-cb8c-4a5c-bce7-5918808ca374", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 18.17, "TotalTax": 2.37, "Total": 20.54, "UpdatedDateUTC": "\/Date(1750672860173+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-06-23 06:01:00] Production.INFO: -- Create Invoice id --a3017396-0961-4064-bea8-adadec7b59de [2025-06-23 06:01:00] Production.INFO: -- Create Invoice Done -- [2025-06-23 06:01:00] Production.INFO: CheckInvoice xerov2: INV11578 [2025-06-23 06:01:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11578 [2025-06-23 06:01:03] Production.INFO: Check Invoice Id XEROV20 [2025-06-23 06:01:03] Production.INFO: Invoice SubTotal 19.270000 [2025-06-23 06:01:03] Production.INFO: Invoice DetTotal 19.27 [2025-06-23 06:01:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Susan%20Vint%20%26%20Associates" [2025-06-23 06:01:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-06-23 06:01:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-06-23 06:01:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-06-23 06:01:15] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-21-2025 To 02-20-2025",Quantity : 1,UnitAmount : 2.770000,LineAmount : 2.770000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 2,UnitAmount : 7.000000,LineAmount : 14.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19058573351 - 22 SIMONA DR BOLTON, ON L7E4K1 CANADA)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-06-23 06:01:18] Production.INFO: ==== result ===== [2025-06-23 06:01:18] Production.INFO: { "Id": "78824603-169a-432f-96bd-144a63700598", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1750672878640)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "2c8813c0-5709-4c6e-a7c7-f5233e393e25", "InvoiceNumber": "INV11578", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 21.78, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "8f5d1077-523e-40cd-9119-6c57b7fc3a74", "ContactStatus": "ACTIVE", "Name": "Susan Vint & Associates", "FirstName": "Susan", "LastName": "Vint", "EmailAddress": "svint@susanvint.ca", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1549034646127+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-21T00:00:00", "Date": "\/Date(1740096000000+0000)\/", "DueDateString": "2025-03-23T00:00:00", "DueDate": "\/Date(1742688000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-21-2025 To 02-20-2025", "UnitAmount": 2.77, "TaxType": "TAX020", "TaxAmount": 0.36, "LineAmount": 2.77, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "b7d1db9a-533c-4b64-aec0-f018f4024240", "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": 1.82, "LineAmount": 14.00, "AccountCode": "203", "Tracking": [], "Quantity": 2.0000, "DiscountRate": 0.00, "LineItemID": "b2a70e3f-3b27-4c64-bf3e-051ff7b72ab9", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (19058573351 - 22 SIMONA DR BOLTON, ON L7E4K1 CANADA)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "63645a86-3157-4a8e-bfa1-f9eaef0bcc6f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 19.27, "TotalTax": 2.51, "Total": 21.78, "UpdatedDateUTC": "\/Date(1750672878577+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-06-23 06:01:18] Production.INFO: -- Create Invoice id --2c8813c0-5709-4c6e-a7c7-f5233e393e25 [2025-06-23 06:01:18] Production.INFO: -- Create Invoice Done -- [2025-06-23 06:01:18] Production.INFO: CheckInvoice xerov2: INV11495 [2025-06-23 06:01:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11495 [2025-06-23 06:01:21] Production.INFO: Check Invoice Id XEROV20 [2025-06-23 06:01:21] Production.INFO: Invoice SubTotal 344.260000 [2025-06-23 06:01:21] Production.INFO: Invoice DetTotal 344.26 [2025-06-23 06:01:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Ball%20Construction" [2025-06-23 06:01:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-06-23 06:01:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-06-23 06:01:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-06-23 06:01:33] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 5.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 25,UnitAmount : 12.990000,LineAmount : 308.510000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 5.000000,"Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal",Quantity : 1,UnitAmount : 10.000000,LineAmount : 9.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 5.000000,"Description": "CloudPhone.ONE Softphone add-on",Quantity : 25,UnitAmount : 1.000000,LineAmount : 23.750000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (5197425851 - 5 Shirley Ave, Kitchener, ON N2B 2E6)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-06-23 06:01:36] Production.INFO: ==== result ===== [2025-06-23 06:01:36] Production.INFO: { "Id": "48d3a05f-f4b1-4e14-bd63-d98d0451ae0d", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1750672896762)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "84e367b0-ede0-4b8b-a698-1cf4a74dced7", "InvoiceNumber": "INV11495", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 389.03, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 17.99, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "b0bd4d3e-7d9a-4f7f-a743-aafe2ee02798", "ContactStatus": "ACTIVE", "Name": "Ball Construction", "FirstName": "Byron", "LastName": "Noseworthy", "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(1736242068147+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "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": "License for an Unlimited Canada/US Cloud Phone extension", "UnitAmount": 12.99, "TaxType": "TAX020", "TaxAmount": 40.11, "LineAmount": 308.51, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 5.00, "LineItemID": "0b607f5d-2258-451f-8906-db1c7380ea96", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 16.2400, "ValidationErrors": [] }, { "Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal", "UnitAmount": 10.00, "TaxType": "TAX020", "TaxAmount": 1.24, "LineAmount": 9.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 5.00, "LineItemID": "c11d5814-86a2-4067-8374-f890e8c9cefb", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 0.5000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone add-on", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 3.09, "LineAmount": 23.75, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 5.00, "LineItemID": "a40ca060-99a3-4432-bea8-928105435d11", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 1.2500, "ValidationErrors": [] }, { "Description": "e911 address registration (5197425851 - 5 Shirley Ave, Kitchener, ON N2B 2E6)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "aae4cb02-1fc9-4c1f-a448-acd92f86209d", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 344.26, "TotalTax": 44.77, "Total": 389.03, "UpdatedDateUTC": "\/Date(1750672896683+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-06-23 06:01:36] Production.INFO: -- Create Invoice id --84e367b0-ede0-4b8b-a698-1cf4a74dced7 [2025-06-23 06:01:36] Production.INFO: -- Create Invoice Done -- [2025-06-23 06:01:36] Production.INFO: CheckInvoice xerov2: INV11408 [2025-06-23 06:01:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11408 [2025-06-23 06:01:39] Production.INFO: Check Invoice Id XEROV20 [2025-06-23 06:01:39] Production.INFO: Invoice SubTotal 17.710000 [2025-06-23 06:01:39] Production.INFO: Invoice DetTotal 17.71 [2025-06-23 06:01:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Susan%20Vint%20%26%20Associates" [2025-06-23 06:01:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-06-23 06:01:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-06-23 06:01:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-06-23 06:01:51] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 12-21-2024 To 01-20-2025",Quantity : 1,UnitAmount : 1.210000,LineAmount : 1.210000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 2,UnitAmount : 7.000000,LineAmount : 14.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19058573351 - 22 SIMONA DR BOLTON, ON L7E4K1 CANADA)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-06-23 06:01:54] Production.INFO: ==== result ===== [2025-06-23 06:01:54] Production.INFO: { "Id": "91bc074b-785f-4107-be8a-d806212eafa9", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1750672914324)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "f6378cc0-a52f-463c-bccb-b61c205bf4e4", "InvoiceNumber": "INV11408", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 20.02, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "8f5d1077-523e-40cd-9119-6c57b7fc3a74", "ContactStatus": "ACTIVE", "Name": "Susan Vint & Associates", "FirstName": "Susan", "LastName": "Vint", "EmailAddress": "svint@susanvint.ca", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1549034646127+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-21T00:00:00", "Date": "\/Date(1737417600000+0000)\/", "DueDateString": "2025-02-20T00:00:00", "DueDate": "\/Date(1740009600000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 12-21-2024 To 01-20-2025", "UnitAmount": 1.21, "TaxType": "TAX020", "TaxAmount": 0.16, "LineAmount": 1.21, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "227c56c0-8fe4-41ca-92f7-ab99ae95e9c0", "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": 1.82, "LineAmount": 14.00, "AccountCode": "203", "Tracking": [], "Quantity": 2.0000, "DiscountRate": 0.00, "LineItemID": "a854c9bd-7f2a-4d77-874a-193f661c2f02", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (19058573351 - 22 SIMONA DR BOLTON, ON L7E4K1 CANADA)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "9ee78806-d625-4efb-9382-29d50eb5bd66", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 17.71, "TotalTax": 2.31, "Total": 20.02, "UpdatedDateUTC": "\/Date(1750672914260+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-06-23 06:01:54] Production.INFO: -- Create Invoice id --f6378cc0-a52f-463c-bccb-b61c205bf4e4 [2025-06-23 06:01:54] Production.INFO: -- Create Invoice Done -- [2025-06-23 06:01:54] Production.INFO: CheckInvoice xerov2: INV11392 [2025-06-23 06:01:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11392 [2025-06-23 06:01:57] Production.INFO: Check Invoice Id XEROV20 [2025-06-23 06:01:57] Production.INFO: Invoice SubTotal 740.640000 [2025-06-23 06:01:57] Production.INFO: Invoice DetTotal 740.64 [2025-06-23 06:01:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Riavera" [2025-06-23 06:01:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-06-23 06:02:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-06-23 06:02:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-06-23 06:02:09] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 12-18-2024 To 01-17-2025",Quantity : 1,UnitAmount : 0.250000,LineAmount : 0.250000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14168157000)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (16474939495)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DIDs (16477890070 - 16477890079)",Quantity : 10,UnitAmount : 1.500000,LineAmount : 15.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18557890078)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18663639217)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18776890076)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18889890071)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14168157000 - 181 UNIVERSITY AVE STE 2000 TORONTO, ON M5H3M7)",Quantity : 1,UnitAmount : 2.750000,LineAmount : 2.750000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 15,UnitAmount : 10.990000,LineAmount : 164.850000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (16477890077) - Digital Fax",Quantity : 1,UnitAmount : 5.990000,LineAmount : 5.990000},{taxType:"TAX020",AccountCode : 250,"Description": "IT: Microsoft Office 365 - Business Essentials subscription",Quantity : 59,UnitAmount : 7.700000,LineAmount : 454.300000},{taxType:"TAX020",AccountCode : 250,"Description": "IT: Microsoft Office 365 - Business Premium subscription",Quantity : 5,UnitAmount : 17.700000,LineAmount : 88.500000} [2025-06-23 06:02:13] Production.INFO: ==== result ===== [2025-06-23 06:02:13] Production.INFO: { "Id": "873449ba-39b0-45a8-9ddb-bb2b15d7732f", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1750672933060)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "9f04c3f3-d6df-4e02-9bde-1a5d7d21bf45", "InvoiceNumber": "INV11392", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 836.96, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "e55c0831-3c53-4fcf-8b75-89133eb5af09", "ContactStatus": "ACTIVE", "Name": "Riavera", "FirstName": "David", "LastName": "Kerry", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1655922965160+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-18T00:00:00", "Date": "\/Date(1737158400000+0000)\/", "DueDateString": "2025-02-17T00:00:00", "DueDate": "\/Date(1739750400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 12-18-2024 To 01-17-2025", "UnitAmount": 0.25, "TaxType": "TAX020", "TaxAmount": 0.03, "LineAmount": 0.25, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "2f519180-1914-4b45-845e-56218b1bf75c", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (14168157000)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "d2c6f557-0505-4aae-a64b-6aeb57351110", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (16474939495)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "4f4c72a0-9aae-4954-88d6-eccae73aacf2", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DIDs (16477890070 - 16477890079)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 1.95, "LineAmount": 15.00, "AccountCode": "203", "Tracking": [], "Quantity": 10.0000, "DiscountRate": 0.00, "LineItemID": "bdc932cf-adf1-4577-89c4-955450803db1", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (18557890078)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "94594027-b9c0-4d0f-a802-be8400419bdb", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (18663639217)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "2cfd796b-dab2-416d-941e-83569107e438", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (18776890076)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "859765a5-135b-49d1-833c-1eacd2d51dae", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (18889890071)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "1bece676-301e-48dd-859c-1a706369767b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (14168157000 - 181 UNIVERSITY AVE STE 2000 TORONTO, ON M5H3M7)", "UnitAmount": 2.75, "TaxType": "TAX020", "TaxAmount": 0.36, "LineAmount": 2.75, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "b0a3732d-ce54-4513-bcf0-8ce65f9575c0", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for a Pay As You Go Cloud Phone extension", "UnitAmount": 10.99, "TaxType": "TAX020", "TaxAmount": 21.43, "LineAmount": 164.85, "AccountCode": "203", "Tracking": [], "Quantity": 15.0000, "DiscountRate": 0.00, "LineItemID": "fd045728-efd8-47b6-b373-560c8df9d950", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (16477890077) - Digital Fax", "UnitAmount": 5.99, "TaxType": "TAX020", "TaxAmount": 0.78, "LineAmount": 5.99, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "163772f1-1c76-45e3-95a4-c8b47893fb0a", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "IT: Microsoft Office 365 - Business Essentials subscription", "UnitAmount": 7.70, "TaxType": "TAX020", "TaxAmount": 59.06, "LineAmount": 454.30, "AccountCode": "250", "Tracking": [], "Quantity": 59.0000, "LineItemID": "1b1476b7-4b6d-481d-809c-235340988e86", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "IT: Microsoft Office 365 - Business Premium subscription", "UnitAmount": 17.70, "TaxType": "TAX020", "TaxAmount": 11.51, "LineAmount": 88.50, "AccountCode": "250", "Tracking": [], "Quantity": 5.0000, "LineItemID": "862f226f-9ca4-43ad-9fa7-e1a22567dcbf", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] } ], "SubTotal": 740.64, "TotalTax": 96.32, "Total": 836.96, "UpdatedDateUTC": "\/Date(1750672933013+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-06-23 06:02:13] Production.INFO: -- Create Invoice id --9f04c3f3-d6df-4e02-9bde-1a5d7d21bf45 [2025-06-23 06:02:13] Production.INFO: -- Create Invoice Done -- [2025-06-23 06:02:13] Production.INFO: CheckInvoice xerov2: INV11254 [2025-06-23 06:02:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11254 [2025-06-23 06:02:16] Production.INFO: Check Invoice Id XEROV20 [2025-06-23 06:02:16] Production.INFO: Invoice SubTotal 17.940000 [2025-06-23 06:02:16] Production.INFO: Invoice DetTotal 17.94 [2025-06-23 06:02:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Susan%20Vint%20%26%20Associates" [2025-06-23 06:02:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-06-23 06:02:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-06-23 06:02:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-06-23 06:02:28] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 11-21-2024 To 12-20-2024",Quantity : 1,UnitAmount : 1.440000,LineAmount : 1.440000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 2,UnitAmount : 7.000000,LineAmount : 14.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19058573351 - 22 SIMONA DR BOLTON, ON L7E4K1 CANADA)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-06-23 06:02:31] Production.INFO: ==== result ===== [2025-06-23 06:02:31] Production.INFO: { "Id": "f510f895-5bad-41d9-940b-790b9e1c36b3", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1750672951578)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "48309563-4f71-489b-a717-d23660de4f94", "InvoiceNumber": "INV11254", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 20.28, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "8f5d1077-523e-40cd-9119-6c57b7fc3a74", "ContactStatus": "ACTIVE", "Name": "Susan Vint & Associates", "FirstName": "Susan", "LastName": "Vint", "EmailAddress": "svint@susanvint.ca", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1549034646127+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-12-21T00:00:00", "Date": "\/Date(1734739200000+0000)\/", "DueDateString": "2025-01-20T00:00:00", "DueDate": "\/Date(1737331200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 11-21-2024 To 12-20-2024", "UnitAmount": 1.44, "TaxType": "TAX020", "TaxAmount": 0.19, "LineAmount": 1.44, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "8331109d-ca61-43b0-bacd-9384921ecfef", "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": 1.82, "LineAmount": 14.00, "AccountCode": "203", "Tracking": [], "Quantity": 2.0000, "DiscountRate": 0.00, "LineItemID": "2d6cc49e-ef3c-4e9c-a249-a39d7cf0f2e9", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (19058573351 - 22 SIMONA DR BOLTON, ON L7E4K1 CANADA)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "2820d97a-7a3e-4ee5-8caa-3b7939e3b618", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 17.94, "TotalTax": 2.34, "Total": 20.28, "UpdatedDateUTC": "\/Date(1750672951533+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-06-23 06:02:31] Production.INFO: -- Create Invoice id --48309563-4f71-489b-a717-d23660de4f94 [2025-06-23 06:02:31] Production.INFO: -- Create Invoice Done -- [2025-06-23 06:02:31] Production.INFO: CheckInvoice xerov2: INV11238 [2025-06-23 06:02:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11238 [2025-06-23 06:02:34] Production.INFO: Check Invoice Id XEROV20 [2025-06-23 06:02:34] Production.INFO: Invoice SubTotal 740.570000 [2025-06-23 06:02:34] Production.INFO: Invoice DetTotal 740.57 [2025-06-23 06:02:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Riavera" [2025-06-23 06:02:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-06-23 06:02:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-06-23 06:02:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-06-23 06:02:46] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 11-18-2024 To 12-17-2024",Quantity : 1,UnitAmount : 0.180000,LineAmount : 0.180000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14168157000)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (16474939495)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DIDs (16477890070 - 16477890079)",Quantity : 10,UnitAmount : 1.500000,LineAmount : 15.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18557890078)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18663639217)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18776890076)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18889890071)",Quantity : 1,UnitAmount : 1.500000,LineAmount : 1.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14168157000 - 181 UNIVERSITY AVE STE 2000 TORONTO, ON M5H3M7)",Quantity : 1,UnitAmount : 2.750000,LineAmount : 2.750000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 15,UnitAmount : 10.990000,LineAmount : 164.850000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (16477890077) - Digital Fax",Quantity : 1,UnitAmount : 5.990000,LineAmount : 5.990000},{taxType:"TAX020",AccountCode : 250,"Description": "IT: Microsoft Office 365 - Business Essentials subscription",Quantity : 59,UnitAmount : 7.700000,LineAmount : 454.300000},{taxType:"TAX020",AccountCode : 250,"Description": "IT: Microsoft Office 365 - Business Premium subscription",Quantity : 5,UnitAmount : 17.700000,LineAmount : 88.500000} [2025-06-23 06:02:49] Production.INFO: ==== result ===== [2025-06-23 06:02:49] Production.INFO: { "Id": "1c587140-2be3-4889-a6f1-10ab478e8488", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1750672969167)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "b3fb4e3f-fa0a-4dd8-80c3-5c0c6d7a9da9", "InvoiceNumber": "INV11238", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 836.88, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "e55c0831-3c53-4fcf-8b75-89133eb5af09", "ContactStatus": "ACTIVE", "Name": "Riavera", "FirstName": "David", "LastName": "Kerry", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1655922965160+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-12-18T00:00:00", "Date": "\/Date(1734480000000+0000)\/", "DueDateString": "2025-01-17T00:00:00", "DueDate": "\/Date(1737072000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 11-18-2024 To 12-17-2024", "UnitAmount": 0.18, "TaxType": "TAX020", "TaxAmount": 0.02, "LineAmount": 0.18, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "985e8894-c201-451b-aaf2-f7e83bff2b83", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (14168157000)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "7e15836c-c9a4-4ab7-90ee-6c91f81b7069", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (16474939495)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "d442203e-b695-4a8c-a3a3-26485420677f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DIDs (16477890070 - 16477890079)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 1.95, "LineAmount": 15.00, "AccountCode": "203", "Tracking": [], "Quantity": 10.0000, "DiscountRate": 0.00, "LineItemID": "0763e6d8-9d8e-4375-ac74-f0a05b54570e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (18557890078)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "349ea8b3-105b-4b56-850a-f4d8aa53193b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (18663639217)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "8fd485a6-92a1-4ba6-9917-806514f1a454", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (18776890076)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "ad11f1bd-5381-4cab-9cbd-fec4554cf348", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (18889890071)", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 0.20, "LineAmount": 1.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "b1f683d6-12ea-4655-b43a-618e48884d6b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (14168157000 - 181 UNIVERSITY AVE STE 2000 TORONTO, ON M5H3M7)", "UnitAmount": 2.75, "TaxType": "TAX020", "TaxAmount": 0.36, "LineAmount": 2.75, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "459d1d65-62ec-49d0-9a19-c38079f205fb", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for a Pay As You Go Cloud Phone extension", "UnitAmount": 10.99, "TaxType": "TAX020", "TaxAmount": 21.43, "LineAmount": 164.85, "AccountCode": "203", "Tracking": [], "Quantity": 15.0000, "DiscountRate": 0.00, "LineItemID": "6ddd9e3e-6be4-4ace-8d9b-241727860f12", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (16477890077) - Digital Fax", "UnitAmount": 5.99, "TaxType": "TAX020", "TaxAmount": 0.78, "LineAmount": 5.99, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "88f9e129-ea96-4a41-9f8e-73d5238e038f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "IT: Microsoft Office 365 - Business Essentials subscription", "UnitAmount": 7.70, "TaxType": "TAX020", "TaxAmount": 59.06, "LineAmount": 454.30, "AccountCode": "250", "Tracking": [], "Quantity": 59.0000, "LineItemID": "ac20dc6b-023c-4438-be46-e43c75720a76", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "IT: Microsoft Office 365 - Business Premium subscription", "UnitAmount": 17.70, "TaxType": "TAX020", "TaxAmount": 11.51, "LineAmount": 88.50, "AccountCode": "250", "Tracking": [], "Quantity": 5.0000, "LineItemID": "ca97aded-a1e2-4a3f-8b6c-94e77fd86eda", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] } ], "SubTotal": 740.57, "TotalTax": 96.31, "Total": 836.88, "UpdatedDateUTC": "\/Date(1750672969090+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-06-23 06:02:49] Production.INFO: -- Create Invoice id --b3fb4e3f-fa0a-4dd8-80c3-5c0c6d7a9da9 [2025-06-23 06:02:49] Production.INFO: -- Create Invoice Done -- [2025-06-23 06:02:49] Production.INFO: CheckInvoice xerov2: INV11096 [2025-06-23 06:02:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11096 [2025-06-23 06:02:52] Production.INFO: Check Invoice Id XEROV20 [2025-06-23 06:02:52] Production.INFO: Invoice SubTotal 17.370000 [2025-06-23 06:02:52] Production.INFO: Invoice DetTotal 17.37 [2025-06-23 06:02:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Susan%20Vint%20%26%20Associates" [2025-06-23 06:02:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-06-23 06:02:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-06-23 06:03:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-06-23 06:03:04] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 10-21-2024 To 11-20-2024",Quantity : 1,UnitAmount : 0.870000,LineAmount : 0.870000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 2,UnitAmount : 7.000000,LineAmount : 14.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19058573351 - 22 SIMONA DR BOLTON, ON L7E4K1 CANADA)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-06-23 06:03:07] Production.INFO: ==== result ===== [2025-06-23 06:03:07] Production.INFO: { "Id": "55f94a1b-eee7-4f9b-b59f-69ff1db75695", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1750672987599)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "6560265a-baa4-4a14-9be9-d413e8d7dff0", "InvoiceNumber": "INV11096", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 19.63, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "8f5d1077-523e-40cd-9119-6c57b7fc3a74", "ContactStatus": "ACTIVE", "Name": "Susan Vint & Associates", "FirstName": "Susan", "LastName": "Vint", "EmailAddress": "svint@susanvint.ca", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1549034646127+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-11-21T00:00:00", "Date": "\/Date(1732147200000+0000)\/", "DueDateString": "2024-12-21T00:00:00", "DueDate": "\/Date(1734739200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 10-21-2024 To 11-20-2024", "UnitAmount": 0.87, "TaxType": "TAX020", "TaxAmount": 0.11, "LineAmount": 0.87, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "904f148c-3ce6-42f3-aabb-5c3161066d28", "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": 1.82, "LineAmount": 14.00, "AccountCode": "203", "Tracking": [], "Quantity": 2.0000, "DiscountRate": 0.00, "LineItemID": "1518a0cd-4955-4f9f-83d0-67e899a675c8", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (19058573351 - 22 SIMONA DR BOLTON, ON L7E4K1 CANADA)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "e07921fb-bbd6-46e4-a3ce-b2a516abbec3", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 17.37, "TotalTax": 2.26, "Total": 19.63, "UpdatedDateUTC": "\/Date(1750672987460+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-06-23 06:03:07] Production.INFO: -- Create Invoice id --6560265a-baa4-4a14-9be9-d413e8d7dff0 [2025-06-23 06:03:07] Production.INFO: -- Create Invoice Done -- [2025-06-23 06:03:07] Production.INFO: CheckInvoice xerov2: INV10937 [2025-06-23 06:03:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10937 [2025-06-23 06:03:10] Production.INFO: Check Invoice Id XEROV20 [2025-06-23 06:03:10] Production.INFO: Invoice SubTotal 24.390000 [2025-06-23 06:03:10] Production.INFO: Invoice DetTotal 24.39 [2025-06-23 06:03:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Susan%20Vint%20%26%20Associates" [2025-06-23 06:03:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-06-23 06:03:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-06-23 06:03:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-06-23 06:03:23] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 09-21-2024 To 10-20-2024",Quantity : 1,UnitAmount : 1.110000,LineAmount : 1.110000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 2,UnitAmount : 7.000000,LineAmount : 14.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19058573351 - 22 SIMONA DR BOLTON, ON L7E4K1 CANADA)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 234,"Description": "Late payment fee. 3% of the outstanding balance that is overdue ($225.87).",Quantity : 1,UnitAmount : 6.780000,LineAmount : 6.780000} [2025-06-23 06:03:26] Production.INFO: ==== result ===== [2025-06-23 06:03:26] Production.INFO: { "Id": "ab21ddfd-e0d6-4534-b289-78e1ce6415be", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1750673006395)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "6ae9b5bb-aebd-438d-92c4-530ca5c3e987", "InvoiceNumber": "INV10937", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 27.56, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "8f5d1077-523e-40cd-9119-6c57b7fc3a74", "ContactStatus": "ACTIVE", "Name": "Susan Vint & Associates", "FirstName": "Susan", "LastName": "Vint", "EmailAddress": "svint@susanvint.ca", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1549034646127+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-10-21T00:00:00", "Date": "\/Date(1729468800000+0000)\/", "DueDateString": "2024-11-20T00:00:00", "DueDate": "\/Date(1732060800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 09-21-2024 To 10-20-2024", "UnitAmount": 1.11, "TaxType": "TAX020", "TaxAmount": 0.14, "LineAmount": 1.11, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "3037dec9-5b96-4056-a6a2-cdd7157abf8b", "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": 1.82, "LineAmount": 14.00, "AccountCode": "203", "Tracking": [], "Quantity": 2.0000, "DiscountRate": 0.00, "LineItemID": "b042ab36-8ac6-41fb-a9b1-c7131586476e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (19058573351 - 22 SIMONA DR BOLTON, ON L7E4K1 CANADA)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "dcf7e4fb-6645-4816-a6ef-1fe3d7a196c8", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Late payment fee. 3% of the outstanding balance that is overdue ($225.87).", "UnitAmount": 6.78, "TaxType": "TAX020", "TaxAmount": 0.88, "LineAmount": 6.78, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "LineItemID": "400b55f1-a345-48b6-8893-85bf992aac6c", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "ValidationErrors": [] } ], "SubTotal": 24.39, "TotalTax": 3.17, "Total": 27.56, "UpdatedDateUTC": "\/Date(1750673006317+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-06-23 06:03:26] Production.INFO: -- Create Invoice id --6ae9b5bb-aebd-438d-92c4-530ca5c3e987 [2025-06-23 06:03:26] Production.INFO: -- Create Invoice Done -- [2025-06-23 06:03:26] Production.INFO: CheckInvoice xerov2: INV10898 [2025-06-23 06:03:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10898 [2025-06-23 06:03:29] Production.INFO: Check Invoice Id XEROV20 [2025-06-23 06:03:29] Production.INFO: Invoice SubTotal 29.100000 [2025-06-23 06:03:29] Production.INFO: Invoice DetTotal 29.1 [2025-06-23 06:03:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plaza%20Auto%20Group" [2025-06-23 06:03:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-06-23 06:03:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-06-23 06:03:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-06-23 06:03:40] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 5.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 4,UnitAmount : 7.000000,LineAmount : 26.600000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (4169007907 - 9144 Yonge St., Richmond Hill, ON)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-06-23 06:03:44] Production.INFO: ==== result ===== [2025-06-23 06:03:44] Production.INFO: { "Id": "6785de5a-f327-483b-9c95-2327b9bc1b25", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1750673023913)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "7ccb0f84-9fc3-4b61-855f-622ded144e97", "InvoiceNumber": "INV10898", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 32.89, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 1.40, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "6b58ee01-f67a-4205-8873-1c91dd58d79c", "ContactStatus": "ACTIVE", "Name": "Plaza Auto Group", "FirstName": "Daniel", "LastName": "Stein", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1730121861697+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-10-14T00:00:00", "Date": "\/Date(1728864000000+0000)\/", "DueDateString": "2024-11-13T00:00:00", "DueDate": "\/Date(1731456000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "License for an Unlimited Canada/US Cloud Phone extension", "UnitAmount": 7.00, "TaxType": "TAX020", "TaxAmount": 3.46, "LineAmount": 26.60, "AccountCode": "203", "Tracking": [], "Quantity": 4.0000, "DiscountRate": 5.00, "LineItemID": "fa938a87-99d1-47d5-a7d8-e08b020df643", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 1.4000, "ValidationErrors": [] }, { "Description": "e911 address registration (4169007907 - 9144 Yonge St., Richmond Hill, ON)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "dca1d90b-bab6-46bf-aead-c620ab903e15", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 29.10, "TotalTax": 3.79, "Total": 32.89, "UpdatedDateUTC": "\/Date(1750673023833+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-06-23 06:03:44] Production.INFO: -- Create Invoice id --7ccb0f84-9fc3-4b61-855f-622ded144e97 [2025-06-23 06:03:44] Production.INFO: -- Create Invoice Done -- [2025-06-23 06:03:44] Production.INFO: CheckInvoice xerov2: INV10865 [2025-06-23 06:03:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10865 [2025-06-23 06:03:47] Production.INFO: Check Invoice Id XEROV20 [2025-06-23 06:03:47] Production.INFO: Invoice SubTotal 1615.760000 [2025-06-23 06:03:47] Production.INFO: Invoice DetTotal 1615.76 [2025-06-23 06:03:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Ball%20Construction" [2025-06-23 06:03:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-06-23 06:03:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-06-23 06:03:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-06-23 06:03:59] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 5.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension (06-18-2024 to 07-08-2024)",Quantity : 25,UnitAmount : 8.700000,LineAmount : 206.620000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 5.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension (07-08-2024 to 08-08-2024)",Quantity : 25,UnitAmount : 12.990000,LineAmount : 308.510000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 5.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension (08-08-2024 to 09-08-2024)",Quantity : 25,UnitAmount : 12.990000,LineAmount : 308.510000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 5.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension (09-08-2024 to 10-08-2024)",Quantity : 25,UnitAmount : 12.990000,LineAmount : 308.510000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 5.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension (10-08-2024 to 11-08-2024)",Quantity : 25,UnitAmount : 12.990000,LineAmount : 308.510000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal (06-18-2024 to 07-08-2024)",Quantity : 1,UnitAmount : 6.670000,LineAmount : 6.670000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal (07-08-2024 to 08-08-2024)",Quantity : 1,UnitAmount : 10.000000,LineAmount : 10.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal (08-08-2024 to 09-08-2024)",Quantity : 1,UnitAmount : 10.000000,LineAmount : 10.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal (09-08-2024 to 10-08-2024)",Quantity : 1,UnitAmount : 10.000000,LineAmount : 10.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal (10-08-2024 to 11-08-2024)",Quantity : 1,UnitAmount : 10.000000,LineAmount : 10.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone add-on (06-18-2024 to 07-08-2024)",Quantity : 25,UnitAmount : 0.670000,LineAmount : 16.750000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone add-on (07-08-2024 to 08-08-2024)",Quantity : 25,UnitAmount : 1.000000,LineAmount : 25.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone add-on (08-08-2024 to 09-08-2024)",Quantity : 25,UnitAmount : 1.000000,LineAmount : 25.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone add-on (09-08-2024 to 10-08-2024)",Quantity : 25,UnitAmount : 1.000000,LineAmount : 25.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone add-on (10-08-2024 to 11-08-2024)",Quantity : 25,UnitAmount : 1.000000,LineAmount : 25.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (5197425851 - 5 Shirley Ave, Kitchener, ON N2B 2E6) (06-18-2024 to 07-08-2024)",Quantity : 1,UnitAmount : 1.680000,LineAmount : 1.680000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (07-08-2024 to 08-08-2024) ",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (08-08-2024 to 09-08-2024)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (09-08-2024 to 10-08-2024)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (10-08-2024 to 11-08-2024)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-06-23 06:04:03] Production.INFO: ==== result ===== [2025-06-23 06:04:03] Production.INFO: { "Id": "f3689504-d7bb-4dc0-aefd-9e8dba469878", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1750673043154)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "00000000-0000-0000-0000-000000000000", "InvoiceNumber": "INV10865", "Payments": [], "CreditNotes": [], "Prepayments": [], "Overpayments": [], "TotalDiscount": 75.84, "IsDiscounted": true, "InvoiceAddresses": [], "HasErrors": true, "InvoicePaymentServices": [], "Contact": { "ContactID": "b0bd4d3e-7d9a-4f7f-a743-aafe2ee02798", "Addresses": [], "Phones": [], "ContactGroups": [], "ContactPersons": [], "HasValidationErrors": false, "ValidationErrors": [] }, "DateString": "2024-10-10T00:00:00", "Date": "\/Date(1728518400000+0000)\/", "DueDateString": "2024-11-09T00:00:00", "DueDate": "\/Date(1731110400000+0000)\/", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "License for an Unlimited Canada/US Cloud Phone extension (06-18-2024 to 07-08-2024)", "UnitAmount": 8.700000, "TaxType": "TAX020", "TaxAmount": 26.86, "LineAmount": 206.62, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 5.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "ValidationErrors": [] }, { "Description": "License for an Unlimited Canada/US Cloud Phone extension (07-08-2024 to 08-08-2024)", "UnitAmount": 12.990000, "TaxType": "TAX020", "TaxAmount": 40.11, "LineAmount": 308.51, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 5.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "ValidationErrors": [] }, { "Description": "License for an Unlimited Canada/US Cloud Phone extension (08-08-2024 to 09-08-2024)", "UnitAmount": 12.990000, "TaxType": "TAX020", "TaxAmount": 40.11, "LineAmount": 308.51, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 5.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "ValidationErrors": [] }, { "Description": "License for an Unlimited Canada/US Cloud Phone extension (09-08-2024 to 10-08-2024)", "UnitAmount": 12.990000, "TaxType": "TAX020", "TaxAmount": 40.11, "LineAmount": 308.51, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 5.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "ValidationErrors": [] }, { "Description": "License for an Unlimited Canada/US Cloud Phone extension (10-08-2024 to 11-08-2024)", "UnitAmount": 12.990000, "TaxType": "TAX020", "TaxAmount": 40.11, "LineAmount": 308.51, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 5.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "ValidationErrors": [] }, { "Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal (06-18-2024 to 07-08-2024)", "UnitAmount": 6.670000, "TaxType": "TAX020", "TaxAmount": 0.87, "LineAmount": 6.67, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal (07-08-2024 to 08-08-2024)", "UnitAmount": 10.000000, "TaxType": "TAX020", "TaxAmount": 1.30, "LineAmount": 10.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal (08-08-2024 to 09-08-2024)", "UnitAmount": 10.000000, "TaxType": "TAX020", "TaxAmount": 1.30, "LineAmount": 10.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal (09-08-2024 to 10-08-2024)", "UnitAmount": 10.000000, "TaxType": "TAX020", "TaxAmount": 1.30, "LineAmount": 10.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal (10-08-2024 to 11-08-2024)", "UnitAmount": 10.000000, "TaxType": "TAX020", "TaxAmount": 1.30, "LineAmount": 10.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone add-on (06-18-2024 to 07-08-2024)", "UnitAmount": 0.670000, "TaxType": "TAX020", "TaxAmount": 2.18, "LineAmount": 16.75, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone add-on (07-08-2024 to 08-08-2024)", "UnitAmount": 1.000000, "TaxType": "TAX020", "TaxAmount": 3.25, "LineAmount": 25.00, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone add-on (08-08-2024 to 09-08-2024)", "UnitAmount": 1.000000, "TaxType": "TAX020", "TaxAmount": 3.25, "LineAmount": 25.00, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone add-on (09-08-2024 to 10-08-2024)", "UnitAmount": 1.000000, "TaxType": "TAX020", "TaxAmount": 3.25, "LineAmount": 25.00, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone add-on (10-08-2024 to 11-08-2024)", "UnitAmount": 1.000000, "TaxType": "TAX020", "TaxAmount": 3.25, "LineAmount": 25.00, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (5197425851 - 5 Shirley Ave, Kitchener, ON N2B 2E6) (06-18-2024 to 07-08-2024)", "UnitAmount": 1.680000, "TaxType": "TAX020", "TaxAmount": 0.22, "LineAmount": 1.68, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (07-08-2024 to 08-08-2024) ", "UnitAmount": 2.500000, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (08-08-2024 to 09-08-2024)", "UnitAmount": 2.500000, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (09-08-2024 to 10-08-2024)", "UnitAmount": 2.500000, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (10-08-2024 to 11-08-2024)", "UnitAmount": 2.500000, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 1615.76, "TotalTax": 210.09, "Total": 1825.85, "CurrencyCode": "CAD", "StatusAttributeString": "ERROR", "ValidationErrors": [ { "Message": "The line total 206.62 does not match the expected line total 206.63" } ] } ] } [2025-06-23 06:04:03] Production.INFO: -- Create Invoice Error -- [2025-06-23 06:04:03] Production.INFO: -- Create Invoice Done -- [2025-06-23 06:04:03] Production.INFO: CheckInvoice xerov2: INV9661 [2025-06-23 06:04:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV9661 [2025-06-23 06:04:06] Production.INFO: Check Invoice Id XEROV21 [2025-06-23 06:04:06] Production.INFO: -- Create Invoice Done -- [2025-06-23 06:04:06] Production.INFO: -- Xero End Inovice -- [2025-06-23 06:04:06] Production.INFO: ==3133== Releasing lock... [2025-06-23 06:04:06] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-11122 #Stops# [2025-06-23 06:04:06] Production.INFO: 32.75 MB #Memory Used#