[2025-01-07 05:20:04] Production.INFO: -- Xero Api Check -- [2025-01-07 05:20: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.310674 [namelookup_time] => 0.534547 [connect_time] => 0.641193 [pretransfer_time] => 1.056491 [size_upload] => 82 [size_download] => 2755 [speed_download] => 2101 [speed_upload] => 62 [download_content_length] => 2755 [upload_content_length] => 82 [starttransfer_time] => 1.310642 [redirect_time] => 0 [redirect_url] => [primary_ip] => 2.22.251.19 [certinfo] => Array ( ) [primary_port] => 443 [local_ip] => 54.39.180.235 [local_port] => 36496 ) [2025-01-07 05:20:05] Production.INFO: -- connection successfully here --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDUyMDUsImV4cCI6MTczNjI0NTUwNSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ1MjA1LCJhdF9oYXNoIjoiendvdFRibUQtUkVrRnNBcUhkVHpOZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiL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c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.wgOHnoJxWJj1bniMimwR_COU14ieECpP_RPD7vHR_8NmnT3O1MGjXecJck-FZNvivo_96T0Bjk2BUPzQHfyXb7rrmvq5eWFY8PwH6_7ULmgXMxVyUvTdfB0ymp72LfZEOpFw-vPUpiQGf14nyc0Y9So5IxoEzxsjjmmBb_a4ff37HfsyGQh_P8YX6mYW-IvVPZ5ybvBTqd_HPffS5T99oCvYeRXVyB6H_YM83qM-JNGKbY1a-kPqslklyxzk5wLKGIJLD9ozKh-vcyj5IYCviaqklnncja4CU2K0HOflB2uioxanNmPrg8FFhaOW-oE3n4JUxtPZEMu9QDlJAY075Q [expires_in] => 1800 [token_type] => Bearer [refresh_token] => 2cOjYOlXHvYwI0A3GjAEmO74rkXWjbKtwCUEN99odqg [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-01-07 05:20:05] Production.INFO: -- connection successfully --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ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ImFtciI6WyJwd2QiXX0.wgOHnoJxWJj1bniMimwR_COU14ieECpP_RPD7vHR_8NmnT3O1MGjXecJck-FZNvivo_96T0Bjk2BUPzQHfyXb7rrmvq5eWFY8PwH6_7ULmgXMxVyUvTdfB0ymp72LfZEOpFw-vPUpiQGf14nyc0Y9So5IxoEzxsjjmmBb_a4ff37HfsyGQh_P8YX6mYW-IvVPZ5ybvBTqd_HPffS5T99oCvYeRXVyB6H_YM83qM-JNGKbY1a-kPqslklyxzk5wLKGIJLD9ozKh-vcyj5IYCviaqklnncja4CU2K0HOflB2uioxanNmPrg8FFhaOW-oE3n4JUxtPZEMu9QDlJAY075Q [expires_in] => 1800 [token_type] => Bearer [refresh_token] => 2cOjYOlXHvYwI0A3GjAEmO74rkXWjbKtwCUEN99odqg [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-01-07 05:20:05] Production.INFO: AccountID 19 [2025-01-07 05:20:05] Production.INFO: AccountName Craig Travel [2025-01-07 05:20:05] Production.INFO: Checkcustomer [2025-01-07 05:20:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Craig%20Travel" [2025-01-07 05:20:07] Production.INFO: Contact id print CheckCustomer Case===65a499d2-8fb3-4c56-ab50-2bdc7bfc40a1 [2025-01-07 05:20:07] Production.INFO: -- count --1 [2025-01-07 05:20:07] Production.INFO: AccountID 82 [2025-01-07 05:20:07] Production.INFO: AccountName Delco Windows & Doors [2025-01-07 05:20:07] Production.INFO: Checkcustomer [2025-01-07 05:20:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Delco%20Windows%20%26%20Doors" [2025-01-07 05:20:10] Production.INFO: Contact id print CheckCustomer Case===2a87a634-1e8b-4663-9f61-13fff8791cfb [2025-01-07 05:20:10] Production.INFO: -- count --1 [2025-01-07 05:20:10] Production.INFO: AccountID 144 [2025-01-07 05:20:10] Production.INFO: AccountName Discount Coach Tours and Wed in Destination [2025-01-07 05:20:10] Production.INFO: Checkcustomer [2025-01-07 05:20:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Discount%20Coach%20Tours%20and%20Wed%20in%20Destination" [2025-01-07 05:20:13] Production.INFO: Contact id print CheckCustomer Case===c864ce51-780a-4f49-93fc-921fe633c032 [2025-01-07 05:20:13] Production.INFO: -- count --1 [2025-01-07 05:20:13] Production.INFO: AccountID 144 [2025-01-07 05:20:13] Production.INFO: AccountName Discount Coach Tours and Wed in Destination [2025-01-07 05:20:13] Production.INFO: Checkcustomer [2025-01-07 05:20:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Discount%20Coach%20Tours%20and%20Wed%20in%20Destination" [2025-01-07 05:20:16] Production.INFO: Contact id print CheckCustomer Case===c864ce51-780a-4f49-93fc-921fe633c032 [2025-01-07 05:20:16] Production.INFO: -- count --1 [2025-01-07 05:20:16] Production.INFO: AccountID 73 [2025-01-07 05:20:16] Production.INFO: AccountName Discovery Point Nursery [2025-01-07 05:20:16] Production.INFO: Checkcustomer [2025-01-07 05:20:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Discovery%20Point%20Nursery" [2025-01-07 05:20:18] Production.INFO: Contact id print CheckCustomer Case===cb58377f-8ea7-4ab2-9952-d9be1c41b3e2 [2025-01-07 05:20:18] Production.INFO: -- count --1 [2025-01-07 05:20:18] Production.INFO: AccountID 5 [2025-01-07 05:20:18] Production.INFO: AccountName DMCI [2025-01-07 05:20:18] Production.INFO: Checkcustomer [2025-01-07 05:20:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="DMCI" [2025-01-07 05:20:21] Production.INFO: Contact id print CheckCustomer Case===7bc9d577-a1e5-4866-a22c-25fb311cbded [2025-01-07 05:20:21] Production.INFO: -- count --1 [2025-01-07 05:20:21] Production.INFO: -- Xero Add Inovice -- [2025-01-07 05:20:21] Production.INFO: CheckInvoice xerov2: INV11246 [2025-01-07 05:20:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11246 [2025-01-07 05:20:23] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 05:20:23] Production.INFO: Invoice SubTotal 263.540000 [2025-01-07 05:20:23] Production.INFO: Invoice DetTotal 263.54 [2025-01-07 05:20:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Craig%20Travel" [2025-01-07 05:20:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-07 05:20:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-07 05:20:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-07 05:20:34] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 11-20-2024 To 12-19-2024",Quantity : 1,UnitAmount : 41.040000,LineAmount : 41.040000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 22,UnitAmount : 10.000000,LineAmount : 220.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14164840926 - 1092 MOUNT PLEASANT RD TORONTO, ON M4P2M6)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-01-07 05:20:36] Production.INFO: ==== result ===== [2025-01-07 05:20:36] Production.INFO: { "Id": "64f52c4b-075f-4fe0-b1e8-af8f9eef2c37", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1736245236925)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "25f50178-5522-4a43-89c2-e305759e3f91", "InvoiceNumber": "INV11246", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 297.81, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "65a499d2-8fb3-4c56-ab50-2bdc7bfc40a1", "ContactStatus": "ACTIVE", "Name": "Craig Travel", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1533070464017+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-12-20T00:00:00", "Date": "\/Date(1734652800000+0000)\/", "DueDateString": "2025-01-19T00:00:00", "DueDate": "\/Date(1737244800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 11-20-2024 To 12-19-2024", "UnitAmount": 41.04, "TaxType": "TAX020", "TaxAmount": 5.34, "LineAmount": 41.04, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "9f6a124b-39da-47d4-ab4d-994bd3da9073", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for a Pay As You Go Cloud Phone extension", "UnitAmount": 10.00, "TaxType": "TAX020", "TaxAmount": 28.60, "LineAmount": 220.00, "AccountCode": "203", "Tracking": [], "Quantity": 22.0000, "DiscountRate": 0.00, "LineItemID": "2fe164a4-3026-4e25-8ebb-df18f20ce64f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (14164840926 - 1092 MOUNT PLEASANT RD TORONTO, ON M4P2M6)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "d0ea7639-74e9-4926-9b72-5420710e0777", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 263.54, "TotalTax": 34.27, "Total": 297.81, "UpdatedDateUTC": "\/Date(1736245236880+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-07 05:20:36] Production.INFO: -- Create Invoice id --25f50178-5522-4a43-89c2-e305759e3f91 [2025-01-07 05:20:36] Production.INFO: -- Create Invoice Done -- [2025-01-07 05:20:36] Production.INFO: CheckInvoice xerov2: INV11205 [2025-01-07 05:20:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11205 [2025-01-07 05:20:39] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 05:20:39] Production.INFO: Invoice SubTotal 35.970000 [2025-01-07 05:20:39] Production.INFO: Invoice DetTotal 35.97 [2025-01-07 05:20:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Delco%20Windows%20%26%20Doors" [2025-01-07 05:20:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-07 05:20:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-07 05:20:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-07 05:20:50] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 11-13-2024 To 12-12-2024",Quantity : 1,UnitAmount : 5.470000,LineAmount : 5.470000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 4,UnitAmount : 7.000000,LineAmount : 28.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14163643834 - 9994 KEELE ST UNIT 201 VAUGHAN, ON L6A3Y4)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-01-07 05:20:52] Production.INFO: ==== result ===== [2025-01-07 05:20:52] Production.INFO: { "Id": "0c75f223-5f8a-4110-8402-9dac095fb518", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1736245252425)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "2dc35f7b-2f4d-421a-895d-8991f0ba47b4", "InvoiceNumber": "INV11205", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 40.65, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "2a87a634-1e8b-4663-9f61-13fff8791cfb", "ContactStatus": "ACTIVE", "Name": "Delco Windows & Doors", "FirstName": "Ayal", "LastName": "Cohen", "EmailAddress": "info@delcowindows.com", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "AddressLine1": "9994 Keele Street", "AddressLine2": "Unit 201", "AddressLine3": "", "AddressLine4": "", "City": "Toronto", "Region": "ON", "PostalCode": "L6A 3Y4", "Country": "Canada", "AttentionTo": "Ayal Cohen" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "(416) 3643834", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "4163643834,103", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "4166776381", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1562268099593+0000)\/", "ContactGroups": [ { "ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58", "Name": "Benjamin's Customers", "Status": "ACTIVE", "Contacts": [], "HasValidationErrors": false } ], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-12-13T00:00:00", "Date": "\/Date(1734048000000+0000)\/", "DueDateString": "2025-01-12T00:00:00", "DueDate": "\/Date(1736640000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 11-13-2024 To 12-12-2024", "UnitAmount": 5.47, "TaxType": "TAX020", "TaxAmount": 0.71, "LineAmount": 5.47, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "48bb5d1e-c248-46a0-bb90-7c4c3d364074", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for a Pay As You Go Cloud Phone extension", "UnitAmount": 7.00, "TaxType": "TAX020", "TaxAmount": 3.64, "LineAmount": 28.00, "AccountCode": "203", "Tracking": [], "Quantity": 4.0000, "DiscountRate": 0.00, "LineItemID": "c52e1dbf-c1d4-4b56-814d-3b1d21e8f998", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (14163643834 - 9994 KEELE ST UNIT 201 VAUGHAN, ON L6A3Y4)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "53631048-a0d6-4f47-9115-f0c7067fea91", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 35.97, "TotalTax": 4.68, "Total": 40.65, "UpdatedDateUTC": "\/Date(1736245252363+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-07 05:20:52] Production.INFO: -- Create Invoice id --2dc35f7b-2f4d-421a-895d-8991f0ba47b4 [2025-01-07 05:20:52] Production.INFO: -- Create Invoice Done -- [2025-01-07 05:20:52] Production.INFO: CheckInvoice xerov2: INV11013 [2025-01-07 05:20:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11013 [2025-01-07 05:20:54] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 05:20:54] Production.INFO: Invoice SubTotal 26.250000 [2025-01-07 05:20:54] Production.INFO: Invoice DetTotal 26.25 [2025-01-07 05:20:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Discount%20Coach%20Tours%20and%20Wed%20in%20Destination" [2025-01-07 05:20:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-07 05:21:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-07 05:21:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-07 05:21:05] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 10-08-2024 To 11-07-2024",Quantity : 1,UnitAmount : 1.250000,LineAmount : 1.250000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 5,UnitAmount : 5.000000,LineAmount : 25.000000} [2025-01-07 05:21:08] Production.INFO: ==== result ===== [2025-01-07 05:21:08] Production.INFO: { "Id": "5da51d73-4415-44aa-b981-c3f476d238a8", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1736245268109)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "3ced58bb-156a-4041-ab24-191c2de12d0f", "InvoiceNumber": "INV11013", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 29.66, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "c864ce51-780a-4f49-93fc-921fe633c032", "ContactStatus": "ACTIVE", "Name": "Discount Coach Tours and Wed in Destination", "FirstName": "Kiran", "LastName": "Grewal", "EmailAddress": "kiran@discountcoachtours.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(1620922586947+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-11-08T00:00:00", "Date": "\/Date(1731024000000+0000)\/", "DueDateString": "2024-12-08T00:00:00", "DueDate": "\/Date(1733616000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 10-08-2024 To 11-07-2024", "UnitAmount": 1.25, "TaxType": "TAX020", "TaxAmount": 0.16, "LineAmount": 1.25, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "714d2bea-6269-4fed-b684-7eb8cff97960", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for an Unlimited Canada/US Cloud Phone extension", "UnitAmount": 5.00, "TaxType": "TAX020", "TaxAmount": 3.25, "LineAmount": 25.00, "AccountCode": "203", "Tracking": [], "Quantity": 5.0000, "DiscountRate": 0.00, "LineItemID": "bf8b356d-2579-4687-9819-d658a7ea4ec1", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 26.25, "TotalTax": 3.41, "Total": 29.66, "UpdatedDateUTC": "\/Date(1736245268063+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-07 05:21:08] Production.INFO: -- Create Invoice id --3ced58bb-156a-4041-ab24-191c2de12d0f [2025-01-07 05:21:08] Production.INFO: -- Create Invoice Done -- [2025-01-07 05:21:08] Production.INFO: CheckInvoice xerov2: INV11172 [2025-01-07 05:21:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11172 [2025-01-07 05:21:10] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 05:21:10] Production.INFO: Invoice SubTotal 27.150000 [2025-01-07 05:21:10] Production.INFO: Invoice DetTotal 27.15 [2025-01-07 05:21:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Discount%20Coach%20Tours%20and%20Wed%20in%20Destination" [2025-01-07 05:21:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-07 05:21:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-07 05:21:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-07 05:21:22] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 11-08-2024 To 12-07-2024",Quantity : 1,UnitAmount : 2.150000,LineAmount : 2.150000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 5,UnitAmount : 5.000000,LineAmount : 25.000000} [2025-01-07 05:21:26] Production.INFO: ==== result ===== [2025-01-07 05:21:26] Production.INFO: { "Id": "a251449a-1051-445b-aaf7-2c4a71d8c096", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1736245285920)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "2e4c982f-ed8e-42b6-ba59-3e46c63cf22c", "InvoiceNumber": "INV11172", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 30.68, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "c864ce51-780a-4f49-93fc-921fe633c032", "ContactStatus": "ACTIVE", "Name": "Discount Coach Tours and Wed in Destination", "FirstName": "Kiran", "LastName": "Grewal", "EmailAddress": "kiran@discountcoachtours.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(1620922586947+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-12-08T00:00:00", "Date": "\/Date(1733616000000+0000)\/", "DueDateString": "2025-01-07T00:00:00", "DueDate": "\/Date(1736208000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 11-08-2024 To 12-07-2024", "UnitAmount": 2.15, "TaxType": "TAX020", "TaxAmount": 0.28, "LineAmount": 2.15, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "2e0170d5-7581-4744-8fb1-0c9c2a199968", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for an Unlimited Canada/US Cloud Phone extension", "UnitAmount": 5.00, "TaxType": "TAX020", "TaxAmount": 3.25, "LineAmount": 25.00, "AccountCode": "203", "Tracking": [], "Quantity": 5.0000, "DiscountRate": 0.00, "LineItemID": "dd839415-0823-40d7-b707-1f819953ef5b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 27.15, "TotalTax": 3.53, "Total": 30.68, "UpdatedDateUTC": "\/Date(1736245285827+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-07 05:21:26] Production.INFO: -- Create Invoice id --2e4c982f-ed8e-42b6-ba59-3e46c63cf22c [2025-01-07 05:21:26] Production.INFO: -- Create Invoice Done -- [2025-01-07 05:21:26] Production.INFO: CheckInvoice xerov2: INV11191 [2025-01-07 05:21:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11191 [2025-01-07 05:21:29] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 05:21:29] Production.INFO: Invoice SubTotal 11.370000 [2025-01-07 05:21:29] Production.INFO: Invoice DetTotal 11.37 [2025-01-07 05:21:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Discovery%20Point%20Nursery" [2025-01-07 05:21:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-07 05:21:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-07 05:21:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-07 05:21:39] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 11-10-2024 To 12-09-2024",Quantity : 1,UnitAmount : 1.870000,LineAmount : 1.870000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 1,UnitAmount : 7.000000,LineAmount : 7.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19057273568 - 10501 WESTON RD WOODBRIDGE, ON L4H4G8)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-01-07 05:21:42] Production.INFO: ==== result ===== [2025-01-07 05:21:42] Production.INFO: { "Id": "72e59860-328a-411a-9c32-55e61f37ed43", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1736245302445)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "987769fe-e8c7-4265-910e-955a4b068239", "InvoiceNumber": "INV11191", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 12.85, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "cb58377f-8ea7-4ab2-9952-d9be1c41b3e2", "ContactStatus": "ACTIVE", "Name": "Discovery Point Nursery", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1562268117260+0000)\/", "ContactGroups": [ { "ContactGroupID": "73efd01d-7369-4fa2-a005-8c8239e72e58", "Name": "Benjamin's Customers", "Status": "ACTIVE", "Contacts": [], "HasValidationErrors": false } ], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-12-10T00:00:00", "Date": "\/Date(1733788800000+0000)\/", "DueDateString": "2025-01-09T00:00:00", "DueDate": "\/Date(1736380800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 11-10-2024 To 12-09-2024", "UnitAmount": 1.87, "TaxType": "TAX020", "TaxAmount": 0.24, "LineAmount": 1.87, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "1241f985-1051-487e-ae2e-010d4f1ecf52", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for a Pay As You Go Cloud Phone extension", "UnitAmount": 7.00, "TaxType": "TAX020", "TaxAmount": 0.91, "LineAmount": 7.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "74f9cb75-3360-4ab2-a8ee-ac205096f130", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (19057273568 - 10501 WESTON RD WOODBRIDGE, ON L4H4G8)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "c930656a-4ee3-4388-b102-190a6e1c919e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 11.37, "TotalTax": 1.48, "Total": 12.85, "UpdatedDateUTC": "\/Date(1736245302367+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-07 05:21:42] Production.INFO: -- Create Invoice id --987769fe-e8c7-4265-910e-955a4b068239 [2025-01-07 05:21:42] Production.INFO: -- Create Invoice Done -- [2025-01-07 05:21:42] Production.INFO: CheckInvoice xerov2: INV11188 [2025-01-07 05:21:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11188 [2025-01-07 05:21:44] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 05:21:44] Production.INFO: Invoice SubTotal 38.870000 [2025-01-07 05:21:44] Production.INFO: Invoice DetTotal 38.87 [2025-01-07 05:21:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="DMCI" [2025-01-07 05:21:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-07 05:21:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-07 05:21:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-07 05:21:55] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension (DMCi)",Quantity : 5,UnitAmount : 5.000000,LineAmount : 25.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional Toll Free DID (18336210750)",Quantity : 1,UnitAmount : 5.000000,LineAmount : 5.000000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Loyalty discount - $10/month - Never expires (XR)",Quantity : 1,UnitAmount : -10.000000,LineAmount : -10.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Allows Microsoft Teams app to be used to make and receive calls via Cloud Phone.",Quantity : 3,UnitAmount : 6.290000,LineAmount : 18.870000} [2025-01-07 05:21:58] Production.INFO: ==== result ===== [2025-01-07 05:21:58] Production.INFO: { "Id": "d2284864-cf8b-417c-a350-2dde827769db", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1736245318505)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "611067f9-a954-48fe-90fd-84138140e056", "InvoiceNumber": "INV11188", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 43.92, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "7bc9d577-a1e5-4866-a22c-25fb311cbded", "ContactStatus": "ACTIVE", "Name": "DMCI", "FirstName": "Prasad", "LastName": "Gopinath", "EmailAddress": "prasad@dmci.ca", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "AddressLine1": "1448 Lawrence Ave. East", "AddressLine2": "Suite 303", "AddressLine3": "", "AddressLine4": "", "City": "North York", "Region": "ON", "PostalCode": "M4A2V6", "Country": "Canada", "AttentionTo": "Prasad Gopinath" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "(416) 4258001", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "4164258001,4201", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "6478893297", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1629352418927+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "DefaultCurrency": "CAD", "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-12-10T00:00:00", "Date": "\/Date(1733788800000+0000)\/", "DueDateString": "2025-01-09T00:00:00", "DueDate": "\/Date(1736380800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "License for a Pay As You Go Cloud Phone extension (DMCi)", "UnitAmount": 5.00, "TaxType": "TAX020", "TaxAmount": 3.25, "LineAmount": 25.00, "AccountCode": "203", "Tracking": [], "Quantity": 5.0000, "DiscountRate": 0.00, "LineItemID": "eb972620-01dc-4564-96c3-b3a30e9265b7", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional Toll Free DID (18336210750)", "UnitAmount": 5.00, "TaxType": "TAX020", "TaxAmount": 0.65, "LineAmount": 5.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "0c0d9740-6078-4270-ba3e-17ca5d39df12", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Loyalty discount - $10/month - Never expires (XR)", "UnitAmount": -10.00, "TaxType": "TAX020", "TaxAmount": -1.30, "LineAmount": -10.00, "AccountCode": "303", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "2217945d-a152-4d0b-8d8e-3651341a309a", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Allows Microsoft Teams app to be used to make and receive calls via Cloud Phone.", "UnitAmount": 6.29, "TaxType": "TAX020", "TaxAmount": 2.45, "LineAmount": 18.87, "AccountCode": "203", "Tracking": [], "Quantity": 3.0000, "LineItemID": "9e72909a-17a1-434c-a5e3-38aec5cc318a", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 38.87, "TotalTax": 5.05, "Total": 43.92, "UpdatedDateUTC": "\/Date(1736245318427+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-07 05:21:58] Production.INFO: -- Create Invoice id --611067f9-a954-48fe-90fd-84138140e056 [2025-01-07 05:21:58] Production.INFO: -- Create Invoice Done -- [2025-01-07 05:21:58] Production.INFO: -- Xero End Inovice -- [2025-01-07 05:21:58] Production.INFO: ==5176== Releasing lock... [2025-01-07 05:21:58] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10430 #Stops# [2025-01-07 05:21:58] Production.INFO: 32.5 MB #Memory Used#