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

# Compliance Cost Mappings

> Admin page for mapping Governance & Risk compliance event categories to Finance & Revenue expense accounts for accurate GL posting.

Compliance Cost Mappings is an admin page for configuring how GR (Governance & Risk) compliance event categories map to FA expense accounts in the general ledger. Route: `/fa/compliance-mappings`

## Overview

The page renders `ComplianceMappingEditor` inside a `RequirePermission` gate for `fa.category-mappings.view`. The page header describes the purpose as: "Map GR compliance event categories (audit, fines, training, etc.) to FA expense accounts so compliance costs post to the correct general ledger accounts."

The route has no additional permission wrapping in `fa.tsx` beyond what the component provides.

## Who it's for

Requires permission: `fa.category-mappings.view` (enforced within the component via `RequirePermission`)

## Before you start

* GL accounts must be configured in the Chart of Accounts.
* GR compliance event category definitions must exist.
* You must hold the `fa.category-mappings.view` permission.

## Steps

<Steps>
  <Step title="Navigate to Compliance Cost Mappings">
    Go to `/fa/compliance-mappings`.
  </Step>

  <Step title="Review existing mappings">
    The `ComplianceMappingEditor` displays current category-to-account mappings.
  </Step>

  <Step title="Add or update a mapping">
    Select a GR compliance event category and assign it to the appropriate FA expense account.
  </Step>

  <Step title="Save changes">
    Confirm or save the updated mappings as supported by the editor.
  </Step>
</Steps>

## Key concepts

* **`ComplianceMappingEditor`** — Primary editor component for managing category-to-account mappings.
* **Cross-core dependency** — This page bridges GR (Governance & Risk) and FA (Finance & Revenue) cores via the Platform Integration Layer.

## Related

<Columns cols={2}>
  <Card title="Finance & Revenue" icon="building-columns" href="/fa/overview">
    Finance & Revenue core overview.
  </Card>

  <Card title="Governance & parity" icon="scale-balanced" href="/governance/index" />
</Columns>

<Note>
  This page documents shipped product behavior. It is not medical, legal, or
  billing advice. Verify against your organization's policies and applicable
  regulations before using it for clinical, compliance, or billing decisions.
  Protected health information (PHI) shown in the product is governed by your
  tenant's access controls and is never exposed in this documentation.
</Note>

<Accordion title="Documentation sources">
  * src/routes/fa.tsx
  * src/cores/fa/pages/ComplianceMappingPage.tsx
  * src/cores/fa/components/ComplianceMappingEditor.tsx
</Accordion>
