The new Apideck developer docs are live. See what’s new →

Bank Feeds API Integration: Sync Bank Transactions

A bank feeds API integration syncs bank transactions into accounting software: native feeds into 10 ledgers, QuickBooks Online via Intuit, with code.

Saurabh RaiSaurabh Rai

Saurabh Rai · Developer Relations Engineer, Apideck

20 min readView as .md
Bank Feeds API Integration: Sync Bank Transactions

Short answer: If you build a card or payments product and want your customers' transactions to appear in their accounting software, you need a bank feeds API integration: you post statements into each ledger's bank feed API, and the transactions land in the customer's reconciliation screen. Apideck's Bank Feeds API does this for 10 ledgers through one integration, including Xero and NetSuite, plus QuickBooks Online through Intuit Bank Feeds (early access). If you run a business and want your own bank in your books, connect it inside your accounting software; the steps for each platform are near the end.

Bank feed integration, defined

Bank feed integration connects a platform that holds business transactions, such as a card issuer, business bank or payout platform, to its customers' accounting software, so those transactions arrive in the ledger's bank reconciliation screen automatically, the same way the customer's own bank account does.

Fintech customers expect bank feeds

A prospect's finance lead asks the same thing late in most fintech sales cycles: does this sync with our Xero. If the answer is a CSV export, you're asking them to download a file and match every line by hand, every month. Their bank already does this automatically, so they expect your product to as well.

The reason is reconciliation. When your transactions arrive as a bank feed, the accountant matches each line to an invoice or bill in the same screen they use for their bank, and closes the books without retyping anything. Bank feeds matter most for products that move or hold a business's money:

  • corporate cards and expense management, where each card transaction lands in the ledger and gets matched to its expense report (most card products need an accounting sync for the expenses and a bank feed for the card account itself)
  • business banking and neobanks, where deposit accounts are expected to behave like any other bank account in the books. Arc, which offers startups deposit accounts and treasury management, puts it this way: "It's critical for our customers to sync that data to their accounting systems."
  • bill pay and AP automation, where a payment made in your product shows up in the ledger so the bill can be marked paid
  • treasury platforms, where cash held across accounts and currencies needs to appear in the books daily

If your product falls into one of these groups, bank feeds are a requirement your customers' finance teams will check for.

Bank data APIs vs bank feed APIs

"Bank transactions API" means two different products, and most confusion about syncing comes from mixing them up.

A bank data API reads transactions out of a bank. Plaid, TrueLayer, Tink and MX are in this group: your user grants access to their bank account, and you receive their transaction history. Accounting platforms use these providers themselves; NetSuite's own bank feeds run through MX, for example.

A bank feed API writes transactions into accounting software. You're the source of the transactions (a card program or a wallet, say), and you deliver them to your customer's ledger as a bank feed, the same way their bank does. Apideck, Rutter and Codat sell this.

Bank data APIs read from the bank; bank feed APIs write into the ledger through push feeds, staged CSV, the Intuit holding store or journal entries

If your product holds the money, as a card issuer or wallet does, you need a bank feed API. If you need to see money held at someone else's bank, you need a bank data API. Lenders often need both, which is covered at the end.

Bank data APIs have two limits worth knowing if you plan to pull a customer's bank data and then push it into their ledger. Open banking coverage for business and corporate accounts is patchier than for consumer accounts: some banks exclude corporate accounts or return fewer fields, and multi-signatory and treasury accounts often aren't covered; Open Banking Tracker shows coverage bank by bank. Connections also expire: under PSD2 in Europe, the user has to re-authenticate every 180 days, and a missed renewal leaves a gap in the data until they reconnect.

How transactions get into a ledger

Accounting platforms accept bank data in a few ways, and the route you pick decides what your customer's accountant sees.

Native bank feeds

The ledger keeps a dedicated feed for each bank account. Transactions arrive as unreconciled statement lines, and the accountant matches them against invoices and bills in the bank reconciliation screen. Finance teams expect this because their real bank accounts already work this way. Ten ledgers take native feeds through Apideck today: Xero, NetSuite, Sage Intacct, Exact Online, Zoho Books, Moneybird, Pennylane, Rillet, Snelstart and Twinfield.

File imports

The customer downloads a CSV or OFX file from your product and uploads it into their accounting software. Every ledger supports this and it costs you almost nothing to build. It also stops working the first month someone forgets to do it, and duplicate lines from re-uploaded files become a support problem.

Journal entries

You write transactions straight into the general ledger through the accounting API. This covers ledgers with no bank feed endpoint, but the entries skip the reconciliation queue. Accountants are wary of lines they never got to match, so use this as the fallback. Apideck routes 23 ledgers to journal entries instead of a feed, Business Central and MYOB Business among them.

If your customers have accountants, aim for native feeds wherever the ledger offers them and post journal entries everywhere else.

Bank feeds in Xero, NetSuite, Sage Intacct and QuickBooks

Each ledger runs bank feeds on a different model, which is why building them one at a time is slow.

Xero bank feeds

Xero's Bank Feeds API is a closed API, only available to financial institutions with an established Xero partnership. You apply to become a Xero financial services partner, Xero decides whether to approve you, and your application is certified for bank feeds access before it goes live. A unified API can't skip that step, because the partnership is between you and Xero; it handles the integration once you're approved. Xero checks each statement's arithmetic: the start balance plus all statement line amounts must equal the end balance, and duplicate statements are rejected. A statement's start date can be no older than one year. Statements are also immutable once posted, with no update or delete, so a wrong statement has to be corrected with a new one.

NetSuite bank feeds

NetSuite doesn't accept pushed transactions into its ledger. Bank data has to be staged in the customer's account and picked up by NetSuite's own import. That means an admin installs a SuiteBundle, you supply a Format Profile, and lines appear in Match Bank Data on the next import, which runs on a daily schedule by default or on demand. NetSuite receives a CSV with one signed Amount column and US date formats.

Sage Intacct bank feeds

Sage Intacct has no separate feed account to register. You post against a cash account that already exists in Intacct, and Intacct creates an API-sent bank feed on it.

QuickBooks bank feeds

QuickBooks Online doesn't take pushed transactions either. It only pulls bank data from data providers on Intuit's network, on Intuit's schedule. Getting listed through Intuit's partner program directly can take 6 to 12 months or longer, and once you're listed you still can't trigger a real-time push.

Apideck's route goes through Intuit Bank Feeds: your platform appears in the QuickBooks bank list under your own name, Apideck's FDX data provider (FDX Connect) serves the data, and Intuit fetches it. Statements you post wait in a holding store on Apideck's side until Intuit collects them. You call the same Bank Feeds API as for every other ledger. This route is in early access.

The work Apideck takes on

Most of that per-ledger work moves to Apideck's bank feeds integration.

One integration instead of one per ledger

You build against one statement format. Apideck's connectors translate it into each ledger's own mechanism: Xero's Bank Feeds API, a staged CSV that NetSuite's import picks up, an API-sent feed on an Intacct cash account, or Intuit Bank Feeds through FDX Connect. Ledgers without a feed endpoint get journal entries, so customers on 23 more ledgers are covered without a second integration.

Authentication you don't build

Vault, Apideck's hosted connection flow, handles each ledger's OAuth and stores credentials encrypted. Customers connect their accounting software in a white-label flow, and you never handle their tokens.

Maintenance you don't do

When a ledger changes its API or authentication, Apideck updates the connector and your code keeps working. API versions are deprecated with 60 days' notice.

The original data when you need it

Responses use one normalized format, and raw=true also returns the ledger's original response.

The limit: Xero's partnership

It can't get you a Xero partnership. That application is between you and Xero.

Bank feeds in European ledgers

US-built feed providers tend to stop at Xero, QuickBooks and NetSuite. European customers often run something else, and each of these ledgers handles feeds slightly differently through Apideck:

LedgerMarketsHow the feed works
Exact OnlineNetherlands, Belgium, UK (three connectors)Full support: create a feed account, then post statements
PennylaneFranceStatements only, posted against an existing account
TwinfieldNetherlandsStatements only and create-only: posted statements can't be read back
SnelstartNetherlandsStatements only and create-only: posted statements can't be read back
MoneybirdNetherlandsFeed accounts can be listed but not created; statements can be created and read
Zoho BooksGlobal; Plaid network in US and CanadaCreating a feed account creates a Zoho Books bank account

For Twinfield and Snelstart, keep your own record of every statement you send, because you can't confirm it through the API afterwards.

Bank feed APIs compared

Several unified API providers offer bank feeds. This table only includes what each vendor states on its own bank feed pages and docs as of October 2026. "Not stated" means we couldn't find it there, not that the feature is missing.

ApideckRutterCodatMergeChift
Native bank feed ledgers listedXero, NetSuite, Sage Intacct, Exact Online, Zoho Books, Moneybird, Pennylane, Rillet, Snelstart, TwinfieldQuickBooks Online, QuickBooks Desktop, Quicken, Credit Karma, Xero, Sage Intacct, NetSuite, WaveQuickBooks Online, Xero, Sage, NetSuite, Sage Intacct, FreshBooks "and more"Not stated per ledger; BankFeedAccount and BankFeedTransaction models, with POST /bank-feed-transactionsNo bank feed list; "150+ connectors" across Europe
QuickBooks Online routeIntuit Bank Feeds via FDX Connect (early access)Intuit Bank Feeds connectionNot statedNot statedNot stated
Xero partnershipYour own Xero partnership requiredNot statedNot statedNot statedNot stated
Ledgers without a feed endpointJournal entries (23 ledgers)Not statedNot statedNot statedPicks "the optimal route per connector"
Regional focusUS plus Benelux and French ledgersNot statedNot statedNot statedEurope

Rutter is ahead on the Intuit family today: QuickBooks Desktop, Quicken and Credit Karma are on its list and not on ours. Apideck covers more European ledgers natively and states a fallback for ledgers without a feed endpoint. Check each vendor's current docs before you choose, because these lists change often.

The Bank Feeds API lifecycle, with code

A unified bank feeds API puts those models behind one set of endpoints. Apideck's bank feed resources are currently in beta.

  1. Connect the customer. Create a Vault session (POST https://unify.apideck.com/vault/sessions) once per customer. They pick their accounting software and authorize the connection in Apideck's hosted UI.
  2. On ledgers that register feed accounts (Xero, Exact Online and Zoho Books, for example), create one with POST /accounting/bank-feed-accounts for each account you want to sync. Sage Intacct, Pennylane, Twinfield, Snelstart and Rillet skip this step: you post against an existing account, which you can look up with GET /accounting/bank-accounts.
  3. The customer links the feed to a bank account in their ledger. On NetSuite, an admin installs the Apideck bundle first, which takes about 15 minutes.
  4. Post statements with POST /accounting/bank-feed-statements: a batch of posted transactions with a start and end balance. You keep calling this for as long as the customer stays connected.
  5. Read back with GET /accounting/bank-feed-statements to confirm what the ledger accepted, where the connector supports it. Each statement has a status of pending, success or rejected.

Create a feed account

curl -X POST https://unify.apideck.com/accounting/bank-feed-accounts \
  -H "Authorization: Bearer $APIDECK_API_KEY" \
  -H "x-apideck-app-id: $APIDECK_APP_ID" \
  -H "x-apideck-consumer-id: customer-1234" \
  -H "x-apideck-service-id: xero" \
  -H "Content-Type: application/json" \
  -d '{
    "bank_account_type": "credit_card",
    "source_account_id": "card_program_42",
    "target_account_name": "Acme Corporate Card",
    "currency": "USD",
    "country": "US"
  }'

bank_account_type is bank or credit_card. On Xero, a feed account corresponds to a Xero feed connection: pass target_account_id to link a bank account that already exists in Xero, or target_account_name and target_account_number to have Xero create a new one. The response returns the new feed account's id, which you use as bank_feed_account_id on every statement.

Post a statement

curl -X POST https://unify.apideck.com/accounting/bank-feed-statements \
  -H "Authorization: Bearer $APIDECK_API_KEY" \
  -H "x-apideck-app-id: $APIDECK_APP_ID" \
  -H "x-apideck-consumer-id: customer-1234" \
  -H "x-apideck-service-id: xero" \
  -H "Content-Type: application/json" \
  -d '{
    "bank_feed_account_id": "feed_acc_789",
    "start_date": "2026-10-01T00:00:00Z",
    "end_date": "2026-10-07T23:59:59Z",
    "start_balance": 12500.00,
    "start_balance_credit_or_debit": "credit",
    "end_balance": 11842.35,
    "end_balance_credit_or_debit": "credit",
    "transactions": [
      {
        "source_transaction_id": "txn_000481",
        "posted_date": "2026-10-03T00:00:00Z",
        "amount": 657.65,
        "credit_or_debit": "debit",
        "transaction_type": "payment",
        "counterparty": "Office Depot",
        "description": "Card purchase, office supplies",
        "reference": "INV-2291",
        "merchant_category_code": "5943"
      }
    ]
  }'

A successful call returns 201 with the statement's id in data:

{
  "status_code": 201,
  "status": "Created",
  "service": "xero",
  "operation": "add",
  "data": { "id": "12345" }
}

The same call with the Node SDK (@apideck/unify):

import { Apideck } from "@apideck/unify";
 
const apideck = new Apideck({
  consumerId: "customer-1234",
  appId: process.env["APIDECK_APP_ID"] ?? "",
  apiKey: process.env["APIDECK_API_KEY"] ?? "",
});
 
const result = await apideck.accounting.bankFeedStatements.create({
  serviceId: "xero",
  bankFeedStatement: {
    bankFeedAccountId: "feed_acc_789",
    startDate: new Date("2026-10-01T00:00:00Z"),
    endDate: new Date("2026-10-07T23:59:59Z"),
    startBalance: 12500.0,
    startBalanceCreditOrDebit: "credit",
    endBalance: 11842.35,
    endBalanceCreditOrDebit: "credit",
    transactions: [
      {
        postedDate: new Date("2026-10-03T00:00:00Z"),
        amount: 657.65,
        creditOrDebit: "debit",
        sourceTransactionId: "txn_000481",
        counterparty: "Office Depot",
        description: "Card purchase, office supplies",
        reference: "INV-2291",
        transactionType: "payment",
        merchantCategoryCode: "5943",
      },
    ],
  },
});

And with the Python SDK (apideck-unify), where the body fields are keyword arguments:

import os
import apideck_unify
from apideck_unify import Apideck
from apideck_unify.utils import parse_datetime
 
with Apideck(
    consumer_id="customer-1234",
    app_id=os.getenv("APIDECK_APP_ID", ""),
    api_key=os.getenv("APIDECK_API_KEY", ""),
) as apideck:
    res = apideck.accounting.bank_feed_statements.create(
        service_id="xero",
        bank_feed_account_id="feed_acc_789",
        start_date=parse_datetime("2026-10-01T00:00:00Z"),
        end_date=parse_datetime("2026-10-07T23:59:59Z"),
        start_balance=12500.00,
        start_balance_credit_or_debit=apideck_unify.CreditOrDebit.CREDIT,
        end_balance=11842.35,
        end_balance_credit_or_debit=apideck_unify.CreditOrDebit.CREDIT,
        transactions=[
            {
                "posted_date": parse_datetime("2026-10-03T00:00:00Z"),
                "amount": 657.65,
                "credit_or_debit": apideck_unify.CreditOrDebit.DEBIT,
                "source_transaction_id": "txn_000481",
                "counterparty": "Office Depot",
                "description": "Card purchase, office supplies",
                "reference": "INV-2291",
                "transaction_type": apideck_unify.BankFeedStatementTransactionType.PAYMENT,
                "merchant_category_code": "5943",
            },
        ],
    )

Change the service ID to netsuite or sage-intacct and the same payload goes to that ledger. (The service header is only required when a customer has connected more than one accounting platform, but setting it keeps the routing obvious.) The connector deals with each ledger's quirks, such as NetSuite's staging and Intacct's API-sent feed. One thing it can't remove: Xero only opens its Bank Feeds API to financial institutions it has partnered with, so you still need your own Xero partnership for that route.

Check what the ledger accepted

curl "https://unify.apideck.com/accounting/bank-feed-statements?limit=50" \
  -H "Authorization: Bearer $APIDECK_API_KEY" \
  -H "x-apideck-app-id: $APIDECK_APP_ID" \
  -H "x-apideck-consumer-id: customer-1234" \
  -H "x-apideck-service-id: xero"

Each statement in data carries its status and its bank_feed_account_id; match on that field to see one feed account's statements. Results are paginated with meta.cursors.next (up to 200 per page).

How fields map into the ledger

What your fields become depends on the ledger. On Sage Intacct the mapping is explicit:

Apideck fieldSage Intacct bank feed field
bank_feed_account_idAccount (the cash account ID)
start_dateFeed date
transactions[].posted_datePosting date
transactions[].transaction_typeTransaction type (mapped to Intacct types)
transactions[].referenceDocument number
transactions[].counterpartyPayee
transactions[].amountAmount, signed by credit_or_debit
transactions[].descriptionDescription
transactions[].source_transaction_idTransaction ID

NetSuite receives a CSV instead, with Account Number, Date, Transaction Type, Amount, Payee or Payer Name, Transaction ID, Currency and Memo columns, plus customer and invoice references for matching. The Amount is a single signed column; the separate credit and debit columns stay blank.

Two practical consequences: put the merchant or customer name in counterparty, because that's what the accountant sees as the payee, and put your own invoice or payment reference in reference so it lands in a field Intacct's matching rules can use.

Backfill, timing and rejected statements

Most of the questions customers ask after launch are about when transactions show up and why some didn't.

Backfill depends on the ledger. Xero accepts statements starting up to one year back, so if a new customer wants their history, decide early how much you'll send and in what batches.

Most products post statements daily, in chronological order and without gaps or overlaps between statement periods. Timing on the ledger side depends on whether it receives or pulls. Statements to Xero, Sage Intacct and the other push ledgers post when you send them. NetSuite picks lines up on its next import (daily by default), and QuickBooks Online fetches through Intuit on Intuit's schedule. Put the expected delay in your UI, or you'll get "the sync is broken" tickets that are really scheduling questions.

Rejections come back as a statement status of rejected. Check GET /accounting/bank-feed-statements after posting, alert on rejections, and fix the cause before sending the next statement. On Xero, a balance that doesn't add up is the first thing to check, and because Xero statements can't be edited, the fix is a corrected new statement.

Details that cause most bank feed bugs

Amounts are always positive

Direction lives in credit_or_debit. A debit is a positive amount with credit_or_debit: "debit", never a negative number.

Send a stable source_transaction_id

Retries happen. A stable ID from your own system lets you recognise a transaction you already sent, so a retry doesn't leave the accountant a duplicate to delete by hand.

Only send posted transactions

Pending card authorizations change amount or disappear. If they reach the ledger, the accountant reconciles a number that no longer exists.

Make the balances add up

The start balance plus the statement's lines has to equal the end balance. Xero rejects statements where it doesn't. Carry each statement's end balance forward as the next one's start balance too, because an accountant will spot a gap on any ledger.

Send the merchant category code when you have it

merchant_category_code (ISO 18245) gives the ledger's categorisation rules something to work with beyond a free-text description.

Reading bank transactions out of accounting software

Some teams need the opposite direction. A lender underwriting a small business or a cash flow forecasting tool wants the bank activity already recorded in the customer's books.

Accounting APIs expose that activity as bookkeeping records: payments and journal entries posted against the bank's ledger account. With Apideck's Accounting API you can:

  • list bank accounts and balances with GET /accounting/bank-accounts (each account includes its ledger_account and currency)
  • pull ledger activity with GET /accounting/general-ledger-transactions, where each record has a source_type (payment or journal entry, for example) and line items tagged with their ledger account. Match those against the bank account's ledger_account to isolate the lines that hit that bank (the filter happens on your side)

For the bank's own transaction history, use a bank data API. Pair that with the accounting data above to compare the cash in the bank with what the books say.

Security and data retention

Bank transactions are sensitive, and finance teams will ask where they go. Apideck is SOC 2 Type II certified and GDPR-compliant, and hosts in the EU by default. API payloads pass through without being stored. One exception applies to bank feeds: on the QuickBooks Online route, posted statements wait in a holding store on Apideck's side until Intuit fetches them, because QuickBooks pulls rather than receives. Customer credentials and OAuth tokens are stored encrypted in Vault.

Connecting a bank as a business user

If you're a business that just wants your own bank transactions in your books, you don't need an API: every platform has a built-in flow. These steps come from each vendor's documentation as of October 2026.

QuickBooks Online

Following Intuit's instructions, go to All apps > Accounting > Bank transactions and select Connect account (or Link account if one is already connected). Search for your bank, sign in, pick the accounts, choose a start date and select Connect. How far back you can download varies by bank, from 90 days up to 24 months. Your accountant can't connect the bank for you; the account owner has to.

QuickBooks Online's Connect an account screen

Xero

As Xero's connect-your-bank page describes, go to Accounting > Bank Accounts and click Add Bank Account, search for your bank and follow the prompts to authorize the connection. If your bank has no feed, Xero imports statements in OFX, QIF, QBO, QFX or CSV format.

NetSuite

Install the Bank Feeds SuiteApp. Then, following Oracle's setup steps, go to Setup > Accounting > Financial Statements > Financial Institution > List, view the Bank Feeds record, edit the U.S. and Canada Accounts (MX) format profile, and click Connect New Institution on the Connectivity Configuration subtab. You need Administrator access, and popups must be enabled.

Sage Intacct

As Sage Intacct's help center explains, subscribe to Sage Cloud Services first (Company > Admin > Subscriptions) and enable bank feeds. Then open the account under Cash Management > Setup > Accounts, select Edit, and click Connect on the Banking cloud tab. Checking, savings and credit card accounts can connect; the first 200 are free. Transactions can take up to 5 business days to arrive after the first connection, and most banks provide up to 90 days of history.

Choosing an approach

If you serve a handful of customers on one ledger and they're happy uploading files, ship CSV export and move on. If your customers are spread across several ledgers and their accountants expect your transactions in the reconciliation screen next to their bank's, build bank feeds. Doing that ledger by ledger means a separate integration model per ledger. A unified Bank Feeds API gets you the same coverage with one integration, though Xero still requires its own partnership.

Book a demo, walk through the interactive bank feeds demo, check which ledgers are live, or sign up for a 30-day free trial with full API access (no credit card required). For Xero specifically, the Xero bank feeds developer guide walks through the partner setup.

Frequently asked questions

Trusted by fast-moving product & engineering teams

Bonsai by Zoom
JobNimbus
Blue Zinc
Exact
Drata