Skip to content

Commit 343697b

Browse files
committed
Changes
1 parent cebd77a commit 343697b

File tree

160 files changed

+4294
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

160 files changed

+4294
-0
lines changed

accounting-yaml/Xero_accounting_2.0.0_swagger.yaml/main.js

Lines changed: 229 additions & 0 deletions
Large diffs are not rendered by default.

accounting-yaml/Xero_accounting_2.0.0_swagger.yaml/routes/api_xro.js

Lines changed: 3890 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{ "Id": "76bb0543-8efe-4acc-b7f6-67dfcdec37b4", "Status": "OK", "ProviderName": "Xero API Partner", "DateTimeUTC": "\/Date(1550798217216)\/", "Accounts": [ { "AccountID": "7f3c0bec-f3e7-4073-b4d6-cc56dd027ef1", "Code": "123456", "Name": "FooBar", "Status": "DELETED", "Type": "EXPENSE", "TaxType": "INPUT", "Description": "Hello World", "Class": "EXPENSE", "EnablePaymentsToAccount": false, "ShowInExpenseClaims": false, "ReportingCode": "EXP", "ReportingCodeName": "Expense", "UpdatedDateUTC": "\/Date(1550798217210+0000)\/" } ] }
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{ "Id": "ca7f8145-c8a5-4366-a2fb-784edc0cfbb7", "Status": "OK", "ProviderName": "Java Partner Example", "DateTimeUTC": "\/Date(1555086457922)\/", "TrackingCategories": [ { "Name": "Foo46189", "Status": "DELETED", "TrackingCategoryID": "0390bdfd-94f2-49d6-b7a0-4a38c46ebf03", "Options": [] } ] }
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{ "Id": "d985866e-0831-418f-a07c-4d843ff66d25", "Status": "OK", "ProviderName": "Java Partner Example", "DateTimeUTC": "\/Date(1555085857338)\/", "Options": [ { "TrackingOptionID": "34669548-b989-487a-979f-0787d04568a2", "Name": "Bar40423", "Status": "DELETED", "HasValidationErrors": false, "IsDeleted": true, "IsArchived": false, "IsActive": false } ] }
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{ "Accounts": [{ "AccountID": "ebd06280-af70-4bed-97c6-7451a454ad85", "Code": "091", "Name": "Business Savings Account", "Type": "BANK", "TaxType": "NONE", "EnablePaymentsToAccount": false, "BankAccountNumber": "0209087654321050", "BankAccountType": "BANK", "CurrencyCode": "NZD" },{ "AccountID": "7d05a53d-613d-4eb2-a2fc-dcb6adb80b80", "Code": "200", "Name": "Sales", "Type": "REVENUE", "TaxType": "OUTPUT2", "Description": "Income from any normal business activity", "EnablePaymentsToAccount": false }] }
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{ "Id": "323455cc-9511-4451-a873-248d2983f38e", "Status": "OK", "ProviderName": "Xero API Partner", "DateTimeUTC": "\/Date(1550797359081)\/", "Accounts": [ { "AccountID": "99ce6032-0678-4aa0-8148-240c75fee33a", "Code": "123456", "Name": "FooBar", "Status": "ACTIVE", "Type": "EXPENSE", "TaxType": "INPUT", "Description": "Hello World", "Class": "EXPENSE", "EnablePaymentsToAccount": false, "ShowInExpenseClaims": false, "ReportingCode": "EXP", "ReportingCodeName": "Expense", "UpdatedDateUTC": "\/Date(1550797359120+0000)\/" } ] }
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{ "Id": "439c1573-3cd8-4697-a9f6-81fa651ee8f3", "Status": "OK", "ProviderName": "Xero API Partner", "DateTimeUTC": "\/Date(1550852630329)\/", "Attachments": [ { "AttachmentID": "52a643be-cd5c-489f-9778-53a9fd337756", "FileName": "sample5.jpg", "Url": "https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg", "MimeType": "image/jpg", "ContentLength": 2878711 } ] }
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{ "Id":"18e7e80c-5dca-4a57-974e-8b572cc5efe8", "Status":"OK", "ProviderName":"Xero API Partner", "DateTimeUTC":"\/Date(1551212901659)\/", "BankTransactions":[ { "BankTransactionID":"db54aab0-ad40-4ced-bcff-0940ba20db2c", "BankAccount":{ "AccountID":"6f7594f2-f059-4d56-9e67-47ac9733bfe9", "Code":"088", "Name":"Business Wells Fargo" }, "Type":"RECEIVE", "IsReconciled":false, "PrepaymentID":"cb62750f-b49c-464b-a45b-e2e2c514c8a9", "HasAttachments":true, "Contact":{ "ContactID":"9c2c64de-12c9-4167-b503-e2c0e1aa1f49", "Name":"sam", "Addresses":[
2+
], "Phones":[
3+
], "ContactGroups":[
4+
], "ContactPersons":[
5+
], "HasValidationErrors":false }, "DateString":"2016-10-13T00:00:00", "Date":"\/Date(1476316800000+0000)\/", "Status":"AUTHORISED", "LineAmountTypes":"Exclusive", "LineItems":[
6+
], "SubTotal":10.00, "TotalTax":0.00, "Total":10.00, "UpdatedDateUTC":"\/Date(1476389616437+0000)\/", "CurrencyCode":"USD" }, { "BankTransactionID":"29a69c45-64ca-4805-a1cc-34990de837b3", "BankAccount":{ "AccountID":"6f7594f2-f059-4d56-9e67-47ac9733bfe9", "Code":"088", "Name":"Business Wells Fargo" }, "Type":"SPEND-OVERPAYMENT", "IsReconciled":false, "OverpaymentID":"7d457db3-3b0a-47e9-8b79-81252a7bcdcb", "HasAttachments":false, "Contact":{ "ContactID":"9c2c64de-12c9-4167-b503-e2c0e1aa1f49", "Name":"sam", "Addresses":[
7+
], "Phones":[
8+
], "ContactGroups":[
9+
], "ContactPersons":[
10+
], "HasValidationErrors":false }, "DateString":"2016-10-13T00:00:00", "Date":"\/Date(1476316800000+0000)\/", "Status":"AUTHORISED", "LineAmountTypes":"NoTax", "LineItems":[
11+
], "SubTotal":9.00, "TotalTax":0.00, "Total":9.00, "UpdatedDateUTC":"\/Date(1476389930500+0000)\/", "CurrencyCode":"USD" }, { "BankTransactionID":"0b89bf5c-d40b-4514-96be-36a739fb0188", "BankAccount":{ "AccountID":"6f7594f2-f059-4d56-9e67-47ac9733bfe9", "Code":"088", "Name":"Business Wells Fargo" }, "Type":"SPEND-OVERPAYMENT", "IsReconciled":false, "OverpaymentID":"bf9b5f33-c0d6-4182-84a2-40848023e5a1", "HasAttachments":false, "Contact":{ "ContactID":"9c2c64de-12c9-4167-b503-e2c0e1aa1f49", "Name":"sam", "Addresses":[
12+
], "Phones":[
13+
], "ContactGroups":[
14+
], "ContactPersons":[
15+
], "HasValidationErrors":false }, "DateString":"2016-10-13T00:00:00", "Date":"\/Date(1476316800000+0000)\/", "Status":"AUTHORISED", "LineAmountTypes":"NoTax", "LineItems":[
16+
], "SubTotal":8.00, "TotalTax":0.00, "Total":8.00, "UpdatedDateUTC":"\/Date(1476392487037+0000)\/", "CurrencyCode":"USD" } ] }
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{ "Id": "612e204d-21ab-469b-ac84-afe0697b4461", "Status": "OK", "ProviderName": "Xero API Partner", "DateTimeUTC": "\/Date(1551212902962)\/", "BankTransactions": [ { "BankTransactionID": "db54aab0-ad40-4ced-bcff-0940ba20db2c", "BankAccount": { "AccountID": "6f7594f2-f059-4d56-9e67-47ac9733bfe9", "Code": "088", "Name": "Business Wells Fargo" }, "Type": "RECEIVE", "IsReconciled": false, "CurrencyRate": 1.000000, "PrepaymentID": "cb62750f-b49c-464b-a45b-e2e2c514c8a9", "HasAttachments": true, "Attachments": [ { "AttachmentID": "45dd3143-9856-42d2-9a6c-53814f67a33e", "FileName": "sample2.jpg", "Url": "https://api.xero.com/api.xro/2.0/banktransaction/db54aab0-ad40-4ced-bcff-0940ba20db2c/Attachments/sample2.jpg", "MimeType": "image/jpg", "ContentLength": 2878711 } ], "Contact": { "ContactID": "9c2c64de-12c9-4167-b503-e2c0e1aa1f49", "ContactStatus": "ACTIVE", "Name": "sam", "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(1518821703467+0000)\/", "ContactGroups": [], "DefaultCurrency": "USD", "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2016-10-13T00:00:00", "Date": "\/Date(1476316800000+0000)\/", "Status": "AUTHORISED", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "hello", "UnitAmount": 10.00, "TaxType": "OUTPUT", "TaxAmount": 0.00, "LineAmount": 10.00, "AccountCode": "400", "Tracking": [], "Quantity": 1.0000, "LineItemID": "40bec527-a744-4149-96c5-0ab643b51158", "ValidationErrors": [] } ], "SubTotal": 10.00, "TotalTax": 0.00, "Total": 10.00, "UpdatedDateUTC": "\/Date(1476389616437+0000)\/", "CurrencyCode": "USD" } ] }

0 commit comments

Comments
 (0)