# BT-145 Invoice Line Charge Reason Code

Coded reason for an invoice line charge.

## Quick answer

Coded reason for an invoice line charge.

> **Line items**: The goods or services on each invoice line, including quantities, prices, and VAT.

- validate
- convert

## In plain language

Coded reason for an invoice line charge.

Coded reason for an invoice line charge.

Captures line-level discounts and surcharges so the invoice line net amount can be reconciled from quantity, price, allowances, and charges.

## What you usually enter here

Code from the charge reason code list

Typical valid values include: HD

Defined by EN 16931 for invoice line allowance and charge details; apply profile cardinality and the listed code list or calculation rules when the element is present.

## What goes wrong often

Avoid values like: handling

Relevant rule codes: BR-CL-20

## Examples in context

Captures line-level discounts and surcharges so the invoice line net amount can be reconciled from quantity, price, allowances, and charges.

Defined by EN 16931 for invoice line allowance and charge details; apply profile cardinality and the listed code list or calculation rules when the element is present.

## Valid Examples

- HD

## Invalid Examples

- handling

## Related Fields

Captures line-level discounts and surcharges so the invoice line net amount can be reconciled from quantity, price, allowances, and charges.

- [BT-141 Invoice Line Charge Amount](/resources/xrechnung/bt-141-invoice-line-charge-amount)
- [BT-144 Invoice Line Charge Reason](/resources/xrechnung/bt-144-invoice-line-charge-reason)

## XML mapping and field facts

Open the technical reference if you need XML paths, validator rule codes, legal wording, or schema-specific mapping details.

### Field ID:
BT-145

### Data Type:
code

### Cardinality:
0..1

### Requirement:
Optional

### Since Version:
Optional

## XML Implementation

### UBL 2.1 Syntax
```
/Invoice/cac:InvoiceLine/cac:AllowanceCharge[cbc:ChargeIndicator=true()]/cbc:AllowanceChargeReasonCode
```

## Validation Rules

### BR-CL-20
BR-CL-20

## Why the standard cares about this field

### Business Context
Captures line-level discounts and surcharges so the invoice line net amount can be reconciled from quantity, price, allowances, and charges.

### Legal Requirement
Defined by EN 16931 for invoice line allowance and charge details; apply profile cardinality and the listed code list or calculation rules when the element is present.

## Official sources and tools

- [KoSIT Validator](https://erechnungsvalidator.service-bw.de/)
- [Invoice Converter](/pdf-to-xrechnung)
- [XRechnung Standard](https://xeinkauf.de/xrechnung/)
- [Test Suite](https://github.com/itplr-kosit/xrechnung-testsuite)
