[2025-01-07 05:41:03] Production.INFO: -- Xero Api Check -- [2025-01-07 05:41:04] Production.INFO: -- curl info --Array ( [url] => https://identity.xero.com/connect/token [content_type] => application/json; charset=UTF-8 [http_code] => 200 [header_size] => 856 [request_size] => 352 [filetime] => -1 [ssl_verify_result] => 0 [redirect_count] => 0 [total_time] => 0.675577 [namelookup_time] => 0.272949 [connect_time] => 0.275999 [pretransfer_time] => 0.54007 [size_upload] => 82 [size_download] => 2755 [speed_download] => 4077 [speed_upload] => 121 [download_content_length] => 2755 [upload_content_length] => 82 [starttransfer_time] => 0.675549 [redirect_time] => 0 [redirect_url] => [primary_ip] => 23.53.4.17 [certinfo] => Array ( ) [primary_port] => 443 [local_ip] => 54.39.180.235 [local_port] => 42850 ) [2025-01-07 05:41:04] Production.INFO: -- connection successfully here --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDY0NjQsImV4cCI6MTczNjI0Njc2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ2NDY0LCJhdF9oYXNoIjoiTzlPV2o3aExZeE1URWZfS3ZNRktTZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIi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2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.GueBHZO7Ag-ABfmE43mC3GIS7GA54SjVxZEpL8QR3_BA45r7X_48DsgB0466I8aR3jR9lYoq28b70tK7e1p9A3Y7JKi8oIHuzZh77uY7ZEPX7bmc2T9zpx1wneGRs0e89s2odH4q7B0sU95zPQQwRuV02BmMb5qtleSHtA_0x_g3NHYeF4d5WU3fidFnWAgqjFYEx6jO9th3xqbfgj-O81m4PQQOP-OZtZYthWufLYNfmT_OxwA-ky8IZcG4o-SLgY9wpJ6G9ZpCrBCBlHlAMnvXoU1OCIMPGeoHnukm1HaE0I6Jj5C9HI-wXEGExP2PLeVhyotmPMVhEM4ubRgt4A [expires_in] => 1800 [token_type] => Bearer [refresh_token] => 2MXgo0VJyLt_4TKQY4e3S5FGO8_U62Gv5svotzE9dpo [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-01-07 05:41:04] Production.INFO: -- connection successfully --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2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IsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.GueBHZO7Ag-ABfmE43mC3GIS7GA54SjVxZEpL8QR3_BA45r7X_48DsgB0466I8aR3jR9lYoq28b70tK7e1p9A3Y7JKi8oIHuzZh77uY7ZEPX7bmc2T9zpx1wneGRs0e89s2odH4q7B0sU95zPQQwRuV02BmMb5qtleSHtA_0x_g3NHYeF4d5WU3fidFnWAgqjFYEx6jO9th3xqbfgj-O81m4PQQOP-OZtZYthWufLYNfmT_OxwA-ky8IZcG4o-SLgY9wpJ6G9ZpCrBCBlHlAMnvXoU1OCIMPGeoHnukm1HaE0I6Jj5C9HI-wXEGExP2PLeVhyotmPMVhEM4ubRgt4A [expires_in] => 1800 [token_type] => Bearer [refresh_token] => 2MXgo0VJyLt_4TKQY4e3S5FGO8_U62Gv5svotzE9dpo [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-01-07 05:41:04] Production.INFO: AccountID 136 [2025-01-07 05:41:04] Production.INFO: AccountName Dominos 10483 (Ronny Khan) [2025-01-07 05:41:04] Production.INFO: Checkcustomer [2025-01-07 05:41:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010483%20%28Ronny%20Khan%29" [2025-01-07 05:41:06] Production.INFO: Contact id print CheckCustomer Case===39e8e2e7-bbd0-4c58-9676-ff9889ed0960 [2025-01-07 05:41:06] Production.INFO: -- count --1 [2025-01-07 05:41:06] Production.INFO: AccountID 20 [2025-01-07 05:41:06] Production.INFO: AccountName Dominos 10514 (Sandeep Chaudhari) [2025-01-07 05:41:06] Production.INFO: Checkcustomer [2025-01-07 05:41:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010514%20%28Sandeep%20Chaudhari%29" [2025-01-07 05:41:09] Production.INFO: Contact id print CheckCustomer Case===f2764bcf-df27-4f1c-86cf-e8005ea19444 [2025-01-07 05:41:09] Production.INFO: -- count --1 [2025-01-07 05:41:09] Production.INFO: AccountID 14 [2025-01-07 05:41:09] Production.INFO: AccountName Dominos 10515 (Ronny Khan) [2025-01-07 05:41:09] Production.INFO: Checkcustomer [2025-01-07 05:41:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010515%20%28Ronny%20Khan%29" [2025-01-07 05:41:12] Production.INFO: Contact id print CheckCustomer Case===de29a9c7-cecf-49b7-b42f-7b106467f0ce [2025-01-07 05:41:12] Production.INFO: -- count --1 [2025-01-07 05:41:12] Production.INFO: AccountID 74 [2025-01-07 05:41:12] Production.INFO: AccountName Dominos 10532 (Sandeep Chaudhari) [2025-01-07 05:41:12] Production.INFO: Checkcustomer [2025-01-07 05:41:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010532%20%28Sandeep%20Chaudhari%29" [2025-01-07 05:41:14] Production.INFO: Contact id print CheckCustomer Case===dded1f8a-d8ba-43e9-a033-ca82f3d54f47 [2025-01-07 05:41:14] Production.INFO: -- count --1 [2025-01-07 05:41:14] Production.INFO: AccountID 74 [2025-01-07 05:41:14] Production.INFO: AccountName Dominos 10532 (Sandeep Chaudhari) [2025-01-07 05:41:14] Production.INFO: Checkcustomer [2025-01-07 05:41:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010532%20%28Sandeep%20Chaudhari%29" [2025-01-07 05:41:17] Production.INFO: Contact id print CheckCustomer Case===dded1f8a-d8ba-43e9-a033-ca82f3d54f47 [2025-01-07 05:41:17] Production.INFO: -- count --1 [2025-01-07 05:41:17] Production.INFO: AccountID 84 [2025-01-07 05:41:17] Production.INFO: AccountName Dominos 10534 (Sandeep Chaudhari) [2025-01-07 05:41:17] Production.INFO: Checkcustomer [2025-01-07 05:41:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010534%20%28Sandeep%20Chaudhari%29" [2025-01-07 05:41:20] Production.INFO: Contact id print CheckCustomer Case===8f094a5b-f8d1-4cb4-be2e-59f80f574839 [2025-01-07 05:41:20] Production.INFO: -- count --1 [2025-01-07 05:41:20] Production.INFO: -- Xero Add Inovice -- [2025-01-07 05:41:20] Production.INFO: CheckInvoice xerov2: INV11222 [2025-01-07 05:41:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11222 [2025-01-07 05:41:22] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 05:41:22] Production.INFO: Invoice SubTotal 57.500000 [2025-01-07 05:41:22] Production.INFO: Invoice DetTotal 57.5 [2025-01-07 05:41:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010483%20%28Ronny%20Khan%29" [2025-01-07 05:41:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-07 05:41:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-07 05:41:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-07 05:41:33] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (6473525055 - 10 Mallard Rd 52 North York, ON M3B 0A7)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 4,UnitAmount : -5.000000,LineAmount : -20.000000} [2025-01-07 05:41:36] Production.INFO: ==== result ===== [2025-01-07 05:41:36] Production.INFO: { "Id": "05dbb09f-87c2-49c6-afdf-bb4f8724d77a", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1736246496878)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "f1df679c-39b3-41bc-9190-d4e90c0d1e81", "InvoiceNumber": "INV11222", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 64.98, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "39e8e2e7-bbd0-4c58-9676-ff9889ed0960", "ContactStatus": "ACTIVE", "Name": "Dominos 10483 (Ronny Khan)", "FirstName": "Ronny", "LastName": "Khan", "EmailAddress": "sarwar247@hotmail.com", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1602454226393+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-12-15T00:00:00", "Date": "\/Date(1734220800000+0000)\/", "DueDateString": "2025-01-14T00:00:00", "DueDate": "\/Date(1736812800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Restaurant - 4 Line Flat Rate", "UnitAmount": 75.00, "TaxType": "TAX020", "TaxAmount": 9.75, "LineAmount": 75.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "9d1de0cc-7a58-4367-b419-35a5d24685cb", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (6473525055 - 10 Mallard Rd 52 North York, ON M3B 0A7)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "820d3dd4-6869-4ee4-8558-258c4ae2049f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service", "UnitAmount": -5.00, "TaxType": "TAX020", "TaxAmount": -2.60, "LineAmount": -20.00, "AccountCode": "303", "Tracking": [], "Quantity": 4.0000, "DiscountRate": 0.00, "LineItemID": "ea2f5ea1-292a-49c9-8ebf-032057b7219b", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 57.50, "TotalTax": 7.48, "Total": 64.98, "UpdatedDateUTC": "\/Date(1736246496830+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-07 05:41:36] Production.INFO: -- Create Invoice id --f1df679c-39b3-41bc-9190-d4e90c0d1e81 [2025-01-07 05:41:36] Production.INFO: -- Create Invoice Done -- [2025-01-07 05:41:36] Production.INFO: CheckInvoice xerov2: INV11213 [2025-01-07 05:41:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11213 [2025-01-07 05:41:39] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 05:41:39] Production.INFO: Invoice SubTotal 52.500000 [2025-01-07 05:41:39] Production.INFO: Invoice DetTotal 52.5 [2025-01-07 05:41:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010514%20%28Sandeep%20Chaudhari%29" [2025-01-07 05:41:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-07 05:41:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-07 05:41:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-07 05:41:49] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Dominos Pizza - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (15198880012 - 221 HOLIDAY INN DR CAMBRIDGE, ON N3C3T2)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 5,UnitAmount : -5.000000,LineAmount : -25.000000} [2025-01-07 05:41:52] Production.INFO: ==== result ===== [2025-01-07 05:41:52] Production.INFO: { "Id": "f97863c9-82c4-4906-aab9-79d7d9943b62", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1736246512753)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "49da96c2-dc89-4885-a9c3-ec09c98a3192", "InvoiceNumber": "INV11213", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 59.33, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "f2764bcf-df27-4f1c-86cf-e8005ea19444", "ContactStatus": "ACTIVE", "Name": "Dominos 10514 (Sandeep Chaudhari)", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1562267972817+0000)\/", "ContactGroups": [ { "ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58", "Name": "Benjamin's Customers", "Status": "ACTIVE", "Contacts": [], "HasValidationErrors": false } ], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-12-14T00:00:00", "Date": "\/Date(1734134400000+0000)\/", "DueDateString": "2025-01-13T00:00:00", "DueDate": "\/Date(1736726400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Dominos Pizza - 4 Line Flat Rate", "UnitAmount": 75.00, "TaxType": "TAX020", "TaxAmount": 9.75, "LineAmount": 75.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "3b32cca4-4e30-4163-844a-697ec5f04ef1", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (15198880012 - 221 HOLIDAY INN DR CAMBRIDGE, ON N3C3T2)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "8fb5ddd6-4bba-4365-9321-910236314142", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service", "UnitAmount": -5.00, "TaxType": "TAX020", "TaxAmount": -3.25, "LineAmount": -25.00, "AccountCode": "303", "Tracking": [], "Quantity": 5.0000, "DiscountRate": 0.00, "LineItemID": "9cfd08c0-a6f4-4345-bd69-eb7873f59dae", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 6.83, "Total": 59.33, "UpdatedDateUTC": "\/Date(1736246512690+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-07 05:41:52] Production.INFO: -- Create Invoice id --49da96c2-dc89-4885-a9c3-ec09c98a3192 [2025-01-07 05:41:52] Production.INFO: -- Create Invoice Done -- [2025-01-07 05:41:52] Production.INFO: CheckInvoice xerov2: INV11236 [2025-01-07 05:41:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11236 [2025-01-07 05:41:55] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 05:41:55] Production.INFO: Invoice SubTotal 57.500000 [2025-01-07 05:41:55] Production.INFO: Invoice DetTotal 57.5 [2025-01-07 05:41:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010515%20%28Ronny%20Khan%29" [2025-01-07 05:41:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-07 05:42:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-07 05:42:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-07 05:42:06] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Dominos Pizza - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (182 WILSON AVE NORTH YORK, ON M5M4N7)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 4,UnitAmount : -5.000000,LineAmount : -20.000000} [2025-01-07 05:42:09] Production.INFO: ==== result ===== [2025-01-07 05:42:09] Production.INFO: { "Id": "c400beb2-5d8e-46d1-8d32-2cad2cf7662b", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1736246529208)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "fc38f5e8-39d3-419e-8948-c21e299da347", "InvoiceNumber": "INV11236", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 64.98, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "de29a9c7-cecf-49b7-b42f-7b106467f0ce", "ContactStatus": "ACTIVE", "Name": "Dominos 10515 (Ronny Khan)", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1562267972817+0000)\/", "ContactGroups": [ { "ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58", "Name": "Benjamin's Customers", "Status": "ACTIVE", "Contacts": [], "HasValidationErrors": false } ], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "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": "Dominos Pizza - 4 Line Flat Rate", "UnitAmount": 75.00, "TaxType": "TAX020", "TaxAmount": 9.75, "LineAmount": 75.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "f1a42b6a-bc9a-4857-a4da-66ecfcc38497", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (182 WILSON AVE NORTH YORK, ON M5M4N7)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "84591d2e-f25c-4435-8ffa-3781895ab19e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service", "UnitAmount": -5.00, "TaxType": "TAX020", "TaxAmount": -2.60, "LineAmount": -20.00, "AccountCode": "303", "Tracking": [], "Quantity": 4.0000, "DiscountRate": 0.00, "LineItemID": "0f2f61d8-d607-4474-8eb9-7942e955b615", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 57.50, "TotalTax": 7.48, "Total": 64.98, "UpdatedDateUTC": "\/Date(1736246529163+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-07 05:42:09] Production.INFO: -- Create Invoice id --fc38f5e8-39d3-419e-8948-c21e299da347 [2025-01-07 05:42:09] Production.INFO: -- Create Invoice Done -- [2025-01-07 05:42:09] Production.INFO: CheckInvoice xerov2: INV11104 [2025-01-07 05:42:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11104 [2025-01-07 05:42:12] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 05:42:12] Production.INFO: Invoice SubTotal 52.500000 [2025-01-07 05:42:12] Production.INFO: Invoice DetTotal 52.5 [2025-01-07 05:42:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010532%20%28Sandeep%20Chaudhari%29" [2025-01-07 05:42:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-07 05:42:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-07 05:42:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-07 05:42:23] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (15198041212 - 655 FAIRWAY RD S BLDG B UNIT B4B KITCHENER, ON N2C1X4)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 5,UnitAmount : -5.000000,LineAmount : -25.000000} [2025-01-07 05:42:25] Production.INFO: ==== result ===== [2025-01-07 05:42:25] Production.INFO: { "Id": "ad461dae-84d7-4bd7-9a7d-6367ccfa31f0", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1736246545691)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "5561a7f6-4901-4a22-a615-eb2837fdc981", "InvoiceNumber": "INV11104", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 59.33, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "dded1f8a-d8ba-43e9-a033-ca82f3d54f47", "ContactStatus": "ACTIVE", "Name": "Dominos 10532 (Sandeep Chaudhari)", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1562267972817+0000)\/", "ContactGroups": [ { "ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58", "Name": "Benjamin's Customers", "Status": "ACTIVE", "Contacts": [], "HasValidationErrors": false } ], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-11-25T00:00:00", "Date": "\/Date(1732492800000+0000)\/", "DueDateString": "2024-12-25T00:00:00", "DueDate": "\/Date(1735084800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Restaurant - 4 Line Flat Rate", "UnitAmount": 75.00, "TaxType": "TAX020", "TaxAmount": 9.75, "LineAmount": 75.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "0e9ddd16-9c4f-46e3-948d-ec27c45873f3", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (15198041212 - 655 FAIRWAY RD S BLDG B UNIT B4B KITCHENER, ON N2C1X4)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "901941b9-150e-49a6-a793-d10bd03d9d6e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service", "UnitAmount": -5.00, "TaxType": "TAX020", "TaxAmount": -3.25, "LineAmount": -25.00, "AccountCode": "303", "Tracking": [], "Quantity": 5.0000, "DiscountRate": 0.00, "LineItemID": "74592381-ae0c-49dc-920b-eaf57da70d40", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 6.83, "Total": 59.33, "UpdatedDateUTC": "\/Date(1736246545613+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-07 05:42:25] Production.INFO: -- Create Invoice id --5561a7f6-4901-4a22-a615-eb2837fdc981 [2025-01-07 05:42:25] Production.INFO: -- Create Invoice Done -- [2025-01-07 05:42:25] Production.INFO: CheckInvoice xerov2: INV11261 [2025-01-07 05:42:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11261 [2025-01-07 05:42:28] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 05:42:28] Production.INFO: Invoice SubTotal 52.500000 [2025-01-07 05:42:28] Production.INFO: Invoice DetTotal 52.5 [2025-01-07 05:42:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010532%20%28Sandeep%20Chaudhari%29" [2025-01-07 05:42:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-07 05:42:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-07 05:42:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-07 05:42:37] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (15198041212 - 655 FAIRWAY RD S BLDG B UNIT B4B KITCHENER, ON N2C1X4)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 5,UnitAmount : -5.000000,LineAmount : -25.000000} [2025-01-07 05:42:40] Production.INFO: ==== result ===== [2025-01-07 05:42:40] Production.INFO: { "Id": "546b1855-9791-41ff-a6cb-f9690ec1dde4", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1736246560793)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "f147fcf1-a242-4ee4-bdf3-25170d357b94", "InvoiceNumber": "INV11261", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 59.33, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "dded1f8a-d8ba-43e9-a033-ca82f3d54f47", "ContactStatus": "ACTIVE", "Name": "Dominos 10532 (Sandeep Chaudhari)", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1562267972817+0000)\/", "ContactGroups": [ { "ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58", "Name": "Benjamin's Customers", "Status": "ACTIVE", "Contacts": [], "HasValidationErrors": false } ], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-12-25T00:00:00", "Date": "\/Date(1735084800000+0000)\/", "DueDateString": "2025-01-24T00:00:00", "DueDate": "\/Date(1737676800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Restaurant - 4 Line Flat Rate", "UnitAmount": 75.00, "TaxType": "TAX020", "TaxAmount": 9.75, "LineAmount": 75.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "90a13725-8aea-41f8-8457-703daf219eab", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (15198041212 - 655 FAIRWAY RD S BLDG B UNIT B4B KITCHENER, ON N2C1X4)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "469c6c5b-9e46-4c1e-aa5f-3c1aa0983980", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service", "UnitAmount": -5.00, "TaxType": "TAX020", "TaxAmount": -3.25, "LineAmount": -25.00, "AccountCode": "303", "Tracking": [], "Quantity": 5.0000, "DiscountRate": 0.00, "LineItemID": "df61384d-8c19-4bd1-acfe-fdd3165dc45c", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 6.83, "Total": 59.33, "UpdatedDateUTC": "\/Date(1736246560747+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-07 05:42:40] Production.INFO: -- Create Invoice id --f147fcf1-a242-4ee4-bdf3-25170d357b94 [2025-01-07 05:42:40] Production.INFO: -- Create Invoice Done -- [2025-01-07 05:42:40] Production.INFO: CheckInvoice xerov2: INV11207 [2025-01-07 05:42:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11207 [2025-01-07 05:42:43] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 05:42:43] Production.INFO: Invoice SubTotal 52.500000 [2025-01-07 05:42:43] Production.INFO: Invoice DetTotal 52.5 [2025-01-07 05:42:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010534%20%28Sandeep%20Chaudhari%29" [2025-01-07 05:42:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-07 05:42:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-07 05:42:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-07 05:42:54] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (PHONENUMBER - ADDRESS)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 5,UnitAmount : -5.000000,LineAmount : -25.000000} [2025-01-07 05:42:56] Production.INFO: ==== result ===== [2025-01-07 05:42:56] Production.INFO: { "Id": "faf7b508-df9f-46b5-b72b-8df7f7c83de3", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1736246576665)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "9b7631e9-7ce3-4f9a-8bde-9ec03fbde92c", "InvoiceNumber": "INV11207", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 59.33, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "8f094a5b-f8d1-4cb4-be2e-59f80f574839", "ContactStatus": "ACTIVE", "Name": "Dominos 10534 (Sandeep Chaudhari)", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1562267972817+0000)\/", "ContactGroups": [ { "ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58", "Name": "Benjamin's Customers", "Status": "ACTIVE", "Contacts": [], "HasValidationErrors": false } ], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-12-13T00:00:00", "Date": "\/Date(1734048000000+0000)\/", "DueDateString": "2025-01-12T00:00:00", "DueDate": "\/Date(1736640000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Restaurant - 4 Line Flat Rate", "UnitAmount": 75.00, "TaxType": "TAX020", "TaxAmount": 9.75, "LineAmount": 75.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "0227aefc-6c4e-46d7-8838-7be275339504", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (PHONENUMBER - ADDRESS)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "30cfb00c-17d6-49d4-b49e-7bcbb27309af", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service", "UnitAmount": -5.00, "TaxType": "TAX020", "TaxAmount": -3.25, "LineAmount": -25.00, "AccountCode": "303", "Tracking": [], "Quantity": 5.0000, "DiscountRate": 0.00, "LineItemID": "13b65397-af5a-4819-a604-3faaf3003a6c", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 6.83, "Total": 59.33, "UpdatedDateUTC": "\/Date(1736246576587+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-07 05:42:56] Production.INFO: -- Create Invoice id --9b7631e9-7ce3-4f9a-8bde-9ec03fbde92c [2025-01-07 05:42:56] Production.INFO: -- Create Invoice Done -- [2025-01-07 05:42:56] Production.INFO: -- Xero End Inovice -- [2025-01-07 05:42:56] Production.INFO: ==7005== Releasing lock... [2025-01-07 05:42:56] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10436 #Stops# [2025-01-07 05:42:56] Production.INFO: 32.5 MB #Memory Used#