[2025-01-07 05:37:04] Production.INFO: -- Xero Api Check -- [2025-01-07 05:37: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] => 854 [request_size] => 352 [filetime] => -1 [ssl_verify_result] => 0 [redirect_count] => 0 [total_time] => 0.616179 [namelookup_time] => 0.273771 [connect_time] => 0.275086 [pretransfer_time] => 0.537248 [size_upload] => 82 [size_download] => 2755 [speed_download] => 4471 [speed_upload] => 133 [download_content_length] => 2755 [upload_content_length] => 82 [starttransfer_time] => 0.616133 [redirect_time] => 0 [redirect_url] => [primary_ip] => 23.53.4.17 [certinfo] => Array ( ) [primary_port] => 443 [local_ip] => 54.39.180.235 [local_port] => 42750 ) [2025-01-07 05:37:04] Production.INFO: -- connection successfully here --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDYyMjQsImV4cCI6MTczNjI0NjUyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ2MjI0LCJhdF9oYXNoIjoiV3N5aDVTWUJVVFdaR1FiQjFDcmlIdyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1Mm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191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.lfpW39Z0F2hNlH57uCv1vM7ZEYeijhyuTskIO4BbzY1XbCPEzuT0XfOlHCzW6XVIUpBGjJ3Bp-VzggD100irajJHnJhyT5vQHXuYxkdrOdB7X8PZcaIco97wLJPauyFl0G0eNa-Bo1MeCx6pk-JvQ730JZMzR8-J6SDtWBKmw1X5-3VRT_jS8C6w4W62pRjJPMeSAczOPShIw7EjbFYj60aNjrLHro_lZ7BaHkm5J-tT7bIoXVR1dY-4W8SRtZp147ls2MfZM0r7RyhsZEfgVrsNUfmA_ZHOX2fWuD6hcrp3nyGzSoN0vFjtUDO_MDYKlEmfFAY09BInOgC0F5BIrA [expires_in] => 1800 [token_type] => Bearer [refresh_token] => sYjA1CSnYapTM4PKSnhQDLPSll5Ust8YEUI_F28Agj4 [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-01-07 05:37:04] Production.INFO: -- connection successfully --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZ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NjZXNzIl0sImFtciI6WyJwd2QiXX0.lfpW39Z0F2hNlH57uCv1vM7ZEYeijhyuTskIO4BbzY1XbCPEzuT0XfOlHCzW6XVIUpBGjJ3Bp-VzggD100irajJHnJhyT5vQHXuYxkdrOdB7X8PZcaIco97wLJPauyFl0G0eNa-Bo1MeCx6pk-JvQ730JZMzR8-J6SDtWBKmw1X5-3VRT_jS8C6w4W62pRjJPMeSAczOPShIw7EjbFYj60aNjrLHro_lZ7BaHkm5J-tT7bIoXVR1dY-4W8SRtZp147ls2MfZM0r7RyhsZEfgVrsNUfmA_ZHOX2fWuD6hcrp3nyGzSoN0vFjtUDO_MDYKlEmfFAY09BInOgC0F5BIrA [expires_in] => 1800 [token_type] => Bearer [refresh_token] => sYjA1CSnYapTM4PKSnhQDLPSll5Ust8YEUI_F28Agj4 [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-01-07 05:37:04] Production.INFO: AccountID 83 [2025-01-07 05:37:04] Production.INFO: AccountName Dominos 10455 (Ricky Singh) [2025-01-07 05:37:04] Production.INFO: Checkcustomer [2025-01-07 05:37:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010455%20%28Ricky%20Singh%29" [2025-01-07 05:37:07] Production.INFO: Contact id print CheckCustomer Case===40d799a0-fa8e-497f-be5e-788af7a33b55 [2025-01-07 05:37:07] Production.INFO: -- count --1 [2025-01-07 05:37:07] Production.INFO: AccountID 205 [2025-01-07 05:37:07] Production.INFO: AccountName Dominos 10459 (Sandeep Chaudhari) [2025-01-07 05:37:07] Production.INFO: Checkcustomer [2025-01-07 05:37:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010459%20%28Sandeep%20Chaudhari%29" [2025-01-07 05:37:10] Production.INFO: Contact id print CheckCustomer Case===9e4e5c67-a78f-406f-bfd6-d013ce749c4a [2025-01-07 05:37:10] Production.INFO: -- count --1 [2025-01-07 05:37:10] Production.INFO: AccountID 205 [2025-01-07 05:37:10] Production.INFO: AccountName Dominos 10459 (Sandeep Chaudhari) [2025-01-07 05:37:10] Production.INFO: Checkcustomer [2025-01-07 05:37:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010459%20%28Sandeep%20Chaudhari%29" [2025-01-07 05:37:12] Production.INFO: Contact id print CheckCustomer Case===9e4e5c67-a78f-406f-bfd6-d013ce749c4a [2025-01-07 05:37:12] Production.INFO: -- count --1 [2025-01-07 05:37:12] Production.INFO: AccountID 121 [2025-01-07 05:37:12] Production.INFO: AccountName Dominos 10462 (Anwar Hossain) [2025-01-07 05:37:12] Production.INFO: Checkcustomer [2025-01-07 05:37:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010462%20%28Anwar%20Hossain%29" [2025-01-07 05:37:14] Production.INFO: Contact id print CheckCustomer Case===dd9d12a6-43e5-42f4-9c71-f881ac0e5dfe [2025-01-07 05:37:14] Production.INFO: -- count --1 [2025-01-07 05:37:14] Production.INFO: AccountID 149 [2025-01-07 05:37:14] Production.INFO: AccountName Dominos 10471 (Ken Hoose) [2025-01-07 05:37:14] Production.INFO: Checkcustomer [2025-01-07 05:37:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010471%20%28Ken%20Hoose%29" [2025-01-07 05:37:17] Production.INFO: Contact id print CheckCustomer Case===035db9cd-92a8-4776-bb57-e5a70cdb3e03 [2025-01-07 05:37:17] Production.INFO: -- count --1 [2025-01-07 05:37:17] Production.INFO: AccountID 161 [2025-01-07 05:37:17] Production.INFO: AccountName Dominos 10476 (Sandeep Chaudhari) [2025-01-07 05:37:17] Production.INFO: Checkcustomer [2025-01-07 05:37:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010476%20%28Sandeep%20Chaudhari%29" [2025-01-07 05:37:20] Production.INFO: Contact id print CheckCustomer Case===fc4aff1d-c37f-4c5c-9191-e58f25d1bcb1 [2025-01-07 05:37:20] Production.INFO: -- count --1 [2025-01-07 05:37:20] Production.INFO: -- Xero Add Inovice -- [2025-01-07 05:37:20] Production.INFO: CheckInvoice xerov2: INV11206 [2025-01-07 05:37:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11206 [2025-01-07 05:37:23] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 05:37:23] Production.INFO: Invoice SubTotal 60.000000 [2025-01-07 05:37:23] Production.INFO: Invoice DetTotal 60 [2025-01-07 05:37:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010455%20%28Ricky%20Singh%29" [2025-01-07 05:37:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-07 05:37:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-07 05:37:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-07 05:37:33] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",Quantity : 3,UnitAmount : -5.000000,LineAmount : -15.000000} [2025-01-07 05:37:36] Production.INFO: ==== result ===== [2025-01-07 05:37:36] Production.INFO: { "Id": "6819e0ff-b1ca-46c4-966c-444cbd4b8131", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1736246256776)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "a375991f-14f8-4a27-81a6-5dee08675d23", "InvoiceNumber": "INV11206", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 67.80, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "40d799a0-fa8e-497f-be5e-788af7a33b55", "ContactStatus": "ACTIVE", "Name": "Dominos 10455 (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(1597802803227+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-12-13T00:00:00", "Date": "\/Date(1734048000000+0000)\/", "DueDateString": "2025-01-12T00:00:00", "DueDate": "\/Date(1736640000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Restaurant - 4 Line Flat Rate", "UnitAmount": 75.00, "TaxType": "TAX020", "TaxAmount": 9.75, "LineAmount": 75.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "6e7f3796-2baa-42d1-91b2-ea0822f6a985", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service", "UnitAmount": -5.00, "TaxType": "TAX020", "TaxAmount": -1.95, "LineAmount": -15.00, "AccountCode": "303", "Tracking": [], "Quantity": 3.0000, "DiscountRate": 0.00, "LineItemID": "6f9fab68-6522-4ebe-bcad-0d64f92724eb", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 60.00, "TotalTax": 7.80, "Total": 67.80, "UpdatedDateUTC": "\/Date(1736246256700+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-07 05:37:36] Production.INFO: -- Create Invoice id --a375991f-14f8-4a27-81a6-5dee08675d23 [2025-01-07 05:37:36] Production.INFO: -- Create Invoice Done -- [2025-01-07 05:37:36] Production.INFO: CheckInvoice xerov2: INV11121 [2025-01-07 05:37:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11121 [2025-01-07 05:37:39] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 05:37:39] Production.INFO: Invoice SubTotal 52.500000 [2025-01-07 05:37:39] Production.INFO: Invoice DetTotal 52.5 [2025-01-07 05:37:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010459%20%28Sandeep%20Chaudhari%29" [2025-01-07 05:37:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-07 05:37:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-07 05:37:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-07 05:37:50] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (5194424400 - 308 Grand River Street North 3 Paris, ON N3L 3R7 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,"Description": "Provides a $5/store/month discount when 5+ stores have OnSwitch Cloud Phone service",Quantity : 1,UnitAmount : -25.000000,LineAmount : -25.000000} [2025-01-07 05:37:53] Production.INFO: ==== result ===== [2025-01-07 05:37:53] Production.INFO: { "Id": "356e71f9-2c52-4e55-ab99-273443b9ae8b", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1736246273416)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "b513f77c-1190-4d3b-91cb-429edaf2736c", "InvoiceNumber": "INV11121", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 59.33, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "9e4e5c67-a78f-406f-bfd6-d013ce749c4a", "ContactStatus": "ACTIVE", "Name": "Dominos 10459 (Sandeep Chaudhari)", "FirstName": "Sandeep", "LastName": "Chaudhari", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1697457604537+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-11-30T00:00:00", "Date": "\/Date(1732924800000+0000)\/", "DueDateString": "2024-12-30T00:00:00", "DueDate": "\/Date(1735516800000+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, "LineItemID": "a2c275a2-ca2a-4ee6-af96-d3c518cd8f17", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (5194424400 - 308 Grand River Street North 3 Paris, ON N3L 3R7 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "b22f6f38-105f-4be3-9235-edfbf8fabd6d", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Provides a $5/store/month discount when 5+ stores have OnSwitch Cloud Phone service", "UnitAmount": -25.00, "TaxType": "TAX020", "TaxAmount": -3.25, "LineAmount": -25.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "64e0bed1-b4cb-40fb-8f53-d5139304d460", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 6.83, "Total": 59.33, "UpdatedDateUTC": "\/Date(1736246273370+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-07 05:37:53] Production.INFO: -- Create Invoice id --b513f77c-1190-4d3b-91cb-429edaf2736c [2025-01-07 05:37:53] Production.INFO: -- Create Invoice Done -- [2025-01-07 05:37:53] Production.INFO: CheckInvoice xerov2: INV11278 [2025-01-07 05:37:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11278 [2025-01-07 05:37:55] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 05:37:55] Production.INFO: Invoice SubTotal 52.500000 [2025-01-07 05:37:55] Production.INFO: Invoice DetTotal 52.5 [2025-01-07 05:37:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010459%20%28Sandeep%20Chaudhari%29" [2025-01-07 05:37:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-07 05:38:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-07 05:38:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-07 05:38:05] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (5194424400 - 308 Grand River Street North 3 Paris, ON N3L 3R7 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,"Description": "Provides a $5/store/month discount when 5+ stores have OnSwitch Cloud Phone service",Quantity : 1,UnitAmount : -25.000000,LineAmount : -25.000000} [2025-01-07 05:38:08] Production.INFO: ==== result ===== [2025-01-07 05:38:08] Production.INFO: { "Id": "f1a4e920-2f53-4bfa-a5ea-09e29debee68", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1736246288461)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "0bdf3f19-bbbe-4d3b-b215-2df0c0811726", "InvoiceNumber": "INV11278", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 59.33, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "9e4e5c67-a78f-406f-bfd6-d013ce749c4a", "ContactStatus": "ACTIVE", "Name": "Dominos 10459 (Sandeep Chaudhari)", "FirstName": "Sandeep", "LastName": "Chaudhari", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1697457604537+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-12-30T00:00:00", "Date": "\/Date(1735516800000+0000)\/", "DueDateString": "2025-01-29T00:00:00", "DueDate": "\/Date(1738108800000+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, "LineItemID": "b1f27d48-a23b-4c39-9124-fab1e98f60a5", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (5194424400 - 308 Grand River Street North 3 Paris, ON N3L 3R7 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "fabe3d30-a7b2-414f-b436-bd320df9516b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Provides a $5/store/month discount when 5+ stores have OnSwitch Cloud Phone service", "UnitAmount": -25.00, "TaxType": "TAX020", "TaxAmount": -3.25, "LineAmount": -25.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "59520321-df51-41a6-8578-e15c525f811c", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 6.83, "Total": 59.33, "UpdatedDateUTC": "\/Date(1736246288400+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-07 05:38:08] Production.INFO: -- Create Invoice id --0bdf3f19-bbbe-4d3b-b215-2df0c0811726 [2025-01-07 05:38:08] Production.INFO: -- Create Invoice Done -- [2025-01-07 05:38:08] Production.INFO: CheckInvoice xerov2: INV11247 [2025-01-07 05:38:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11247 [2025-01-07 05:38:11] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 05:38:11] Production.INFO: Invoice SubTotal 67.500000 [2025-01-07 05:38:11] Production.INFO: Invoice DetTotal 67.5 [2025-01-07 05:38:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010462%20%28Anwar%20Hossain%29" [2025-01-07 05:38:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-07 05:38:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-07 05:38:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-07 05:38:22] 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 (17056457700 - 195 Wellington St 1 Bracebridge, ON P1L1C2)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",Quantity : 2,UnitAmount : -5.000000,LineAmount : -10.000000} [2025-01-07 05:38:24] Production.INFO: ==== result ===== [2025-01-07 05:38:24] Production.INFO: { "Id": "fc3098c3-7cc9-433c-ab7b-c4f847453c27", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1736246304765)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "5a2c5ba6-3f2d-4505-942d-2c750cc19dc1", "InvoiceNumber": "INV11247", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 76.28, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "dd9d12a6-43e5-42f4-9c71-f881ac0e5dfe", "ContactStatus": "ACTIVE", "Name": "Dominos 10462 (Anwar Hossain)", "FirstName": "Anwar", "LastName": "Hossain", "EmailAddress": "dominos10462@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(1582217221650+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-12-20T00:00:00", "Date": "\/Date(1734652800000+0000)\/", "DueDateString": "2025-01-19T00:00:00", "DueDate": "\/Date(1737244800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "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": "fef34892-0ed0-43ff-bef5-cf367ecddc3b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (17056457700 - 195 Wellington St 1 Bracebridge, ON P1L1C2)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "33c07238-9cd2-4510-a14e-fbf1690bc783", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service", "UnitAmount": -5.00, "TaxType": "TAX020", "TaxAmount": -1.30, "LineAmount": -10.00, "AccountCode": "303", "Tracking": [], "Quantity": 2.0000, "DiscountRate": 0.00, "LineItemID": "f34fe0dd-60f6-40b8-91a5-2fcc266b1bf1", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 67.50, "TotalTax": 8.78, "Total": 76.28, "UpdatedDateUTC": "\/Date(1736246304720+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-07 05:38:24] Production.INFO: -- Create Invoice id --5a2c5ba6-3f2d-4505-942d-2c750cc19dc1 [2025-01-07 05:38:24] Production.INFO: -- Create Invoice Done -- [2025-01-07 05:38:24] Production.INFO: CheckInvoice xerov2: INV11081 [2025-01-07 05:38:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11081 [2025-01-07 05:38:26] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 05:38:26] Production.INFO: Invoice SubTotal 67.500000 [2025-01-07 05:38:26] Production.INFO: Invoice DetTotal 67.5 [2025-01-07 05:38:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010471%20%28Ken%20Hoose%29" [2025-01-07 05:38:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-07 05:38:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-07 05:38:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-07 05:38:37] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (5196333123 - 965 Talbot St C St Thomas, ON N5P 1E8 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:38:41] Production.INFO: ==== result ===== [2025-01-07 05:38:41] Production.INFO: { "Id": "3b45fc44-e63b-4d1f-8729-1b0b7d512e73", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1736246321487)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "c5d2ba0f-22cd-43d0-bac2-d8f3447099f0", "InvoiceNumber": "INV11081", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 76.28, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "035db9cd-92a8-4776-bb57-e5a70cdb3e03", "ContactStatus": "ACTIVE", "Name": "Dominos 10471 (Ken Hoose)", "FirstName": "Ken", "LastName": "Hoose", "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(1655925306193+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-11-18T00:00:00", "Date": "\/Date(1731888000000+0000)\/", "DueDateString": "2024-12-18T00:00:00", "DueDate": "\/Date(1734480000000+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, "LineItemID": "ac5dabf4-2ac5-4601-a864-899b5d59bcd4", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (5196333123 - 965 Talbot St C St Thomas, ON N5P 1E8 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "859ddc21-760b-405e-a131-68e63d10ce88", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "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": "72bb9d88-9016-43ce-9b19-82894cbd1dcd", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "ValidationErrors": [] } ], "SubTotal": 67.50, "TotalTax": 8.78, "Total": 76.28, "UpdatedDateUTC": "\/Date(1736246321440+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-07 05:38:41] Production.INFO: -- Create Invoice id --c5d2ba0f-22cd-43d0-bac2-d8f3447099f0 [2025-01-07 05:38:41] Production.INFO: -- Create Invoice Done -- [2025-01-07 05:38:41] Production.INFO: CheckInvoice xerov2: INV11233 [2025-01-07 05:38:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11233 [2025-01-07 05:38:43] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 05:38:43] Production.INFO: Invoice SubTotal 52.500000 [2025-01-07 05:38:43] Production.INFO: Invoice DetTotal 52.5 [2025-01-07 05:38:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010476%20%28Sandeep%20Chaudhari%29" [2025-01-07 05:38:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-07 05:38:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-07 05:38:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-07 05:38:53] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 303,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 5,UnitAmount : -5.000000,LineAmount : -25.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (5197490120- 1188 Fischer Hallman Rd Unit 205 Kitchener, ON N2E0B7)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-01-07 05:38:56] Production.INFO: ==== result ===== [2025-01-07 05:38:56] Production.INFO: { "Id": "50a6876f-fcee-4516-bf8b-637db560ee76", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1736246336555)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "2adc023e-d7b1-4f98-81db-53b4de91bc09", "InvoiceNumber": "INV11233", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 59.33, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "fc4aff1d-c37f-4c5c-9191-e58f25d1bcb1", "ContactStatus": "ACTIVE", "Name": "Dominos 10476 (Sandeep Chaudhari)", "FirstName": "Sandeep`", "LastName": "Chaudhari", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1674470231750+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-12-16T00:00:00", "Date": "\/Date(1734307200000+0000)\/", "DueDateString": "2025-01-15T00:00:00", "DueDate": "\/Date(1736899200000+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, "LineItemID": "57e97cd4-eb8e-4789-9dce-a6f659637875", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "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, "LineItemID": "654f5612-7df0-4dfc-bfd5-73c153e4a517", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "ValidationErrors": [] }, { "Description": "e911 address registration (5197490120- 1188 Fischer Hallman Rd Unit 205 Kitchener, ON N2E0B7)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "a5bfca75-4bb4-44c9-8d27-01bde02ab0f9", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 6.83, "Total": 59.33, "UpdatedDateUTC": "\/Date(1736246336497+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-07 05:38:56] Production.INFO: -- Create Invoice id --2adc023e-d7b1-4f98-81db-53b4de91bc09 [2025-01-07 05:38:56] Production.INFO: -- Create Invoice Done -- [2025-01-07 05:38:56] Production.INFO: -- Xero End Inovice -- [2025-01-07 05:38:56] Production.INFO: ==6667== Releasing lock... [2025-01-07 05:38:56] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10435 #Stops# [2025-01-07 05:38:56] Production.INFO: 32.25 MB #Memory Used#