Xero · Schema
IncomeByContactResponse
AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business
Properties
| Name | Type | Description |
|---|---|---|
| startDate | string | Start date of the report |
| endDate | string | End date of the report |
| total | number | Total value |
| totalDetail | object | |
| totalOther | object | |
| contacts | array | |
| manualJournals | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/xero/main/json-schema/xero-income-by-contact-response-schema.json",
"title": "IncomeByContactResponse",
"x-generated": "2026-10-20",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/xero-finance-api-openapi.yml#/components/schemas/IncomeByContactResponse",
"type": "object",
"properties": {
"startDate": {
"type": "string",
"description": "Start date of the report",
"format": "date"
},
"endDate": {
"type": "string",
"description": "End date of the report",
"format": "date"
},
"total": {
"type": "number",
"description": "Total value",
"format": "double",
"x-is-money": true
},
"totalDetail": {
"$ref": "#/$defs/TotalDetail"
},
"totalOther": {
"$ref": "#/$defs/TotalOther"
},
"contacts": {
"type": "array",
"items": {
"$ref": "#/$defs/ContactDetail"
}
},
"manualJournals": {
"$ref": "#/$defs/ManualJournalTotal"
}
},
"additionalProperties": false,
"$defs": {
"ContactDetail": {
"type": "object",
"properties": {
"contactId": {
"type": "string",
"description": "ID of the contact associated with the transactions.\n\nTransactions with no contact will be grouped under the special ID: 86793108-198C-46D8-90A3-43C1D12686CE.\n\nTransactions that are receive or spend bank transfers will be grouped under the special ID: 207322B3-6A58-4BE7-80F1-430123914AD6",
"format": "uuid"
},
"name": {
"type": "string",
"description": "Name of the contact associated with the transactions.\n\nIf no contact is associated with the transactions this will appear as “None Provided”,\n\nFor receive or spend bank transfer transactions, this will appear as “Bank Transfer”."
},
"total": {
"type": "number",
"description": "Total value for the contact",
"format": "double",
"x-is-money": true
},
"totalDetail": {
"$ref": "#/$defs/ContactTotalDetail"
},
"totalOther": {
"$ref": "#/$defs/ContactTotalOther"
},
"accountCodes": {
"type": "array",
"items": {
"type": "string"
},
"description": "A list of account codes involved in transactions."
}
},
"additionalProperties": false
},
"ContactTotalDetail": {
"type": "object",
"properties": {
"totalPaid": {
"type": "number",
"description": "Total paid invoice and cash value for the contact within the period.",
"format": "double",
"x-is-money": true
},
"totalOutstanding": {
"type": "number",
"description": "Total outstanding invoice value for the contact within the period.",
"format": "double",
"x-is-money": true
},
"totalCreditedUnApplied": {
"type": "number",
"description": "Total unapplied credited value for the contact within the period.",
"format": "double",
"x-is-money": true
}
},
"additionalProperties": false
},
"ContactTotalOther": {
"type": "object",
"properties": {
"totalOutstandingAged": {
"type": "number",
"description": "Total outstanding invoice value for the contact within the period where the invoices are more than 90 days old",
"format": "double",
"x-is-money": true
},
"totalVoided": {
"type": "number",
"description": "Total voided value for the contact.",
"format": "double",
"x-is-money": true
},
"totalCredited": {
"type": "number",
"description": "Total credited value for the contact.",
"format": "double",
"x-is-money": true
},
"transactionCount": {
"type": "integer",
"description": "Number of transactions for the contact.",
"format": "int32"
}
},
"additionalProperties": false
},
"ManualJournalTotal": {
"type": "object",
"properties": {
"total": {
"type": "number",
"description": "Total value of manual journals.",
"format": "double",
"x-is-money": true
}
},
"additionalProperties": false
},
"TotalDetail": {
"type": "object",
"properties": {
"totalPaid": {
"type": "number",
"description": "Total paid invoice and cash value within the period.",
"format": "double",
"x-is-money": true
},
"totalOutstanding": {
"type": "number",
"description": "Total outstanding invoice value within the period.",
"format": "double",
"x-is-money": true
},
"totalCreditedUnApplied": {
"type": "number",
"description": "Total unapplied credited value within the period.",
"format": "double",
"x-is-money": true
}
},
"additionalProperties": false
},
"TotalOther": {
"type": "object",
"properties": {
"totalOutstandingAged": {
"type": "number",
"description": "Total outstanding invoice value within the period where the invoices are more than 90 days old",
"format": "double",
"x-is-money": true
},
"totalVoided": {
"type": "number",
"description": "Total voided value.",
"format": "double",
"x-is-money": true
},
"totalCredited": {
"type": "number",
"description": "Total credited value.",
"format": "double",
"x-is-money": true
}
},
"additionalProperties": false
}
}
}
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-income-by-contact-response"
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.