Skip to content

Documentation / einvoice-ts / InvoiceLineInput

Interface: InvoiceLineInput ​

Defined in: packages/core/src/model/invoice.types.generated.ts:1108

BG-25 INVOICE LINE.

A group of business terms providing information on individual Invoice lines.

Builder input for InvoiceLine: decimals may be numbers; currencyId and defaultable elements (those with a default or fixed value) are optional; leaves whose attributes are all optional accept a plain string. The amounts the builder computes are optional as well; each one says how it is computed when omitted.

Rules ​

BR-16

See ​

https://docs.peppol.eu/poacc/billing/3.0/syntax/ubl-invoice/cac-InvoiceLine/

Properties ​

accountingCost? ​

optional accountingCost?: string

Defined in: packages/core/src/model/invoice.types.generated.ts:1178

BT-133 Invoice line Buyer accounting reference.

A textual value that specifies where to book the relevant data into the Buyer's financial accounts.

Cardinality ​

0..1

See ​

https://docs.peppol.eu/poacc/billing/3.0/syntax/ubl-invoice/cac-InvoiceLine/cbc-AccountingCost/


allowanceCharge? ​

optional allowanceCharge?: LineAllowanceChargeInput[]

Defined in: packages/core/src/model/invoice.types.generated.ts:1213

BG-27, BG-28 INVOICE LINE ALLOWANCES OR CHARGES.

A group of business terms providing information about allowances or charges applicable to the individual Invoice line.

Cardinality ​

0..n

Rules ​

BR-CO-23, BR-CO-24

See ​

https://docs.peppol.eu/poacc/billing/3.0/syntax/ubl-invoice/cac-InvoiceLine/cac-AllowanceCharge/


documentReference? ​

optional documentReference?: DocumentReferenceInput

Defined in: packages/core/src/model/invoice.types.generated.ts:1202

LINE OBJECT IDENTIFIER.

Cardinality ​

0..1

Rules ​

PEPPOL-EN16931-R100, PEPPOL-EN16931-R101

See ​

https://docs.peppol.eu/poacc/billing/3.0/syntax/ubl-invoice/cac-InvoiceLine/cac-DocumentReference/


id ​

id: string

Defined in: packages/core/src/model/invoice.types.generated.ts:1118

BT-126 Invoice line identifier.

A unique identifier for the individual line within the Invoice.

Cardinality ​

1..1

Rules ​

BR-21

See ​

https://docs.peppol.eu/poacc/billing/3.0/syntax/ubl-invoice/cac-InvoiceLine/cbc-ID/


invoicedQuantity ​

invoicedQuantity: QuantityInput

Defined in: packages/core/src/model/invoice.types.generated.ts:1147

BT-129 Invoiced quantity.

The quantity of items (goods or services) that is charged in the Invoice line.

Attribute unitCode (BT-130 Invoiced quantity unit of measure): The unit of measure that applies to the invoiced quantity. Codes for unit of packaging from UNECE Recommendation No. 21 can be used in accordance with the descriptions in the "Intro" section of UN/ECE Recommendation 20, Revision 11 (2015): The 2 character alphanumeric code values in UNECE Recommendation 21 shall be used. To avoid duplication with existing code values in UNECE Recommendation No. 20, each code value from UNECE Recommendation 21 shall be prefixed with an “X”, resulting in a 3 alphanumeric code when used as a unit of measure.

Cardinality ​

1..1

Rules ​

BR-22, BR-CL-23

Codelist ​

unitCode: UNECERec20 https://docs.peppol.eu/poacc/billing/3.0/codelist/UNECERec20/

Rules ​

unitCode: BR-23

See ​

https://docs.peppol.eu/poacc/billing/3.0/syntax/ubl-invoice/cac-InvoiceLine/cbc-InvoicedQuantity/


invoicePeriod? ​

optional invoicePeriod?: LinePeriodInput

Defined in: packages/core/src/model/invoice.types.generated.ts:1187

BG-26 INVOICE LINE PERIOD.

A group of business terms providing information about the period relevant for the Invoice line.

Cardinality ​

0..1

See ​

https://docs.peppol.eu/poacc/billing/3.0/syntax/ubl-invoice/cac-InvoiceLine/cac-InvoicePeriod/


item ​

item: ItemInput

Defined in: packages/core/src/model/invoice.types.generated.ts:1222

BG-31 ITEM INFORMATION.

A group of business terms providing information about the goods and services invoiced.

Cardinality ​

1..1

See ​

https://docs.peppol.eu/poacc/billing/3.0/syntax/ubl-invoice/cac-InvoiceLine/cac-Item/


lineExtensionAmount? ​

optional lineExtensionAmount?: string | number | AmountInput

Defined in: packages/core/src/model/invoice.types.generated.ts:1168

BT-131 Invoice line net amount.

The total amount of the Invoice line. The amount is “net” without VAT, i.e. inclusive of line level allowances and charges as well as other relevant taxes. Must be rounded to maximum 2 decimals.

Optional in the builder input: when omitted, the builder computes it as the quantity times the price per unit (BT-129 × BT-146 / BT-149), rounded to two decimals, plus the line charges and minus the line allowances (BT-141, BT-136); a price base quantity of zero throws a RangeError.

Attribute currencyID: Mandatory attribute. Use BT-5

Cardinality ​

1..1

Rules ​

BR-24, PEPPOL-EN16931-R120, BR-DEC-23, UBL-DT-01, BR-CL-03

Codelist ​

currencyID: ISO4217 https://docs.peppol.eu/poacc/billing/3.0/codelist/ISO4217/

Rules ​

currencyID: PEPPOL-EN16931-CL007, PEPPOL-EN16931-R051

See ​

https://docs.peppol.eu/poacc/billing/3.0/syntax/ubl-invoice/cac-InvoiceLine/cbc-LineExtensionAmount/


note? ​

optional note?: string

Defined in: packages/core/src/model/invoice.types.generated.ts:1127

BT-127 Invoice line note.

A textual note that gives unstructured information that is relevant to the Invoice line.

Cardinality ​

0..1

See ​

https://docs.peppol.eu/poacc/billing/3.0/syntax/ubl-invoice/cac-InvoiceLine/cbc-Note/


orderLineReference? ​

optional orderLineReference?: OrderLineReferenceInput

Defined in: packages/core/src/model/invoice.types.generated.ts:1194

ORDER LINE REFERENCE.

Cardinality ​

0..1

See ​

https://docs.peppol.eu/poacc/billing/3.0/syntax/ubl-invoice/cac-InvoiceLine/cac-OrderLineReference/


price ​

price: PriceInput

Defined in: packages/core/src/model/invoice.types.generated.ts:1232

BG-29 PRICE DETAILS.

A group of business terms providing information about the price applied for the goods and services invoiced on the Invoice line.

Cardinality ​

1..1

See ​

https://docs.peppol.eu/poacc/billing/3.0/syntax/ubl-invoice/cac-InvoiceLine/cac-Price/

MIT licensed. Specification material belongs to OpenPeppol, CEN and OASIS (see NOTICE). Peppol is a trademark of OpenPeppol AISBL; this project is not affiliated with it.