Skip to content

Commit

Permalink
Merge pull request #731 from XeroAPI/petoss-56-byte-to-binary
Browse files Browse the repository at this point in the history
PETOSS 654 | Byte to Binary type change
  • Loading branch information
vigneshk-tw authored Nov 5, 2024
2 parents eff9ecd + e3195b1 commit 9230953
Show file tree
Hide file tree
Showing 31 changed files with 1,724 additions and 478 deletions.
1,376 changes: 1,035 additions & 341 deletions docs/accounting/index.html

Large diffs are not rendered by default.

9 changes: 7 additions & 2 deletions docs/appstore/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1602,7 +1602,10 @@ <h2>Parameters</h2>
"schema" : {
"$ref" : "#/components/schemas/CreateUsageRecord"
},
"example" : "{ \"timestamp\": \"2022-01-21T13:01:00\", \"quantity\": 10 }"
"example" : {
"timestamp" : "2022-01-21T13:01:00",
"quantity" : 10
}
}
},
"required" : true
Expand Down Expand Up @@ -1803,7 +1806,9 @@ <h2>Parameters</h2>
"schema" : {
"$ref" : "#/components/schemas/UpdateUsageRecord"
},
"example" : "{ \"quantity\": 10 }"
"example" : {
"quantity" : 10
}
}
},
"required" : true
Expand Down
38 changes: 34 additions & 4 deletions docs/assets/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1030,7 +1030,6 @@
};
defs["BookDepreciationDetail"] = {
"title" : "",
"required" : [ "name" ],
"properties" : {
"currentCapitalGain" : {
"type" : "number",
Expand Down Expand Up @@ -1084,7 +1083,6 @@
};
defs["BookDepreciationSetting"] = {
"title" : "",
"required" : [ "name" ],
"properties" : {
"depreciationMethod" : {
"type" : "string",
Expand Down Expand Up @@ -1564,7 +1562,28 @@ <h2>Parameters</h2>
"schema" : {
"$ref" : "#/components/schemas/Asset"
},
"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 }"
"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
}
}
},
"required" : true
Expand Down Expand Up @@ -1716,7 +1735,18 @@ <h2>Parameters</h2>
"schema" : {
"$ref" : "#/components/schemas/AssetType"
},
"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\" } }"
"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"
}
}
}
},
"required" : true
Expand Down
31 changes: 29 additions & 2 deletions docs/payroll-au/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4134,7 +4134,25 @@ <h2>Parameters</h2>
"schema" : {
"$ref" : "#/components/schemas/PayItem"
},
"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\" } ] }"
"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"
} ]
}
}
},
"required" : true
Expand Down Expand Up @@ -8055,7 +8073,16 @@ <h2>Parameters</h2>
"$ref" : "#/components/schemas/PayslipLines"
}
},
"example" : "{ \"Payslip\": { \"EmployeeID\": \"cdfb8371-0b21-4b8a-8903-1024df6c391e\", \"DeductionLines\": [ { \"DeductionTypeID\": \"727af5e8-b347-4ae7-85fc-9b82266d0aec\", \"CalculationType\": \"FIXEDAMOUNT\", \"NumberOfUnits\": 10 } ] } }"
"example" : {
"Payslip" : {
"EmployeeID" : "cdfb8371-0b21-4b8a-8903-1024df6c391e",
"DeductionLines" : [ {
"DeductionTypeID" : "727af5e8-b347-4ae7-85fc-9b82266d0aec",
"CalculationType" : "FIXEDAMOUNT",
"NumberOfUnits" : 10
} ]
}
}
}
},
"required" : true
Expand Down
Loading

0 comments on commit 9230953

Please sign in to comment.