Accounting
Sets the chart of accounts, the conversion date and conversion balances
post/Setup
Request
- Base URLhttps://api.xero.com/api.xro/2.0
- URLhttps://api.xero.com/api.xro/2.0/Setup
- AuthOAuth 2Authorization code: https://login.xero.com/identity/connect/authorizeToken URL: https://identity.xero.com/connect/token scopes: accounting.settings
Headers
Idempotency-Keystring
This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
Request body
Example request
{
"ConversionDate": {
"Month": 1,
"Year": 2020
},
"Accounts": [
{
"Name": "Food Sales",
"AccountID": "00000000-0000-0000-0000-000000000000",
"UpdatedDateUTC": "/Date(1573755038314)/"
}
]
}Response
Success - returns a summary of the chart of accounts updates
Changes
No recorded changes to this operation across all 62 revisions of this API.