Expenses
Record and manage business expenses. Expenses can require approval workflows before posting to GL.
List Expenses
GET/api/v1/expenses
| Parameter | Type | Description |
|---|---|---|
status | string | Filter: pending, approved, paid, rejected |
category | string | Filter by expense category |
vendorId | string | Filter by vendor |
startDate | date | Expenses on or after |
endDate | date | Expenses on or before |
Create Expense
POST/api/v1/expenses
| Parameter | Type | Description |
|---|---|---|
daterequired | date | Expense date |
amountrequired | number | Expense amount |
paymentMethodrequired | string | cash, card, bank_transfer, mobile_money, cheque |
description | string | What the expense was for |
vendorId | string | Vendor/supplier ID |
categoryId | string | Expense category ID |
taxRate | number | Tax rate % (default: 0) |
reference | string | Receipt/reference number |
status | string | pending (default), approved, or paid |
Request
curl -X POST https://api.syncbooksapp.com/api/v1/expenses \
-H "Authorization: Bearer sk_live_your_key" \
-H "Content-Type: application/json" \
-d '{
"date": "2026-06-05",
"amount": 450,
"paymentMethod": "mobile_money",
"description": "Office supplies - printer paper and ink",
"categoryId": "65f1a2b3c4d5e6f7a8b9c0d1",
"reference": "RCT-2026-0542"
}'Approve Expense
POST/api/v1/expenses/:id/approve
Approve a pending expense. Requires expenses:write scope.
Mark as Paid
POST/api/v1/expenses/:id/mark-paid
Mark an approved expense as paid. Posts the expense to the General Ledger. No parameters; a pending, rejected or already-paid expense is refused with 400.