# BT-128 Invoice line object identifier

An identifier for an object on which the invoice line is based, such as an order line, despatch advice line, or tender line.

## Quick answer

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

- [Validate XML](/en/xrechnung-validator?source=resource&bt=BT-128)
- [Convert invoice](/en/pdf-to-xrechnung?source=resource&bt=BT-128)

## In plain language

An identifier for an object on which the invoice line is based, such as an order line, despatch advice line, or tender line.

An identifier for an object on which the invoice line is based, such as an order line, despatch advice line, or tender line.

Links the invoice line to the corresponding line in the source document (order, tender, etc.).

## What you usually enter here

Alphanumeric identifier with meaningful reference

Typical valid values include: PO-001-1, ORDER-123-5, TENDER-ABC-2

Optional but recommended for traceability and audit purposes.

## What goes wrong often

Avoid values like: , reference

## Examples in context

Links the invoice line to the corresponding line in the source document (order, tender, etc.).

Optional but recommended for traceability and audit purposes.

## Valid Examples

- PO-001-1
- ORDER-123-5
- TENDER-ABC-2

## Invalid Examples

- reference

## Related Fields

Links the invoice line to the corresponding line in the source document (order, tender, etc.).

- [BT-126 Invoice line identifier](/resources/xrechnung/bt-126-invoice-line-identifier)
- [BT-13 Purchase Order Reference](/resources/xrechnung/bt-13-purchase-order-reference)

## 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-128

### Data Type:
identifier

### Cardinality:
0..1

### Requirement:
Optional

### Max Length:
50 characters

### Since Version:
Optional

## XML Implementation

### UBL 2.1 Syntax
```
/Invoice/cac:InvoiceLine/cac:DocumentReference/cbc:ID
```

### CII (UN/CEFACT) Syntax
```
/CrossIndustryInvoice/SupplyChainTradeTransaction/ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementLineMonetarySummation/ram:AssociatedDocumentLineDocument/ram:LineID
```

## Create an XRechnung from your PDF

The converter reads the invoice and shows the fields it found before download, so you can check and correct the values. No PDF? Fill in the XRechnung directly in the form.

- [Convert invoice](/en/pdf-to-xrechnung)
- [Fill in XRechnung in the form](/en/create-xrechnung)

Download requires an account. Subscriptions from €10/month with annual billing (excl. taxes), or €5 per conversion (excl. taxes) without a subscription.

## Why the standard cares about this field

### Business Context
Links the invoice line to the corresponding line in the source document (order, tender, etc.).

### Legal Requirement
Optional but recommended for traceability and audit purposes.

## Official sources and tools

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