# BR-16

Source: https://xmlvalid.com/rules/BR-16

> An Invoice shall have at least one Invoice line (BG-25)

- Level: error
- Rule sets: EN 16931 rules (UBL) 1.3.17, EN 16931 rules 1.3.16 (UBL), EXTENDED-CTC-FR rules (UBL) 1.4.0.04, Romanian RO e-Factura rules (UBL) 1.0.9
- Context: `/ubl:Invoice | /cn:CreditNote`
- Test: `exists(cac:InvoiceLine) or exists(cac:CreditNoteLine)`

> An Invoice shall have at least one Invoice line (BG-25).

- Level: error
- Rule sets: EN 16931 rules (CII) 1.3.17, EN 16931 rules 1.3.16 (CII), EXTENDED-CTC-FR rules (CII) 1.4.0.04, Factur-X EN 16931 rules 1.09.2, Factur-X EXTENDED rules 1.09.2
- Context: `/rsm:CrossIndustryInvoice`
- Test: `//ram:IncludedSupplyChainTradeLineItem`

## Why it fails

- The invoice has no `cac:InvoiceLine` (`cac:CreditNoteLine` in a credit note, `ram:IncludedSupplyChainTradeLineItem` in CII), for example a summary invoice that only carries totals.

## How to fix it

- Add at least one line. For a single service, one line with the total as its net amount will do.

Validate a document against these rules: https://xmlvalid.com/validate
