Overview
Receipts in ShelfWise:- Auto-generated for POS sales and completed orders
- Include order details, line items, taxes, and payment info
- Support custom branding and shop information
- Can be emailed to customers
- Stored as PDFs for archival
- Unique receipt numbers for tracking
Receipt Types
ShelfWise generates different receipt types:| Type | Description | When Generated |
|---|---|---|
| Sale Receipt | Full order receipt | When order is delivered/completed |
| Payment Receipt | Payment-only receipt | When payment is recorded |
| Refund Receipt | Refund confirmation | When refund is processed |
| Store Credit | Credit memo | When store credit is issued |
Receipt Model
Receipts are stored in the database with metadata:- Tracking which receipts were emailed and when
- Associating receipts with orders and payments
- Regenerating receipts if needed
- Audit trail of who generated receipts
Automatic Receipt Generation
Receipts are automatically generated when POS sales are completed:- Printing
- Emailing
- Viewing on screen
- Downloading as PDF
Receipt Numbers
Each receipt gets a unique number using a date-based format:REC-20240304-0001
This format:
- Ensures uniqueness
- Makes receipts easy to find by date
- Supports sequential tracking per day
- Prevents collisions during concurrent sales
Receipt Contents
A typical receipt includes:Header Information
- Shop name and logo
- Shop address and contact info
- Receipt number and date
- Order number
- Cashier/staff name
Line Items
For each item sold:Totals Section
- Subtotal
- Discounts
- Tax (itemized by rate if applicable)
- Shipping (if applicable)
- Grand Total
Payment Information
Footer Information
- Return policy
- Thank you message
- Shop website/social media
- VAT registration number (if applicable)
Viewing Receipts
Receipts can be viewed in multiple formats:Web View
View receipts in the browser for on-screen display:- Previewing before printing
- Showing customers on screen
- Quick reference without printing
PDF Download
Download receipts as PDF files:- Printer-friendly formatted
- Archived in the database
- Can be emailed as attachments
Print View
Optimized print layout:- Optimized paper size (typically 80mm thermal)
- Minimal margins
- Black and white formatting
Emailing Receipts
Send receipts directly to customers:- Attaches PDF receipt
- Customizable email template
- Includes order summary in email body
- Tracks email sent timestamp
- Records recipient email address
Custom Branding
Receipts support shop-level customization:- Logo - Upload shop logo to appear on receipts
- Colors - Customize header colors
- Contact Info - Shop address, phone, email, website
- Return Policy - Custom return policy text
- Footer Message - Custom thank you message
Receipt for Cash Payments
Cash payments include additional information:- Amount tendered
- Change due
- Formatted with shop’s currency symbol
Thermal Printer Support
ShelfWise receipts are optimized for thermal receipt printers:Standard Sizes
- 80mm - Most common retail size
- 58mm - Compact mobile printers
- Custom - Configure custom paper width
Printer Integration
Connect thermal printers via:- USB - Direct USB connection to POS terminal
- Network - WiFi or Ethernet network printers
- Bluetooth - Mobile POS with Bluetooth printers
- Cloud Print - Cloud-connected printers
Print Formatting
Thermal receipts use:- Monospace fonts for alignment
- ASCII art for logos (optional)
- Barcode printing for order numbers
- ESC/POS commands for printer control
Receipt Reprinting
Receipts can be reprinted at any time:Reprinting does NOT create a new receipt number - it uses the original receipt.
Receipt Audit Trail
Receipts maintain a complete audit trail:- When receipt was generated
- Who generated it
- If/when it was emailed
- Who it was emailed to
Receipt Storage
Receipt PDFs are stored in the filesystem:- Organized by shop ID
- Named by receipt number
- Stored in secure storage (not publicly accessible)
- Can be served via authenticated routes
Digital Receipts
For eco-friendly operations, offer digital-only receipts:- Email Only - Send receipt via email, no print
- SMS - Send receipt link via SMS
- QR Code - Customer scans QR code to view receipt
- Customer Portal - Customer accesses receipts in their account
VAT/Tax Receipts
For VAT-registered businesses, receipts include:- VAT registration number
- Tax breakdown by rate
- Taxable vs non-taxable items
- Tax point (date of supply)
Best Practices
Configure Shop Information
Keep shop address, phone, and other contact info up to date in shop settings.
Troubleshooting
Receipt Not Printing
- Check printer power and paper
- Verify printer connection (USB/network)
- Test print from system settings
- Check print queue for stuck jobs
- Restart printer and try again
Email Not Sending
- Verify customer email address is correct
- Check email configuration in settings
- Look for email in spam/junk folder
- Check email service logs
- Verify SMTP credentials
Receipt PDF Not Generating
- Check PDF generation service is running
- Verify storage permissions
- Check available disk space
- Review error logs for PDF library errors
Related Resources
- Point of Sale - Receipts are auto-generated for POS sales
- Orders - View receipts for completed orders
- Configuration - Configure receipt branding and layout