Batch export documents as CSV
Exports a batch of financial documents as CSV for manual import into accounting systems (Xero, QuickBooks, Sage). Supports GL code mapping resolution per adapter platform.
Exports a batch of financial documents as CSV for manual import into accounting systems (Xero, QuickBooks, Sage). Supports GL code mapping resolution per adapter platform.
Authorization
BearerAuth JWT access token for REST API endpoints (user-facing apps).
Authorization: Bearer <jwt_access_token>Tokens expire after 15 minutes. Use the refresh token to obtain a new one.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
text/csv
application/json
curl -X POST "https://example.com/api/v1/finance/batch-export" \ -H "Content-Type: application/json" \ -d '{ "document_ids": [ "string" ] }'"string"{ "success": false, "error": { "code": "BAD_REQUEST", "message": "Request body is empty. Expected JSON with action field.", "request_id": "req_abc123", "documentation_url": "https://dev-developer.totalaccess.co.za/docs/api-reference/errors#bad_request" }}Get WhatsApp attendance admin data GET
Admin-only endpoint (client_id 1). Proxies to the WhatsApp Attendance server.
Generate auditor export bundle POST
Generates a comprehensive auditor export containing financial documents, line items, audit trail entries, and compliance violations. Supports CSV and JSON output formats.