{% extends 'pos/base.html' %} {% block content %}

General Ledger — Setup

Enable or disable the GL posting engine for this tenant.

GL Status
{{ gl_enabled|yesno:"Enabled,Disabled" }}
{% csrf_token %} {% if gl_enabled %} {% else %} {% endif %}
What happens when GL is enabled?
  • Every sale, purchase, payment, receipt, expense will create a double-entry GL record automatically.
  • Existing operational tables (payments, customers, vendors) stay unchanged.
  • You can generate Trial Balance, P&L, Balance Sheet.
  • To disable at any time: click "Disable GL" — operational flow will continue normally, only GL auto-posting stops.
Recommended setup order:
  1. Run python manage.py seed_gl_foundation --business_id <id> once, OR click Chart of Accounts and seed from there.
  2. Verify COA accounts match your business.
  3. Add your parties (customers / vendors) via Parties.
  4. Post opening balances via Party Add (Starting Balance field).
  5. Enable GL — it will start auto-posting from this point onward.
{% endblock %}