tax:readAuthorization: ********************curl --location '/v1/portfolios//tax-readiness?financialYear=undefined' \
--header 'Authorization: <api-key>'{
"targetFinancialYear": 0,
"currentYear": {
"readiness": {
"holdings": {
"total": 0,
"totalValid": 0,
"totalInvalid": 0,
"isValid": true
},
"trades": {
"total": 0,
"totalValid": 0,
"totalInvalid": 0,
"isValid": true
},
"dividends": {
"total": 0,
"totalValid": 0,
"totalInvalid": 0,
"isValid": true
},
"cryptoIncome": {
"total": 0,
"totalValid": 0,
"totalInvalid": 0,
"isValid": true
},
"trustIncome": {
"total": 0,
"totalValid": 0,
"totalInvalid": 0,
"isValid": true,
"unfinalisedHoldings": [
{
"holdingId": 0,
"symbol": "string",
"companyName": "string",
"dividendCount": 0,
"hasPrePopulatedData": true,
"missingFinancialYears": [
"string"
]
}
]
},
"isValid": true
},
"invalidHoldings": [
{
"holdingId": 0,
"symbol": "string",
"companyName": "string",
"reasons": [
"string"
]
}
],
"isComplete": true
},
"history": {
"yearsToConfirm": [
{
"financialYear": 0,
"isLocked": true,
"methodName": "string",
"reasons": [
"string"
]
}
],
"isConfirmed": true
},
"isReady": true
}