Allows you to retrieve any spend or receive money transactions

GET {{baseUrl}}/BankTransactions?where=<string>&order=<string>&page=<integer>&unitdp=<integer>

Request Params

KeyDatatypeRequiredDescription
wherestringFilter by an any element
orderstringOrder by an any element
pagestringUp to 100 bank transactions will be returned in a single API call with line items details
unitdpstringe.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts

HEADERS

KeyDatatypeRequiredDescription
If-Modified-SincestringOnly records created or modified since this timestamp will be returned
xero-tenant-idstring(Required) Xero identifier for Tenant

RESPONSES

status: OK

{&quot;Id&quot;:&quot;18e7e80c-5dca-4a57-974e-8b572cc5efe8&quot;,&quot;Status&quot;:&quot;OK&quot;,&quot;ProviderName&quot;:&quot;Xero API Partner&quot;,&quot;DateTimeUTC&quot;:&quot;/Date(1551212901659)/&quot;,&quot;BankTransactions&quot;:[{&quot;BankTransactionID&quot;:&quot;db54aab0-ad40-4ced-bcff-0940ba20db2c&quot;,&quot;BankAccount&quot;:{&quot;AccountID&quot;:&quot;6f7594f2-f059-4d56-9e67-47ac9733bfe9&quot;,&quot;Code&quot;:&quot;088&quot;,&quot;Name&quot;:&quot;Business Wells Fargo&quot;},&quot;BatchPayment&quot;:{&quot;Account&quot;:{&quot;AccountID&quot;:&quot;6f7594f2-f059-4d56-9e67-47ac9733bfe9&quot;},&quot;BatchPaymentID&quot;:&quot;b54aa50c-794c-461b-89d1-846e1b84d9c0&quot;,&quot;Date&quot;:&quot;/Date(1476316800000+0000)/&quot;,&quot;Type&quot;:&quot;RECBATCH&quot;,&quot;Status&quot;:&quot;AUTHORISED&quot;,&quot;TotalAmount&quot;:&quot;12.00&quot;,&quot;UpdatedDateUTC&quot;:&quot;/Date(1476392487037+0000)/&quot;,&quot;IsReconciled&quot;:&quot;false&quot;},&quot;Type&quot;:&quot;RECEIVE&quot;,&quot;IsReconciled&quot;:false,&quot;PrepaymentID&quot;:&quot;cb62750f-b49c-464b-a45b-e2e2c514c8a9&quot;,&quot;HasAttachments&quot;:true,&quot;Contact&quot;:{&quot;ContactID&quot;:&quot;9c2c64de-12c9-4167-b503-e2c0e1aa1f49&quot;,&quot;Name&quot;:&quot;sam&quot;,&quot;Addresses&quot;:[],&quot;Phones&quot;:[],&quot;ContactGroups&quot;:[],&quot;ContactPersons&quot;:[],&quot;HasValidationErrors&quot;:false},&quot;DateString&quot;:&quot;2016-10-13T00:00:00&quot;,&quot;Date&quot;:&quot;/Date(1476316800000+0000)/&quot;,&quot;Status&quot;:&quot;AUTHORISED&quot;,&quot;LineAmountTypes&quot;:&quot;Exclusive&quot;,&quot;LineItems&quot;:[],&quot;SubTotal&quot;:10,&quot;TotalTax&quot;:0,&quot;Total&quot;:10,&quot;UpdatedDateUTC&quot;:&quot;/Date(1476389616437+0000)/&quot;,&quot;CurrencyCode&quot;:&quot;USD&quot;},{&quot;BankTransactionID&quot;:&quot;29a69c45-64ca-4805-a1cc-34990de837b3&quot;,&quot;BankAccount&quot;:{&quot;AccountID&quot;:&quot;6f7594f2-f059-4d56-9e67-47ac9733bfe9&quot;,&quot;Code&quot;:&quot;088&quot;,&quot;Name&quot;:&quot;Business Wells Fargo&quot;},&quot;Type&quot;:&quot;SPEND-OVERPAYMENT&quot;,&quot;IsReconciled&quot;:false,&quot;OverpaymentID&quot;:&quot;7d457db3-3b0a-47e9-8b79-81252a7bcdcb&quot;,&quot;HasAttachments&quot;:false,&quot;Contact&quot;:{&quot;ContactID&quot;:&quot;9c2c64de-12c9-4167-b503-e2c0e1aa1f49&quot;,&quot;Name&quot;:&quot;sam&quot;,&quot;Addresses&quot;:[],&quot;Phones&quot;:[],&quot;ContactGroups&quot;:[],&quot;ContactPersons&quot;:[],&quot;HasValidationErrors&quot;:false},&quot;DateString&quot;:&quot;2016-10-13T00:00:00&quot;,&quot;Date&quot;:&quot;/Date(1476316800000+0000)/&quot;,&quot;Status&quot;:&quot;AUTHORISED&quot;,&quot;LineAmountTypes&quot;:&quot;NoTax&quot;,&quot;LineItems&quot;:[],&quot;SubTotal&quot;:9,&quot;TotalTax&quot;:0,&quot;Total&quot;:9,&quot;UpdatedDateUTC&quot;:&quot;/Date(1476389930500+0000)/&quot;,&quot;CurrencyCode&quot;:&quot;USD&quot;},{&quot;BankTransactionID&quot;:&quot;0b89bf5c-d40b-4514-96be-36a739fb0188&quot;,&quot;BankAccount&quot;:{&quot;AccountID&quot;:&quot;6f7594f2-f059-4d56-9e67-47ac9733bfe9&quot;,&quot;Code&quot;:&quot;088&quot;,&quot;Name&quot;:&quot;Business Wells Fargo&quot;},&quot;Type&quot;:&quot;SPEND-OVERPAYMENT&quot;,&quot;IsReconciled&quot;:false,&quot;OverpaymentID&quot;:&quot;bf9b5f33-c0d6-4182-84a2-40848023e5a1&quot;,&quot;HasAttachments&quot;:false,&quot;Contact&quot;:{&quot;ContactID&quot;:&quot;9c2c64de-12c9-4167-b503-e2c0e1aa1f49&quot;,&quot;Name&quot;:&quot;sam&quot;,&quot;Addresses&quot;:[],&quot;Phones&quot;:[],&quot;ContactGroups&quot;:[],&quot;ContactPersons&quot;:[],&quot;HasValidationErrors&quot;:false},&quot;DateString&quot;:&quot;2016-10-13T00:00:00&quot;,&quot;Date&quot;:&quot;/Date(1476316800000+0000)/&quot;,&quot;Status&quot;:&quot;AUTHORISED&quot;,&quot;LineAmountTypes&quot;:&quot;NoTax&quot;,&quot;LineItems&quot;:[],&quot;SubTotal&quot;:8,&quot;TotalTax&quot;:0,&quot;Total&quot;:8,&quot;UpdatedDateUTC&quot;:&quot;/Date(1476392487037+0000)/&quot;,&quot;CurrencyCode&quot;:&quot;USD&quot;}]}