Skip to main content

BR-16 At least one invoice line is required

An invoice shall have at least one Invoice line (BG-25) describing a billed item, service or charge.

Problem Description

ERROR

EN 16931 core business rule (CEN)

Context and Significance

This is an EN 16931 core rule. An invoice without lines cannot show what is billed; even an invoice for a single lump sum needs at least one line. The UBL schema already requires cac:InvoiceLine, so BR-16 is mainly reported for CII invoices, typically when a summary invoice is exported with totals only.

Solution

Include at least one cac:InvoiceLine element with its identifier, quantity, price and net amount.

Quick actions

Valid Examples

  • Document contains one or more cac:InvoiceLine elements

Invalid Examples

  • A CII invoice with header and totals but no ram:IncludedSupplyChainTradeLineItem; in UBL an invoice without cac:InvoiceLine is already an XML schema error

Code Examples

Valid XML
<rsm:SupplyChainTradeTransaction>
  <ram:IncludedSupplyChainTradeLineItem>
    <ram:AssociatedDocumentLineDocument>
      <ram:LineID>1</ram:LineID>
    </ram:AssociatedDocumentLineDocument>
  </ram:IncludedSupplyChainTradeLineItem>
  <ram:ApplicableHeaderTradeAgreement/>
  <ram:ApplicableHeaderTradeDelivery/>
  <ram:ApplicableHeaderTradeSettlement/>
</rsm:SupplyChainTradeTransaction>
Invalid XML
<rsm:SupplyChainTradeTransaction>
  <ram:ApplicableHeaderTradeAgreement/>
  <ram:ApplicableHeaderTradeDelivery/>
  <ram:ApplicableHeaderTradeSettlement/>
</rsm:SupplyChainTradeTransaction>

Affected Fields

Validation Tools