Skip to content

Commit

Permalink
Merge pull request #440 from XeroAPI/4.7.6
Browse files Browse the repository at this point in the history
built using 2.2.10 spec
  • Loading branch information
RettBehrens authored Jul 30, 2020
2 parents 0213b50 + e67248f commit 0fa8f5a
Show file tree
Hide file tree
Showing 339 changed files with 1,143 additions and 957 deletions.
1,079 changes: 586 additions & 493 deletions docs/v4/accounting/index.html

Large diffs are not rendered by default.

32 changes: 21 additions & 11 deletions docs/v4/assets/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -852,13 +852,15 @@
"type" : "number",
"description" : "The purchase price of the asset",
"format" : "double",
"example" : 1000.0000
"example" : 1000.0000,
"x-is-money" : true
},
"disposalPrice" : {
"type" : "number",
"description" : "The price the asset was disposed at",
"format" : "double",
"example" : 1.0000
"example" : 1.0000,
"x-is-money" : true
},
"assetStatus" : {
"$ref" : "#/components/schemas/AssetStatus"
Expand Down Expand Up @@ -888,7 +890,8 @@
"type" : "number",
"description" : "The accounting value of the asset",
"format" : "double",
"example" : 0
"example" : 0,
"x-is-money" : true
},
"isDeleteEnabledForDate" : {
"type" : "boolean",
Expand Down Expand Up @@ -981,13 +984,15 @@
"type" : "number",
"description" : "When an asset is disposed, this will be the sell price minus the purchase price if a profit was made.",
"format" : "double",
"example" : 5.25
"example" : 5.25,
"x-is-money" : true
},
"currentGainLoss" : {
"type" : "number",
"description" : "When an asset is disposed, this will be the lowest one of sell price or purchase price, minus the current book value.",
"format" : "double",
"example" : 10.5
"example" : 10.5,
"x-is-money" : true
},
"depreciationStartDate" : {
"type" : "string",
Expand All @@ -998,25 +1003,29 @@
"type" : "number",
"description" : "The value of the asset you want to depreciate, if this is less than the cost of the asset.",
"format" : "double",
"example" : 9000.0
"example" : 9000.0,
"x-is-money" : true
},
"residualValue" : {
"type" : "number",
"description" : "The value of the asset remaining when you've fully depreciated it.",
"format" : "double",
"example" : 10000.0
"example" : 10000.0,
"x-is-money" : true
},
"priorAccumDepreciationAmount" : {
"type" : "number",
"description" : "All depreciation prior to the current financial year.",
"format" : "double",
"example" : 0.45
"example" : 0.45,
"x-is-money" : true
},
"currentAccumDepreciationAmount" : {
"type" : "number",
"description" : "All depreciation occurring in the current financial year.",
"format" : "double",
"example" : 5.0
"example" : 5.0,
"x-is-money" : true
}
},
"description" : ""
Expand All @@ -1041,7 +1050,8 @@
"type" : "number",
"description" : "The rate of depreciation (e.g. 0.05)",
"format" : "double",
"example" : 0.05
"example" : 0.05,
"x-is-money" : true
},
"effectiveLifeYears" : {
"type" : "integer",
Expand Down Expand Up @@ -1299,7 +1309,7 @@ <h1>Xero Assets API</h1>
<h2 id="welcome-to-apidoc">API and SDK Documentation</h2>
<div class="app-desc">Version: 1.0.0</div>
<!--
<div class="app-desc">Version: 2.2.7</div>
<div class="app-desc">Version: 2.2.10</div>
<hr>
<div id="app-description" class="app-desc">
This is the Xero Assets API
Expand Down
11 changes: 7 additions & 4 deletions docs/v4/bankfeeds/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,8 @@
"amount" : {
"type" : "number",
"format" : "double",
"example" : 10.1340
"example" : 10.1340,
"x-is-money" : true
},
"creditDebitIndicator" : {
"$ref" : "#/components/schemas/CreditDebitIndicator"
Expand Down Expand Up @@ -996,7 +997,8 @@
"type" : "number",
"description" : "decimal(19,4) unsigned Opening/closing balance amount.",
"format" : "double",
"example" : 9.0000
"example" : 9.0000,
"x-is-money" : true
},
"creditDebitIndicator" : {
"$ref" : "#/components/schemas/CreditDebitIndicator"
Expand Down Expand Up @@ -1080,7 +1082,8 @@
"type" : "number",
"description" : "Transaction amount",
"format" : "double",
"example" : 5.00
"example" : 5.00,
"x-is-money" : true
},
"creditDebitIndicator" : {
"$ref" : "#/components/schemas/CreditDebitIndicator"
Expand Down Expand Up @@ -1185,7 +1188,7 @@ <h1>Bank Feeds API</h1>
<h2 id="welcome-to-apidoc">API and SDK Documentation</h2>
<div class="app-desc">Version: 1.0.0</div>
<!--
<div class="app-desc">Version: 2.2.7</div>
<div class="app-desc">Version: 2.2.10</div>
<hr>
<div id="app-description" class="app-desc">
This specifing endpoints Xero Bank feeds API
Expand Down
Loading

0 comments on commit 0fa8f5a

Please sign in to comment.