Sign in

Update bank transaction

documented

Update a bank transaction.

PUT /BankTransactions/{BankTransactionID}Bank Transactionsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.xero.com/api.xro/2.0/BankTransactions/{{$bank_transaction_id}}?unitdp={{unitdp}}" \
  -X PUT \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Xero-tenant-id: {{XERO_TENANT_ID}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"BankTransactions": [ { "Reference": "{{$reference}}", "Type": "{{$type}}", "Contact": { "ContactID": "{{$contact_id}}" }, "LineItems": [ { "Description": "{{$description}}", "Quantity": {{$quantity}}, "UnitAmount": {{$unit_amount}}, "AccountCode": "{{$account_code}}" } ], "BankAccount": { "AccountID": "{{$bank_account_id}}" } } ] }'