Basic composite types

Identifying an object

The element type cac:ItemIdentificationType is used to identify objects, and comprises the following elements:

Name

Type/occurrence

Description

Name

Type/occurrence

Description

cac:ID

udt:IdentifierType

Identifier, e.g. item number or EAN code.

cac:PhysicalAttribute

cac:PhysicalAttributeType*

Identifying features.

cac:MeasurementDimension

cac:DimensionType*

Dimensions for object identification.

Occurrence of elements is qualified in this table (and the subsequent ones) as follows:

  • No specification: Element must be used.

  • * Element can occur as often as necessary.

  • + Element must occur at least once.

  • ? Element can occur no more than once.

At present, we assume that the seller uniquely identifies an object by means of a distinctive string of characters, e.g. by an internal item number or EAN code.

Conceivable in addition to the item number, though, is a need for further information such as clothing size or colour to identify an item. The ItemIdentificationType element type is also suitable for these cases. However, we will not define detailed rules for this until a practical requirement for it arises.

Rule ItemIdentification

Until further notice therefore: Veloconnect-compliant implementations will not use any of the child elements of ItemIdentifcationType, except for the element cac:ID.

Base prices

The element type cac:BasePriceType is used to communicate prices related to a quantity:

Name

Type/occurrence

Description

Name

Type/occurrence

Description

cbc:PriceAmount

cbc:PriceAmountType

Amount of the price.

cbc:BaseQuantity

cbc:QuantityType?

Base quantity related to the price.

cbc:MaximumQuantity

cbc:QuantityType?

Maximum quantity for the price to remain valid.

cbc:MinimumQuantity

cbc:QuantityType?

Minimum quantity for the price to remain valid.

 

Rule: BasePriceType

The following rules apply to Veloconnect-compliant implementations:

  1. The BaseQuantity element must be present in an instance of type cac:BasePriceType.

  2. Only one and the same unit of quantity (quantityUnitCode) can be used in all child elements of an element instance e of type ebc:QuantityType. We will call it the quantity unit of e. If a quantity m is given, e is valid for m if the quantity unit of e is comparable to the quantity unit of m, and m is in the range clearly determined by cbc:MinimumQuantity and cbc:MaximumQuantity. In particular, e is not valid for m if the quantity units are not comparable, and is valid for m if the quantity units are comparable and the elements cbc:MaximumQuantity and cbc:MinimumQuantity are not present.

  3. If several identically named child elements of type BasePriceType are used in an instance element, this indicates a function which assigns a price to a specified quantity as follows: A quantity m is given. Determined among the mentioned child elements are all those valid for m. If there is no such element, then the function for this argument m is not defined. Otherwise, the smallest price is set as the function value from the elements valid for m.