Accounting integrations and export artifacts (DATEV and other providers).
List exports available across all enabled providers
Lists the export kinds offered by providers whose integration is enabled — each entry is a provider/kind pair accepted by GET /accounting/exports/{provider}/{kind}. Providers without an enabled integration contribute no entries.
Headers
X-Workspace-IdSelects the workspace this request operates in, by workspace UUID or slug (e.g. a sandbox workspace for test integrations). Omitted: the organization's default live workspace. Unknown workspace: 404; workspace outside your organization: 403. Discover workspaces via GET /workspaces.
Workspace UUID or slug.
List exports available across all enabled providers › Responses
OK
List recent export runs for the caller's organization
Returns the most recent recorded export runs (audit records), newest first. limit caps the row count (default 50); the list is not cursor-paginated.
query Parameters
limitPage size. Values above the server-side cap are clamped (standard default 50, cap 200; a few document-heavy lists use larger windows). Invalid values fall back to the default.
Headers
X-Workspace-IdSelects the workspace this request operates in, by workspace UUID or slug (e.g. a sandbox workspace for test integrations). Omitted: the organization's default live workspace. Unknown workspace: 404; workspace outside your organization: 403. Discover workspaces via GET /workspaces.
Workspace UUID or slug.
List recent export runs for the caller's organization › Responses
OK
Stream an export artifact
Streams the export file (CSV or ZIP depending on the export kind). The X-Accounting-Summary response header carries a base64-encoded JSON summary; X-Export-Sha256 fingerprints the payload; X-Audit-Id references the recorded export run.
path Parameters
providerProvider id
Provider id
kindExport kind
Export kind
query Parameters
fromPeriod start (YYYY-MM-DD) - required for bookings + invoices_pdf
Period start (YYYY-MM-DD) - required for bookings + invoices_pdf
toPeriod end (YYYY-MM-DD) - required for bookings + invoices_pdf
Period end (YYYY-MM-DD) - required for bookings + invoices_pdf
posting_modeOverride the stored posting mode for this export
Override the stored posting mode for this export
amount_basisOverride the stored amount basis for this export
Override the stored amount basis for this export
groupingOverride the stored grouping for this export
Override the stored grouping for this export
only_billableFilter master_data to billable customers (true/1)
Filter master_data to billable customers (true/1)
Headers
X-Workspace-IdSelects the workspace this request operates in, by workspace UUID or slug (e.g. a sandbox workspace for test integrations). Omitted: the organization's default live workspace. Unknown workspace: 404; workspace outside your organization: 403. Discover workspaces via GET /workspaces.
Workspace UUID or slug.
Stream an export artifact › Responses
Export artifact
List accounting integrations
Returns every configured accounting provider for the caller's organization.
Headers
X-Workspace-IdSelects the workspace this request operates in, by workspace UUID or slug (e.g. a sandbox workspace for test integrations). Omitted: the organization's default live workspace. Unknown workspace: 404; workspace outside your organization: 403. Discover workspaces via GET /workspaces.
Workspace UUID or slug.
List accounting integrations › Responses
OK
Get a single accounting integration's config
Returns the stored settings row for one registered provider. A provider that is registered but not yet configured responds 200 with an empty config shell (the first PATCH creates the row); unregistered provider ids respond 404.
path Parameters
providerProvider id (e.g. datev)
Provider id (e.g. datev)
Headers
X-Workspace-IdSelects the workspace this request operates in, by workspace UUID or slug (e.g. a sandbox workspace for test integrations). Omitted: the organization's default live workspace. Unknown workspace: 404; workspace outside your organization: 403. Discover workspaces via GET /workspaces.
Workspace UUID or slug.
Get a single accounting integration's config › Responses
OK
Create or update an accounting integration's config
Creates the provider's settings row on first save and updates it afterwards. The config object is validated and normalized by the provider (defaults filled in) before persisting. Requires the accounting.manage or org.update permission.
path Parameters
providerProvider id (e.g. datev)
Provider id (e.g. datev)
Headers
X-Workspace-IdSelects the workspace this request operates in, by workspace UUID or slug (e.g. a sandbox workspace for test integrations). Omitted: the organization's default live workspace. Unknown workspace: 404; workspace outside your organization: 403. Discover workspaces via GET /workspaces.
Workspace UUID or slug.
Create or update an accounting integration's config › Request Body
configProvider-specific configuration, validated against the provider's settings schema before it is stored.
display_nameHuman-readable name; omitted defaults to the provider's own display name.
is_enabledWhether the integration is active and exports may run against it.
Create or update an accounting integration's config › Responses
OK