🇦🇪 مولد فواتير ريد مابل - الدليل الشامل باللغة العربية
يوفر هذا الدليل شرحاً تفصيلياً لإدارة الفواتير متعددة المستأجرين، دليل العملاء، بوابات الدفع، والضرائب الإقليمية.
1. Platform Architecture & Multi-Tenancy
Cryptographically isolated agency workspaces and tenant scopes
يعتمد نظام ريد مابل على بنية العزل التام للمستأجرين (Multi-Tenancy)، حيث تمتلك كل وكالة مساحة عمل خاصة ومستقلة بالكامل.
- عزل البيانات: لا يمكن لأي وكالة الاطلاع على فواتير أو عملاء أي وكالة أخرى.
- التوثيق الآمن: تشفير كلمات المرور باستخدام خوارزمية Bcrypt مع حماية ضد هجمات CSRF.
- أدوار المستخدمين: صلاحيات مقسمة بين المالك، المدير، والموظف.
2. Client Directory & Multilingual Support (Urdu, Hindi, Turkish)
Multi-currency billing and localized customer preferences
عند إضافة عميل جديد، يمكنك تعيين لغة الفاتورة المفضلة، العملة الإقليمية، وشروط الاستحقاق:
3. Invoicing Engine & Sequential Numbering Lock
Atomic gap-less sequence locking per workspace
يتم ترقيم الفواتير تسلسلياً برمز فريد مثل INV-2026-0001 مع قفل تسلسلي ذري يمنع تكرار الأرقام أو وجود فجوات حسابية.
4. Country Taxation Rules & PDF Security
GAAP/IFRS pre-tax discounts and optional client PIN protection
- Pre-Tax Discount Calculation: Taxes are computed strictly after deducting discounts:
Taxable Amount = Subtotal - Discount. - Regional Tax Presets: UK VAT (20%), DE MwSt (19%), UAE VAT (5%), Saudi Arabia VAT (15%), India GST (18%), Turkey KDV (20%), Pakistan Sales Tax (16%).
- PDF Security PIN: When creating sensitive commercial invoices, enable "Password Protect PDF". The client must enter the assigned PIN before downloading the document.
5. Credit Notes & Ledger Refunds
Accounting integrity and immutable reversal trail
In commercial accounting, issued invoices must never be deleted. To correct errors, billing mistakes, or cancelled projects, an agency issues a **Credit Note** (CN-YYYY-XXXX).
Credit notes automatically adjust outstanding balances, update the financial audit trail, and maintain strict accounting compliance.
6. Stripe, PayPal & Webhook Processing
Idempotent automated reconciliation without duplicate charges
Configure your webhook endpoints in your gateway developer dashboard:
Every webhook payload is verified and indexed using its gateway event ID, preventing double-crediting if a webhook is retried.
7. SaaS Membership & Atomic Coupons
Promo codes for subscription signups and renewals
Agencies can subscribe to or renew SaaS tiers using discount coupons:
Coupons feature atomic concurrency checks preventing race conditions during checkout spikes.