latestOpenAPI 3.0.02026-08-10233809957.8 KB
5cdfae3fa1fa
Bank Transactions (Accounting)
Batch Update Bank Transactions
Supported for:
xero
put/v2/accounting/bankTransactions/batch
Request body
Example request
{
"connectionUuid": "CON-396d5daa-26b2-4979-89b6-cafb2c298155",
"batch": [
{
"passThrough": {
"CustomField": [
{
"DefinitionId": "1",
"StringValue": "my custom value",
"Name": "Field One"
}
]
},
"currency": "CAD",
"transactionType": "payment",
"transactionDirection": "incoming",
"bankAccountRef": {
"id": "200"
},
"entityRef": {
"type": "customer",
"id": "130"
},
"lines": [
{
"id": "8a3fdcc9-83eb-4fdd-83e0-52ec1b40b072",
"description": "Services rendered.",
"accountRef": {
"id": "200"
},
"taxRateRef": {
"id": "12"
},
"trackingCategoryRefs": [
{
"id": "4040",
"type": "class"
}
]
}
],
"memo": "Example memo.",
"postedDate": "2020-11-30"
}
]
}Response
Example response
{
"connectionUuid": "CON-396d5daa-26b2-4979-89b6-cafb2c298155",
"businessName": "Railz",
"serviceName": "xero",
"batchId": "60473b57f0cdd1683ca71f60",
"batch": [
{
"pushCommunicationId": "60473b57f0cdd1683ca71f60",
"requestedOn": "2021-03-09T08:15:22.035Z",
"status": "pending",
"data": {
"passThrough": {
"CustomField": [
{
"DefinitionId": "1",
"StringValue": "my custom value",
"Name": "Field One"
}
]
},
"currency": "CAD",
"transactionType": "payment",
"transactionDirection": "incoming",
"bankAccountRef": {
"id": "200"
},
"entityRef": {
"type": "customer",
"id": "130"
},
"lines": [
{
"id": "8a3fdcc9-83eb-4fdd-83e0-52ec1b40b072",
"description": "Services rendered.",
"accountRef": {
"id": "200"
},
"taxRateRef": {
"id": "12"
},
"trackingCategoryRefs": [
{
"id": "4040",
"type": "class"
}
]
}
],
"memo": "Example memo.",
"postedDate": "2020-11-30"
}
}
]
}