Export QuickBooks Online ledger, transactions, invoices, and attachments to ZIP

Go to Workflow
0 views
Built by Guillaume Goisset Guillaume Goisset
Created on October 10, 2026

Description

Quick overview
This workflow exports a selected date range from QuickBooks Online into a single ZIP archive containing bank ledger data, bank transactions, invoices (with PDFs), client payments, expenses, and any attached files, making it easier to share a complete accounting package with an accountant.

How it works
Starts manually and sets the QuickBooks Online company ID, API base URL, and the export date range (last month by default).
Pulls the Transaction List report for Bank accounts from QuickBooks Online and converts it into a bank_ledger.csv file.
Queries QuickBooks Online for multiple bank-related transaction entity types in the date range, normalizes the results, and prepares transaction IDs for attachment matching.
Retrieves all QuickBooks Online Attachable records, expands them to one row per linked transaction, filters for real downloadable files, and downloads the attachments.
Fetches invoices in the date range, keeps invoices that are sent or not open, exports invoices.csv, and downloads each matching invoice as a PDF.
Fetches payments received and expenses (purchases) in the date range and exports them to payments_received.csv and expenses.csv.
Creates attachments_index.csv mapping attachments to their linked transactions, then bundles all CSVs, PDFs, and attachment files into one ZIP file for download.

Setup
Create and select a QuickBooks Online OAuth2 credential (Intuit developer app) for the QuickBooks nodes and the two HTTP Request query steps.
Update the company ID (realmId) in the Config step with your QuickBooks Online Company ID.
Adjust startDate/endDate (and apiBase if you use a QuickBooks sandbox) in Config, then execute the workflow and download the ZIP output from the final compression step.

Requirements
A QuickBooks Online company and an Intuit developer app for the OAuth2 credential.

This workflow was created by Guillaume Goisset and shared publicly on the n8n community template library. n8nFind indexes it for discovery — the workflow remains the property of its original creator.

Nodes Used (3)

Compression
n8n-nodes-base.compression
HTTP Request
n8n-nodes-base.httpRequest
QuickBooks Online
n8n-nodes-base.quickbooks