Skip to content

Export to accounting software

Goal: get each client’s investment records into your practice software. Scope: read. Works for advice firms and accounting practices (and with a personal key for a person’s own accounts).

There are two ways in:

  • Files: exports made in Console, by hand, in bulk or on a schedule, in the layout your software imports. The API lists them and downloads their files.
  • Data: the neutral accounting model as JSON, for software of your own or a format IDEALX does not produce.
Accounting exportsYour practice systemIDEALX APIAccountant (Console)1GET /v1/accounting/formats?jurisdiction=AU2GET /v1/accounts/{id}/accounting/preview3row counts, totals, warnings, reconciled4Export (one, bulk or scheduled)5GET /v1/accounting/exports?batchId=…6GET /v1/accounting/exports/{exportId}/files/{fileId}Import into the practice software
Accounting exports
  1. Your practice system to IDEALX API: GET /v1/accounting/formats?jurisdiction=AU
  2. Your practice system to IDEALX API: GET /v1/accounts/{id}/accounting/preview
  3. IDEALX API to Your practice system: row counts, totals, warnings, reconciled
  4. Accountant (Console) to IDEALX API: Export (one, bulk or scheduled)
  5. Your practice system to IDEALX API: GET /v1/accounting/exports?batchId=…
  6. Your practice system to IDEALX API: GET /v1/accounting/exports/{exportId}/files/{fileId}
  7. Your practice system: Import into the practice software
GET /v1/accounting/formatsAccounting software formats: the countries and account types each serves, its files and columns

Filter by jurisdiction and accountType to see what fits an account.

Format id Software Countries Files
generic_csv Spreadsheet (CSV) Everywhere Transactions, sales by lot, holdings at period end
generic_xlsx Spreadsheet (Excel) Everywhere Workbook
xero Xero AU, GB, NZ, everywhere Bank statement CSV per currency, manual journals
myob MYOB AU, NZ General journals
quickbooks QuickBooks GB, everywhere Journal entries, bank transactions
sage Sage GB Journals
zoho_books Zoho Books AE, everywhere Manual journals
class_super Class Super AU retirement funds Transactions, bank statement, holdings at period end
bgl_sf360 BGL Simple Fund 360 AU retirement funds Transactions, bank statement, holdings at period end
documents Supporting documents Everywhere ZIP of transactions, tax summary, contract notes, holdings
{
"formats": [
{
"id": "class_super",
"name": "Class Super",
"jurisdictions": ["AU"],
"accountTypes": ["self_managed_retirement_fund"],
"usesMapping": false,
"bestEffort": true,
"assumptions": [
"Class's import layouts are not published; columns follow its manual transaction and bank statement imports as fund accountants describe them, and must be checked on the first import.",
"Dates are day/month/year; amounts are positive with the type saying the direction."
],
"files": [
{ "id": "transactions", "label": "Transactions", "fileType": "csv", "columns": ["…"] },
{ "id": "bank", "label": "Bank statement", "fileType": "csv", "columns": ["…"] },
{ "id": "holdings", "label": "Holdings at period end", "fileType": "csv", "columns": ["…"] }
]
}
]
}

2. Mappings (Xero, MYOB, QuickBooks, Sage, Zoho, BGL)

Section titled “2. Mappings (Xero, MYOB, QuickBooks, Sage, Zoho, BGL)”

Formats with usesMapping: true post to your chart of accounts. GET /v1/accounting/mappings/defaults returns the suggested codes for a format in a country, and the country’s tax fields (extras, for example franking credits in Australia):

Terminal window
curl "$IDEALX_API/v1/accounting/mappings/defaults?format=xero&jurisdiction=AU" -H "Authorization: Bearer $IDEALX_API_KEY"
{
"format": "xero",
"jurisdiction": "AU",
"entries": [
{ "key": "cash", "label": "IDEALX cash", "code": "091", "name": "IDEALX Cash Account" },
{ "key": "clearing", "label": "Investment clearing", "code": "092", "name": "Investment Clearing" },
{ "key": "investments", "label": "Listed investments", "code": "750", "name": "Investments - Listed Securities" },
{ "key": "dividends", "label": "Dividends", "code": "265", "name": "Dividends Received" },
{ "key": "fees", "label": "Fees", "code": "406", "name": "Investment Fees" }
],
"extras": [
{ "id": "AU.franking_credit", "label": "Franking credit", "appliesTo": "income", "kind": "money", "explain": "Company tax already paid on a franked dividend, from the dividend statement." }
]
}

Your firm’s saved mappings are profiles (GET /v1/accounting/profiles), edited in Console; pass profileId to a preview to use one.

GET /v1/accounts/{id}/accounting/previewWhat an export would hold: row counts, totals, warnings and the first rows
Terminal window
curl "$IDEALX_API/v1/accounts/acc_01937f40a1b2c3d4e5f6a7b8c9d0e1f2/accounting/preview?format=class_super&from=2025-07-01&to=2026-06-30" \
-H "Authorization: Bearer $IDEALX_API_KEY"
{
"account": { "id": "acc_01937f40a1b2c3d4e5f6a7b8c9d0e1f2", "name": "Rivera Retirement Fund", "jurisdiction": "AU", "type": "self_managed_retirement_fund", "variantId": "AU.smsf", "retirement": { "id": "AU.super", "label": "My super" } },
"from": "2025-07-01",
"to": "2026-06-30",
"format": { "id": "class_super", "name": "Class Super", "…": "…" },
"profileId": null,
"rowCount": 148,
"byType": [
{ "type": "contribution", "label": "Contribution", "count": 12 },
{ "type": "buy", "label": "Purchase", "count": 31 },
{ "type": "income", "label": "Income", "count": 44 },
{ "type": "fee", "label": "Fee", "count": 12 }
],
"totals": [{ "currency": "AUD", "moneyIn": "86400.00", "moneyOut": "71230.55", "fees": "1106.40", "taxWithheld": "0.00", "rows": 148 }],
"holdings": 9,
"reconciled": true,
"warnings": [{ "code": "best_effort", "message": "Class Super's layout is our best reading; check the first import", "count": 1 }],
"sample": ["… the first rows of the neutral model …"]
}

reconciled: true means opening balances plus the rows equal the closing balances for every portfolio and instrument. Read warnings before exporting: unmapped (a needed account code has no mapping in the profile), best_effort, or a format that does not fit the account’s country or type.

Exports are made in Console: one account, several at once (a batch), or on a schedule (GET /v1/accounting/schedules). Each export keeps its files.

GET /v1/accounting/exportsYour exports (a firm's for its clients), newest first; one batch with batchId
{
"exports": [
{
"id": "aex_01937f41b2c3d4e5f6a7b8c9d0e1f2a3",
"batchId": "abt_01937f41a0b1c2d3e4f5a6b7c8d9e0f1",
"accountId": "acc_01937f40a1b2c3d4e5f6a7b8c9d0e1f2",
"accountName": "Rivera Retirement Fund",
"format": "class_super",
"profileId": null,
"from": "2025-07-01",
"to": "2026-06-30",
"status": "done",
"trigger": "bulk",
"scheduleId": null,
"rowCount": 148,
"reconciled": true,
"warnings": [],
"totals": [{ "currency": "AUD", "moneyIn": "86400.00", "moneyOut": "71230.55", "fees": "1106.40", "taxWithheld": "0.00", "rows": 148 }],
"files": [
{ "id": "doc_01937f41c1d2e3f4a5b6c7d8e9f0a1b2", "fileName": "rivera-retirement-fund-class_super-2025-07-01-to-2026-06-30-transactions.csv", "contentType": "text/csv", "bytes": 18234, "label": "Transactions" },
{ "id": "doc_01937f41c1d2e3f4a5b6c7d8e9f0a1b3", "fileName": "rivera-retirement-fund-class_super-2025-07-01-to-2026-06-30-bank.csv", "contentType": "text/csv", "bytes": 9120, "label": "Bank statement" },
{ "id": "doc_01937f41c1d2e3f4a5b6c7d8e9f0a1b4", "fileName": "rivera-retirement-fund-class_super-2025-07-01-to-2026-06-30-holdings.csv", "contentType": "text/csv", "bytes": 1404, "label": "Holdings at period end" }
],
"error": null,
"createdAt": "2026-07-03T22:00:00.000Z"
}
]
}
Terminal window
curl -fsS -o transactions.csv \
"$IDEALX_API/v1/accounting/exports/aex_01937f41b2c3d4e5f6a7b8c9d0e1f2a3/files/doc_01937f41c1d2e3f4a5b6c7d8e9f0a1b2" \
-H "Authorization: Bearer $IDEALX_API_KEY"
GET /v1/accounts/{id}/accounting/transactionsThe account's transactions for a period in the neutral accounting model, its holdings at the end, and whether the rows add up to the ledger

One row per event per portfolio, with type (deposit, withdrawal, contribution, pension_payment, lump_sum_payment, buy, sell, income, interest, fee, fx_conversion, crypto_receive, crypto_send, corporate_action, transfer, adjustment, reversal), instrument, quantity, price, gross, fees, taxWithheld, net, cost base, gain and the lots sold with days held, country extras, a bookkeeper’s description, a reference and its source; plus holdings valued at the period’s end and the reconciliation per portfolio and instrument.

{
"key": "jnl_01937f42a1b2c3d4e5f6a7b8c9d0e1f2:ptf_01937f40a1b2c3d4e5f6a7b8c9d0e1a1",
"date": "2026-01-15",
"accountId": "acc_01937f40a1b2c3d4e5f6a7b8c9d0e1f2",
"accountName": "Rivera Retirement Fund",
"portfolioId": "ptf_01937f40a1b2c3d4e5f6a7b8c9d0e1a1",
"portfolioName": "Primary",
"type": "income",
"typeLabel": "Income",
"subtype": "dividend",
"subtypeLabel": "Dividend",
"instrument": { "id": "XASX:EXS", "code": "EXS", "name": "Example Australian Shares ETF", "assetClass": "etf" },
"quantity": null,
"price": null,
"priceCurrency": null,
"gross": "212.60",
"fees": "0.00",
"taxWithheld": "0.00",
"net": "212.60",
"fxFrom": null,
"extras": { "AU.franking_credit": "91.11" },
"costBase": null,
"gain": null,
"lots": [],
"counterparty": null,
"description": "EXS dividend",
"reference": "jnl_01937f42a1b2c3d4e5f6a7b8c9d0e1f2",
"source": { "type": "journal", "id": "jnl_01937f42a1b2c3d4e5f6a7b8c9d0e1f2" },
"offLedger": false
}

Firms find the accounts they can export with GET /v1/firms/{firmId}/accounting/accounts (each with its type and last export).

  1. Choose the format from GET /v1/accounting/formats for the account’s country and type.
  2. Preview; resolve warnings; check reconciled.
  3. Download each export’s files by batchId or schedule, or read the neutral model.
  4. For best-effort formats, check the first import of each fund.