Home
Xero
Xero Postsetup Example
Xero Postsetup Example
Accounting Bank Feeds Finance Financial-Services Invoicing Payroll Small Business
Xero Postsetup Example is an example object payload from Xero, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
Top-level fields
operationId method path summary requestExamples responseExamples
Example Payload
{
"operationId": "postSetup",
"method": "POST",
"path": "/Setup",
"summary": "Xero Sets the chart of accounts, the conversion date and conversion balances",
"requestExamples": [
{
"contentType": "application/json",
"example": {
"ConversionDate": {},
"ConversionBalances": [],
"Accounts": [
{
"Code": "200",
"Name": "Sales",
"Type": "SALES",
"ReportingCode": "REV.TRA.GOO"
},
{
"Code": "400",
"Name": "Advertising",
"Type": "OVERHEADS",
"ReportingCode": "EXP"
},
{
"Code": "610",
"Name": "Accounts Receivable",
"Type": "CURRENT",
"SystemAccount": "DEBTORS",
"ReportingCode": "ASS.CUR.REC.TRA"
},
{
"Code": "800",
"Name": "Accounts Payable",
"Type": "CURRLIAB",
"SystemAccount": "CREDITORS",
"ReportingCode": "LIA.CUR.PAY"
}
]
}
}
],
"responseExamples": [
{
"status": "200",
"contentType": "application/json",
"example": {
"Id": "80dcb65b-4d14-4350-84e6-1438a809244a",
"Status": "OK",
"ProviderName": "Java Public Example",
"DateTimeUTC": "/Date(1604457589645)/",
"ImportSummary": {
"Accounts": {
"Total": 17,
"New": 0,
"Updated": 8,
"Deleted": 0,
"Locked": 0,
"System": 9,
"Errored": 0,
"Present": true,
"NewOrUpdated": 8
},
"Organisation": {
"Present": false
}
}
}
}
]
}
Every example here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for examples
4 MCP tools reach this
find_examplesBrowse and filter every example in the catalog.
apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
resolveTurn a domain, URL or GitHub org into the provider it belongs to.
find_cohortsEvery scored population of providers in the catalog.
All 92 tools →
Call it yourself
curl for this page
This example
curl "https://apis.io/api/v1/examples/xero-postsetup-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms .
A second provider on the same verified email joins the account you already have.