BankTransactions

Columns

Name

Type

ReadOnly

Description

Id [KEY]

String

True

The line item index combined with the Id of the bank transaction.

BankTransactionId

String

False

The Id of the bank transaction.

Type

String

False

The transaction type. Valid values are RECEIVE, SPEND, RECEIVE-OVERPAYMENT, RECEIVE-PREPAYMENT, RECEIVE-TRANSFER, SPEND-OVERPAYMENT, SPEND-PREPAYMENT, and SPEND-TRANSFER.

LineAmountTypes

String

False

How line item values are provided relative to tax. Can be either Exclusive, Inclusive or NoTax

Contact_ContactName

String

False

The name of the contact associated with the transaction.

Contact_ContactId

String

False

The Id of the contact associated with the transaction.

BankAccount_AccountId

String

False

The Id for the associated bank account.

BankAccount_AccountName

String

False

The Name for the associated bank account.

BankAccount_Code

String

False

The code for the associated bank account.

LineItem_LineItemId

String

False

The Xero-generated ID of the bank transaction line item

LineItem_Description

String

False

A description for the line item in the bank transaction.

LineItem_Quantity

Double

False

The quantity of the subject of the line item. This value must be greater than or equal to 0.

LineItem_UnitAmount

Decimal

False

The unit amount of the subject of the line item. This amount must be positive.

LineItem_AccountCode

String

False

The code for the referenced account. Including this field is recommended when posting.

LineItem_Item_ItemId

String

False

The ID of the item the lineitem refers to.

LineItem_Item_Name

String

False

The name of the item the lineitem refers to.

LineItem_Item_Code

String

False

The code of the item the lineitem refers to.

LineItem_TaxType

String

False

The tax code for the transaction. This field is used as an override for the default tax code for the selected account.

LineItem_TaxAmount

Decimal

False

The automatically calculated percentage of tax for the line amount, based on the tax rate.

LineItem_LineAmount

Decimal

False

The amount of the line item. If either Quantity or UnitAmount are omitted, Xero will calculate the missing value from LineAmount.

LineItem_TrackingCategory1_CategoryId

String

False

The Id of a tracking category. The API allows two optional tracking categories to be defined.

LineItem_TrackingCategory1_CategoryName

String

False

The name of a tracking category. The API allows two optional tracking categories to be defined.

LineItem_TrackingCategory1_OptionId

String

False

The Id of a tracking category. The API allows two optional tracking categories to be defined.

LineItem_TrackingCategory1_OptionName

String

False

The option of a tracking category. The API allows two optional tracking categories to be defined.

LineItem_TrackingCategory1_Option_Stat

String

False

The status of a tracking category. The API allows two optional tracking categories to be defined.

LineItem_TrackingCategory2_CategoryId

String

False

The Id of a tracking category. The API allows two optional tracking categories to be defined.

LineItem_TrackingCategory2_CategoryName

String

False

The name of a tracking category. The API allows two optional tracking categories to be defined.

LineItem_TrackingCategory2_OptionId

String

False

The Id of a tracking category. The API allows two optional tracking categories to be defined.

LineItem_TrackingCategory2_OptionName

String

False

The option of a tracking category. The API allows two optional tracking categories to be defined.

LineItem_TrackingCategory2_Option_Stat

String

False

The status of a tracking category. The API allows two optional tracking categories to be defined.

LineItemAggregate

String

False

Used to define LineItem rows using XML values. Should be provided on INSERT only.

IsReconciled

Boolean

False

This field shows whether this transaction is reconciled.

Date

Date

False

The date of the transaction.

Reference

String

False

An internal Xero reference for the transaction.

CurrencyRate

Decimal

False

Exchange rate to base currency when money is spent or received. For example, 0.7500. This field is used for only bank transactions not in the base currency. If this is not specified for non-base-currency accounts then either the user-defined rate or the XE.com daily rate will be used.

URL

String

False

A link to a source document.

Status

String

False

The bank transaction status code. The valid values are AUTHORISED and DELETED.

SubTotal

Decimal

False

The total of the transaction, excluding taxes.

TotalTax

Decimal

False

The tax on the bank transaction.

Total

Decimal

False

The total of the transaction, including tax.

PrepaymentId

String

False

Xero generated unique identifier for a Prepayment. This will be returned on BankTransactions with a Type of SPEND-PREPAYMENT or RECEIVE-PREPAYMENT.

OverpaymentId

String

False

Xero generated unique identifier for an Overpayment. This will be returned on BankTransactions with a Type of SPEND-OVERPAYMENT or RECEIVE-OVERPAYMENT.

UpdatedDateUTC

Datetime

True

The date when the transaction was last updated.

FullyPaidOnDate

Date

False

The date when the transaction was fully paid.

TenantId

String

False

The ID of the tenant to query instead of the connection tenant

Last updated