Skip to content
ignitai
← Back to blog 11 min read

Convert invoice PDF to CSV on Mac for QuickBooks and Xero imports

Turn vendor invoice PDFs into one import-ready CSV on Mac: a row per line item, header fields repeated on every row, in the columns QuickBooks Online and Xero expect.

Turn your invoices into a clean spreadsheet with ignitai on your Mac — first document free (up to 4 pages), then $29.99/month (USD).

To convert an invoice PDF to CSV on a Mac, use a converter that reads the line-item table and writes one row per line, with the invoice number, vendor, invoice date and due date repeated on every row, then map those columns in your accounting software’s bill import. CSV is the right format when the file’s next stop is an importer such as QuickBooks Online or Xero. If you only need a working spreadsheet, convert to Excel instead.

The Mac app that does this is ignitai. Drag in one invoice or a month of them, say in plain English which columns you want, and it returns a single table you export as CSV. It reads each page on the Mac with Apple’s built-in text recognition. The page images stay on your Mac; the recognized text, your instruction and the file name go to ignitai’s server, where OpenAI’s model turns them into rows and columns. Your first document, up to 4 pages, converts free with Sign in with Apple.

In this guide 12 sections

CSV or Excel: decide by where the file goes next

The two formats look alike in a spreadsheet app, but they do different jobs.

  • CSV is for importers. QuickBooks Online’s bill import asks for a .csv file, and Xero’s bill import works from a CSV template. A CSV is plain text: commas, quotes and characters, with no types at all. The importer decides what each value means, so the values have to follow its conventions exactly.
  • Excel is for people. If the invoices end up in a payables workbook you filter, pivot and total, the invoice-to-Excel guide for Mac is the better fit. ignitai’s Excel files store amounts as real numbers, so a total works the moment the file opens. A CSV can’t carry that.

This guide is about the import: a file the importer accepts on the first upload.

Header fields and line items: the decision that shapes the file

An invoice holds header fields that appear once (invoice number, vendor, dates, totals) and line items that repeat (description, quantity, unit price, line amount). A CSV is one flat table, so choose how the two meet:

  1. One row per invoice. Invoice number, vendor, dates, subtotal, tax, total. Small and easy to check, and enough when you post each bill to a single expense account.
  2. One row per line item, header repeated. Every line carries its invoice number, vendor and dates. This is what bill importers expect for multi-line bills: QuickBooks Online’s help article says that when a bill has several lines, each line entry specifies the bill number, supplier and bill date.

If unsure, pick the second: a pivot collapses it into the first, but the first can’t be expanded back into lines.

ignitai writes one table per run, so a header file plus a line-item file means two runs with two instructions. Most imports need only the line-item file.

Convert invoice PDF to CSV on Mac: the steps

  1. Add the invoices. Drag the PDFs onto ignitai’s window from Finder or the Desktop, or press ⌘O and choose them. For a paper invoice, choose File ▸ Import from iPhone or iPad and scan it with the iPhone’s camera. Born-digital and scanned PDFs can go in the same batch.
  2. Say what you need. Click the Invoice starter, or type the columns in your own words. The next section has an instruction written for importers. Leaving the box empty and clicking Continue pulls out every table ignitai finds, which suits a first look, not an import: the importer needs named columns in a fixed order.
  3. Check the page count, then convert. Before converting, ignitai shows how many pages the run will use and how many you have left. Converting needs an internet connection and is usually ready in under a minute. On Mac, each file shows its status, and a notification arrives when the spreadsheet is ready.
  4. Check the table on screen. Amount columns are totaled under the table. Select one invoice’s rows to total just those and compare them with the printed total. Rows are numbered, you can sort and copy, and the original pages open beside the table for files converted on this Mac. If a column came back empty, ignitai tells you.
  5. Export as CSV. Export the file as CSV, or drag the finished spreadsheet out of the window onto the Desktop or into a Finder folder. New spreadsheets are named after your document. You can export the same file again as Excel later, without a new conversion.

Cells are edited in a spreadsheet app, not in ignitai. If one cell is wrong, fix it in Numbers or Excel, then export a fresh CSV from there.

Get ignitai on the Mac App Store — free download; your first document (up to 4 pages) converts free with Sign in with Apple, and one subscription covers iPhone, iPad, Mac, and Vision Pro.

An instruction written for the importer

The fastest route to a clean import is to name the importer’s own columns in the instruction, in the order it shows them. For a QuickBooks Online bill import, something like:

“One row per line item. Columns: Bill no., Supplier, Bill Date (YYYY-MM-DD), Due Date (YYYY-MM-DD), Description, Line Amount. Repeat the bill number, supplier and dates on every line of the same invoice. Line Amount is a plain number with a period for decimals, no currency symbol and no thousands separator. If an invoice has no due date, use the invoice date. Skip subtotal, tax, shipping summary and total rows, and skip remittance slips and terms pages.”

What each part does:

  • The importer’s column names. Matching headers turn mapping into a confirmation.
  • ISO dates. 2026-10-07 can’t be read as 10 July. Importers usually let you pick the date format during mapping; one format, used on every row, is what matters.
  • Plain numbers. 1,284.50 with a thousands separator, or $1284.50 with a symbol, is exactly what a CSV importer rejects or misreads. Asking for bare amounts avoids both.
  • Skipping summary rows. A subtotal row imported as a line doubles the bill.

Two columns rarely come from the page. Account is your chart-of-accounts choice, not something the vendor prints. If every line from a vendor goes to the same account, you can say so in the instruction (“Account: Office expenses for all lines from Staples”), then check it in the table; otherwise, add the column in Numbers or Excel and fill it down before exporting. Tax columns depend on your settings: QuickBooks Online asks for a line tax code only when tax is turned on.

To find the right headers for any importer, download its sample CSV, copy the header row, and paste it into your instruction: “Use exactly these columns, in this order.” Saved instructions are one click away next time, so next month’s run starts from the same wording.

Shape the CSV for QuickBooks Online

From Intuit’s help article on importing bills (QuickBooks Online Essentials, Plus and Advanced), as of October 2026:

WhatRule
WhereSettings ⚙ ▸ Import data ▸ Bills, then upload the .csv file
Mandatory columnsBill no., Supplier, Bill Date, Due Date, Account, Line Amount, Line Tax Code (tax columns only when tax is turned on)
Multi-line billsEach line repeats the bill number, supplier and bill date
AccountsMust already exist in QuickBooks Online; Account is needed even when you import totals only
SuppliersAdd them first, or tick the option to add suppliers that don’t exist yet during upload
Batch sizeIntuit recommends no more than 100 bills per import
Not supportedDiscounts and credit notes; a bill’s total must be 0 or more
Bill numbersTurn on custom transaction numbers in settings to keep the numbers from your CSV

So keep invoices with a discount line, and vendor credit notes, out of the batch and enter them by hand, and split a CSV of more than 100 invoices before uploading. Item details aren’t imported, so an imported bill won’t move inventory counts.

This import is for bills you owe. Invoices you sent to customers go through QuickBooks’ separate invoice import, which has its own template.

Xero and other importers

Xero imports bills from a CSV built on its own template, which you download from the bill import screen; imported bills arrive as drafts for you to review and approve. Download the template, copy its header row into your instruction, and keep its column order. Account codes and tax types have to match values that exist in your Xero organization, so treat those columns the way you’d treat Account in QuickBooks: fill them from your own chart of accounts.

The same approach works for any accounting or AP tool with a CSV import: get the sample file, name its columns, use one date format, keep amounts bare.

Check the CSV before you import it

An import is quicker to get right than to undo. Four checks, three of them before you export:

  1. Each invoice ties out. Select one invoice’s rows; the total shown should equal the invoice’s subtotal before tax, or its grand total if you asked for tax-inclusive lines. A difference equal to one line means a missing or duplicated row; compare with the original page.
  2. The count matches. Sort by Bill no.; the number of distinct invoice numbers should equal the number of invoices you dropped in.
  3. Header fields repeat on every line. Sort by Supplier; an empty supplier or date cell will fail that line on import.
  4. Leave the CSV as it is. If you open the CSV in Excel to look, don’t save it back over the original: Excel can read an invoice number like 000417 as the number 417, and may reread dates, and saving writes those changes into the file. Look, close, import the file ignitai exported.

Missing lines on one vendor’s invoices often mean its table continues onto the next page; add “the line-item table may continue onto the next page” and convert that invoice again. A rerun uses pages again, so prove a changed instruction on one short invoice first.

A month of invoices in one batch

Select every invoice for the month and drag them in together. One instruction covers the batch, and the output is one CSV with every line from every invoice. The rows come from the text on the pages and your instruction, so the output has no filename column. That’s why the instruction asks for the invoice number and supplier printed on each document: they are what tie every row to its invoice.

Mind the page count. The subscription includes 80 pages a week, up to 320 a month, and unused weekly pages don’t carry over. Forty two-page invoices is 80 pages, a full week’s allowance. A bigger month needs a few weeks of runs or extra pages, which never expire. ignitai shows the page count before every run, and if you cancel while it’s running, or the conversion fails, those pages aren’t charged. Prove the instruction on one or two invoices of 4 pages or fewer before you spend a week’s pages on the whole stack.

If a vendor sends password-protected PDFs, ignitai asks for the password instead of skipping the file. If a run fails, ignitai says why; Convert Again on the same Mac restarts it with the pages kept, so nothing is rescanned. Your original files are never changed.

For batches that mix invoices with statements or reports, the batch PDF-to-CSV guide for Mac covers how to design one schema that works across document types. For the bank side of the same books, the bank-statement-to-CSV guide for Mac covers the transaction import.

On iPhone and iPad

Invoices often arrive on the phone first. On iPhone or iPad, share the PDF from Mail or Files to ignitai, or scan a paper invoice with the camera, and use the same instruction. When it’s done, tap Export CSV or Excel, then Save to Files or Share. Save the CSV to iCloud Drive and run the import from a browser on the Mac, where the file is already waiting.

The finished file is also saved in your ignitai account, so it opens on your other devices after you sign in with Apple. To work the invoice in a spreadsheet on the phone instead, see the invoice-to-Excel guide for iPhone.

Before you convert: check the source

  • The vendor’s portal. Many billing portals export invoice history as CSV. If yours does, use it; it is the vendor’s own data.
  • Your AP tool’s own capture. Some accounting suites read emailed bills directly. If yours handles your layouts, keep using it. The CSV route earns its place when you want to check every line before it reaches the books, or when the same data feeds more than one system.
  • Purchase orders. If you match bills against POs, extract both sides the same way: the purchase-order-to-Excel guide builds the PO table that the bill lines get matched to.

Bottom line

For an import, the shape of the CSV matters more than the conversion. Decide on one row per line with the header fields repeated, name the importer’s own columns in the instruction, ask for ISO dates and bare amounts, and tie each invoice’s lines to its printed total before you upload. On a Mac, ignitai turns one invoice or a month of them into that file, and the same instruction works next month.

Get ignitai on the Mac App Store — free download; your first document (up to 4 pages) converts free with Sign in with Apple, and one subscription covers iPhone, iPad, Mac, and Vision Pro.

FAQ

How do I convert an invoice PDF to CSV on a Mac?

Drag the invoice PDFs into ignitai, describe one row per line item with the invoice number, vendor, invoice date and due date repeated on every row, and export the result as CSV. Before importing, select each invoice’s rows to check that they add up to its printed total.

What columns does QuickBooks Online need to import bills from a CSV?

Intuit’s help article lists Bill no., Supplier, Bill Date, Due Date, Account, Line Amount and Line Tax Code as mandatory, with the tax column needed only when tax is turned on. For a bill with several lines, each line repeats the bill number, supplier and bill date, and the accounts must already exist in QuickBooks.

Does the invoice PDF get uploaded?

The page images stay on your Mac. ignitai reads each page on the Mac and sends the recognized text, your instruction and the file name to its server, where OpenAI’s model turns them into rows and columns. The finished file is saved in your ignitai account until you delete it.