Invoicing Customers
Alguna automates the complete invoice lifecycle: generation, delivery, payment collection, and receipts. Configure how customers receive and pay invoices, set up automatic payment collection, and manage dunning for failed payments.Invoice Delivery
Once an invoice is approved, it is automatically sent to the customer via email.1. Invoice Received via Email
The customer receives an email notification with a subject line indicating their invoice is ready. The email contains a link or attachment to the invoice for review.- View invoice details including total amount, due date, and line item summary
- If AutoPay is enabled, no action required - payment processes automatically

2. Open & Review Invoice
Customers click Review Invoice to view full details on a hosted page:- Total amount due with itemized charges
- Tax breakdown
- Payment terms and due date
- Description of each billed item

3. Payment Process
Once reviewed, customers can pay:- AutoPay Customers: Payment processes automatically on or before due date
- Manual Payment: Pay via credit card, ACH, wire transfer, or other enabled methods

4. Payment Confirmation
Upon successful payment, customers receive a receipt with: Payment confirmation email:

Configure Invoice Settings
Organization-Level Settings
Customer-Level Overrides
AutoPay Configuration
Via Dashboard
- Navigate to Customers → [Customer Name]
- Click Billing Settings tab
- Toggle AutoPay to enabled
- Select the default payment method from saved methods
- Choose when to charge:
- On issue: Charge immediately when invoice is issued
- On due date: Charge on the invoice due date
- Days before due: Charge N days before due date
- Click Save
- Navigate to Subscriptions → [Subscription]
- Click Settings or Billing Settings
- Override the customer-level AutoPay settings if needed
Via API
AutoPay Behavior
| Setting | Description |
|---|---|
on_issue | Charge immediately when invoice is issued |
on_due_date | Charge on the due date |
days_before_due | Charge N days before due date |
Organization Default
Payment Methods
Supported Methods
| Method | Auto-Collect | Manual Pay |
|---|---|---|
| Credit/Debit Card | Yes | Yes |
| ACH (US Bank) | Yes | Yes |
| SEPA (EU Bank) | Yes | Yes |
| Wire Transfer | No | Yes |
| Check | No | Yes |
Configure Accepted Methods
Save Payment Method
Dunning & Collections
Configure automated collection workflows for failed payments.Via Dashboard
- Navigate to Settings → Dunning
- Click Create Dunning Schedule (or edit existing)
- Configure retry attempts:
| Day | Action | Template |
|---|---|---|
| 0 | Retry payment | - |
| 3 | Send reminder email + Retry | Gentle reminder |
| 7 | Send reminder email + Retry | Firm reminder |
| 14 | Send final notice | Final warning |
| 30 | Mark uncollectible | - |
- Set Actions on persistent failure:
- Pause subscription
- Cancel subscription
- Mark as collections
- Click Save Schedule
Via API
Dunning Actions
| Action | Description |
|---|---|
retry_payment | Attempt to charge payment method |
email_reminder | Send reminder email |
sms_reminder | Send SMS reminder |
pause_subscription | Pause access to service |
cancel_subscription | Cancel the subscription |
mark_uncollectible | Write off as uncollectible |
Custom Email Templates
Invoice Reminders
Via Dashboard
- Navigate to Settings → Invoicing → Reminders
- Configure Before Due Date reminders:
- Toggle on/off
- Set days before due (e.g., 7, 3, 1 days)
- Select email template
- Configure After Due Date reminders:
- Toggle on/off
- Set days after due (e.g., 1, 7, 14 days)
- Select escalating templates (gentle → firm → final)
- Click Save Settings
Via API
Before Due Date
After Due Date
Manual Reminder
Invoice Portal
Customers can view all their invoices in a self-service portal.Generate Portal Link
Portal Capabilities
- View all invoices (paid, unpaid, draft)
- Download invoice PDFs
- Pay outstanding invoices
- Update payment methods
- View payment history
Invoice API
List Customer Invoices
Get Invoice Details
Download PDF
Record Manual Payment
Webhooks
| Event | Description |
|---|---|
invoice.issued | Invoice issued and sent to customer |
invoice.viewed | Customer viewed invoice |
invoice.paid | Invoice fully paid |
invoice.payment_failed | Payment attempt failed |
invoice.past_due | Invoice became past due |
invoice.reminder_sent | Reminder email sent |
Example Handler
Email Templates
Available Templates
| Template | Purpose |
|---|---|
invoice_issued | New invoice notification |
invoice_reminder | Payment reminder |
payment_receipt | Payment confirmation |
payment_failed | Failed payment notification |
payment_method_expiring | Card expiration warning |
Customize Templates
Template Variables
| Variable | Description |
|---|---|
{{customer_name}} | Customer’s name |
{{invoice_number}} | Invoice number |
{{amount_due}} | Amount due |
{{due_date}} | Due date |
{{invoice_url}} | Link to view invoice |
{{pay_now_url}} | Direct payment link |
{{company_name}} | Your company name |
Best Practices
Enable AutoPay
Encourage customers to set up autopay for reliable collections.
Send Reminders
Configure reminders before and after due dates.
Multiple Recipients
Send invoices to billing and finance contacts.
Clear Payment Terms
Clearly communicate payment terms in invoice memo.
Troubleshooting
Customer Not Receiving Invoices
- Verify customer email address
- Check spam/junk folders
- Review delivery logs in dashboard
- Confirm email domain isn’t blocked
AutoPay Not Working
- Verify payment method is valid and not expired
- Check customer has AutoPay enabled
- Confirm payment method is set as default
- Review payment gateway errors
Invoice Shows Wrong Amount
- Check line items and quantities
- Verify tax calculation settings
- Review discount applications
- Check currency conversion if applicable