Xero · Schema

Receipt

AccountingBank FeedsFinanceFinancial-ServicesInvoicingPayrollSmall Business

Properties

Name Type Description
Date string Date of receipt – YYYY-MM-DD
Contact object
LineItems array
User object
Reference string Additional reference number
LineAmountTypes string
SubTotal number Total of receipt excluding taxes
TotalTax number Total tax on receipt
Total number Total of receipt tax inclusive (i.e. SubTotal + TotalTax)
ReceiptID string Xero generated unique identifier for receipt
Status string Current status of receipt – see status types
ReceiptNumber string Xero generated sequence number for receipt in current claim for a given user
UpdatedDateUTC string Last modified date UTC format
HasAttachments boolean boolean to indicate if a receipt has an attachment
Url string URL link to a source document – shown as “Go to [appName]” in the Xero app
ValidationErrors array Displays array of validation error messages from the API
Warnings array Displays array of warning messages from the API
Attachments array Displays array of attachments from the API
View JSON Schema on GitHub

JSON Schema

xero-receipt-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Receipt",
  "title": "Receipt",
  "externalDocs": {
    "url": "http://developer.xero.com/documentation/api/receipts/"
  },
  "properties": {
    "Date": {
      "description": "Date of receipt \u2013 YYYY-MM-DD",
      "type": "string",
      "x-is-msdate": true
    },
    "Contact": {
      "$ref": "#/components/schemas/Contact"
    },
    "LineItems": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/LineItem"
      }
    },
    "User": {
      "$ref": "#/components/schemas/User"
    },
    "Reference": {
      "description": "Additional reference number",
      "type": "string"
    },
    "LineAmountTypes": {
      "$ref": "#/components/schemas/LineAmountTypes",
      "type": "string"
    },
    "SubTotal": {
      "description": "Total of receipt excluding taxes",
      "type": "number",
      "format": "double",
      "x-is-money": true
    },
    "TotalTax": {
      "description": "Total tax on receipt",
      "type": "number",
      "format": "double",
      "x-is-money": true
    },
    "Total": {
      "description": "Total of receipt tax inclusive (i.e. SubTotal + TotalTax)",
      "type": "number",
      "format": "double",
      "x-is-money": true
    },
    "ReceiptID": {
      "description": "Xero generated unique identifier for receipt",
      "type": "string",
      "format": "uuid"
    },
    "Status": {
      "description": "Current status of receipt \u2013 see status types",
      "type": "string",
      "enum": [
        "DRAFT",
        "SUBMITTED",
        "AUTHORISED",
        "DECLINED",
        "VOIDED"
      ]
    },
    "ReceiptNumber": {
      "description": "Xero generated sequence number for receipt in current claim for a given user",
      "readOnly": true,
      "type": "string"
    },
    "UpdatedDateUTC": {
      "description": "Last modified date UTC format",
      "type": "string",
      "x-is-msdate-time": true,
      "example": "/Date(1573755038314)/",
      "readOnly": true
    },
    "HasAttachments": {
      "description": "boolean to indicate if a receipt has an attachment",
      "readOnly": true,
      "type": "boolean",
      "default": "false",
      "example": "false"
    },
    "Url": {
      "description": "URL link to a source document \u2013 shown as \u201cGo to [appName]\u201d in the Xero app",
      "readOnly": true,
      "type": "string"
    },
    "ValidationErrors": {
      "description": "Displays array of validation error messages from the API",
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ValidationError"
      }
    },
    "Warnings": {
      "description": "Displays array of warning messages from the API",
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ValidationError"
      }
    },
    "Attachments": {
      "description": "Displays array of attachments from the API",
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Attachment"
      }
    }
  },
  "type": "object"
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/xero-receipt"
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.