[2025-01-07 05:49:04] Production.INFO: -- Xero Api Check -- [2025-01-07 05:49: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] => 855 [request_size] => 352 [filetime] => -1 [ssl_verify_result] => 0 [redirect_count] => 0 [total_time] => 0.82824 [namelookup_time] => 0.261813 [connect_time] => 0.267305 [pretransfer_time] => 0.574823 [size_upload] => 82 [size_download] => 2755 [speed_download] => 3326 [speed_upload] => 99 [download_content_length] => 2755 [upload_content_length] => 82 [starttransfer_time] => 0.828211 [redirect_time] => 0 [redirect_url] => [primary_ip] => 23.53.4.17 [certinfo] => Array ( ) [primary_port] => 443 [local_ip] => 54.39.180.235 [local_port] => 43056 ) [2025-01-07 05:49:05] Production.INFO: -- connection successfully here --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDY5NDUsImV4cCI6MTczNjI0NzI0NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ2OTQ1LCJhdF9oYXNoIjoid09vRnE4WnljQm13Qlp5MWh4anU2ZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIi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VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.IPTtHY3aUMgAtIijQIZmD0Drby2EUZorIru3Ajn79ryIM-aPXoeA2qG6HZVVDreJfFPKgHk-nUtH7Hc0GY54zId5kmSJStWp9e2Lf0skOJR9jpB7mVFAjSZ3NmztK9z8m-VlGx4VyFIs7QIRkRQI28zkB43blxWWSzpDynsYxloN16GOH8ujKqGR_pXv_I5uSouPHLFs6jPyocVLloCjUF6T-AEz5zMhdg8shMshwa7Sf305xV0WxgnGdZLAqIVU7G0SpoykojnXxSmIM9e10YGGu4HK81sNPTL62CumUpIP4cIvXKBsV-hfDZK0uTbLi2APiIkkZDFEd-kU2Kx1vA [expires_in] => 1800 [token_type] => Bearer [refresh_token] => 4SVGx2hKNZzS1dn3HcsdX19_8WQMg5jzrLDejFKzx60 [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-01-07 05:49:05] Production.INFO: -- connection successfully --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2Nz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6WyJwd2QiXX0.IPTtHY3aUMgAtIijQIZmD0Drby2EUZorIru3Ajn79ryIM-aPXoeA2qG6HZVVDreJfFPKgHk-nUtH7Hc0GY54zId5kmSJStWp9e2Lf0skOJR9jpB7mVFAjSZ3NmztK9z8m-VlGx4VyFIs7QIRkRQI28zkB43blxWWSzpDynsYxloN16GOH8ujKqGR_pXv_I5uSouPHLFs6jPyocVLloCjUF6T-AEz5zMhdg8shMshwa7Sf305xV0WxgnGdZLAqIVU7G0SpoykojnXxSmIM9e10YGGu4HK81sNPTL62CumUpIP4cIvXKBsV-hfDZK0uTbLi2APiIkkZDFEd-kU2Kx1vA [expires_in] => 1800 [token_type] => Bearer [refresh_token] => 4SVGx2hKNZzS1dn3HcsdX19_8WQMg5jzrLDejFKzx60 [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-01-07 05:49:05] Production.INFO: AccountID 114 [2025-01-07 05:49:05] Production.INFO: AccountName Dominos 10552 (Werner Lomker) [2025-01-07 05:49:05] Production.INFO: Checkcustomer [2025-01-07 05:49:05] 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:49:07] Production.INFO: Contact id print CheckCustomer Case===6f5d3631-ded1-4310-ab70-a39a8b602341 [2025-01-07 05:49:07] Production.INFO: -- count --1 [2025-01-07 05:49:07] Production.INFO: AccountID 137 [2025-01-07 05:49:07] Production.INFO: AccountName Dominos 10558 (David Mills) [2025-01-07 05:49:07] Production.INFO: Checkcustomer [2025-01-07 05:49:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010558%20%28David%20Mills%29" [2025-01-07 05:49:10] Production.INFO: Contact id print CheckCustomer Case===2149c89a-278c-4dda-ad9d-2a94478559a8 [2025-01-07 05:49:10] Production.INFO: -- count --1 [2025-01-07 05:49:10] Production.INFO: AccountID 139 [2025-01-07 05:49:10] Production.INFO: AccountName Dominos 10560 (Ricky Singh) [2025-01-07 05:49:10] Production.INFO: Checkcustomer [2025-01-07 05:49:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010560%20%28Ricky%20Singh%29" [2025-01-07 05:49:12] Production.INFO: Contact id print CheckCustomer Case===7c24a24f-0252-42cb-b4ca-aa9aa79c4f0b [2025-01-07 05:49:12] Production.INFO: -- count --1 [2025-01-07 05:49:12] Production.INFO: AccountID 138 [2025-01-07 05:49:12] Production.INFO: AccountName Dominos 10567 (Sandeep Chaudhari) [2025-01-07 05:49:12] Production.INFO: Checkcustomer [2025-01-07 05:49:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010567%20%28Sandeep%20Chaudhari%29" [2025-01-07 05:49:15] Production.INFO: Contact id print CheckCustomer Case===e7245c9e-f77f-4765-a131-4eff2704ecf0 [2025-01-07 05:49:15] Production.INFO: -- count --1 [2025-01-07 05:49:15] Production.INFO: AccountID 150 [2025-01-07 05:49:15] Production.INFO: AccountName Dominos 10581 (Ken Hoose) [2025-01-07 05:49:15] Production.INFO: Checkcustomer [2025-01-07 05:49:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010581%20%28Ken%20Hoose%29" [2025-01-07 05:49:18] Production.INFO: Contact id print CheckCustomer Case===07c709b0-937e-40e5-a0d5-b08ea9074e65 [2025-01-07 05:49:18] Production.INFO: -- count --1 [2025-01-07 05:49:18] Production.INFO: AccountID 150 [2025-01-07 05:49:18] Production.INFO: AccountName Dominos 10581 (Ken Hoose) [2025-01-07 05:49:18] Production.INFO: Checkcustomer [2025-01-07 05:49:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010581%20%28Ken%20Hoose%29" [2025-01-07 05:49:21] Production.INFO: Contact id print CheckCustomer Case===07c709b0-937e-40e5-a0d5-b08ea9074e65 [2025-01-07 05:49:21] Production.INFO: -- count --1 [2025-01-07 05:49:21] Production.INFO: -- Xero Add Inovice -- [2025-01-07 05:49:21] Production.INFO: CheckInvoice xerov2: INV11288 [2025-01-07 05:49:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11288 [2025-01-07 05:49:23] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 05:49:23] Production.INFO: Invoice SubTotal 96.510000 [2025-01-07 05:49:23] Production.INFO: Invoice DetTotal 96.51 [2025-01-07 05:49:23] 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:49:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-07 05:49:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-07 05:49:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-07 05:49:33] 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:49:36] Production.INFO: ==== result ===== [2025-01-07 05:49:36] Production.INFO: { "Id": "f2c989f8-f1c5-4127-a4bb-6a0f6fae8416", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1736246976391)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "89a9d51b-8c79-4fc5-b6b4-44833b1cfe2b", "InvoiceNumber": "INV11288", "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": "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": "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": "d32f4589-6895-4464-8146-778f8d18848c", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 96.51, "TotalTax": 12.55, "Total": 109.06, "UpdatedDateUTC": "\/Date(1736246976343+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-07 05:49:36] Production.INFO: -- Create Invoice id --89a9d51b-8c79-4fc5-b6b4-44833b1cfe2b [2025-01-07 05:49:36] Production.INFO: -- Create Invoice Done -- [2025-01-07 05:49:36] Production.INFO: CheckInvoice xerov2: INV11217 [2025-01-07 05:49:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11217 [2025-01-07 05:49:39] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 05:49:39] Production.INFO: Invoice SubTotal 57.500000 [2025-01-07 05:49:39] Production.INFO: Invoice DetTotal 57.5 [2025-01-07 05:49:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010558%20%28David%20Mills%29" [2025-01-07 05:49:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-07 05:49:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-07 05:49:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-07 05:49:48] 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 (2893233323 - 10 Dewside Drive U15 Brampton, ON L6R 3Y3)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 4,UnitAmount : -5.000000,LineAmount : -20.000000} [2025-01-07 05:49:50] Production.INFO: ==== result ===== [2025-01-07 05:49:50] Production.INFO: { "Id": "15d821fe-990c-48aa-ab0a-730344b66b2f", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1736246990717)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "0dbccf69-b633-4a2a-8046-b79c40ef758d", "InvoiceNumber": "INV11217", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 64.98, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "2149c89a-278c-4dda-ad9d-2a94478559a8", "ContactStatus": "ACTIVE", "Name": "Dominos 10558 (David Mills)", "EmailAddress": "office@teamtenfold.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(1594927753780+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-12-14T00:00:00", "Date": "\/Date(1734134400000+0000)\/", "DueDateString": "2025-01-13T00:00:00", "DueDate": "\/Date(1736726400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "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": "48b8e635-3096-4df0-b035-505355e67e34", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (2893233323 - 10 Dewside Drive U15 Brampton, ON L6R 3Y3)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "21968109-f495-4b14-97dc-5ccfef293e8c", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service", "UnitAmount": -5.00, "TaxType": "TAX020", "TaxAmount": -2.60, "LineAmount": -20.00, "AccountCode": "303", "Tracking": [], "Quantity": 4.0000, "DiscountRate": 0.00, "LineItemID": "6ddfb40f-b1b3-41da-b32a-2cba5e501bfb", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 57.50, "TotalTax": 7.48, "Total": 64.98, "UpdatedDateUTC": "\/Date(1736246990670+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-07 05:49:50] Production.INFO: -- Create Invoice id --0dbccf69-b633-4a2a-8046-b79c40ef758d [2025-01-07 05:49:50] Production.INFO: -- Create Invoice Done -- [2025-01-07 05:49:50] Production.INFO: CheckInvoice xerov2: INV11192 [2025-01-07 05:49:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11192 [2025-01-07 05:49:53] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 05:49:53] Production.INFO: Invoice SubTotal 249.220000 [2025-01-07 05:49:53] Production.INFO: Invoice DetTotal 249.22 [2025-01-07 05:49:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010560%20%28Ricky%20Singh%29" [2025-01-07 05:49:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-07 05:49:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-07 05:50:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-07 05:50:04] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "Cable Internet Service (60 McNaughton Ave, Unit A-101, Wallaceburg, ON) - 80x15",Quantity : 1,UnitAmount : 125.980000,LineAmount : 125.980000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "LTE Internet Failover Service (60 McNaughton Ave, Unit A-101, Wallaceburg, ON) - 1GB transfer",Quantity : 1,UnitAmount : 63.240000,LineAmount : 63.240000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Bundle discount",Quantity : 3,UnitAmount : -5.000000,LineAmount : -15.000000} [2025-01-07 05:50:10] Production.INFO: ==== result ===== [2025-01-07 05:50:10] Production.INFO: { "Id": "77077ad0-9e69-4a69-ba55-35c318cbbbfc", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1736247010435)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "f5bfc1e3-8fa2-47c0-a561-64b857f67176", "InvoiceNumber": "INV11192", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 281.62, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "7c24a24f-0252-42cb-b4ca-aa9aa79c4f0b", "ContactStatus": "ACTIVE", "Name": "Dominos 10560 (Ricky Singh)", "FirstName": "Ricky", "LastName": "Singh", "EmailAddress": "ricky_bhawar@yahoo.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(1606238954070+0000)\/", "ContactGroups": [], "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": "Cable Internet Service (60 McNaughton Ave, Unit A-101, Wallaceburg, ON) - 80x15", "UnitAmount": 125.98, "TaxType": "TAX020", "TaxAmount": 16.38, "LineAmount": 125.98, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "fb04711d-09e9-44fd-98ff-efaf6d02c4ec", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "LTE Internet Failover Service (60 McNaughton Ave, Unit A-101, Wallaceburg, ON) - 1GB transfer", "UnitAmount": 63.24, "TaxType": "TAX020", "TaxAmount": 8.22, "LineAmount": 63.24, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "cd869a7e-7657-461f-8598-5861202e3775", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "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": "51c97041-78e4-4b5b-821c-93e500fc4569", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Bundle discount", "UnitAmount": -5.00, "TaxType": "TAX020", "TaxAmount": -1.95, "LineAmount": -15.00, "AccountCode": "303", "Tracking": [], "Quantity": 3.0000, "DiscountRate": 0.00, "LineItemID": "6cd8bd65-334d-4d30-b779-1490406a0435", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 249.22, "TotalTax": 32.40, "Total": 281.62, "UpdatedDateUTC": "\/Date(1736247010297+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-07 05:50:10] Production.INFO: -- Create Invoice id --f5bfc1e3-8fa2-47c0-a561-64b857f67176 [2025-01-07 05:50:10] Production.INFO: -- Create Invoice Done -- [2025-01-07 05:50:10] Production.INFO: CheckInvoice xerov2: INV11218 [2025-01-07 05:50:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11218 [2025-01-07 05:50:14] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 05:50:14] Production.INFO: Invoice SubTotal 52.500000 [2025-01-07 05:50:14] Production.INFO: Invoice DetTotal 52.5 [2025-01-07 05:50:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010567%20%28Sandeep%20Chaudhari%29" [2025-01-07 05:50:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-07 05:50:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-07 05:50:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-07 05:50:30] 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 (5198049744 - 195 Franklin Blvd 5 Cambridge, ON N1R 8H3)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 5,UnitAmount : -5.000000,LineAmount : -25.000000} [2025-01-07 05:50:34] Production.INFO: ==== result ===== [2025-01-07 05:50:34] Production.INFO: { "Id": "5161413a-ed1a-4ecf-b1e9-d4f95d3f2826", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1736247034451)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "3323b194-6e5e-4884-aae3-88c8baf697ab", "InvoiceNumber": "INV11218", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 59.33, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "e7245c9e-f77f-4765-a131-4eff2704ecf0", "ContactStatus": "ACTIVE", "Name": "Dominos 10567 (Sandeep Chaudhari)", "FirstName": "Sandeep", "LastName": "Chaudhari", "EmailAddress": "schaudha@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(1594927784687+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-12-14T00:00:00", "Date": "\/Date(1734134400000+0000)\/", "DueDateString": "2025-01-13T00:00:00", "DueDate": "\/Date(1736726400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "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": "09353f15-4752-409f-a757-3058c07920e1", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (5198049744 - 195 Franklin Blvd 5 Cambridge, ON N1R 8H3)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "04f49e6a-ad2b-4602-b1d3-34c8d7c15250", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service", "UnitAmount": -5.00, "TaxType": "TAX020", "TaxAmount": -3.25, "LineAmount": -25.00, "AccountCode": "303", "Tracking": [], "Quantity": 5.0000, "DiscountRate": 0.00, "LineItemID": "d77a31e5-1160-47b5-8d0f-9cf6182b4b93", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 6.83, "Total": 59.33, "UpdatedDateUTC": "\/Date(1736247034357+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-07 05:50:34] Production.INFO: -- Create Invoice id --3323b194-6e5e-4884-aae3-88c8baf697ab [2025-01-07 05:50:34] Production.INFO: -- Create Invoice Done -- [2025-01-07 05:50:34] Production.INFO: CheckInvoice xerov2: INV10976 [2025-01-07 05:50:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10976 [2025-01-07 05:50:36] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 05:50:36] Production.INFO: Invoice SubTotal 67.500000 [2025-01-07 05:50:36] Production.INFO: Invoice DetTotal 67.5 [2025-01-07 05:50:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010581%20%28Ken%20Hoose%29" [2025-01-07 05:50:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-07 05:50:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-07 05:50:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-07 05:50:46] 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 (12265700029- 300 Elm Street St. Thomas, ON N5R 1J7 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 2,UnitAmount : -5.000000,LineAmount : -10.000000} [2025-01-07 05:50:50] Production.INFO: ==== result ===== [2025-01-07 05:50:50] Production.INFO: { "Id": "d1d44fd6-862a-4e21-b7e1-ae540856191c", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1736247050292)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "bd2749f9-06c1-49f8-83d4-50deb23e9318", "InvoiceNumber": "INV10976", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 76.28, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "07c709b0-937e-40e5-a0d5-b08ea9074e65", "ContactStatus": "ACTIVE", "Name": "Dominos 10581 (Ken Hoose)", "FirstName": "Ken", "LastName": "Hoose", "EmailAddress": "kenhoose94@gmail.com", "BankAccountDetails": "", "AccountsReceivableTaxType": "TAX011", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "", "AttentionTo": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "", "AttentionTo": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1617976682070+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesDefaultAccountCode": "203", "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-11-01T00:00:00", "Date": "\/Date(1730419200000+0000)\/", "DueDateString": "2024-12-01T00:00:00", "DueDate": "\/Date(1733011200000+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": "e703ed65-fafa-4694-8abf-1faa875330ac", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (12265700029- 300 Elm Street St. Thomas, ON N5R 1J7 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "4dd7cad2-aae5-4446-97d4-5932d655116b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service", "UnitAmount": -5.00, "TaxType": "TAX020", "TaxAmount": -1.30, "LineAmount": -10.00, "AccountCode": "303", "Tracking": [], "Quantity": 2.0000, "LineItemID": "e7c19faf-0eb4-4e7c-a577-882fa8ec63d9", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "ValidationErrors": [] } ], "SubTotal": 67.50, "TotalTax": 8.78, "Total": 76.28, "UpdatedDateUTC": "\/Date(1736247050230+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-07 05:50:50] Production.INFO: -- Create Invoice id --bd2749f9-06c1-49f8-83d4-50deb23e9318 [2025-01-07 05:50:50] Production.INFO: -- Create Invoice Done -- [2025-01-07 05:50:50] Production.INFO: CheckInvoice xerov2: INV11135 [2025-01-07 05:50:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11135 [2025-01-07 05:50:53] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 05:50:53] Production.INFO: Invoice SubTotal 67.500000 [2025-01-07 05:50:53] Production.INFO: Invoice DetTotal 67.5 [2025-01-07 05:50:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010581%20%28Ken%20Hoose%29" [2025-01-07 05:50:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-07 05:50:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-07 05:51:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-07 05:51:04] 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 (12265700029- 300 Elm Street St. Thomas, ON N5R 1J7 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 2,UnitAmount : -5.000000,LineAmount : -10.000000} [2025-01-07 05:51:08] Production.INFO: ==== result ===== [2025-01-07 05:51:08] Production.INFO: { "Id": "98c78e6b-1905-4345-ab59-5a1a472ec66b", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1736247067926)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "99bf8a46-306b-41db-b944-bb8e2ed32615", "InvoiceNumber": "INV11135", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 76.28, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "07c709b0-937e-40e5-a0d5-b08ea9074e65", "ContactStatus": "ACTIVE", "Name": "Dominos 10581 (Ken Hoose)", "FirstName": "Ken", "LastName": "Hoose", "EmailAddress": "kenhoose94@gmail.com", "BankAccountDetails": "", "AccountsReceivableTaxType": "TAX011", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "", "AttentionTo": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "", "AttentionTo": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1617976682070+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesDefaultAccountCode": "203", "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 - 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": "0a929d54-663b-4bcc-9863-fb90860d803e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (12265700029- 300 Elm Street St. Thomas, ON N5R 1J7 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "5d3d1ea6-d22e-488f-9862-b9b3d1b328b5", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service", "UnitAmount": -5.00, "TaxType": "TAX020", "TaxAmount": -1.30, "LineAmount": -10.00, "AccountCode": "303", "Tracking": [], "Quantity": 2.0000, "LineItemID": "99174aa6-16ea-49d3-ae63-f0c1c8034af2", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "ValidationErrors": [] } ], "SubTotal": 67.50, "TotalTax": 8.78, "Total": 76.28, "UpdatedDateUTC": "\/Date(1736247067863+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-07 05:51:08] Production.INFO: -- Create Invoice id --99bf8a46-306b-41db-b944-bb8e2ed32615 [2025-01-07 05:51:08] Production.INFO: -- Create Invoice Done -- [2025-01-07 05:51:08] Production.INFO: -- Xero End Inovice -- [2025-01-07 05:51:08] Production.INFO: ==7666== Releasing lock... [2025-01-07 05:51:08] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10438 #Stops# [2025-01-07 05:51:08] Production.INFO: 32.5 MB #Memory Used#