=== AwoExpense — Corporate Expense, Invoice Approval & A4 Accounting Studio ===
Contributors: awosuite
Tags: expense, invoice, accounting, vat, approval-workflow
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 2.2.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Corporate expense receipts, purchase invoices, 4-stage approval workflow, configurable VAT calculator, and wet-signature A4 accounting summary studio.

== Description ==

**AwoExpense 2.2.0** is a self-contained corporate expense receipt, vendor purchase invoice, configurable VAT calculation, and wet-signature A4 accounting summary studio for WordPress.

**Free Core Features ($0):**
* **15 Active Record Capacity**: Create up to 15 active expense receipts and purchase invoices (viewing, printing A4 summaries, and exporting JSON backups for all existing records remain permanently unlocked).
* **4-Stage Approval Workflow**: Employee Upload -> My Expenses Tracking -> Manager Approval / Return with Reason -> Accounting Handoff.
* **Configurable VAT Calculator**: Define custom VAT rates (e.g., 20%, 10%, 1%, 0% or custom percentages) with automatic VAT extraction and historical per-record VAT rate preservation.
* **Single-Page Wet-Signature A4 Accounting Summary Sheet**: Print-ready A4 accounting summary with Net, VAT, and Gross totals plus 3 wet-signature boxes (*Submitted By / Approved By / Accounting*).
* **TR & EN Language Support**: Full Turkish and English interface and A4 print support.
* **JSON Backup & Restore**: Complete data portability and automatic rolling backup recovery.

**AwoExpense PRO ($19/yr) & AWO Suite Master PRO ($99/yr) Features:**
* **Unlimited Records** (up to 5,000 active records).
* **Multi-Page A4 Report with Numbered Receipt Photo Appendix (Ek-1)**.
* **10 Global Languages (TR, EN, DE, ES, FR, RU, AR RTL, ZH, JA, KO) + Bilingual A4 Summary**.
* **Arabic RTL (`dir="rtl"`) & CJK Typography Engine**.
* **Excel CSV Export**, **WhatsApp Accounting Summary**, **Explicit-Consent AI OCR**, and **AwoStock ERP Bridge**.

== External Services ==

* **100% Local Default Operation:** By default in Free mode, AwoExpense makes **zero external HTTP requests**.
* **Optional AWO-Guard / Polar.sh PRO License Verification (`https://awosign.awoscan.com`):** Only when an administrator explicitly submits a PRO license key (`AWO-EXP-...` or `AWO-SUITE-...`), the plugin sends an HTTPS POST request to `https://awosign.awoscan.com/api/license/activate` containing the license key, site domain, and company name to verify the license and issue a signed domain lease token.
  * Service Provider: AwoScan / AWO Cloud Portal (`https://awosign.awoscan.com`) & Polar Software, Inc. (`https://polar.sh`)
  * Privacy Policy: `https://awoscan.com/privacy` and `https://polar.sh/legal/privacy`

== Installation ==

1. Upload the `awoexpense` folder to the `/wp-content/plugins/` directory and activate the plugin.
2. Open the **AwoExpense** menu in the WordPress Admin dashboard.

== Changelog ==

= 2.2.0 =
* Added native AWO-Guard v1.0 Polar.sh PRO license activation (`AWO-EXP-...` and `AWO-SUITE-...` Master Bundle support) directly inside `WP Admin -> AwoExpense` without requiring a separate companion plugin.
* Added `== External Services ==` documentation per WordPress.org Plugin Directory guidelines.

= 2.0.0 =
* Added AWO-LEC 1.0 (Ed25519) Free/Pro licensing architecture, Vault protection, and automatic rolling backup recovery.
* Added configurable VAT rates with historical per-record VAT preservation.
* Added wet-signature A4 accounting summary sheet, 10 global languages, RTL/CJK typography, and bilingual A4 print support.
