i-effect Manual
German English
German English

ZF23INVPN - Product instances (batch, serial number)

The table ZF23INVPN is available from i-effect 3.1.19 and stores the product instances of an invoice line: the batch ID and the serial number of the delivered item. A line can have any number of instances (e.g. several machines, each with its own serial number). The data exists only in the EXTENDED profile (ZUGFeRD from 2.2 / Factur-X from 1.07.3).

This database table consists of the following fields

Column Name

Status

Column definition

Technical term

Description

PNKEY

required

VARCHAR(15)

Reference ID head

Reference to ZF23INVHT.HTKEY

PNREF

required

DECIMAL(5,0)

Reference ID line item

Reference to the invoice line (ZF23INVPI.PILFD)

PNLFD

required

DECIMAL(5,0)

Sequence

Order of the product instances. The outbound mappings write the instances of a line in ascending order of PNLFD.

PNBATID

optional

VARCHAR(100)

Batch ID

Batch ID of the item

PNSERID

optional

VARCHAR(100)

Supplier assigned serial ID

Serial number of the item, assigned by the seller

The following list shows the business rule numbers, the XML target elements and further explanations for the fields

Column Name

XML Element

EN16931-ID

Example

Info

PNBATID

/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:IndividualTradeProductInstance/ram:BatchID

BT-X-306

CH-2026-0815

EXTENDED only

PNSERID

/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:IndividualTradeProductInstance/ram:SupplierAssignedSerialID

BT-X-307

123456789123456789

EXTENDED only

Each row of the table corresponds to one ram:IndividualTradeProductInstance element of the line. A row with only a batch ID or only a serial number is allowed.