Xero · Schema

BankTransactionResponse

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Properties

Name Type Description
bankTransactionId string Xero Identifier of transaction
batchPaymentId string Xero Identifier of batch payment. Present if the transaction is part of a batch.
contact object
date string Date of transaction - YYYY-MM-DD
amount number Amount of transaction
lineItems array The LineItems element can contain any number of individual LineItem sub-elements. Not included in summary mode
View JSON Schema on GitHub

JSON Schema

xero-banktransactionresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/BankTransactionResponse",
  "title": "BankTransactionResponse",
  "type": "object",
  "properties": {
    "bankTransactionId": {
      "type": "string",
      "description": "Xero Identifier of transaction",
      "format": "uuid"
    },
    "batchPaymentId": {
      "type": "string",
      "description": "Xero Identifier of batch payment. Present if the transaction is part of a batch.",
      "format": "uuid"
    },
    "contact": {
      "$ref": "#/components/schemas/ContactResponse"
    },
    "date": {
      "type": "string",
      "description": "Date of transaction - YYYY-MM-DD",
      "format": "date"
    },
    "amount": {
      "type": "number",
      "description": "Amount of transaction",
      "format": "double",
      "x-is-money": true
    },
    "lineItems": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/LineItemResponse"
      },
      "description": "The LineItems element can contain any number of individual LineItem sub-elements. Not included in summary mode"
    }
  },
  "additionalProperties": false
}