AOP API/Expenses
/finance/expensesRecord an expense.
https://api.w3builders.com/v1/finance/expenses| Field | Type |
|---|---|
| success | value |
| id | value |
| journal_id | value |
| journal_posted | value |
curl -X POST https://api.w3builders.com/v1/finance/expenses \-H "Authorization: Bearer $TOKEN" \-H "Content-Type: application/json" \-d '{"title": "AWS hosting — June","amount": 8250,"expense_date": "2026-06-30","category": "infrastructure","payment_method": "bank"}'
{"success": true,"id": 991,"journal_id": 219,"journal_posted": true}
curl -X POST https://api.w3builders.com/v1/finance/expenses \-H "Authorization: Bearer $TOKEN" \-H "Content-Type: application/json" \-d '{"title": "AWS hosting — June","amount": 8250,"expense_date": "2026-06-30","category": "infrastructure","payment_method": "bank"}'
{"success": true,"id": 991,"journal_id": 219,"journal_posted": true}