Xero · Schema
Association
AccountingBank FeedsFinanceFinancial-ServicesInvoicingPayrollSmall Business
Properties
| Name | Type | Description |
|---|---|---|
| SendWithObject | boolean | Boolean flag to determines whether the file is sent with the document it is attached to on client facing communications. Note- The SendWithObject element is only returned when using /Associations/{Obj |
| Name | string | The name of the associated file. Note- The Name element is only returned when using /Associations/{ObjectId} endpoint. |
| Size | integer | The size of the associated file in bytes. Note- The Size element is only returned when using /Associations/{ObjectId} endpoint. |
| CreatedDateUtc | string | The date the file was created (UTC). Note- The CreatedDateUtc element is only returned when using /Associations/{ObjectId} endpoint. |
| AssociationDateUtc | string | The date the file was associated with the object (UTC). Note- The AssociationDateUtc element is only returned when using /Associations/{ObjectId} endpoint. |
| FileId | string | The unique identifier of the file |
| ObjectId | string | The identifier of the object that the file is being associated with (e.g. InvoiceID, BankTransactionID, ContactID) |
| ObjectGroup | object | |
| ObjectType | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Association",
"title": "Association",
"type": "object",
"properties": {
"SendWithObject": {
"description": "Boolean flag to determines whether the file is sent with the document it is attached to on client facing communications. Note- The SendWithObject element is only returned when using /Associations/{ObjectId} endpoint.",
"type": "boolean",
"example": true
},
"Name": {
"description": "The name of the associated file. Note- The Name element is only returned when using /Associations/{ObjectId} endpoint.",
"type": "string",
"example": "Test.pdf"
},
"Size": {
"description": "The size of the associated file in bytes. Note- The Size element is only returned when using /Associations/{ObjectId} endpoint.",
"type": "integer",
"example": 12357
},
"CreatedDateUtc": {
"description": "The date the file was created (UTC). Note- The CreatedDateUtc element is only returned when using /Associations/{ObjectId} endpoint.",
"type": "string",
"format": "date-time",
"example": "2020-12-10T01:22:00.0000000"
},
"AssociationDateUtc": {
"description": "The date the file was associated with the object (UTC). Note- The AssociationDateUtc element is only returned when using /Associations/{ObjectId} endpoint.",
"type": "string",
"format": "date-time",
"example": "2020-12-10T01:22:00.0000000"
},
"FileId": {
"description": "The unique identifier of the file",
"type": "string",
"format": "uuid"
},
"ObjectId": {
"description": "The identifier of the object that the file is being associated with (e.g. InvoiceID, BankTransactionID, ContactID)",
"type": "string",
"format": "uuid"
},
"ObjectGroup": {
"$ref": "#/components/schemas/ObjectGroup"
},
"ObjectType": {
"$ref": "#/components/schemas/ObjectType"
}
}
}
Work with this as data
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema 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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/xero-association"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.