=== ai Books ===
Contributors: fragbait
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.1
Stable tag: 0.0.10
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Lightweight double-entry books for a small business. Customer import, bank statement import, and Stripe are ai Books Pro features.

== Description ==

ai Books keeps a reconcilable ledger in WordPress.

* Chart of accounts with system accounts for receivables, opening balances, Hawaii GET, and New Zealand GST.
* Journal entries that must balance before they are saved. Money is decimal(15,4).
* Posted journals are voided by a reversing entry. Drafts can be edited or deleted.
* Trial balance on a net (tax-exclusive) basis, plus a tax detail report with net, tax, and gross.
* Tax codes for Hawaii General Excise Tax (4%, 4.5% pass-on, wholesale 0.5%) and New Zealand GST (15% exclusive and inclusive).

Customers, invoices, payments, credit notes, and recurring schedules are included. Email is not available yet. Customer CSV import, bank statement import, and Stripe are ai Books Pro features. Their tables are created on activation so the ledger does not need a new baseline.

One capability gates the screens: `manage_aibooks`. It is added to Administrators on activation.

== Installation ==

1. Copy this directory to `wp-content/plugins/aibooks`.
2. Activate ai Books in Plugins.
3. Open ai Books in the admin menu.

Uninstall keeps the database tables unless Settings → Delete data on uninstall is turned on.

== Changelog ==

= 0.0.10 =
* Release 0.0.10

= 0.0.9 =
* Release 0.0.9

= 0.0.8 =
* Release 0.0.8

= 0.0.7 =
* Release 0.0.7

= 0.0.6 =
* The ai Books admin menu sits at position 100.

= 0.0.5 =
* Stripe Checkout takes a card payment for an open invoice.
* Stripe Pay, the no-fee business transfer, marks that invoice paid when the customer sends the balance to the company profile handle with the invoice number in the description.

= 0.0.4 =
* Plugins screen adds a Settings link beside Deactivate.

= 0.0.3 =
* Dashboard Setup list on the right shows the plugin version, PHP version, and WordPress version.

= 0.0.2 =
* Check https://ai.net.nz/aiplugin/aibooks.json for a newer version and install the zip published there.

= 0.0.1 =
* Chart of accounts, balanced journals, tax codes, trial balance, and tax detail.
