> ## Documentation Index
> Fetch the complete documentation index at: https://docs.uplifter.app/llms.txt
> Use this file to discover all available pages before exploring further.

# How do I assign a GL code to a program or product?

> Tag programs, events, memberships, passes, and products so each sale is coded for accounting.

<Note>
  **Must know**

  * The GL code is stamped onto each line item **at the moment of sale**.
  * If an item has no code assigned, the sale **falls back to the default code** for that item type.
  * You assign a code from the item's own setup page — the Ledgers **Assignments** tab shows where codes are used but doesn't assign them.
</Note>

Tagging a sellable item with a GL code makes every future sale of it land in the right accounting bucket. You can code programs, events, competitions, membership groups, passes, and products.

<Steps>
  <Step title="Open the item's setup">
    Go to the item you want to code — for example a program under **Registrations → Programs**, a store item under **Products**, or an event or membership on its own page.
  </Step>

  <Step title="Pick a GL code">
    In the item's settings, find the **GL code** field and choose the code you want its revenue to post to. Save the item.
  </Step>

  <Step title="Confirm the assignment">
    Open **Settings → Financial Setup → Ledgers → Assignments** to see a count of how many programs, events, competitions, memberships, passes, and products are tagged to each code.
  </Step>
</Steps>

**A few things to know**

* Sales made *before* you assign a code aren't retagged — coding takes effect from the next sale.
* Leave a code off and the sale still goes through; it just uses the default revenue code for that type.
* If you later delete a code you're allowed to delete, past sales lose the tag rather than blocking the deletion.

**Related:** [What are GL codes and my chart of accounts?](/club/money-payouts-accounting/gl-codes-chart-of-accounts) · [What syncs to QuickBooks or Xero, and when?](/club/money-payouts-accounting/what-syncs-to-quickbooks-xero) · [How do I connect QuickBooks or Xero and sync?](/club/money-payouts-accounting/connect-quickbooks-xero)
