<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<epcis:EPCISDocument
xmlns:epcis="urn:epcglobal:epcis:xsd:1"
xmlns:cbvmda="urn:epcglobal:cbv:mda"
xmlns:example="http://ns.example.com/epcis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" creationDate="2005-07-11T11:30:47.0Z" schemaVersion="1.2">
<EPCISBody>
<EventList>
<extension>
<TransformationEvent>
<eventTime>2013-06-08T14:30:00.000+00:00</eventTime> <!--absolute time of the event in UTC-->
<!--WHEN-->
<!--MANDATORY. The accepted time formats are: -->
<!--Complete date plus hours and minutes: YYYY-MM-DDThh:mmTZD (eg 1997-07-16T19:20+01:00)-->
<!--Complete date plus hours, minutes and seconds: YYYY-MM-DDThh:mm:ssTZD (eg 1997-07-16T19:20:30+01:00)-->
<!--Complete date plus hours, minutes, seconds and a decimal fraction of a second up to 9 digits YYYY-MM-DDThh:mm:ss.sTZD (eg 1997-07-16T19:20:30.451+01:00)-->
<!--YYYY = four-digit year -->
<!--MM = two-digit month (01=January, etc.) -->
<!--DD = two-digit day of month (01 through 31) -->
<!--hh = two digits of hour (00 through 23) (am/pm NOT allowed) -->
<!--mm = two digits of minute (00 through 59) -->
<!--ss = two digits of second (00 through 59) -->
<!--s = An up to 9 digit long number representing a decimal fraction of a second -->
<!--TZD = time zone designator (Z or +hh:mm or -hh:mm) where Z indicates Zulu (UTC) time -->
<!--To use local time in the event, enter in the local time with the TZD set to the time zone's offset from UTC time-->
<eventTimeZoneOffset>-04:00</eventTimeZoneOffset>
<!--MANDATORY. Time-zone of location, as an offset from UTC.-->
<baseExtension>
<eventID>urn:uuid:6926712e-599f-4c4e-b6e9-8dd888c906bd</eventID>
<!--OPTIONAL. A unique ID (UUID) for the event. If not specified, the system generates an event ID.-->
<!--RECOMMENDED. Supply a unique eventID (UUID) for disambiguation.-->
</baseExtension>
<inputEPCList>
<epc>urn:epc:id:sgtin:0614141.107346.2017</epc>
<!--Additional entries go here-->
</inputEPCList>
<!--WHAT-->
<!--MANDATORY (if transformationID present) that either inputEPCList or inputQuantityList be present, if both outputEPCList and outputQuantityList are omitted.-->
<!--MANDATORY (if transformationID omitted) that inputEPCList or inputQuantityList AND outputEPCList or outputQuantityList be present.-->
<!--List of instance-level objects (SSCC, SGTIN) which are input to transformation.-->
<!--LGTINs and other class-level objects go in quantityList (see following fields)-->
<!--General SGTIN syntax: urn:epc:id:sgtin:CompanyPrefix.IndicatorDigitAndItemRef.SerialNumber-->
<!--CompanyPrefix.ItemRefAndIndicator should have 13 digits (without counting dots).-->
<!--CompanyPrefix is equal to the CompanyPrefix derived from GTIN-14.-->
<!--ItemRefAndIndicator is formed by concatenating the first digit (Indicator) from GTIN-14 with ItemRef digits from GTIN-14.-->
<!--GTIN-14 check digit is dropped.-->
<!--GTIN-12 or GTIN-13 should first be converted to GTIN-14 by adding leading 0s before previous conversion.-->
<!--General EPC SSCC syntax: urn:epc:id:sscc:CompanyPrefix.SerialRefAndExtension-->
<!--EPC SSCC is 17 digits-->
<!--CompanyPrefix is equal to the CompanyPrefix in GS1 SSCC-->
<!--SerialReferenceAndExtension is formed by concatenating the first digit (Extension) from GS1 SSCC with SerialRef digits from GS1 SSCC.-->
<!--GS1 SSCC check digit is dropped.-->
<!-- IDs-->
<!-- Product with Serial #: urn:ibm:ift:product:serial:obj:<Company Prefix>.<Item Reference>.<Serial Number>-->
<!-- Logistic Unit: urn:ibm:ift:lpn:obj:<Company Prefix>.<Serial Reference>-->
<inputQuantityList>
<quantityElement>
<epcClass>urn:epc:class:lgtin:0614141.107346.101</epcClass>
<!--MANDATORY for quantityElement. Class-level EPCs like LGTINs. See following note for description.-->
<quantity>10</quantity>
<!--MANDATORY for quantityElement.-->
<!--Meaning: 10 cases of LGTIN '0614141.107346' belonging to lot '101'-->
<uom>CS</uom>
<!--MANDATORY for quantityElement. Item quantity unit of measurement. "CS" = Case.-->
<!--Two or three-charater codes from UN/CEFACT Recommendation 20.-->
<!--Other examples: EA (each), LBR (pound), KGM (kilogram).-->
<!--See https://www.unece.org/fileadmin/DAM/cefact/recommendations/rec20/rec20_rev3_Annex2e.pdf and-->
<!--https://www.unece.org/fileadmin/DAM/cefact/recommendations/rec20/rec20_rev3_Annex3e.pdf.-->
</quantityElement>
<!--Additional quantityElement entries go here.-->
</inputQuantityList>
<!--WHAT-->
<!--MANDATORY (if transformationID present) that either inputEPCList or inputQuantityList be present, if both outputEPCList and outputQuantityList are omitted.-->
<!--MANDATORY (if transformationID omitted) that inputEPCList or inputQuantityList AND outputEPCList or outputQuantityList be present.-->
<!--List of class-level objects like LGTINS (GTIN+lot) which are input to the transformation, along with quantity and unit of measure.-->
<!--LGTINs should be constructed to be as unique as possible; by concatenating time/date of creation with object id, e.g.-->
<!--General LGTIN syntax: urn:epc:class:lgtin:CompanyPrefix.IndicatorDigitAndItemRef.Lot-->
<!--CompanyPrefix.ItemRefAndIndicator should have 13 digits (without counting dots).-->
<!--CompanyPrefix is equal to the CompanyPrefix derived from GTIN.-->
<!--ItemRefAndIndicator is formed by concatenating the first digit (Indicator) from GTIN with ItemRef digits from GTIN.-->
<!--GTIN check digit is dropped.-->
<!--If a GTIN (without lot) is to be represented, the following syntax is used:-->
<!--From Page 35 of https://www.gs1.org/sites/default/files/docs/epc/CBV-Standard-1-2-1-r-2017-05-05.pdf:-->
<!-- IDs-->
<!-- Product with Lot #: urn:ibm:ift:product:lot:class:<Company Prefix>.<Item Reference>.<Lot Number>-->
<!-- Product without Lot/Serial: urn:ibm:ift:product:class:<Company Prefix>.<Item Reference>-->
<transformationID>urn:epcglobal:cbv:xform:0614141000005:123</transformationID>
<!--OPTIONAL. An ID used to specify transformation events belonging to the same long-running transformation.-->
<!--If TransformationID omitted MANDATORY that inputEPCList or inputQuantityList AND outputEPCList or outputQuantityList be present.-->
<outputEPCList>
<epc>urn:epc:id:sgtin:0614141.107346.2018</epc>
<!--Additional entries go here-->
</outputEPCList>
<outputQuantityList>
<quantityElement>
<epcClass>urn:epc:class:lgtin:0614141.107346.102</epcClass>
<!--MANDATORY for quantityElement. Class-level EPCs like LGTINs. See following note for description.-->
<quantity>10</quantity>
<!--MANDATORY for quantityElement.-->
<!--Meaning: 10 cases of LGTIN '0614141.107346' belonging to lot '101'-->
<uom>CS</uom>
<!--MANDATORY for quantityElement. Item quantity unit of measurement. "CS" = Case.-->
<!--Two or three-charater codes from UN/CEFACT Recommendation 20.-->
<!--Other examples: EA (each), LBR (pound), KGM (kilogram).-->
<!--See https://www.unece.org/fileadmin/DAM/cefact/recommendations/rec20/rec20_rev3_Annex2e.pdf and-->
<!--https://www.unece.org/fileadmin/DAM/cefact/recommendations/rec20/rec20_rev3_Annex3e.pdf.-->
</quantityElement>
<!--Additional quantityElement entries go here.-->
</outputQuantityList>
<!--WHAT-->
<!--MANDATORY (if transformationID present) that either outputEPCList or outputQuantityList be present, if both InputEPCList and InputQuantityList are omitted.-->
<!--MANDATORY (if transformationID omitted) that outputEPCList or outputQuantityList AND inputEPCList or inputQuantityList be present.-->
<!--Lists of instance-level or class-level outputs of transformation.-->
<bizStep>urn:epcglobal:cbv:bizstep:commissioning</bizStep>
<!--OPTIONAL. From Section 7.1.3 of https://www.gs1.org/sites/default/files/docs/epc/CBV-Standard-1-2-r-2016-09-29.pdf-->
<!--The business step that this event was a part of.-->
<!--Custom bizSteps are supported, in the format http(s)://<client-controlled-domain-name/path/biz_step_name>-->
<!--Custom bizStep example: https://epcis.company.com/bizStep/roasting_duck_batch-->
<disposition>urn:epcglobal:cbv:disp:active</disposition>
<!--OPTIONAL. From Section 7.2.3 of https://www.gs1.org/sites/default/files/docs/epc/CBV-Standard-1-2-r-2016-09-29.pdf-->
<!--The condition of the objects after this event.-->
<readPoint><id>urn:epc:id:sgln:0614141.00777.0</id></readPoint>
<!--OPTIONAL: SGLN, FTLI, or SFTLI for point at which item was transformed. Used if multiple facilities GLNs (see following fields for the Mandatory GLN).-->
<!--General syntax of SGLN: urn:epc:id:sgln:CompanyPrefix.LocationReference.Extension-->
<!--CompanyPrefix.LocationReference are the first 12 digits of GLN (13th check digit is not included).-->
<!--Extension can be a single 0 digit (denoting no extension), or can be any number of digits without leading zeros-->
<!-- Location with Extension ID: urn:ibm:ift:location:extension:loc:<Company Prefix>.<Location Reference>.<Extension>-->
<bizLocation><id>urn:epc:id:sgln:0614141.00888.0</id></bizLocation>
<!--WHERE-->
<!--MANDATORY: SGLN (extensible global location number), FTLI, or SFTLI for the business location where the event occurred.-->
<!--See previous fields for SGLN and location formats-->
<transformationID>urn:epcglobal:cbv:xform:0614141000005:123</transformationID>
<!--OPTIONAL. An ID used to specify transformation events belonging to the same long-running transformation.-->
<!--If TransformationID omitted MANDATORY that inputEPCList or inputQuantityList AND outputEPCList or outputQuantityList be present.-->
<bizTransactionList>
<bizTransaction type="urn:epcglobal:cbv:btt:desadv">urn:epcglobal:cbv:bt:5412345000037:PO3352-DA349875</bizTransaction>
<!--Additional entries go here-->
</bizTransactionList>
<!--WHY-->
<!--OPTIONAL. From Page 28 of https://www.gs1.org/sites/default/files/docs/epc/CBV-Standard-1-2-1-r-2017-05-05.pdf -->
<!--List of business transactions associated with this event.-->
<!--The previous example shows a despatch advice (ASN)-->
<!--General EPCIS transaction id format: urn:epcglobal:cbv:bt:GLN:TransactionID-->
<!--See transaction XMLs for TransactionID format.-->
<!-- transaction id format: urn:ibm:ift:bt:<Company Prefix>.<Location Reference>.<Transaction Id>-->
<extension>
<sourceList>
<source type="urn:epcglobal:cbv:sdt:owning_party">urn:epc:id:sgln:0614141.00001.0</source>
<!--Additional source entries go here.-->
<!--OPTIONAL: SGLN of the facility or facilities that inputs are in at the beginning of this step.-->
<!--MANDATORY if this event involves a transfer of goods.-->
</sourceList>
<destinationList>
<destination type="urn:epcglobal:cbv:sdt:owning_party">urn:epc:id:sgln:5012345.00001.0</destination>
<!--Additional destination entries go here.-->
<!--OPTIONAL: SGLN of the facility or facilities that outputs are in at the end of this step.-->
<!--MANDATORY if this event involves a transfer of goods. -->
</destinationList>
<ilmd>
<cbvmda:itemExpirationDate>2015-03-15</cbvmda:itemExpirationDate>
<cbvmda:sellByDate>2015-03-15</cbvmda:sellByDate>
<cbvmda:bestBeforeDate>2015-03-15</cbvmda:bestBeforeDate>
</ilmd>
<!--OPTIONAL in general: Master data associated with the created item instances or lots.-->
<!--Expiration/sell-by/best-before dates are especially important from a query perspective, and should be included wherever applicable.-->
<!--ILMD applies to all objects in outputEPCList and outputQuantityList (SGTIN/LGTIN/SSCC/...)-->
<!--ILMD should include one or more elements from Section 9.2 in:-->
<!--https://www.gs1.org/sites/default/files/docs/epc/CBV-Standard-1-2-1-r-2017-05-05.pdf-->
<!--Elements from Section 9.2 (e.g. expiration date) are allowed to be directly specified for both item instances and lots.-->
<!--countryOfOrigin should use ISO 3166-1 alpha-2 (per CBV 1.2) or numeric-3 (for script-independence) code.-->
</extension>
<!--NOTE: if sourceList, destinationList and ilmd are all omitted, remove the inner extension and /extension tags.-->
</TransformationEvent>
</extension>
</EventList>
</EPCISBody>
</epcis:EPCISDocument>