feat: add invoicing system and subscription tier enforcement

Phase 1 OMS implementation:

Invoicing:
- Add Invoice and VendorInvoiceSettings database models
- Full EU VAT support (27 countries, OSS, B2B reverse charge)
- Invoice PDF generation with WeasyPrint + Jinja2 templates
- Vendor invoice API endpoints for settings, creation, PDF download

Subscription Tiers:
- Add VendorSubscription model with 4 tiers (Essential/Professional/Business/Enterprise)
- Tier limit enforcement for orders, products, team members
- Feature gating based on subscription tier
- Automatic trial subscription creation for new vendors
- Integrate limit checks into order creation (direct and Letzshop sync)

Marketing:
- Update pricing documentation with 4-tier structure
- Revise back-office positioning strategy
- Update homepage with Veeqo-inspired Letzshop-focused messaging

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-24 18:15:27 +01:00
parent 4d9b816072
commit 6232bb47f6
23 changed files with 4342 additions and 241 deletions

View File

@@ -167,22 +167,22 @@ The goal is natural upgrade pressure based on **growth**, not artificial limits.
| Growth Signal | Triggers Upgrade To |
|---------------|---------------------|
| More orders | Higher tier (volume) |
| Shipping to EU | Pro (VAT invoicing) |
| Team grows | Pro/Business (users) |
| More products | Pro (locations, PO) |
| Multiple shops | Business (multi-vendor) |
| Shipping to EU | Professional (VAT invoicing) |
| Team grows | Professional/Business (users) |
| Needs analytics | Business (reporting) |
| Custom integrations | Enterprise (API/white-label) |
---
### Essential - EUR 49/month
**Target:** Solo vendors, getting started, Letzshop + 1 channel
**Target:** Solo vendors, getting started, Letzshop-focused
| Feature | Limit |
|---------|-------|
| Letzshop Order Sync | Up to 100 orders/month |
| Inventory Management | Up to 200 products |
| Basic Invoices (Luxembourg) | Included |
| Basic Invoices (Luxembourg VAT) | Included |
| Team Members | 1 user |
| Order History | 6 months |
| Email Support | 72h response |
@@ -207,44 +207,69 @@ The goal is natural upgrade pressure based on **growth**, not artificial limits.
| Order History | 24 months |
| Priority Email Support | 24h response |
**Why they upgrade:** Multiple team members, multiple Letzshop accounts, need API.
**Why they upgrade:** Hit 500 orders, need analytics/reporting, team grows beyond 3.
---
### Business - EUR 199/month
**Target:** Teams, high volume, multiple vendor accounts
**Target:** High-volume vendors, teams, data-driven operations
| Feature | Limit |
|---------|-------|
| Letzshop Order Sync | Unlimited orders |
| Letzshop Order Sync | Up to 2,000 orders/month |
| Everything in Professional | Included |
| **Multi-Vendor Support** | Multiple Letzshop accounts |
| **Analytics Dashboard** | Sales trends, top products, insights |
| **Accounting Export** | CSV/XML for accounting software |
| **Bulk Operations** | Mass updates, bulk invoicing |
| **Advanced Reporting** | Custom date ranges, exports |
| **API Access** | For custom integrations |
| **Accounting Export** | CSV/XML for accountants |
| **Automation Rules** | Auto-confirm, low-stock alerts |
| Team Members | 10 users |
| Team Roles & Permissions | Full RBAC |
| Order History | Unlimited |
| Phone Support | Available |
| Dedicated Onboarding | Included |
| Priority Support | 4h response, phone available |
**Why they upgrade:** Hit 2,000 orders, need white-label, need SLA, custom integrations.
---
### Enterprise - EUR 399+/month (Custom)
**Target:** Large operations, agencies, special requirements
| Feature | Notes |
|---------|-------|
| Everything in Business | Included |
| Unlimited Orders | No volume limits |
| Unlimited Team Members | As needed |
| **White-Label Option** | Remove Wizamart branding |
| **Custom Integrations** | Connect to ERP, accounting software |
| **Multi-Vendor Support** | Multiple Letzshop accounts |
| **SLA Guarantee** | 99.9% uptime |
| **Dedicated Account Manager** | Named contact |
---
### Feature Access by Tier
| Feature | Essential | Professional | Business |
|---------|:---------:|:------------:|:--------:|
| Letzshop Order Sync | 100/mo | 500/mo | Unlimited |
| Inventory Management | 200 SKU | Unlimited | Unlimited |
| Product Locations | - | ✓ | ✓ |
| Incoming Stock / PO | - | ✓ | ✓ |
| Basic Invoice (LU) | ✓ | ✓ | ✓ |
| EU VAT Invoice | - | ✓ | ✓ |
| Customer List | View | + Export | + Export |
| Team Members | 1 | 3 | 10 |
| Multi-Vendor | - | - | |
| API Access | - | - | |
| Order History | 6 mo | 24 mo | Unlimited |
| Feature | Essential | Professional | Business | Enterprise |
|---------|:---------:|:------------:|:--------:|:----------:|
| Letzshop Order Sync | 100/mo | 500/mo | 2,000/mo | Unlimited |
| Inventory Management | 200 SKU | Unlimited | Unlimited | Unlimited |
| Product Locations | - | Yes | Yes | Yes |
| Incoming Stock / PO | - | Yes | Yes | Yes |
| Basic Invoice (LU) | Yes | Yes | Yes | Yes |
| EU VAT Invoice | - | Yes | Yes | Yes |
| Customer List | View | + Export | + Export | + Export |
| Analytics Dashboard | - | - | Yes | Yes |
| Accounting Export | - | - | Yes | Yes |
| API Access | - | - | Yes | Yes |
| Automation Rules | - | - | Yes | Yes |
| White-Label | - | - | - | Yes |
| Multi-Vendor | - | - | - | Yes |
| Team Members | 1 | 3 | 10 | Unlimited |
| Order History | 6 mo | 24 mo | Unlimited | Unlimited |
---
@@ -260,12 +285,18 @@ The goal is natural upgrade pressure based on **growth**, not artificial limits.
- Product locations + PO = operational maturity
- 3 users = small team
3. **Business (EUR 199)** is for scale
- Multi-vendor = manages multiple Letzshop shops
- API = integrates with other systems
- 10 users = real team
3. **Business (EUR 199)** is for growth
- Analytics and automation justify the price jump
- 2,000 orders/month covers most high-volume vendors
- API enables custom workflows
- No multi-vendor requirement (most don't need it)
**Price anchoring:** EUR 99 is the target tier. EUR 49 exists to capture price-sensitive leads. EUR 199 exists to make EUR 99 look reasonable.
4. **Enterprise (EUR 399+)** captures high-value clients
- White-label for agencies/resellers
- Multi-vendor for the rare cases that need it
- SLA and dedicated support for critical operations
**Price anchoring:** EUR 99 is the target tier. EUR 49 captures price-sensitive leads. EUR 199 is for growth. EUR 399+ makes EUR 199 look reasonable.
---