For $0.02 a page, 50 pages free, parserkit turns a PDF bank statement into xero.csv: 5 columns, dates as YYYY/MM/DD so Xero reads them one way, and every running balance checked first, up to 250 pages a job.

Import a PDF bank statement into Xero

Xero's CSV import takes up to 100,000 rows, and parserkit writes that file from a PDF statement for $0.02 a page, after checking that the opening balance plus every transaction meets the closing balance. Xero's own PDF import only serves Canada and US organisations, with English files of up to 100 pages and 35MB.

IntegrationsUpdated

Xero

Set it up in Xero

  1. Send the statement

    POST the PDF to /v1/parse with preset=bank_statement, as in the example below. A locked PDF goes with password, which is never stored. A ZIP of one account's statements takes up to 200 files and 250 pages a job.

  2. Read the status

    verified means every required value has a check and none failed. A discrepancy names the check that still fails, so you can fix the row before Xero sees it.

  3. Download xero.csv

    It has Date, Amount, Payee, Description and Reference, with money out as negative amounts. There are no balance columns, which Xero asks you to delete anyway, since it works the balance out from the transactions.

  4. Import it in Xero

    In the Accounting menu, select Bank accounts, open the account's menu and choose Import a Statement. Drop in xero.csv, assign the columns the first time, review the lines and click Complete import.

  5. Keep one account per file

    Xero takes one bank account per file. Several statements in one ZIP add a document column, and a new column makes Xero ask you to assign the columns again.

Example

A 2-page UK bank statement, parsed

Our sample statement in GBP, with its IBAN checked as well as its balances.

POSTapi.parserkit.com/v1/parse?wait=60

curl "https://api.parserkit.com/v1/parse?wait=60" \
  -H "Authorization: Bearer $PARSERKIT_API_KEY" \
  -F file=@statement-thistlecombe.pdf \
  -F preset=bank_statement
response.jsonverified
{
  "id": "job_dai02um19ypnatdgglxt",
  "status": "succeeded",
  "preset": "bank_statement",
  "pages": 2,
  "cost_usd": 0.04,
  "verification_status": "verified",
  "data": {
    "bank": {
      "name": "Thistlecombe Bank",
      "address": "48 Castle Street, Edinburgh EH2 3LU",
      "bic": "THCBGB2E"
    },
    "account": {
      "holder": "Priya Hartwell",
      "number": "31847592",
      "iban": "GB14THCB40116231847592",
      "routing_number": "40-11-62",
      "type": "Current account"
    },
    "currency": "GBP",
    "period_start": "2026-10-01",
    "period_end": "2026-10-31",
    "opening_balance": 2873.4,
    "closing_balance": 3677.26,
    "total_credits": 3033.02,
    "total_debits": 2229.16,
    "transactions": [
      {
        "date": "2026-10-01",
        "description": "Standing order, rent, A Lennox",
        "amount": -1150,
        "balance": 1723.4,
        "page": 1
      },
      {
        "date": "2026-10-03",
        "description": "Direct debit, Forthwell Energy",
        "amount": -84.2,
        "balance": 1639.2,
        "page": 1
      },
      {
        "date": "2026-10-03",
        "description": "Card payment, Bruntsfield Books",
        "amount": -24.98,
        "balance": 1614.22,
        "page": 1
      }
    ]
  },
  "verification": {
    "status": "verified",
    "math_balanced": true,
    "coverage": {
      "values": 122,
      "checked": 122
    },
    "checks": [
      {
        "kind": "balance",
        "path": "closing_balance",
        "status": "pass",
        "expected": 3677.26,
        "actual": 3677.26,
        "difference": 0,
        "message": "opening balance + total credits - total debits"
      },
      {
        "kind": "sum",
        "path": "total_credits",
        "status": "pass",
        "expected": 3033.02,
        "actual": 3033.02,
        "difference": 0,
        "message": "sum of the money-in rows"
      },
      {
        "kind": "sum",
        "path": "total_debits",
        "status": "pass",
        "expected": 2229.16,
        "actual": 2229.16,
        "difference": 0,
        "message": "sum of the money-out rows"
      },
      {
        "kind": "balance",
        "path": "closing_balance",
        "status": "pass",
        "expected": 3677.26,
        "actual": 3677.26,
        "difference": 0,
        "message": "opening balance + every transaction"
      },
      {
        "kind": "running_balance",
        "path": "transactions[].balance",
        "status": "pass",
        "message": "27 of 27 printed balances follow from the one before (in printed order)"
      },
      {
        "kind": "iban",
        "path": "account.iban",
        "status": "pass",
        "actual": "GB14THCB40116231847592",
        "message": "a well-formed IBAN"
      }
    ]
  },
  "outputs": [
    {
      "name": "output.json",
      "bytes": 39145
    },
    {
      "name": "output.xlsx",
      "bytes": 10283
    },
    {
      "name": "output.csv",
      "bytes": 1644
    },
    {
      "name": "quickbooks.csv",
      "bytes": 1358
    },
    {
      "name": "xero.csv",
      "bytes": 2221
    }
  ],
  "warnings": []
}

Real response from . Trimmed to 3 of 27 transactions, with bounding boxes, empty fields and file links left out.

Try it on this file

parserkit's checked xero.csv next to Xero's PDF import

From Xero Central and our own runs.

parserkit's checked xero.csv next to Xero's PDF import
parserkit xero.csvXero PDF import
Who can use itAnyone with the administrator or standard + bank accounts role, through Xero's CSV importOrganisations in Canada and the United States, not on the Ledger plan
LanguagesNot limited to English: our Spanish sample came back verifiedEnglish
Locked PDFsSend the password with the request; it is never storedNot accepted
ScansA scan that fails a check is re-read at 400 DPIAt least 200 DPI, scanned straight
SizeUp to 250 pages a job; 25 MB as an upload, 100 MB from a URLUp to 100 pages and 35MB a statement
ChecksOpening balance plus every row must equal the closing balance; each running balance is checkedA review screen with warnings and errors

Sources: Xero: Import a PDF bank statement, Xero: Import a bank statement in CSV format

Where Xero's own import stops

Xero Central limits its PDF statement import to organisations in Canada and the United States, off the Ledger plan, with files in English, at most 100 pages and 35MB, at least 200 DPI and no password. A Spanish statement, a locked PDF or an organisation in the UK gets nothing from it.

Bank feeds leave gaps too. Xero relies on each bank to make recent transactions available, some banks make you reauthenticate every 90 days, most Yodlee feeds need a manual refresh, and an account with no feed is imported from statements by hand. parserkit reads those statements, locked PDFs and Spanish ones included, checks every balance and writes xero.csv for the CSV import.

What parserkit does

One job reads the statement, checks it and writes xero.csv:

  • Outside Canada and the United States too: xero.csv goes through Xero's CSV import.
  • Every balance checked: the opening balance plus all rows must equal the closing balance, and each running balance must follow from the one before.
  • Other languages: our Spanish sample statement came back verified.
  • Locked PDFs: send password with the request; it is used for that job only and never stored.
  • The same rows for QuickBooks: quickbooks.csv comes from the same job, at no extra cost.

The file from our run

We ran the UK statement again inside a ZIP, and it came back verified. Its xero.csv has 27 lines with dates as YYYY/MM/DD, a format on Xero's list that reads only one way. Xero asks you to confirm a date that could be read several ways and keeps that choice for every later CSV statement, so a file that can't be misread keeps a wrong guess from sticking.

This statement prints no separate payee, so Payee repeats the description. Xero wants a Payee that matches a contact's name exactly, to avoid duplicate contacts, so edit the column or leave it unassigned.

Request
curl "https://api.parserkit.com/v1/parse?wait=60" \
  -H "Authorization: Bearer $PARSERKIT_API_KEY" \
  -F file=@thistlecombe-october.zip \
  -F preset=bank_statement
Try it
xero.csv
Date,Amount,Payee,Description,Reference
2026/10/01,-1150.00,"Standing order, rent, A Lennox","Standing order, rent, A Lennox",
2026/10/03,-84.20,"Direct debit, Forthwell Energy","Direct debit, Forthwell Energy",
2026/10/03,-24.98,"Card payment, Bruntsfield Books","Card payment, Bruntsfield Books",
2026/10/05,-47.68,"Card payment, Tollcross Grocer","Card payment, Tollcross Grocer",
2026/10/06,-146.00,"Direct debit, council tax","Direct debit, council tax",
2026/10/08,-16.07,"Card payment, Bruntsfield Books","Card payment, Bruntsfield Books",
2026/10/09,-19.89,"Card payment, Marchmont Deli","Card payment, Marchmont Deli",
2026/10/10,-31.56,"Card payment, Lothian Fuel","Card payment, Lothian Fuel",
2026/10/12,-52.32,"Card payment, Tollcross Grocer","Card payment, Tollcross Grocer",
2026/10/14,120.00,Faster payment from J Hartwell,Faster payment from J Hartwell,
2026/10/15,-5.80,"Card payment, Marchmont Deli","Card payment, Marchmont Deli",
2026/10/18,-38.20,"Card payment, Tollcross Grocer","Card payment, Tollcross Grocer",
2026/10/19,-3.06,"Contactless, Meadows Coffee","Contactless, Meadows Coffee",
2026/10/20,-38.00,"Direct debit, Grangefield Gym","Direct debit, Grangefield Gym",
2026/10/20,-12.13,"Card payment, Bruntsfield Books","Card payment, Bruntsfield Books",
2026/10/21,-27.00,"Card payment, Tollcross Grocer","Card payment, Tollcross Grocer",
2026/10/21,-14.95,"Card payment, Marchmont Deli","Card payment, Marchmont Deli",
2026/10/23,-20.31,"Card payment, Tollcross Grocer","Card payment, Tollcross Grocer",
2026/10/23,-44.41,"Card payment, Tollcross Grocer","Card payment, Tollcross Grocer",
2026/10/24,2912.40,"Salary, Halden Robotics Ltd","Salary, Halden Robotics Ltd",
2026/10/24,-12.66,"Card payment, Marchmont Deli","Card payment, Marchmont Deli",
2026/10/24,-125.00,Transfer to savings,Transfer to savings,
2026/10/25,-75.00,Transfer to savings,Transfer to savings,
2026/10/28,-230.00,"Direct debit, Thistlecombe credit card","Direct debit, Thistlecombe credit card",
2026/10/29,-6.46,"Contactless, Meadows Coffee","Contactless, Meadows Coffee",
2026/10/31,0.62,Interest,Interest,
2026/10/31,-3.48,"Contactless, Meadows Coffee","Contactless, Meadows Coffee",

FAQ

Common questions

Can Xero import a PDF bank statement?

Only for organisations in Canada and the United States off the Ledger plan, with an English PDF of up to 100 pages and 35MB, at least 200 DPI and no password. parserkit reads the statement wherever you are, locked or scanned, checks every balance and hands Xero a CSV it imports.

Which date format does xero.csv use?

YYYY/MM/DD, one format for the whole file whatever the currency. It is on Xero's list of formats and can only be read one way, so Xero can't misread parserkit's dates.

Why does Payee repeat the description?

Our sample prints no separate payee, so Payee falls back to the description. When a statement names the merchant, parserkit puts that name in Payee instead.

Can I import several statements at once?

Zip one account's statements, up to 200 files and 250 pages a job, and you get one xero.csv with a document column. Xero takes one bank account per file, so send parserkit one ZIP per account.

What does it cost?

parserkit charges $0.02 a page, so a 2-page statement costs $0.04. Your first 50 pages on parserkit are free, with no card.

Start free

Send us your worst scan

Your first $1 is free: 50 pages with every check and export, no card.

Crumpled receipts and a printed bank statement with one line marked in green highlighter, on a dark desk