Axiomatic

Data Export

Export ledger data for external analysis in Tableau, Power BI, or custom data pipelines.

Overview

The data warehouse export endpoint provides bulk access to your accounting data in JSON or CSV format. Use it to feed external BI tools, build custom dashboards, or integrate with your data warehouse.

Data export requires the Professional plan or above.

Export Endpoint

GET /api/exports/data-warehouse?entityId=...&bookId=...

Query Parameters

ParameterRequiredDescription
entityIdYesThe entity to export data for
bookIdYesThe book to export from
formatNojson (default) or csv
tablesNoComma-separated list of tables to include. Omit to export all.
fromDateNoStart date filter (ISO 8601)
toDateNoEnd date filter (ISO 8601)

Available Tables

TableDescription
accountsChart of accounts
journal_entriesPosted journal entry headers
journal_linesIndividual debit/credit lines
eventsFinancial events
billsAccounts payable bills
invoicesAccounts receivable invoices
trial_balanceCurrent trial balance

Example: Export Journal Data as CSV

GET /api/exports/data-warehouse?entityId=abc&bookId=xyz&format=csv&tables=journal_entries,journal_lines&fromDate=2025-01-01&toDate=2025-12-31

Output Formats

JSON

Returns a JSON object keyed by table name, with each value being an array of rows:

{
  "accounts": [
    { "id": "...", "code": "1000", "name": "Cash", "type": "ASSET" }
  ],
  "journal_entries": [
    { "id": "...", "date": "2025-03-15", "memo": "Payroll" }
  ]
}

The response includes a Content-Disposition header for direct download: attachment; filename="export-{entityId}-{date}.json"

CSV

Returns a multi-section CSV file with one section per table. Each section starts with a header row containing column names.

The response includes: Content-Disposition: attachment; filename="export-{entityId}-{date}.csv"

Connecting to BI Tools

Tableau

  1. Use Tableau's Web Data Connector or REST API data source
  2. Point it to https://app.axiomatic.software/api/exports/data-warehouse
  3. Pass your API key in the Authorization header
  4. Set format=json and select the tables you need
  5. Configure a refresh schedule matching your reporting cadence

Power BI

  1. Use Get Data → Web or the REST API connector
  2. Enter the export URL with your query parameters
  3. Add your API key as a Bearer token in the authentication settings
  4. Power BI will parse the JSON response into tables automatically
  5. Set up scheduled refresh in the Power BI service

Custom Pipelines

Call the export endpoint from any HTTP client. For incremental loads, use fromDate and toDate to fetch only the data that changed since your last pull.

Authentication

All export requests require a valid API key with read access to the entity. Pass it as a Bearer token:

Authorization: Bearer your-api-key

Generate API keys in Settings → API Keys.

On this page