Finance & Billing
Collect membership dues, issue invoices, track payments, manage budgets, and generate financial reports โ all within AMS.
Overview
The Finance module handles the complete financial lifecycle of an association โ from issuing annual membership invoices to tracking event ticket revenue to reporting on outstanding balances. It integrates directly with Stripe for online payments and supports manual payment recording for bank transfers and cheques.
Setting Up Payment Gateways
Stripe
Navigate to Settings โ Payments โ Stripe and enter your Stripe publishable key and secret key. AMS uses Stripe Checkout for a hosted, PCI-compliant payment page.
- Supports all major cards (Visa, Mastercard, Amex), Apple Pay, and Google Pay
- Automatically handles 3D Secure / SCA authentication
- Webhooks from Stripe update payment status in AMS in real time
- Refunds can be issued from AMS โ they're processed through Stripe automatically
Manual Payments
For bank transfers, cheques, or cash payments, use Finance โ Invoices โ [Invoice] โ Record Payment. Enter the amount, payment date, reference number, and payment method. This marks the invoice as paid without going through Stripe.
Creating Invoices
Go to Finance โ Invoices โ New Invoice. Select the member, add line items, set the due date, and choose whether to send immediately or save as draft.
- Line items support custom descriptions, quantities, and unit prices
- Apply a percentage or fixed discount at the invoice level
- Add tax lines (configurable GST, VAT, or custom)
- Invoices are auto-numbered with your configured prefix (e.g. INV-2026-001)
- PDF invoices are generated automatically and attached to the email notification
Membership Fee Collection
Annual membership dues are managed under Settings โ Membership Types โ [Type] โ Annual Fee. Set the fee amount, currency, and renewal date (calendar year, anniversary, or custom).
- AMS generates dues invoices in bulk โ go to Finance โ Bulk Invoice โ Membership Renewals
- Filter by membership type, chapter, or renewal month
- Preview before sending โ review all invoices before they go out
Automated Renewals
Enable automated renewal invoicing under Settings โ Finance โ Automated Renewals:
| Setting | Description | Default |
|---|---|---|
| Send invoice N days before renewal | How early to send the renewal invoice | 30 days |
| Reminder frequency | Days between overdue reminders | 7 days |
| Grace period | Days after due date before suspension | 14 days |
| Auto-suspend on non-payment | Restrict portal access for overdue members | Disabled |
| Auto-collect via Stripe | Charge saved card on renewal date | Disabled |
Budget Management
Create annual budgets under Finance โ Budgets โ New Budget. Allocate budget by department or committee, then track actual spend against budget throughout the year.
- Budget categories: Events, Administration, Marketing, Training, Miscellaneous
- Link expenses to budget categories when recording payments
- Budget vs. actual variance report updated in real time
- Overspend alerts โ get notified when a category exceeds 80% of budget
Financial Reports
- Revenue Summary โ Total collected by month, membership type, and event
- Outstanding Invoices โ All unpaid invoices with days overdue and member contact
- Payment Methods โ Breakdown by Stripe, bank transfer, cheque, cash
- Membership Revenue โ Annual dues collected vs. expected by renewal cohort
- Event Revenue โ Ticket sales per event with costs and net profit
- Budget vs. Actual โ Variance report by department
Currency Settings
Configure your base currency in Settings โ Finance โ Currency. Supported currencies:
Tax Configuration
Set up tax rates in Settings โ Finance โ Tax. Tax rates are applied per line item or at the invoice level. Common configurations:
- Pakistan: GST 18%, Withholding Tax 10% (for services)
- UAE: VAT 5%
- Custom: Define any rate and label for your jurisdiction
API Endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/v1/admin/invoices | List all invoices (filterable) |
| POST | /api/v1/admin/invoices | Create a new invoice |
| GET | /api/v1/admin/invoices/{id} | Get invoice details |
| POST | /api/v1/admin/invoices/{id}/send | Send invoice to member |
| POST | /api/v1/admin/invoices/{id}/payments | Record a manual payment |
| POST | /api/v1/admin/invoices/{id}/void | Void an invoice |
| GET | /api/v1/admin/finance/summary | Financial summary stats |
| GET | /api/v1/invoices | Member's own invoices |
| POST | /api/v1/invoices/{id}/pay | Initiate Stripe checkout for invoice |
Example: Create Invoice via API
curl -X POST https://pasha.ams.hkus1.s4s.host/api/v1/admin/invoices \ -H "Authorization: Bearer $ADMIN_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "member_id": "mem_01HXZA", "due_date": "2026-04-30", "currency": "PKR", "line_items": [ { "description": "Annual Membership Fee 2026", "quantity": 1, "unit_price": 50000, "tax_rate": 18 } ], "notes": "Payment via bank transfer to HBL A/C 01234567890", "send_email": true }'
{
"id": "inv_01HYAB",
"number": "INV-2026-0042",
"member_id": "mem_01HXZA",
"status": "sent",
"total": 59000,
"currency": "PKR",
"due_date": "2026-04-30",
"pdf_url": "https://pasha.ams.hkus1.s4s.host/invoices/inv_01HYAB.pdf"
}