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

# Bill Line Items - Mapping to Accounting Products

To ensure Bill line items are assigned to the correct Product lines, you can select an *Accounting Product* when configuring many of the billing-related entities used to set up pricing and charges in your m3ter Organization. The Accounting Product feature gives you the capability to map line items to specific Products in a fine-grained way, and therefore allows your finance team to:

* Map revenue sources more accurately to track profitability and financial performance.
* Automate revenue recognition and deferrals based on contract, plan, and pricing structures.
* Reduce manual finance workload by ensuring accounting products set in m3ter flow through to accounts receivables when invoices are generated.

This topic explains by line item type how different billing-related entities assign this mapping to an Accounting Product. Since in many cases the mapping of Accounting Product to a line item type can be defined for several billing-related entities, the order of precedence for which Accounting Product mapping is used is also explained:

* [Usage Line Items](/guides/billing-and-usage-data/running-viewing-and-managing-bills/bill-line-items-mapping-accounting-products#usage-line-items)
* [Recurring Charges Line Items](#recurring-charges-line-items)
* [Prepayment/Commitment Line Items](/guides/billing-and-usage-data/running-viewing-and-managing-bills/bill-line-items-mapping-accounting-products#prepaymentcommitment-line-items)
* [Minimum Spend Line Items](/guides/billing-and-usage-data/running-viewing-and-managing-bills/bill-line-items-mapping-accounting-products#minimum-spend-line-items)
* [Standing Charge Line Items](/guides/billing-and-usage-data/running-viewing-and-managing-bills/bill-line-items-mapping-accounting-products#standing-charge-line-items)
* [Balance Line Items](/guides/billing-and-usage-data/running-viewing-and-managing-bills/bill-line-items-mapping-accounting-products#balance-line-items)
* [Ad-Hoc Line Items](/guides/billing-and-usage-data/running-viewing-and-managing-bills/bill-line-items-mapping-accounting-products#ad-hoc-line-items)

<Tip>
  **Tip: Grouping Bill Line Items by Accounting Products!** When a Bill has been generated for an Account and line items are mapped to Accounting Products, in Bill Management you can use a display option to group line items by Accounting Product. See [Viewing Bill Details](/guides/billing-and-usage-data/running-viewing-and-managing-bills/running-bills-and-viewing-bill-details#viewing-bill-details).
</Tip>

## Usage Line Items

The mapping to Accounting Product for *Usage* or *Usage credit* line items is determined by:

* **Pricing**. The Pricing **Accounting product** takes precedence.
* **Aggregation**. If not defined for the Pricing, the **Accounting product** for the Aggregation used to price a Plan is used.
* **Plan**. If not defined for either the Pricing or the Aggregation, the **Product** the Plan belongs to is used.

## Recurring Charges Line Items

The mapping to Accounting Product for *Counter adjustment credit*, *Counter adjustment debit*, or *Counter running total charge* line items is determined by:

* **Counter Pricing**. The **Accounting product** defined for the Counter pricing takes precedence.
* **Counter**. If not defined for the Counter pricing, then the **Product** the Counter belongs to is used.

## Prepayment/Commitment Line Items

### Prepayment Consumed

The mapping to Accounting Product for *Prepayment consumed* line items is determined by:

* The **Draw-downs accounting product** defined for the Prepayment takes precedence.
* If the **Draw-downs accounting product** is not defined, then the **Accounting product** defined for the Prepayment is used.

### Prepayment Fee

The mapping to Accounting Product for *Prepayment fee* line items is determined by:

* The **Fees accounting product** defined for the Prepayment takes precedence.
* If the **Fees accounting product** is not defined, then the **Accounting product** defined for the Prepayment is used.

## Minimum Spend Line Items

### Plan

The mapping to Accounting Product for *Minimum spend* and *Minimum spend adjustment* line items is determined by:

* The **Minimum spend accounting product** defined for the Plan takes precedence.
* If the **Minimum spend accounting product** is not defined for the Plan, then the **Product** the Plan belongs to is used.

### Plan Group

The mapping to Accounting Product for *Minimum spend* and *Minimum spend adjustment* line items is determined by the **Minimum spend accounting product** defined for the Plan Group.

## Standing Charge Line Items

### Plan

The mapping to Accounting Product for *Standing charge* line items is determined by:

* The **Standing charge accounting product** defined for the Plan takes precedence.
* If the **Standing charge accounting product** is not defined for the Plan, then the **Product** the Plan belongs to is used.

### Plan Group

The mapping to Accounting Product for *Standing charge* line items is determined by the **Standing charge accounting product** defined for the Plan Group.

## Balance Line Items

### Balance Consumed

The mapping to Accounting Product for *Balance consumed* line items is determined by the **Consumptions accounting product** defined for the Balance:

* If you omit a **Consumptions accounting product**, then then *Balance consumed* Bill line items will not be linked to a Product and will be listed under **Balance**.

### Balance Fee

The mapping to Accounting Product for *Balance fee* line items is determined by:

* The **Accounting product** defined for the Balance Charge takes precedence.
* If the **Accounting product** is not defined for the Balance Charge, then the **Fees accounting product** defined for the Balance is used.
* If an **Accounting product** has not been defined for a Charge and you omit **Fees accounting product** for the Balance, then *Balance fee* Bill line items will not be linked to a Product and will be listed under **Balance**.

## Ad-Hoc Line Items

The mapping to Accounting Product for *Ad-hoc* line items is determined by the **Accounting product** defined for the Account Charge.
