QuickBooks Desktop → Acumatica, automated
An open-source ETL agent that migrates a construction contractor's financial data from QuickBooks Desktop to Acumatica ERP — no manual CSV juggling, no third-party migration service. Built for construction and tested on a real contractor migration.
A four-phase agent, end to end
Each phase hands clean, validated data to the next — and nothing is written until you've seen a dry run.
- 01Extract
Pulls straight from QuickBooks Desktop
Via the QBXMLRP2 COM SDK — no QuickBooks plugin purchase needed. Excel exports work as a fallback.
- Chart of Accounts
- Customers + Jobs (converted to Acumatica Projects)
- Vendors (with 1099 flag)
- Items (Service, Inventory, Non-Inventory)
- Employees
- Open AR Invoices
- Open AP Bills
- Trial Balance
- 02Transform
Maps QuickBooks to Acumatica's model
Every record is reshaped and validated before anything is written.
- QB account types → Acumatica account types
- QB payment terms → Acumatica term IDs
- QB jobs → Acumatica projects, linked to the parent customer
- QB job statuses → project statuses
- Auto-generated Acumatica Customer IDs from names
- Warnings on missing fields before loading
- 03Load
Writes to Acumatica in the right order
Through the Acumatica REST API, respecting record dependencies.
- Dependency-ordered writes
- Retry with exponential backoff (3 attempts)
- 422 / 404 / 500 errors logged without stopping the run
- Detailed migration log for review
- 04Validate
Checks the result against the source
Queries Acumatica after loading and compares record counts with what came out of QuickBooks.
- Count comparison per entity
- Dry-run mode to validate without writing
- Review warnings in migration_workspace/migration.log
From clone to dry run in minutes
Prerequisites
- Windows machine (required for the QuickBooks COM SDK)
- Python 3.9+
- QuickBooks Desktop installed with the company file open
- An Acumatica instance, configured and accessible
git clone https://github.com/rishisriv/qbd-acumatica-migration
cd qbd-acumatica-migration
pip install -r requirements.txt
cp .env.example .env
# edit .env with your Acumatica URL, company name, and credentials
# Step 1: Extract data from QuickBooks Desktop
python qbd_auto_extract.py
# Step 2: Dry run — validate without writing to Acumatica
python migration_agent_new.py --from-files --dry-run
# Step 3: Review migration_workspace/migration.log for warnings
# Step 4: Live migration
python migration_agent_new.py --from-files
ACUMATICA_URL=http://your-server/AcumaticaERP
ACUMATICA_COMPANY=YourCompanyName
ACUMATICA_USERNAME=admin
ACUMATICA_PASSWORD=yourpassword
ACUMATICA_ENDPOINT_VER=20.200.001
Already have customers in Acumatica? Populate EXISTING_CUSTOMER_IDS in migration_agent_new.py to reuse their IDs.
What's in the repo
qbd_auto_extract.pyConnects to QBD via COM and exports data to Excelmigration_agent_new.pyMain 4-phase ETL agent (extract → transform → load → validate)MIGRATION_RECIPE.mdFull data mapping tables, run modes, troubleshootingPREFLIGHT_CHECKLIST.mdEverything to configure before running.env.exampleTemplate for your Acumatica credentialsrequirements.txtPython dependenciesTested on
- QuickBooks Desktop
- Pro / Premier 2019–2023 (US)
- Acumatica
- 2020 R2 · endpoint 20.200.001
- Contractor size
- ~100 customers, 100 vendors, 100 GL accounts
What still needs a person in Acumatica
The core migration — GL accounts, customers, jobs → projects and vendors — works. These steps need manual setup; the repo's PREFLIGHT_CHECKLIST.md has the complete list.
- Opening balance journalGL batch structure varies by instance — create it manually via GL301000.
- Employee recordsNeed an Employee Class and Department configured first.
- AP BillsNeed AP Preferences fully configured first.
- AR invoice cash discount dateNot in the QBD export — enter manually or set a default.
A work in progress — built in the open
PRs and issue reports from consultants running real migrations are especially welcome. Where help is wanted most:
- Acumatica endpoint compatibility (2021+, 2022+)
- More QuickBooks editions (Enterprise, Mac)
- Employee migration
- AP Bill and AR Invoice automation
- Opening balance journal automation
Moving off QuickBooks Desktop?
Beiing Human automates construction AP on Foundation, Viewpoint Vista, QuickBooks Desktop and Acumatica.