Skip to content

Commit b00690f

Browse files
author
sangeet-joy_xero
committed
PHP SDK version update 10.0.0
1 parent abd0712 commit b00690f

File tree

24 files changed

+1646
-195
lines changed

24 files changed

+1646
-195
lines changed

docs/v2/accounting/index.html

Lines changed: 970 additions & 78 deletions
Large diffs are not rendered by default.

docs/v2/appstore/index.html

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1240,7 +1240,7 @@
12401240
<nav id="scrollingNav">
12411241
<ul class="sidenav nav nav-list">
12421242
<li class="nav-header" data-group="AppStore"><strong>SDK: </strong><span id='sdk-name'></span></li>
1243-
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>9.3.0</li>
1243+
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>10.0.0</li>
12441244
<li class="nav-header" data-group="AppStore"><a href="#api-AppStore">Methods</a></li>
12451245
<li data-group="AppStore" data-name="getSubscription" class="">
12461246
<a href="#api-AppStore-getSubscription">getSubscription</a>
@@ -1624,7 +1624,10 @@ <h2>Parameters</h2>
16241624
"schema" : {
16251625
"$ref" : "#/components/schemas/CreateUsageRecord"
16261626
},
1627-
"example" : "{ \"timestamp\": \"2022-01-21T13:01:00\", \"quantity\": 10 }"
1627+
"example" : {
1628+
"timestamp" : "2022-01-21T13:01:00",
1629+
"quantity" : 10
1630+
}
16281631
}
16291632
},
16301633
"required" : true
@@ -1833,7 +1836,9 @@ <h2>Parameters</h2>
18331836
"schema" : {
18341837
"$ref" : "#/components/schemas/UpdateUsageRecord"
18351838
},
1836-
"example" : "{ \"quantity\": 10 }"
1839+
"example" : {
1840+
"quantity" : 10
1841+
}
18371842
}
18381843
},
18391844
"required" : true

docs/v2/assets/index.html

Lines changed: 35 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1030,7 +1030,6 @@
10301030
};
10311031
defs["BookDepreciationDetail"] = {
10321032
"title" : "",
1033-
"required" : [ "name" ],
10341033
"properties" : {
10351034
"currentCapitalGain" : {
10361035
"type" : "number",
@@ -1084,7 +1083,6 @@
10841083
};
10851084
defs["BookDepreciationSetting"] = {
10861085
"title" : "",
1087-
"required" : [ "name" ],
10881086
"properties" : {
10891087
"depreciationMethod" : {
10901088
"type" : "string",
@@ -1391,7 +1389,7 @@
13911389
<nav id="scrollingNav">
13921390
<ul class="sidenav nav nav-list">
13931391
<li class="nav-header" data-group="Asset"><strong>SDK: </strong><span id='sdk-name'></span></li>
1394-
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>9.3.0</li>
1392+
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>10.0.0</li>
13951393
<li class="nav-header" data-group="Asset"><a href="#api-Asset">Methods</a></li>
13961394
<li data-group="Asset" data-name="createAsset" class="">
13971395
<a href="#api-Asset-createAsset">createAsset</a>
@@ -1569,7 +1567,28 @@ <h2>Parameters</h2>
15691567
"schema" : {
15701568
"$ref" : "#/components/schemas/Asset"
15711569
},
1572-
"example" : "{ \"assetName\":\"Computer74863\", \"assetNumber\":\"123477544\", \"purchaseDate\":\"2020-01-01\", \"purchasePrice\":100.0, \"disposalPrice\":23.23, \"assetStatus\":\"Draft\", \"bookDepreciationSetting\":{ \"depreciationMethod\":\"StraightLine\", \"averagingMethod\":\"ActualDays\", \"depreciationRate\":0.5, \"depreciationCalculationMethod\":\"None\" }, \"bookDepreciationDetail\":{ \"currentCapitalGain\":5.32, \"currentGainLoss\":3.88, \"depreciationStartDate\":\"2020-01-02\", \"costLimit\":100.0, \"currentAccumDepreciationAmount\":2.25 }, \"AccountingBookValue\":99.5 }"
1570+
"example" : {
1571+
"assetName" : "Computer74863",
1572+
"assetNumber" : "123477544",
1573+
"purchaseDate" : "2020-01-01",
1574+
"purchasePrice" : 100.0,
1575+
"disposalPrice" : 23.23,
1576+
"assetStatus" : "Draft",
1577+
"bookDepreciationSetting" : {
1578+
"depreciationMethod" : "StraightLine",
1579+
"averagingMethod" : "ActualDays",
1580+
"depreciationRate" : 0.5,
1581+
"depreciationCalculationMethod" : "None"
1582+
},
1583+
"bookDepreciationDetail" : {
1584+
"currentCapitalGain" : 5.32,
1585+
"currentGainLoss" : 3.88,
1586+
"depreciationStartDate" : "2020-01-02",
1587+
"costLimit" : 100.0,
1588+
"currentAccumDepreciationAmount" : 2.25
1589+
},
1590+
"AccountingBookValue" : 99.5
1591+
}
15731592
}
15741593
},
15751594
"required" : true
@@ -1727,7 +1746,18 @@ <h2>Parameters</h2>
17271746
"schema" : {
17281747
"$ref" : "#/components/schemas/AssetType"
17291748
},
1730-
"example" : "{ \"assetTypeName\":\"Machinery11004\", \"fixedAssetAccountId\":\"3d8d063a-c148-4bb8-8b3c-a5e2ad3b1e82\", \"depreciationExpenseAccountId\":\"d1602f69-f900-4616-8d34-90af393fa368\", \"accumulatedDepreciationAccountId\":\"9195cadd-8645-41e6-9f67-7bcd421defe8\", \"bookDepreciationSetting\":{ \"depreciationMethod\":\"DiminishingValue100\", \"averagingMethod\":\"ActualDays\", \"depreciationRate\":0.05, \"depreciationCalculationMethod\":\"None\" } }"
1749+
"example" : {
1750+
"assetTypeName" : "Machinery11004",
1751+
"fixedAssetAccountId" : "3d8d063a-c148-4bb8-8b3c-a5e2ad3b1e82",
1752+
"depreciationExpenseAccountId" : "d1602f69-f900-4616-8d34-90af393fa368",
1753+
"accumulatedDepreciationAccountId" : "9195cadd-8645-41e6-9f67-7bcd421defe8",
1754+
"bookDepreciationSetting" : {
1755+
"depreciationMethod" : "DiminishingValue100",
1756+
"averagingMethod" : "ActualDays",
1757+
"depreciationRate" : 0.05,
1758+
"depreciationCalculationMethod" : "None"
1759+
}
1760+
}
17311761
}
17321762
},
17331763
"required" : true

docs/v2/files/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1169,7 +1169,7 @@
11691169
<nav id="scrollingNav">
11701170
<ul class="sidenav nav nav-list">
11711171
<li class="nav-header" data-group="Files"><strong>SDK: </strong><span id='sdk-name'></span></li>
1172-
<li class="nav-header" data-group="Files"><strong>VSN: </strong>9.3.0</li>
1172+
<li class="nav-header" data-group="Files"><strong>VSN: </strong>10.0.0</li>
11731173
<li class="nav-header" data-group="Files"><a href="#api-Files">Methods</a></li>
11741174
<li data-group="Files" data-name="createFileAssociation" class="">
11751175
<a href="#api-Files-createFileAssociation">createFileAssociation</a>

docs/v2/finance/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2715,7 +2715,7 @@
27152715
<nav id="scrollingNav">
27162716
<ul class="sidenav nav nav-list">
27172717
<li class="nav-header" data-group="Finance"><strong>SDK: </strong><span id='sdk-name'></span></li>
2718-
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>9.3.0</li>
2718+
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>10.0.0</li>
27192719
<li class="nav-header" data-group="Finance"><a href="#api-Finance">Methods</a></li>
27202720
<li data-group="Finance" data-name="getAccountingActivityAccountUsage" class="">
27212721
<a href="#api-Finance-getAccountingActivityAccountUsage">getAccountingActivityAccountUsage</a>

docs/v2/payroll_au/index.html

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3411,7 +3411,7 @@
34113411
<nav id="scrollingNav">
34123412
<ul class="sidenav nav nav-list">
34133413
<li class="nav-header" data-group="PayrollAu"><strong>SDK: </strong><span id='sdk-name'></span></li>
3414-
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>9.3.0</li>
3414+
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>10.0.0</li>
34153415
<li class="nav-header" data-group="PayrollAu"><a href="#api-PayrollAu">Methods</a></li>
34163416
<li data-group="PayrollAu" data-name="approveLeaveApplication" class="">
34173417
<a href="#api-PayrollAu-approveLeaveApplication">approveLeaveApplication</a>
@@ -4156,7 +4156,25 @@ <h2>Parameters</h2>
41564156
"schema" : {
41574157
"$ref" : "#/components/schemas/PayItem"
41584158
},
4159-
"example" : "{ \"EarningsRates\": [ { \"Name\": \"MyRate\", \"AccountCode\": \"400\", \"TypeOfUnits\": \"4.00\", \"IsExemptFromTax\": true, \"IsExemptFromSuper\": true, \"IsReportableAsW1\": false, \"AllowanceContributesToAnnualLeaveRate\": false, \"AllowanceContributesToOvertimeRate\": false, \"EarningsType\": \"ORDINARYTIMEEARNINGS\", \"EarningsRateID\": \"1fa4e226-b711-46ba-a8a7-4344c9c5fb87\", \"RateType\": \"MULTIPLE\", \"RatePerUnit\": \"10.0\", \"Multiplier\": 1.5, \"Amount\": 5, \"EmploymentTerminationPaymentType\": \"O\" } ] }"
4159+
"example" : {
4160+
"EarningsRates" : [ {
4161+
"Name" : "MyRate",
4162+
"AccountCode" : "400",
4163+
"TypeOfUnits" : "4.00",
4164+
"IsExemptFromTax" : true,
4165+
"IsExemptFromSuper" : true,
4166+
"IsReportableAsW1" : false,
4167+
"AllowanceContributesToAnnualLeaveRate" : false,
4168+
"AllowanceContributesToOvertimeRate" : false,
4169+
"EarningsType" : "ORDINARYTIMEEARNINGS",
4170+
"EarningsRateID" : "1fa4e226-b711-46ba-a8a7-4344c9c5fb87",
4171+
"RateType" : "MULTIPLE",
4172+
"RatePerUnit" : "10.0",
4173+
"Multiplier" : 1.5,
4174+
"Amount" : 5,
4175+
"EmploymentTerminationPaymentType" : "O"
4176+
} ]
4177+
}
41604178
}
41614179
},
41624180
"required" : true
@@ -8275,7 +8293,16 @@ <h2>Parameters</h2>
82758293
"$ref" : "#/components/schemas/PayslipLines"
82768294
}
82778295
},
8278-
"example" : "{ \"Payslip\": { \"EmployeeID\": \"cdfb8371-0b21-4b8a-8903-1024df6c391e\", \"DeductionLines\": [ { \"DeductionTypeID\": \"727af5e8-b347-4ae7-85fc-9b82266d0aec\", \"CalculationType\": \"FIXEDAMOUNT\", \"NumberOfUnits\": 10 } ] } }"
8296+
"example" : {
8297+
"Payslip" : {
8298+
"EmployeeID" : "cdfb8371-0b21-4b8a-8903-1024df6c391e",
8299+
"DeductionLines" : [ {
8300+
"DeductionTypeID" : "727af5e8-b347-4ae7-85fc-9b82266d0aec",
8301+
"CalculationType" : "FIXEDAMOUNT",
8302+
"NumberOfUnits" : 10
8303+
} ]
8304+
}
8305+
}
82798306
}
82808307
},
82818308
"required" : true

0 commit comments

Comments
 (0)