Xero · Schema

Element

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Properties

Name Type Description
ValidationErrors array Array of Validation Error message
BatchPaymentID string Unique ID for batch payment object with validation error
BankTransactionID string
CreditNoteID string
ContactID string
InvoiceID string
ItemID string
PurchaseOrderID string
View JSON Schema on GitHub

JSON Schema

xero-element-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Element",
  "title": "Element",
  "externalDocs": {
    "url": "https://developer.xero.com/documentation/api/http-response-codes"
  },
  "properties": {
    "ValidationErrors": {
      "description": "Array of Validation Error message",
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ValidationError"
      }
    },
    "BatchPaymentID": {
      "description": "Unique ID for batch payment object with validation error",
      "type": "string",
      "format": "uuid"
    },
    "BankTransactionID": {
      "type": "string",
      "format": "uuid"
    },
    "CreditNoteID": {
      "type": "string",
      "format": "uuid"
    },
    "ContactID": {
      "type": "string",
      "format": "uuid"
    },
    "InvoiceID": {
      "type": "string",
      "format": "uuid"
    },
    "ItemID": {
      "type": "string",
      "format": "uuid"
    },
    "PurchaseOrderID": {
      "type": "string",
      "format": "uuid"
    }
  },
  "type": "object"
}