[2025-01-07 05:07:03] Production.INFO: -- Xero Api Check -- [2025-01-07 05:07: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.468337 [namelookup_time] => 0.545887 [connect_time] => 0.645774 [pretransfer_time] => 1.059473 [size_upload] => 82 [size_download] => 2755 [speed_download] => 1876 [speed_upload] => 55 [download_content_length] => 2755 [upload_content_length] => 82 [starttransfer_time] => 1.468292 [redirect_time] => 0 [redirect_url] => [primary_ip] => 2.22.251.42 [certinfo] => Array ( ) [primary_port] => 443 [local_ip] => 54.39.180.235 [local_port] => 34662 ) [2025-01-07 05:07:05] Production.INFO: -- connection successfully here --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDQ0MjQsImV4cCI6MTczNjI0NDcyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ0NDI0LCJhdF9oYXNoIjoieS1GMFZNc1dtR3B3dGVBOGQxNGkzQSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1Mm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c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.XaAh52zOfVS0gPqw231J8aspjyhAVEankeWKPUMiel-PleZIZM6aI8osQCYNuZw65k3zWApSgOSRwcxfP2c6id94A1CGqPryl5tJrm6eJ_mB3TPEX8l6NiKEbq1QVShRMSxynxIxZhj08udw8rKP3djj6Ehhi_gg_cvdImvXMhsx9aDgM4idKhPm2LKaGtW52f7zQNPtKVaqSh-6AbrbrfqlyUIi8SbpqIw86vuTWj1CsaYWZpzu5vUFd0nC-DAiOjlkHKr2qYpmFZi2aus_awGZlMhi4cgNZ_r_xQeq-fdGaKmIIAw6-5stJrm5LQrI5mWdcmVA7eohNGccMOW0dg [expires_in] => 1800 [token_type] => Bearer [refresh_token] => Ea7A6-jkUcTdM2EuS00b-ZyTP16SdUiiSEZePE0vJTY [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-01-07 05:07:05] Production.INFO: -- connection successfully --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2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FtciI6WyJwd2QiXX0.XaAh52zOfVS0gPqw231J8aspjyhAVEankeWKPUMiel-PleZIZM6aI8osQCYNuZw65k3zWApSgOSRwcxfP2c6id94A1CGqPryl5tJrm6eJ_mB3TPEX8l6NiKEbq1QVShRMSxynxIxZhj08udw8rKP3djj6Ehhi_gg_cvdImvXMhsx9aDgM4idKhPm2LKaGtW52f7zQNPtKVaqSh-6AbrbrfqlyUIi8SbpqIw86vuTWj1CsaYWZpzu5vUFd0nC-DAiOjlkHKr2qYpmFZi2aus_awGZlMhi4cgNZ_r_xQeq-fdGaKmIIAw6-5stJrm5LQrI5mWdcmVA7eohNGccMOW0dg [expires_in] => 1800 [token_type] => Bearer [refresh_token] => Ea7A6-jkUcTdM2EuS00b-ZyTP16SdUiiSEZePE0vJTY [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-01-07 05:07:05] Production.INFO: AccountID 65 [2025-01-07 05:07:05] Production.INFO: AccountName AOPG Inc. [2025-01-07 05:07:05] Production.INFO: Checkcustomer [2025-01-07 05:07:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="AOPG%20Inc." [2025-01-07 05:07:07] Production.INFO: Contact id print CheckCustomer Case===d7433a1b-abec-492c-bcf0-79c422ee5e45 [2025-01-07 05:07:07] Production.INFO: -- count --1 [2025-01-07 05:07:07] Production.INFO: AccountID 115 [2025-01-07 05:07:07] Production.INFO: AccountName AromaCafeBayviewVillage [2025-01-07 05:07:07] Production.INFO: Checkcustomer [2025-01-07 05:07:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="AromaCafeBayviewVillage" [2025-01-07 05:07:09] Production.INFO: Contact id print CheckCustomer Case===60b24dce-a269-4d1e-8535-3506428c9ffb [2025-01-07 05:07:09] Production.INFO: -- count --1 [2025-01-07 05:07:09] Production.INFO: AccountID 160 [2025-01-07 05:07:09] Production.INFO: AccountName Avani Rolls & Bowls [2025-01-07 05:07:09] Production.INFO: Checkcustomer [2025-01-07 05:07:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Avani%20Rolls%20%26%20Bowls" [2025-01-07 05:07:13] Production.INFO: Contact id print CheckCustomer Case===08d693ac-f648-4d13-baf5-18b2b59d959f [2025-01-07 05:07:13] Production.INFO: -- count --1 [2025-01-07 05:07:13] Production.INFO: AccountID 160 [2025-01-07 05:07:13] Production.INFO: AccountName Avani Rolls & Bowls [2025-01-07 05:07:13] Production.INFO: Checkcustomer [2025-01-07 05:07:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Avani%20Rolls%20%26%20Bowls" [2025-01-07 05:07:15] Production.INFO: Contact id print CheckCustomer Case===08d693ac-f648-4d13-baf5-18b2b59d959f [2025-01-07 05:07:15] Production.INFO: -- count --1 [2025-01-07 05:07:15] Production.INFO: AccountID 79 [2025-01-07 05:07:15] Production.INFO: AccountName Axxima [2025-01-07 05:07:15] Production.INFO: Checkcustomer [2025-01-07 05:07:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Axxima" [2025-01-07 05:07:18] Production.INFO: Contact id print CheckCustomer Case===5a62af79-4890-44a7-9d0e-f81cfe9497c1 [2025-01-07 05:07:18] Production.INFO: -- count --1 [2025-01-07 05:07:18] Production.INFO: -- Xero Add Inovice -- [2025-01-07 05:07:18] Production.INFO: CheckInvoice xerov2: INV11184 [2025-01-07 05:07:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11184 [2025-01-07 05:07:21] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 05:07:21] Production.INFO: Invoice SubTotal 23.760000 [2025-01-07 05:07:21] Production.INFO: Invoice DetTotal 23.76 [2025-01-07 05:07:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="AOPG%20Inc." [2025-01-07 05:07:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-07 05:07:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-07 05:07:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-07 05:07:32] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 11-09-2024 To 12-08-2024",Quantity : 1,UnitAmount : 0.260000,LineAmount : 0.260000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 3,UnitAmount : 7.000000,LineAmount : 21.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (16473177297 - 69 KINGSGATE CRES MOUNT ALBERT, ON L0G1M0)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-01-07 05:07:35] Production.INFO: ==== result ===== [2025-01-07 05:07:35] Production.INFO: { "Id": "b2893f65-7b2c-4a0e-9a3f-b8f4816ee574", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1736244455245)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "2ab4f2cf-2fd5-4e73-beb8-d5af84508bb4", "InvoiceNumber": "INV11184", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 26.85, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "d7433a1b-abec-492c-bcf0-79c422ee5e45", "ContactStatus": "ACTIVE", "Name": "AOPG Inc.", "FirstName": "John", "LastName": "Caswell", "EmailAddress": "jec@aopginc.com", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "AddressLine1": "69 Kingsgate Crescent", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Mount Albert", "Region": "ON", "PostalCode": "L0G 1M0", "Country": "Canada", "AttentionTo": "John Caswell" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "(647) 3177297", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "6473177297", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1487615948263+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-12-09T00:00:00", "Date": "\/Date(1733702400000+0000)\/", "DueDateString": "2025-01-08T00:00:00", "DueDate": "\/Date(1736294400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 11-09-2024 To 12-08-2024", "UnitAmount": 0.26, "TaxType": "TAX020", "TaxAmount": 0.03, "LineAmount": 0.26, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "51b7dabb-6150-4881-89d8-d4e221dfb236", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for a Pay As You Go Cloud Phone extension", "UnitAmount": 7.00, "TaxType": "TAX020", "TaxAmount": 2.73, "LineAmount": 21.00, "AccountCode": "203", "Tracking": [], "Quantity": 3.0000, "DiscountRate": 0.00, "LineItemID": "8468eb7d-1066-4f9b-81f2-380c5251485b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (16473177297 - 69 KINGSGATE CRES MOUNT ALBERT, ON L0G1M0)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "89b02100-8721-4115-b5e1-caca78d65234", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 23.76, "TotalTax": 3.09, "Total": 26.85, "UpdatedDateUTC": "\/Date(1736244455150+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-07 05:07:35] Production.INFO: -- Create Invoice id --2ab4f2cf-2fd5-4e73-beb8-d5af84508bb4 [2025-01-07 05:07:35] Production.INFO: -- Create Invoice Done -- [2025-01-07 05:07:35] Production.INFO: CheckInvoice xerov2: INV11256 [2025-01-07 05:07:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11256 [2025-01-07 05:07:38] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 05:07:38] Production.INFO: Invoice SubTotal 80.460000 [2025-01-07 05:07:38] Production.INFO: Invoice DetTotal 80.46 [2025-01-07 05:07:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="AromaCafeBayviewVillage" [2025-01-07 05:07:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-07 05:07:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-07 05:07:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-07 05:07:47] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "LTE Internet Failover Service (2901 Bayview Ave, Unit A11, North York, ON M2K 1E6) - 2GB Usage Included",Quantity : 1,UnitAmount : 80.460000,LineAmount : 80.460000} [2025-01-07 05:07:50] Production.INFO: ==== result ===== [2025-01-07 05:07:50] Production.INFO: { "Id": "b670c7e3-7906-4c45-a23c-d4964f54028f", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1736244470329)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "da8ab048-5b87-4348-90b7-f07a3949e550", "InvoiceNumber": "INV11256", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 90.92, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "60b24dce-a269-4d1e-8535-3506428c9ffb", "ContactStatus": "ACTIVE", "Name": "AromaCafeBayviewVillage", "FirstName": "Azadeh", "LastName": "Matinsadeshi", "EmailAddress": "azadeh@aroma.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(1580836759787+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-12-22T00:00:00", "Date": "\/Date(1734825600000+0000)\/", "DueDateString": "2025-01-21T00:00:00", "DueDate": "\/Date(1737417600000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "LTE Internet Failover Service (2901 Bayview Ave, Unit A11, North York, ON M2K 1E6) - 2GB Usage Included", "UnitAmount": 80.46, "TaxType": "TAX020", "TaxAmount": 10.46, "LineAmount": 80.46, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "c38752ed-e2d2-4173-9ec1-8469ff940a22", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 80.46, "TotalTax": 10.46, "Total": 90.92, "UpdatedDateUTC": "\/Date(1736244470250+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-07 05:07:50] Production.INFO: -- Create Invoice id --da8ab048-5b87-4348-90b7-f07a3949e550 [2025-01-07 05:07:50] Production.INFO: -- Create Invoice Done -- [2025-01-07 05:07:50] Production.INFO: CheckInvoice xerov2: INV11137 [2025-01-07 05:07:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11137 [2025-01-07 05:07:52] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 05:07:52] Production.INFO: Invoice SubTotal 40.000000 [2025-01-07 05:07:52] Production.INFO: Invoice DetTotal 40 [2025-01-07 05:07:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Avani%20Rolls%20%26%20Bowls" [2025-01-07 05:07:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-07 05:07:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-07 05:07:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-07 05:08:02] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Restaurant - 2 Line Flat Rate",Quantity : 1,UnitAmount : 37.500000,LineAmount : 37.500000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (5198068000 - 802 Main Street East 6 Shelburne, ON L0N 1S4 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-01-07 05:08:05] Production.INFO: ==== result ===== [2025-01-07 05:08:05] Production.INFO: { "Id": "45ad6284-582e-4c6b-9477-cb97ffd8da18", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1736244485338)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "e79349e9-8611-40a0-ba83-e1907490ed65", "InvoiceNumber": "INV11137", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 45.21, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "08d693ac-f648-4d13-baf5-18b2b59d959f", "ContactStatus": "ACTIVE", "Name": "Avani Rolls & Bowls", "FirstName": "Rishi", "LastName": "Kakar", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1666687333697+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-12-01T00:00:00", "Date": "\/Date(1733011200000+0000)\/", "DueDateString": "2024-12-31T00:00:00", "DueDate": "\/Date(1735603200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Restaurant - 2 Line Flat Rate", "UnitAmount": 37.50, "TaxType": "TAX020", "TaxAmount": 4.88, "LineAmount": 37.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "ae930c2d-8d02-47a6-9450-1efc14227bcb", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (5198068000 - 802 Main Street East 6 Shelburne, ON L0N 1S4 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "ec1fdaad-6c13-4a3f-a7f7-2de555d7e756", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 40.00, "TotalTax": 5.21, "Total": 45.21, "UpdatedDateUTC": "\/Date(1736244485150+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-07 05:08:05] Production.INFO: -- Create Invoice id --e79349e9-8611-40a0-ba83-e1907490ed65 [2025-01-07 05:08:05] Production.INFO: -- Create Invoice Done -- [2025-01-07 05:08:05] Production.INFO: CheckInvoice xerov2: INV11295 [2025-01-07 05:08:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11295 [2025-01-07 05:08:07] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 05:08:08] Production.INFO: Invoice SubTotal 40.000000 [2025-01-07 05:08:08] Production.INFO: Invoice DetTotal 40 [2025-01-07 05:08:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Avani%20Rolls%20%26%20Bowls" [2025-01-07 05:08:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-07 05:08:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-07 05:08:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-07 05:08:18] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Restaurant - 2 Line Flat Rate",Quantity : 1,UnitAmount : 37.500000,LineAmount : 37.500000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (5198068000 - 802 Main Street East 6 Shelburne, ON L0N 1S4 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-01-07 05:08:21] Production.INFO: ==== result ===== [2025-01-07 05:08:21] Production.INFO: { "Id": "3aacc938-d2cd-422f-b188-6ef4e6527ff9", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1736244500998)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "04b29cab-f536-4917-9daa-ea364be50fdb", "InvoiceNumber": "INV11295", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 45.21, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "08d693ac-f648-4d13-baf5-18b2b59d959f", "ContactStatus": "ACTIVE", "Name": "Avani Rolls & Bowls", "FirstName": "Rishi", "LastName": "Kakar", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1666687333697+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-01T00:00:00", "Date": "\/Date(1735689600000+0000)\/", "DueDateString": "2025-01-31T00:00:00", "DueDate": "\/Date(1738281600000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Restaurant - 2 Line Flat Rate", "UnitAmount": 37.50, "TaxType": "TAX020", "TaxAmount": 4.88, "LineAmount": 37.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "21988965-f79e-4d22-9588-4ef599f32747", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (5198068000 - 802 Main Street East 6 Shelburne, ON L0N 1S4 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "57db745f-5b3c-4c1f-af6f-4d3e6ee82ac4", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 40.00, "TotalTax": 5.21, "Total": 45.21, "UpdatedDateUTC": "\/Date(1736244500950+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-07 05:08:21] Production.INFO: -- Create Invoice id --04b29cab-f536-4917-9daa-ea364be50fdb [2025-01-07 05:08:21] Production.INFO: -- Create Invoice Done -- [2025-01-07 05:08:21] Production.INFO: CheckInvoice xerov2: INV11147 [2025-01-07 05:08:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11147 [2025-01-07 05:08:23] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 05:08:23] Production.INFO: Invoice SubTotal 173.630000 [2025-01-07 05:08:23] Production.INFO: Invoice DetTotal 173.63 [2025-01-07 05:08:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Axxima" [2025-01-07 05:08:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-07 05:08:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-07 05:08:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-07 05:08:34] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 11-04-2024 To 12-03-2024",Quantity : 1,UnitAmount : 0.630000,LineAmount : 0.630000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 19,UnitAmount : 7.000000,LineAmount : 133.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14506462500 - 2200 Marie-Victorin Road, Suite 201, St. Bruno-de-Montarville, Quebec, J3V 0M2)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional Telephone Numbers",Quantity : 17,UnitAmount : 1.500000,LineAmount : 25.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional Toll Free Telephone Numbers",Quantity : 4,UnitAmount : 3.000000,LineAmount : 12.000000} [2025-01-07 05:08:37] Production.INFO: ==== result ===== [2025-01-07 05:08:37] Production.INFO: { "Id": "51af28ac-7df7-4fe2-bbfc-2f5d9fa2aac3", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1736244517230)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "76c41836-1ca0-4767-9c9b-dc19930546db", "InvoiceNumber": "INV11147", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 196.21, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "5a62af79-4890-44a7-9d0e-f81cfe9497c1", "ContactStatus": "ACTIVE", "Name": "Axxima", "FirstName": "Norma", "LastName": "Ibbetson", "EmailAddress": "normaibbetson@axxima.ca", "BankAccountDetails": "", "AccountsReceivableTaxType": "TAX022", "AccountsPayableTaxType": "TAX022", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "", "AttentionTo": "" }, { "AddressType": "POBOX", "AddressLine1": "36 Toronto Street", "AddressLine2": "Suite 510", "AddressLine3": "", "AddressLine4": "", "City": "Toronto", "Region": "ON", "PostalCode": "M5C 2C5", "Country": "Canada", "AttentionTo": "Norma Ibbetson" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "18557299462", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "4164085294,5294", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1555602837907+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-12-04T00:00:00", "Date": "\/Date(1733270400000+0000)\/", "DueDateString": "2025-01-03T00:00:00", "DueDate": "\/Date(1735862400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 11-04-2024 To 12-03-2024", "UnitAmount": 0.63, "TaxType": "TAX020", "TaxAmount": 0.08, "LineAmount": 0.63, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "e93b24de-778d-4347-9925-632392e68f1c", "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": 17.29, "LineAmount": 133.00, "AccountCode": "203", "Tracking": [], "Quantity": 19.0000, "DiscountRate": 0.00, "LineItemID": "918908b6-1d33-450c-b1fc-cee903539499", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (14506462500 - 2200 Marie-Victorin Road, Suite 201, St. Bruno-de-Montarville, Quebec, J3V 0M2)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "9a105800-3d83-413d-86d5-a6775d2802e7", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional Telephone Numbers", "UnitAmount": 1.50, "TaxType": "TAX020", "TaxAmount": 3.32, "LineAmount": 25.50, "AccountCode": "203", "Tracking": [], "Quantity": 17.0000, "DiscountRate": 0.00, "LineItemID": "bc484f20-e18e-43a7-899d-2614c6870f87", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional Toll Free Telephone Numbers", "UnitAmount": 3.00, "TaxType": "TAX020", "TaxAmount": 1.56, "LineAmount": 12.00, "AccountCode": "203", "Tracking": [], "Quantity": 4.0000, "DiscountRate": 0.00, "LineItemID": "6bf89357-fdfa-4e93-bd58-73a9557af8c0", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 173.63, "TotalTax": 22.58, "Total": 196.21, "UpdatedDateUTC": "\/Date(1736244517160+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-07 05:08:37] Production.INFO: -- Create Invoice id --76c41836-1ca0-4767-9c9b-dc19930546db [2025-01-07 05:08:37] Production.INFO: -- Create Invoice Done -- [2025-01-07 05:08:37] Production.INFO: -- Xero End Inovice -- [2025-01-07 05:08:37] Production.INFO: ==4054== Releasing lock... [2025-01-07 05:08:37] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10424 #Stops# [2025-01-07 05:08:37] Production.INFO: 32.5 MB #Memory Used#