AiAccount Sync — Platform Layer
"Finance & Reports → AiAccount Sync" one-stop push of e-commerce orders + blogger settlements to AiAccount. Batch xlsx upload, no per-order operations.
4 Endpoints (Auto / Manual Both Available)
| Type | Source | Purpose |
|---|---|---|
| Sales Invoice | orders + order_items | Paid e-commerce orders → sales invoices |
| Sales Receipt | orders (with paid_at) | Receipt entry → bank account |
| Expense Bill | blogger_settlements | Platform owes blogger commission → payable |
| Expense Payment | blogger_settlements (status=paid) | Paid settlements → payment records |
Workflow
- "System → Settings → AiAccount" configure API Key + Company Name (one-time)
- "Finance & Reports → AiAccount Sync" pick date range
- Click "Sync" on the target type — backend builds xlsx → POST to AiAccount
- Status pill shows "Last sync 5/15 14:30 · 12 rows"
Auto-Push Cron (Recommended)
"System → Settings → AiAccount → Auto Push" enable + pick hour (default 02:00 MYT) → daily auto push of yesterday's data, no manual effort.
Failure Handling
Status pill turns red "Failed 5/15 14:30" — hover to see full error. Common causes:
- AiAccount company Tax Code not configured → Backend Settings → Tax Codes add
NT/MY-SALES10 - Currency not enabled → Settings → Currencies enable
MYR(add SGD/USD for cross-border) - Account missing → Settings → Accounts confirm
40000(sales) /12000(bank) /61001(expense)
AiAccount dedupes by (Invoice Number + Customer) automatically — after fixing master data, re-push is safe; no duplicates.
View Full AiAccount Logs
Status bar "View Import History in AiAccount" deep link → AiAccount backend's complete push trail (success + failure + detailed error line numbers).
Difference vs AutoCount
Since 2026-05-17, NS16 replaced AutoCount Cloud. AiAccount is NS16's sister accounting system, no per-document subscription fee. LHDN e-Invoice fully handled by AiAccount (NS16 no longer does UUID write-back).