Total Access Docs
Guides

Accounting Export

Sync financial data to Xero, QuickBooks, and Sage.

Accounting Export

Total Access can publish financial documents (invoices, bills, payments) to external accounting platforms: Xero, QuickBooks, and Sage.

Supported platforms

PlatformAuth MethodDocument Types
XeroOAuth 2.0Invoices, bills, payments, contacts
QuickBooksOAuth 2.0Invoices, bills, payments, customers
SageAPI KeyInvoices, bills, payments, contacts

Connecting an accounting platform

  1. Navigate to Total IntegrationAccounting Export
  2. Select your platform (Xero / QuickBooks / Sage)
  3. Click Connect
  4. Complete the OAuth flow (for Xero/QuickBooks) or enter API credentials (for Sage)
  5. Select which document types to sync
  6. Save — a test sync will be performed

How it works

  1. When a document is finalized in Total Access (e.g. invoice is approved, bill is posted), it is queued for export
  2. The export adapter transforms the document into the target platform's format
  3. The document is pushed to the accounting platform via their API
  4. The export result is logged (success/failure with error details)
  5. Failed exports can be retried from the Accounting Export panel

Configuration

Document type mapping

Total Access TypeXero TypeQuickBooks TypeSage Type
InvoiceInvoiceInvoiceSalesInvoice
BillBillBillPurchaseInvoice
PaymentPaymentPaymentPayment
ContactContactCustomerContact

Sync settings

SettingDescription
Auto-syncAutomatically export documents when finalized
Sync intervalHow often to check for pending exports (default: 15 min)
Retry failedAutomatically retry failed exports
Notify on failureSend notification when an export fails

Testing the export

curl -X POST https://totalaccess.co.za/api/v1/integrations/accounting-export/test \
  -H "Authorization: Bearer YOUR_JWT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "platform": "xero",
    "document_type": "invoice",
    "document_id": "inv_abc123"
  }'

Disconnecting

curl -X POST https://totalaccess.co.za/api/v1/integrations/accounting-export/disconnect \
  -H "Authorization: Bearer YOUR_JWT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "platform": "xero"
  }'

Disconnecting does not delete previously exported documents from the accounting platform. It only stops future exports.

On this page