[2025-01-07 05:23:03] Production.INFO: -- Xero Api Check -- [2025-01-07 05:23: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.635429 [namelookup_time] => 0.282728 [connect_time] => 0.293718 [pretransfer_time] => 0.501054 [size_upload] => 82 [size_download] => 2755 [speed_download] => 4335 [speed_upload] => 129 [download_content_length] => 2755 [upload_content_length] => 82 [starttransfer_time] => 0.63539 [redirect_time] => 0 [redirect_url] => [primary_ip] => 23.53.4.17 [certinfo] => Array ( ) [primary_port] => 443 [local_ip] => 54.39.180.235 [local_port] => 42348 ) [2025-01-07 05:23:04] Production.INFO: -- connection successfully here --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYyNDUzODQsImV4cCI6MTczNjI0NTY4NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2MjQ1Mzg0LCJhdF9oYXNoIjoiT0l6WDJucmYwMUNDQ1RBNW5FbzZLZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1Mm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c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.kXD2xjvm8e_ZVN2gYTGBsezwVPKpE-3770gjfNyNfLOlhC0Tt1jGhij4b4meLaQVPubruROvIVquyNmIooUSRLyqakWvHb1G0R4iWHHOxHOM-eqlvCRaSy1AYFhpf7ZGJqUWFOtqJlZWzOOC9QJErWLawHDJsHrfrR3xvVOgOdgfYb13UxWrBKmyYHmL6e7dAlXi9vZgvHCg-MjTWqWV14JmbyGUjL-ZkCV7q4zGaABrGad2cVl870d9FHatmmACV2rATwfD25UbG_Mvb73Kjs35kfSzcktCXFhxkTjC-sU7Kc90ttIzbNhpzOWNQSsnlZKonD1qhXUG5Bb_QjYs5g [expires_in] => 1800 [token_type] => Bearer [refresh_token] => lB7LEEOExjmnVPSSnnwb6zUR9TbFVDtX2-oEfx8MWRo [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-01-07 05:23:04] Production.INFO: -- connection successfully --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAy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Il0sImFtciI6WyJwd2QiXX0.kXD2xjvm8e_ZVN2gYTGBsezwVPKpE-3770gjfNyNfLOlhC0Tt1jGhij4b4meLaQVPubruROvIVquyNmIooUSRLyqakWvHb1G0R4iWHHOxHOM-eqlvCRaSy1AYFhpf7ZGJqUWFOtqJlZWzOOC9QJErWLawHDJsHrfrR3xvVOgOdgfYb13UxWrBKmyYHmL6e7dAlXi9vZgvHCg-MjTWqWV14JmbyGUjL-ZkCV7q4zGaABrGad2cVl870d9FHatmmACV2rATwfD25UbG_Mvb73Kjs35kfSzcktCXFhxkTjC-sU7Kc90ttIzbNhpzOWNQSsnlZKonD1qhXUG5Bb_QjYs5g [expires_in] => 1800 [token_type] => Bearer [refresh_token] => lB7LEEOExjmnVPSSnnwb6zUR9TbFVDtX2-oEfx8MWRo [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-01-07 05:23:04] Production.INFO: AccountID 229 [2025-01-07 05:23:04] Production.INFO: AccountName Dominos 10096 (Albert Chan) [2025-01-07 05:23:04] Production.INFO: Checkcustomer [2025-01-07 05:23:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010096%20%28Albert%20Chan%29" [2025-01-07 05:23:06] Production.INFO: Contact id print CheckCustomer Case===dc1089bc-e9ac-4fac-8919-44bc3549e60a [2025-01-07 05:23:06] Production.INFO: -- count --1 [2025-01-07 05:23:06] Production.INFO: AccountID 7 [2025-01-07 05:23:06] Production.INFO: AccountName Dominos 10099 (Mudassar Zia) [2025-01-07 05:23:06] Production.INFO: Checkcustomer [2025-01-07 05:23:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010099%20%28Mudassar%20Zia%29" [2025-01-07 05:23:09] Production.INFO: Contact id print CheckCustomer Case===71c34967-10de-4adf-ac3c-873348ba60c5 [2025-01-07 05:23:09] Production.INFO: -- count --1 [2025-01-07 05:23:09] Production.INFO: AccountID 107 [2025-01-07 05:23:09] Production.INFO: AccountName Dominos 10179 (Akshay Naik) [2025-01-07 05:23:09] Production.INFO: Checkcustomer [2025-01-07 05:23:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010179%20%28Akshay%20Naik%29" [2025-01-07 05:23:12] Production.INFO: Contact id print CheckCustomer Case===669bb033-93e4-4d2e-aa92-454e682a5c09 [2025-01-07 05:23:12] Production.INFO: -- count --1 [2025-01-07 05:23:12] Production.INFO: AccountID 226 [2025-01-07 05:23:12] Production.INFO: AccountName Dominos 10189 (Akshay Naik) [2025-01-07 05:23:12] Production.INFO: Checkcustomer [2025-01-07 05:23:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010189%20%28Akshay%20Naik%29" [2025-01-07 05:23:14] Production.INFO: Contact id print CheckCustomer Case===4982fdbe-e8c3-4cfb-854b-994478db81a7 [2025-01-07 05:23:14] Production.INFO: -- count --1 [2025-01-07 05:23:14] Production.INFO: AccountID 226 [2025-01-07 05:23:14] Production.INFO: AccountName Dominos 10189 (Akshay Naik) [2025-01-07 05:23:14] Production.INFO: Checkcustomer [2025-01-07 05:23:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010189%20%28Akshay%20Naik%29" [2025-01-07 05:23:17] Production.INFO: Contact id print CheckCustomer Case===4982fdbe-e8c3-4cfb-854b-994478db81a7 [2025-01-07 05:23:17] Production.INFO: -- count --1 [2025-01-07 05:23:17] Production.INFO: AccountID 153 [2025-01-07 05:23:17] Production.INFO: AccountName Dominos 10191 (Chandresh Patel) [2025-01-07 05:23:17] Production.INFO: Checkcustomer [2025-01-07 05:23:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010191%20%28Chandresh%20Patel%29" [2025-01-07 05:23:19] Production.INFO: Contact id print CheckCustomer Case===a1f84b26-3d74-4603-893d-c86292f301ef [2025-01-07 05:23:19] Production.INFO: -- count --1 [2025-01-07 05:23:19] Production.INFO: -- Xero Add Inovice -- [2025-01-07 05:23:19] Production.INFO: CheckInvoice xerov2: INV11198 [2025-01-07 05:23:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11198 [2025-01-07 05:23:21] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 05:23:21] Production.INFO: Invoice SubTotal 28.490000 [2025-01-07 05:23:21] Production.INFO: Invoice DetTotal 28.49 [2025-01-07 05:23:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010096%20%28Albert%20Chan%29" [2025-01-07 05:23:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-07 05:23:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-07 05:23:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-07 05:23:32] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Restaurant - 5 Line Flat Rate DPZ Canada",Quantity : 1,UnitAmount : 75.990000,LineAmount : 75.990000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (1-778-649-2222 - 386 City Centre Kitimat, BC V8C2G3 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,"Description": "Credit - Yealink hardware discount ($500 total, $50/mo for 10 months)",Quantity : 1,UnitAmount : -50.000000,LineAmount : -50.000000} [2025-01-07 05:23:34] Production.INFO: ==== result ===== [2025-01-07 05:23:34] Production.INFO: { "Id": "1f5ee529-ea57-4490-9c5b-e46ce015da30", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1736245414415)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "10a42abf-1c9f-4a1b-aca0-4fe6b204eb1e", "InvoiceNumber": "INV11198", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 32.20, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "dc1089bc-e9ac-4fac-8919-44bc3549e60a", "ContactStatus": "ACTIVE", "Name": "Dominos 10096 (Albert Chan)", "FirstName": "Albert", "LastName": "Chan", "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(1730121892430+0000)\/", "ContactGroups": [], "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 - 5 Line Flat Rate DPZ Canada", "UnitAmount": 75.99, "TaxType": "TAX020", "TaxAmount": 9.88, "LineAmount": 75.99, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "be5d04ee-3017-4044-9e65-13d43f7e0f03", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (1-778-649-2222 - 386 City Centre Kitimat, BC V8C2G3 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "83e0fc68-713f-48ce-b98f-4c1736f43315", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Credit - Yealink hardware discount ($500 total, $50/mo for 10 months)", "UnitAmount": -50.00, "TaxType": "TAX020", "TaxAmount": -6.50, "LineAmount": -50.00, "AccountCode": "303", "Tracking": [], "Quantity": 1.0000, "LineItemID": "065e96e7-d81b-42f7-9a71-bf7043fb29a0", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "ValidationErrors": [] } ], "SubTotal": 28.49, "TotalTax": 3.71, "Total": 32.20, "UpdatedDateUTC": "\/Date(1736245414337+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-07 05:23:34] Production.INFO: -- Create Invoice id --10a42abf-1c9f-4a1b-aca0-4fe6b204eb1e [2025-01-07 05:23:34] Production.INFO: -- Create Invoice Done -- [2025-01-07 05:23:34] Production.INFO: CheckInvoice xerov2: INV11260 [2025-01-07 05:23:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11260 [2025-01-07 05:23:36] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 05:23:36] Production.INFO: Invoice SubTotal 67.500000 [2025-01-07 05:23:36] Production.INFO: Invoice DetTotal 67.5 [2025-01-07 05:23:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010099%20%28Mudassar%20Zia%29" [2025-01-07 05:23:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-07 05:23:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-07 05:23:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-07 05:23:47] Production.INFO: =========Invoices String here======{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "Dominos Pizza - 4 Line Flat Rate with $5 discount (3+ stores)",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration - (AUBURN MEADOWS DR SE UNIT 330 CALGARY, AB T3M2G5)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID - Fax (14038790958)",Quantity : 1,UnitAmount : 5.000000,LineAmount : 5.000000},{taxType:"TAX012",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 3,UnitAmount : -5.000000,LineAmount : -15.000000} [2025-01-07 05:23:49] Production.INFO: ==== result ===== [2025-01-07 05:23:49] Production.INFO: { "Id": "0fd2fa05-efc2-4f2c-b555-090d6f374516", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1736245429589)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "2835bbde-7e45-4a92-84ce-69cb8448b5d7", "InvoiceNumber": "INV11260", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 70.88, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "71c34967-10de-4adf-ac3c-873348ba60c5", "ContactStatus": "ACTIVE", "Name": "Dominos 10099 (Mudassar Zia)", "FirstName": "", "LastName": "", "EmailAddress": "", "BankAccountDetails": "", "AccountsReceivableTaxType": "TAX012", "AccountsPayableTaxType": "TAX012", "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(1580930547427+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-24T00:00:00", "Date": "\/Date(1734998400000+0000)\/", "DueDateString": "2025-01-23T00:00:00", "DueDate": "\/Date(1737590400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Dominos Pizza - 4 Line Flat Rate with $5 discount (3+ stores)", "UnitAmount": 75.00, "TaxType": "TAX012", "TaxAmount": 3.75, "LineAmount": 75.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "28fa0902-6ef6-4803-81f6-e75df27b7c36", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration - (AUBURN MEADOWS DR SE UNIT 330 CALGARY, AB T3M2G5)", "UnitAmount": 2.50, "TaxType": "TAX012", "TaxAmount": 0.13, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "5be558b5-91d1-448c-99ce-f527d31c1fd1", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID - Fax (14038790958)", "UnitAmount": 5.00, "TaxType": "TAX012", "TaxAmount": 0.25, "LineAmount": 5.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "e2900e42-27b3-4f8d-9f75-e10fc819b224", "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": "TAX012", "TaxAmount": -0.75, "LineAmount": -15.00, "AccountCode": "303", "Tracking": [], "Quantity": 3.0000, "DiscountRate": 0.00, "LineItemID": "f8767986-c219-4ab5-9ad8-79a2464980c6", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 67.50, "TotalTax": 3.38, "Total": 70.88, "UpdatedDateUTC": "\/Date(1736245429543+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-07 05:23:49] Production.INFO: -- Create Invoice id --2835bbde-7e45-4a92-84ce-69cb8448b5d7 [2025-01-07 05:23:49] Production.INFO: -- Create Invoice Done -- [2025-01-07 05:23:49] Production.INFO: CheckInvoice xerov2: INV11231 [2025-01-07 05:23:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11231 [2025-01-07 05:23:52] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 05:23:52] Production.INFO: Invoice SubTotal 52.500000 [2025-01-07 05:23:52] Production.INFO: Invoice DetTotal 52.5 [2025-01-07 05:23:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010179%20%28Akshay%20Naik%29" [2025-01-07 05:23:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-07 05:23:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-07 05:24:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-07 05:24:03] Production.INFO: =========Invoices String here======{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 50.000000,LineAmount : 50.000000},{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (17808757725 - 4402 52 Ave 110 Lloydminster, AB T9V 0T9 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-01-07 05:24:05] Production.INFO: ==== result ===== [2025-01-07 05:24:05] Production.INFO: { "Id": "acd39a90-fd51-4823-9e73-092b8d7d3b05", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1736245445852)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "1ca3c548-7730-40cb-8acd-b4ffc7def5b1", "InvoiceNumber": "INV11231", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 55.13, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "669bb033-93e4-4d2e-aa92-454e682a5c09", "ContactStatus": "ACTIVE", "Name": "Dominos 10179 (Akshay Naik)", "FirstName": "Akshay", "LastName": "Naik", "EmailAddress": "akshaynnaik@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(1580834779557+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": 50.00, "TaxType": "TAX012", "TaxAmount": 2.50, "LineAmount": 50.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "1dcd2dd8-975f-45ae-827f-5957ca8a4ffd", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (17808757725 - 4402 52 Ave 110 Lloydminster, AB T9V 0T9 Canada)", "UnitAmount": 2.50, "TaxType": "TAX012", "TaxAmount": 0.13, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "ab66cb8a-2691-45d5-ad63-a6f49d7a5560", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 2.63, "Total": 55.13, "UpdatedDateUTC": "\/Date(1736245445807+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-07 05:24:06] Production.INFO: -- Create Invoice id --1ca3c548-7730-40cb-8acd-b4ffc7def5b1 [2025-01-07 05:24:06] Production.INFO: -- Create Invoice Done -- [2025-01-07 05:24:06] Production.INFO: CheckInvoice xerov2: INV10942 [2025-01-07 05:24:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10942 [2025-01-07 05:24:08] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 05:24:08] Production.INFO: Invoice SubTotal 52.500000 [2025-01-07 05:24:08] Production.INFO: Invoice DetTotal 52.5 [2025-01-07 05:24:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010189%20%28Akshay%20Naik%29" [2025-01-07 05:24:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-07 05:24:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-07 05:24:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-07 05:24:19] Production.INFO: =========Invoices String here======{taxType:"TAX012",AccountCode : 203,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 50.000000,LineAmount : 50.000000},{taxType:"TAX012",AccountCode : 203,"Description": "e911 address registration (7808423366 - 1017 14 Ave Wainwright, AB T9W1K5)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-01-07 05:24:22] Production.INFO: ==== result ===== [2025-01-07 05:24:22] Production.INFO: { "Id": "af9df82e-392c-4758-84b7-03de0d036a31", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1736245462508)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "f26526ff-b008-46b7-8da7-e7623b45cd38", "InvoiceNumber": "INV10942", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 55.13, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "4982fdbe-e8c3-4cfb-854b-994478db81a7", "ContactStatus": "ACTIVE", "Name": "Dominos 10189 (Akshay Naik)", "EmailAddress": "akshaynnaik@gmail.com", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "AddressLine1": "1017 14 Ave.", "City": "Wainwright", "Region": "AB", "PostalCode": "T9W 1K5", "Country": "Canada" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1730662362960+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-10-23T00:00:00", "Date": "\/Date(1729641600000+0000)\/", "DueDateString": "2024-11-22T00:00:00", "DueDate": "\/Date(1732233600000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Restaurant - 4 Line Flat Rate", "UnitAmount": 50.00, "TaxType": "TAX012", "TaxAmount": 2.50, "LineAmount": 50.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "f6f9323e-0cb1-40b9-b90d-fb6a901e8d1c", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (7808423366 - 1017 14 Ave Wainwright, AB T9W1K5)", "UnitAmount": 2.50, "TaxType": "TAX012", "TaxAmount": 0.13, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "da04b26a-57db-4fa0-a026-99d273e4abe9", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 2.63, "Total": 55.13, "UpdatedDateUTC": "\/Date(1736245462447+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-07 05:24:22] Production.INFO: -- Create Invoice id --f26526ff-b008-46b7-8da7-e7623b45cd38 [2025-01-07 05:24:22] Production.INFO: -- Create Invoice Done -- [2025-01-07 05:24:22] Production.INFO: CheckInvoice xerov2: INV11259 [2025-01-07 05:24:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11259 [2025-01-07 05:24:24] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 05:24:24] Production.INFO: Invoice SubTotal 52.500000 [2025-01-07 05:24:24] Production.INFO: Invoice DetTotal 52.5 [2025-01-07 05:24:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010189%20%28Akshay%20Naik%29" [2025-01-07 05:24:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-07 05:24:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-07 05:24:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-07 05:24:36] Production.INFO: =========Invoices String here======{taxType:"TAX012",AccountCode : 203,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 50.000000,LineAmount : 50.000000},{taxType:"TAX012",AccountCode : 203,"Description": "e911 address registration (7808423366 - 1017 14 Ave Wainwright, AB T9W1K5)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-01-07 05:24:38] Production.INFO: ==== result ===== [2025-01-07 05:24:38] Production.INFO: { "Id": "2bb1455e-26d1-4f29-ad78-48ede6456fd8", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1736245478664)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "f8dd17c0-d59b-478a-8c94-c22c8929dc1b", "InvoiceNumber": "INV11259", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 55.13, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "4982fdbe-e8c3-4cfb-854b-994478db81a7", "ContactStatus": "ACTIVE", "Name": "Dominos 10189 (Akshay Naik)", "EmailAddress": "akshaynnaik@gmail.com", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "AddressLine1": "1017 14 Ave.", "City": "Wainwright", "Region": "AB", "PostalCode": "T9W 1K5", "Country": "Canada" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1730662362960+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-12-23T00:00:00", "Date": "\/Date(1734912000000+0000)\/", "DueDateString": "2025-01-22T00:00:00", "DueDate": "\/Date(1737504000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Restaurant - 4 Line Flat Rate", "UnitAmount": 50.00, "TaxType": "TAX012", "TaxAmount": 2.50, "LineAmount": 50.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "abcfb5ed-922b-4ca4-af9b-26264a839f33", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (7808423366 - 1017 14 Ave Wainwright, AB T9W1K5)", "UnitAmount": 2.50, "TaxType": "TAX012", "TaxAmount": 0.13, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "313dcdcf-8e64-4905-90bb-37f22f8259a2", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 2.63, "Total": 55.13, "UpdatedDateUTC": "\/Date(1736245478617+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-07 05:24:38] Production.INFO: -- Create Invoice id --f8dd17c0-d59b-478a-8c94-c22c8929dc1b [2025-01-07 05:24:38] Production.INFO: -- Create Invoice Done -- [2025-01-07 05:24:38] Production.INFO: CheckInvoice xerov2: INV11159 [2025-01-07 05:24:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11159 [2025-01-07 05:24:40] Production.INFO: Check Invoice Id XEROV20 [2025-01-07 05:24:40] Production.INFO: Invoice SubTotal 52.500000 [2025-01-07 05:24:40] Production.INFO: Invoice DetTotal 52.5 [2025-01-07 05:24:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010191%20%28Chandresh%20Patel%29" [2025-01-07 05:24:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-01-07 05:24:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-01-07 05:24:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-01-07 05:24:50] Production.INFO: =========Invoices String here======{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX012",AccountCode : 303,DiscountRate : 0.000000,"Description": "Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service",Quantity : 1,UnitAmount : -25.000000,LineAmount : -25.000000},{taxType:"TAX012",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (17809689999 - 3919 49 Ave, Unit 121, Stony Plain, AB T7Z2J7)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-01-07 05:24:53] Production.INFO: ==== result ===== [2025-01-07 05:24:53] Production.INFO: { "Id": "ccc49a3f-1b9f-40ea-a6df-62ef7f4800cb", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1736245493107)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "6e65dbdd-59ee-4ad8-9514-4b71c50bc61b", "InvoiceNumber": "INV11159", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 55.13, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "a1f84b26-3d74-4603-893d-c86292f301ef", "ContactStatus": "ACTIVE", "Name": "Dominos 10191 (Chandresh Patel)", "FirstName": "Chandresh", "LastName": "Patel", "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(1639845523350+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-12-06T00:00:00", "Date": "\/Date(1733443200000+0000)\/", "DueDateString": "2025-01-05T00:00:00", "DueDate": "\/Date(1736035200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Restaurant - 4 Line Flat Rate", "UnitAmount": 75.00, "TaxType": "TAX012", "TaxAmount": 3.75, "LineAmount": 75.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "c7e238f3-a62f-45c7-a744-b84c532b2705", "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": -25.00, "TaxType": "TAX012", "TaxAmount": -1.25, "LineAmount": -25.00, "AccountCode": "303", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "c258957a-590d-4743-8232-4ea7db1180c2", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (17809689999 - 3919 49 Ave, Unit 121, Stony Plain, AB T7Z2J7)", "UnitAmount": 2.50, "TaxType": "TAX012", "TaxAmount": 0.13, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "8eb94513-eda2-4742-a25b-a209bec2a0ac", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 2.63, "Total": 55.13, "UpdatedDateUTC": "\/Date(1736245493047+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-01-07 05:24:53] Production.INFO: -- Create Invoice id --6e65dbdd-59ee-4ad8-9514-4b71c50bc61b [2025-01-07 05:24:53] Production.INFO: -- Create Invoice Done -- [2025-01-07 05:24:53] Production.INFO: -- Xero End Inovice -- [2025-01-07 05:24:53] Production.INFO: ==5435== Releasing lock... [2025-01-07 05:24:53] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10431 #Stops# [2025-01-07 05:24:53] Production.INFO: 32.25 MB #Memory Used#