Xero · Schema

LineItemResponse

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Properties

Name Type Description
accountId string Xero Identifier of account
reportingCode string Shown if set
lineAmount number Amount of line item
accountType string Account type
View JSON Schema on GitHub

JSON Schema

xero-lineitemresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/LineItemResponse",
  "title": "LineItemResponse",
  "type": "object",
  "properties": {
    "accountId": {
      "type": "string",
      "description": "Xero Identifier of account",
      "format": "uuid"
    },
    "reportingCode": {
      "type": "string",
      "description": "Shown if set"
    },
    "lineAmount": {
      "type": "number",
      "description": "Amount of line item",
      "format": "double",
      "x-is-money": true
    },
    "accountType": {
      "type": "string",
      "description": "Account type"
    }
  },
  "additionalProperties": false
}