[2025-01-07 05:45:03] Production.INFO: -- Xero Api Check -- [2025-01-07 05:45: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] => 1.292778 [namelookup_time] => 0.544679 [connect_time] => 0.628836 [pretransfer_time] => 1.042926 [size_upload] => 82 [size_download] => 2755 [speed_download] => 2131 [speed_upload] => 63 [download_content_length] => 2755 [upload_content_length] => 82 [starttransfer_time] => 1.29274 [redirect_time] => 0 [redirect_url] => [primary_ip] => 2.22.251.42 [certinfo] => Array ( ) [primary_port] => 443 [local_ip] => 54.39.180.235 [local_port] => 35620 ) [2025-01-07 05:45:04] Production.INFO: -- connection successfully here --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDY3MDQsImV4cCI6MTczNjI0NzAwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ2NzA0LCJhdF9oYXNoIjoiLXVVejJza0lQSDlEbjFLQTNrR3pMZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIi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191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.gbzGPeIDgaz2MleNcbK7bY4q1NzQbbCfPfgIO2lqsQVa51YjAGKCP0qcKFrjMTtYegtVa8ITPT6Cn1KgaYTA8cgmuWvxoxKj1oRGSETm4e1lKe7BeScrQq1-W1vZ8BrRuQa406D-pflZJcvxiC3WcEyTabzV8tUJ-7pexPEdGodUfLgmSDJQTSLg3IdFkHVmfjrJwobFCULCIybSxjmGAag_75ADzzmHdcucCb-ChIn1eu2Q8wlf8w4F7xAgH5ya2q9ec2PlMhW5O4YDxCTYod9fvSO-LXzcZZ5eXFZ3SV3BF5fU5xFVvlsMEVcsgEPn7ok0LufRNkqSd7GcS-c7mQ [expires_in] => 1800 [token_type] => Bearer [refresh_token] => T_nGjSbaqREZMf8R0NzdrUIvKE0vgA6qDgiowU4oAYU [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-01-07 05:45:04] Production.INFO: -- connection successfully --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2Nzcy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fYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.gbzGPeIDgaz2MleNcbK7bY4q1NzQbbCfPfgIO2lqsQVa51YjAGKCP0qcKFrjMTtYegtVa8ITPT6Cn1KgaYTA8cgmuWvxoxKj1oRGSETm4e1lKe7BeScrQq1-W1vZ8BrRuQa406D-pflZJcvxiC3WcEyTabzV8tUJ-7pexPEdGodUfLgmSDJQTSLg3IdFkHVmfjrJwobFCULCIybSxjmGAag_75ADzzmHdcucCb-ChIn1eu2Q8wlf8w4F7xAgH5ya2q9ec2PlMhW5O4YDxCTYod9fvSO-LXzcZZ5eXFZ3SV3BF5fU5xFVvlsMEVcsgEPn7ok0LufRNkqSd7GcS-c7mQ [expires_in] => 1800 [token_type] => Bearer [refresh_token] => T_nGjSbaqREZMf8R0NzdrUIvKE0vgA6qDgiowU4oAYU [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-01-07 05:45:04] Production.INFO: AccountID 98 [2025-01-07 05:45:04] Production.INFO: AccountName Dominos 10537 (Brandon Meyers) [2025-01-07 05:45:04] Production.INFO: Checkcustomer [2025-01-07 05:45:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010537%20%28Brandon%20Meyers%29" [2025-01-07 05:45:07] Production.INFO: Contact id print CheckCustomer Case===e432f2ff-87d1-4a0f-b87d-a33325db6e89 [2025-01-07 05:45:07] Production.INFO: -- count --1 [2025-01-07 05:45:07] Production.INFO: AccountID 100 [2025-01-07 05:45:07] Production.INFO: AccountName Dominos 10538 (Waqas Ayaz) [2025-01-07 05:45:07] Production.INFO: Checkcustomer [2025-01-07 05:45:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010538%20%28Waqas%20Ayaz%29" [2025-01-07 05:45:09] Production.INFO: Contact id print CheckCustomer Case===7b571efd-034b-4c11-82c7-5ed343693624 [2025-01-07 05:45:09] Production.INFO: -- count --1 [2025-01-07 05:45:09] Production.INFO: AccountID 111 [2025-01-07 05:45:09] Production.INFO: AccountName Dominos 10545 (Mohan Kantha) [2025-01-07 05:45:09] Production.INFO: Checkcustomer [2025-01-07 05:45:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010545%20%28Mohan%20Kantha%29" [2025-01-07 05:45:11] Production.INFO: Contact id print CheckCustomer Case===922fdab1-eecb-4982-8db6-fe1325f04d0d [2025-01-07 05:45:11] Production.INFO: -- count --1 [2025-01-07 05:45:11] Production.INFO: AccountID 111 [2025-01-07 05:45:11] Production.INFO: AccountName Dominos 10545 (Mohan Kantha) [2025-01-07 05:45:11] Production.INFO: Checkcustomer [2025-01-07 05:45:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010545%20%28Mohan%20Kantha%29" [2025-01-07 05:45:14] Production.INFO: Contact id print CheckCustomer Case===922fdab1-eecb-4982-8db6-fe1325f04d0d [2025-01-07 05:45:14] Production.INFO: -- count --1 [2025-01-07 05:45:14] Production.INFO: AccountID 123 [2025-01-07 05:45:14] Production.INFO: AccountName Dominos 10547 (Nathan Krishnan) [2025-01-07 05:45:14] Production.INFO: Checkcustomer [2025-01-07 05:45:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010547%20%28Nathan%20Krishnan%29" [2025-01-07 05:45:18] Production.INFO: Contact id print CheckCustomer Case===b7a54595-13f3-43f4-ba4f-ba957a026442 [2025-01-07 05:45:18] Production.INFO: -- count --1 [2025-01-07 05:45:18] Production.INFO: AccountID 114 [2025-01-07 05:45:18] Production.INFO: AccountName Dominos 10552 (Werner Lomker) [2025-01-07 05:45:18] Production.INFO: Checkcustomer [2025-01-07 05:45:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010552%20%28Werner%20Lomker%29" [2025-01-07 05:45:20] Production.INFO: Contact id print CheckCustomer Case===6f5d3631-ded1-4310-ab70-a39a8b602341 [2025-01-07 05:45:20] Production.INFO: -- count --1 [2025-01-07 05:45:20] Production.INFO: -- Xero Add Inovice -- [2025-01-07 05:45:20] Production.INFO: CheckInvoice xerov2: INV11193 [2025-01-07 05:45:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11193 [2025-01-07 05:45:23] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 05:45:23] Production.INFO: Invoice SubTotal 57.500000 [2025-01-07 05:45:23] Production.INFO: Invoice DetTotal 57.5 [2025-01-07 05:45:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010537%20%28Brandon%20Meyers%29" [2025-01-07 05:45:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-07 05:45:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-07 05:45:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-07 05:45:33] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 55.000000,LineAmount : 55.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (12264580100 - 316 Suncoast Dr. E. Unit C Goderich, On N7A 4N7, Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-01-07 05:45:36] Production.INFO: ==== result ===== [2025-01-07 05:45:36] Production.INFO: { "Id": "f8aea64f-0303-48c1-8c2f-6c7a1b131134", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1736246736656)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "eafb530a-fdca-4827-b18e-1f2743e083a4", "InvoiceNumber": "INV11193", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 64.98, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "e432f2ff-87d1-4a0f-b87d-a33325db6e89", "ContactStatus": "ACTIVE", "Name": "Dominos 10537 (Brandon Meyers)", "FirstName": "Brandon", "LastName": "Meyers", "EmailAddress": "brandongordonmeyers@gmail.com", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(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-11T00:00:00", "Date": "\/Date(1733875200000+0000)\/", "DueDateString": "2025-01-10T00:00:00", "DueDate": "\/Date(1736467200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Restaurant - 4 Line Flat Rate", "UnitAmount": 55.00, "TaxType": "TAX020", "TaxAmount": 7.15, "LineAmount": 55.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "e6c8377e-b83d-4ae7-9079-5d3b2cd250a0", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (12264580100 - 316 Suncoast Dr. E. Unit C Goderich, On N7A 4N7, Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "ccb4bb08-4abb-44ab-a0e1-d45460f0ec02", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 57.50, "TotalTax": 7.48, "Total": 64.98, "UpdatedDateUTC": "\/Date(1736246736577+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-07 05:45:36] Production.INFO: -- Create Invoice id --eafb530a-fdca-4827-b18e-1f2743e083a4 [2025-01-07 05:45:36] Production.INFO: -- Create Invoice Done -- [2025-01-07 05:45:36] Production.INFO: CheckInvoice xerov2: INV11255 [2025-01-07 05:45:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11255 [2025-01-07 05:45:39] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 05:45:39] Production.INFO: Invoice SubTotal 70.000000 [2025-01-07 05:45:39] Production.INFO: Invoice DetTotal 70 [2025-01-07 05:45:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010538%20%28Waqas%20Ayaz%29" [2025-01-07 05:45:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-07 05:45:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-07 05:45:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-07 05:45:49] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 70.000000,LineAmount : 70.000000} [2025-01-07 05:45:52] Production.INFO: ==== result ===== [2025-01-07 05:45:52] Production.INFO: { "Id": "392ccc37-dc3d-483f-a0c6-c0f506ab60b5", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1736246752004)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "b4e5a0aa-fcb4-4666-80e2-4479295a4a2c", "InvoiceNumber": "INV11255", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 79.10, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "7b571efd-034b-4c11-82c7-5ed343693624", "ContactStatus": "ACTIVE", "Name": "Dominos 10538 (Waqas Ayaz)", "FirstName": "Waqas", "LastName": "Ayaz", "EmailAddress": "dominoslakeshore@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(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-21T00:00:00", "Date": "\/Date(1734739200000+0000)\/", "DueDateString": "2025-01-20T00:00:00", "DueDate": "\/Date(1737331200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Restaurant - 4 Line Flat Rate", "UnitAmount": 70.00, "TaxType": "TAX020", "TaxAmount": 9.10, "LineAmount": 70.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "c835d681-d90b-433b-9f33-298e3f9fe848", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 70.00, "TotalTax": 9.10, "Total": 79.10, "UpdatedDateUTC": "\/Date(1736246751927+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-07 05:45:52] Production.INFO: -- Create Invoice id --b4e5a0aa-fcb4-4666-80e2-4479295a4a2c [2025-01-07 05:45:52] Production.INFO: -- Create Invoice Done -- [2025-01-07 05:45:52] Production.INFO: CheckInvoice xerov2: INV11106 [2025-01-07 05:45:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11106 [2025-01-07 05:45:54] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 05:45:54] Production.INFO: Invoice SubTotal 305.480000 [2025-01-07 05:45:54] Production.INFO: Invoice DetTotal 305.48 [2025-01-07 05:45:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010545%20%28Mohan%20Kantha%29" [2025-01-07 05:45:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-07 05:45:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-07 05:46:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-07 05:46:03] 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 (13653950005 - 5402 Main St.Unit 4Stouffville, Ontario L4A 1H3)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Bundle Discount - $15/month",Quantity : 1,UnitAmount : -15.000000,LineAmount : -15.000000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "Cable Internet Service (5402 Main St.Unit 4Stouffville, Ontario L4A 1H3)",Quantity : 1,UnitAmount : 191.400000,LineAmount : 191.400000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "LTE Internet Failover Service (5402 Main St.Unit 4Stouffville, Ontario L4A 1H3)",Quantity : 1,UnitAmount : 51.580000,LineAmount : 51.580000} [2025-01-07 05:46:06] Production.INFO: ==== result ===== [2025-01-07 05:46:06] Production.INFO: { "Id": "2b7de284-03dd-4aeb-a49d-b962572220de", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1736246766385)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "c25f97b1-264d-47e9-a08d-b9b1692e69de", "InvoiceNumber": "INV11106", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 345.20, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "922fdab1-eecb-4982-8db6-fe1325f04d0d", "ContactStatus": "ACTIVE", "Name": "Dominos 10545 (Mohan Kantha)", "FirstName": "Mohan", "LastName": "Kantha", "EmailAddress": "mohan_kantha@rogers.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(1580835320340+0000)\/", "ContactGroups": [], "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": "7b38f51f-d26a-4967-923a-9de30ddc8c4e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (13653950005 - 5402 Main St.Unit 4Stouffville, Ontario L4A 1H3)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "503e2ada-a76b-4da7-9a19-5f6475ce7a80", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Bundle Discount - $15/month", "UnitAmount": -15.00, "TaxType": "TAX020", "TaxAmount": -1.95, "LineAmount": -15.00, "AccountCode": "303", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "b76c7f22-7b69-411b-87c9-9dcdca6c4447", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Cable Internet Service (5402 Main St.Unit 4Stouffville, Ontario L4A 1H3)", "UnitAmount": 191.40, "TaxType": "TAX020", "TaxAmount": 24.88, "LineAmount": 191.40, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "6ac477b2-382d-443e-9007-ccb2ade3daad", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "LTE Internet Failover Service (5402 Main St.Unit 4Stouffville, Ontario L4A 1H3)", "UnitAmount": 51.58, "TaxType": "TAX020", "TaxAmount": 6.71, "LineAmount": 51.58, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "c8b05952-59a7-4bc0-bcb2-d7d7ac4242c2", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 305.48, "TotalTax": 39.72, "Total": 345.20, "UpdatedDateUTC": "\/Date(1736246766337+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-07 05:46:06] Production.INFO: -- Create Invoice id --c25f97b1-264d-47e9-a08d-b9b1692e69de [2025-01-07 05:46:06] Production.INFO: -- Create Invoice Done -- [2025-01-07 05:46:06] Production.INFO: CheckInvoice xerov2: INV11263 [2025-01-07 05:46:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11263 [2025-01-07 05:46:08] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 05:46:08] Production.INFO: Invoice SubTotal 305.480000 [2025-01-07 05:46:08] Production.INFO: Invoice DetTotal 305.48 [2025-01-07 05:46:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010545%20%28Mohan%20Kantha%29" [2025-01-07 05:46:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-07 05:46:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-07 05:46:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-07 05:46:17] 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 (13653950005 - 5402 Main St.Unit 4Stouffville, Ontario L4A 1H3)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Bundle Discount - $15/month",Quantity : 1,UnitAmount : -15.000000,LineAmount : -15.000000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "Cable Internet Service (5402 Main St.Unit 4Stouffville, Ontario L4A 1H3)",Quantity : 1,UnitAmount : 191.400000,LineAmount : 191.400000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "LTE Internet Failover Service (5402 Main St.Unit 4Stouffville, Ontario L4A 1H3)",Quantity : 1,UnitAmount : 51.580000,LineAmount : 51.580000} [2025-01-07 05:46:21] Production.INFO: ==== result ===== [2025-01-07 05:46:21] Production.INFO: { "Id": "0d925044-9486-4cc5-9e67-464a9d016e8d", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1736246781224)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "e6bb95c0-8b70-4c31-8c78-931e2af53fd8", "InvoiceNumber": "INV11263", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 345.20, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "922fdab1-eecb-4982-8db6-fe1325f04d0d", "ContactStatus": "ACTIVE", "Name": "Dominos 10545 (Mohan Kantha)", "FirstName": "Mohan", "LastName": "Kantha", "EmailAddress": "mohan_kantha@rogers.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(1580835320340+0000)\/", "ContactGroups": [], "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": "271d7f03-6c7c-474e-8c68-1e2a1ccf483b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (13653950005 - 5402 Main St.Unit 4Stouffville, Ontario L4A 1H3)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "10b4f9ad-1cbf-4ef1-8fb5-fcab65366233", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Bundle Discount - $15/month", "UnitAmount": -15.00, "TaxType": "TAX020", "TaxAmount": -1.95, "LineAmount": -15.00, "AccountCode": "303", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "295dfc8d-1c19-40e6-9e66-7fe0d2dca1c4", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Cable Internet Service (5402 Main St.Unit 4Stouffville, Ontario L4A 1H3)", "UnitAmount": 191.40, "TaxType": "TAX020", "TaxAmount": 24.88, "LineAmount": 191.40, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "8c9a99e7-0d2f-4797-916e-42c46e67c72c", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "LTE Internet Failover Service (5402 Main St.Unit 4Stouffville, Ontario L4A 1H3)", "UnitAmount": 51.58, "TaxType": "TAX020", "TaxAmount": 6.71, "LineAmount": 51.58, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "14f4bbf6-ddcf-43d8-8128-6e821c3876e2", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 305.48, "TotalTax": 39.72, "Total": 345.20, "UpdatedDateUTC": "\/Date(1736246781163+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-07 05:46:21] Production.INFO: -- Create Invoice id --e6bb95c0-8b70-4c31-8c78-931e2af53fd8 [2025-01-07 05:46:21] Production.INFO: -- Create Invoice Done -- [2025-01-07 05:46:21] Production.INFO: CheckInvoice xerov2: INV11196 [2025-01-07 05:46:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11196 [2025-01-07 05:46:23] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 05:46:23] Production.INFO: Invoice SubTotal 77.500000 [2025-01-07 05:46:23] Production.INFO: Invoice DetTotal 77.5 [2025-01-07 05:46:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010547%20%28Nathan%20Krishnan%29" [2025-01-07 05:46:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-07 05:46:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-07 05:46:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-07 05:46:34] 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 (14162515251 - 3345 LAKESHORE BLVD W ETOBICOKE, ON M8W1N1 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-01-07 05:46:37] Production.INFO: ==== result ===== [2025-01-07 05:46:37] Production.INFO: { "Id": "41dde38a-3b52-4819-b3fd-84a3795292be", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1736246796997)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "68193248-e497-41f0-a179-c4c954b7a645", "InvoiceNumber": "INV11196", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 87.58, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "b7a54595-13f3-43f4-ba4f-ba957a026442", "ContactStatus": "ACTIVE", "Name": "Dominos 10547 (Nathan Krishnan)", "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(1629352418927+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "DefaultCurrency": "CAD", "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-12-11T00:00:00", "Date": "\/Date(1733875200000+0000)\/", "DueDateString": "2025-01-10T00:00:00", "DueDate": "\/Date(1736467200000+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": "3deacf3e-cd70-498b-9697-d5ed23ea45e0", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (14162515251 - 3345 LAKESHORE BLVD W ETOBICOKE, ON M8W1N1 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "1429f7c3-964f-4b19-93fc-b5dc9d83e2d6", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 77.50, "TotalTax": 10.08, "Total": 87.58, "UpdatedDateUTC": "\/Date(1736246796933+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-07 05:46:37] Production.INFO: -- Create Invoice id --68193248-e497-41f0-a179-c4c954b7a645 [2025-01-07 05:46:37] Production.INFO: -- Create Invoice Done -- [2025-01-07 05:46:37] Production.INFO: CheckInvoice xerov2: INV11130 [2025-01-07 05:46:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11130 [2025-01-07 05:46:39] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 05:46:39] Production.INFO: Invoice SubTotal 96.510000 [2025-01-07 05:46:39] Production.INFO: Invoice DetTotal 96.51 [2025-01-07 05:46:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010552%20%28Werner%20Lomker%29" [2025-01-07 05:46:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-07 05:46:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-07 05:46:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-07 05:46:50] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "VDSL Internet Service - 50x10mbps (3068 Mayfield Rd., Brampton, ON)",Quantity : 1,UnitAmount : 96.510000,LineAmount : 96.510000} [2025-01-07 05:46:53] Production.INFO: ==== result ===== [2025-01-07 05:46:53] Production.INFO: { "Id": "759cab09-e956-4924-8476-8458dcc25456", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1736246813054)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "b339896d-ee69-41c0-afa9-6758b07530d9", "InvoiceNumber": "INV11130", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 109.06, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "6f5d3631-ded1-4310-ab70-a39a8b602341", "ContactStatus": "ACTIVE", "Name": "Dominos 10552 (Werner Lomker)", "FirstName": "Werner", "LastName": "Lomker", "EmailAddress": "akaiserbun@sympatico.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(1580835559637+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": "VDSL Internet Service - 50x10mbps (3068 Mayfield Rd., Brampton, ON)", "UnitAmount": 96.51, "TaxType": "TAX020", "TaxAmount": 12.55, "LineAmount": 96.51, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "a574f06d-00e8-432b-a7a2-f85f95a6b424", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 96.51, "TotalTax": 12.55, "Total": 109.06, "UpdatedDateUTC": "\/Date(1736246812977+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-07 05:46:53] Production.INFO: -- Create Invoice id --b339896d-ee69-41c0-afa9-6758b07530d9 [2025-01-07 05:46:53] Production.INFO: -- Create Invoice Done -- [2025-01-07 05:46:53] Production.INFO: -- Xero End Inovice -- [2025-01-07 05:46:53] Production.INFO: ==7333== Releasing lock... [2025-01-07 05:46:53] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10437 #Stops# [2025-01-07 05:46:53] Production.INFO: 32.5 MB #Memory Used#