EPCIS Validation

Before you submit your EPCIS event data to Walmart for processing, use the EPCIS Validation API to check for errors in your XML data payloads.

Walmart's EPCIS Validation API ensures that your EPCIS event data meets Walmart's standards and traceability requirements, as well as any applicable GS1 requirements. Walmart returns error messages, comments, and suggestions in a response file. You can find such messages above the line containing the error, letting you easily find and fix any issues in your XML payload.

For examples of marked errors in a payload, see the EPCIS Example with in-line Validation Errors section below.

EPCIS Example with in-line Validation Errors

The following is a payload example with errors. Each error message immediately precedes the payload line containing the error. If there are multiple errors for any line, all the errors messages will precede the payload line.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<epcis:EPCISDocument xmlns:epcis="urn:epcglobal:epcis:xsd:1" 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> <AggregationEvent> <-- Error : Please correct the attribute value '2013-06-08T14:58:s56.591Z' with the valid format [yyyy-mm-ddThh:mm:ss.<3 digits denoting the milliseconds ranging from 000-999>Z] for the field 'eventTime' --> <eventTime>2013-06-08T14:58:s56.591Z</eventTime> <-- Error : Please correct the attribute value '+02:00' with the valid format [<+/-><hh:mm> (<+/-><2 digits in the range of (00,14)>:<2 digits in the range of (00,59)>)] for the field 'eventTimeZoneOffset' --> <eventTimeZoneOffset>+02:s00</eventTimeZoneOffset> <baseExtension> <eventID>urn:uuid:6926712e-599f-4c4e-b6e9-8dd888c906bd</eventID> </baseExtension> <-- Error : Please correct the attribute value 'urn:epc:id:ssscc:5012345.0678901234' with the valid format [urn:epc:id:sscc:<CompanyPrefix>.<SerialRefAndExtension>(17 Digits)] for the field 'parentID' --> <parentID>urn:epc:id:ssscc:5012345.0678901234</parentID> <childEPCs> <-- Error : Please correct the attribute value 'urn:epc:id:sgstin:0071279.049340.2017' with the valid format [urn:epc:id:sgtin:<CompanyPrefix>.<IndicatorDigit><ItemRef>.<SerialNumber>(13 Digits + Serial Number)] for the field 'epc' --> <epc>urn:epc:id:sgstin:0071279.049340.2017</epc> <epc>urn:epc:id:sgtin:0071279.049327.2018</epc> <-- Error : Please correct the attribute value 'urn:epc:id:sgtin:00s71279.049444.2018' with the valid format [urn:epc:id:sgtin:<CompanyPrefix>.<IndicatorDigit><ItemRef>.<SerialNumber>(13 Digits + Serial Number)] for the field 'epc' --> <epc>urn:epc:id:sgtin:00s71279.049444.2018</epc> </childEPCs> <action>ADD</action> <-- Error : Please correct the attribute value 'urn:epcglobal:cbv:bsizstep:packing' with the valid format [urn:epcglobal:cbv:bizstep:<bizStep> (Valid bizSteps are : accepting, arriving, assembling, collecting, commissioning, consigning, creating_class_instance, cycle_counting, decommissioning, departing, destroying, disassembling, dispensing, encoding, entering_exiting, holding, inspecting, installing, killing, loading, other, packing, picking, receiving, removing, repackaging, repairing, replacing, reserving, retail_selling, shipping, staging_outbound, stock_taking, stocking, storing, transforming, transporting, unloading, unpacking, void_shipping)] for the field 'bizStep' --> <bizStep>urn:epcglobal:cbv:bsizstep:packing</bizStep> <-- Error : Please correct the attribute value 'urn:epcglobal:cbv:disp:in_psrogress' with the valid format [urn:epcglobal:cbv:disp:<Disposition> (Valid Dispositions are : active, container_closed, damaged, destroyed, dispensed, disposed, encoded, expired, in_progress, in_transit, inactive, no_pedigree_match, non_sellable_other, partially_dispensed, recalled, reserved, retail_sold, returned, sellable_accessible, sellable_not_accessible, stolen, unknown)] for the field 'disposition' --> <disposition>urn:epcglobal:cbv:disp:in_psrogress</disposition> <-- Error : Please correct the attribute value 'urn:epc:id:sgln:0s614141.00777.0' with the valid format [urn:epc:id:sgln:<CompanyPrefix>.<LocationReference>.<Extension>(12 Digits + Extension) or urn:wmt:id:loc:<CompanyPrefix>.<LocationReference>{4-12 digits} + {1-13 digits}] for the field 'id' --> <readPoint><id>urn:epc:id:sgln:0s614141.00777.0</id></readPoint> <bizLocation> <-- Error : Please correct the attribute value 'urn:epc:id:sglns:0614141.00888.0' with the valid format [urn:epc:id:sgln:<CompanyPrefix>.<LocationReference>.<Extension>(12 Digits + Extension) or urn:wmt:id:loc:<CompanyPrefix>.<LocationReference>{4-12 digits} + {1-13 digits}] for the field 'id' --> <id>urn:epc:id:sglns:0614141.00888.0</id> </bizLocation> <bizTransactionList> <-- Error : Please correct the attribute type 'urn:epcglobal:cbv:bstt:po' for the field 'bizTransaction' below in the format : [Type : urn:epcglobal:cbv:btt:<Business Transaction Type> (Valid Business Transaction Types = bol, desadv, inv, pedigree, po, poc, prodorder, recadv, rma)] --> <-- Error : The below value for 'bizTransaction' is not valid, please correct the value in the format : [urn:epcglobal:cbv:bt:<GS1-GLN>:<Transaction ID>]. --> <bizTransaction type="urn:epcglobal:cbv:bstt:po">urn:epscglobal:cbv:bt:5412345000037:3352</bizTransaction> <-- Error : Please correct the attribute type 'urn:epcglobal:cbv:btt:desasdv' for the field 'bizTransaction' below in the format : [Type : urn:epcglobal:cbv:btt:<Business Transaction Type> (Valid Business Transaction Types = bol, desadv, inv, pedigree, po, poc, prodorder, recadv, rma)] --> <-- Error : The below value for 'bizTransaction' is not valid, please correct the value in the format : [urn:epcglobal:cbv:bt:<GS1-GLN>:<Transaction ID>]. --> <bizTransaction type="urn:epcglobal:cbv:btt:desasdv">urn:epcglsobal:cbv:bt:5412345000037:3352-349875</bizTransaction> </bizTransactionList> <extension> <childQuantityList> <quantityElement> <-- Error : Please correct the attribute value 'urn:epc:class:lgstin:0071430.101137.2504306W07182021' with the valid format [urn:epc:class:lgtin:<CompanyPrefix>.<IndicatorDigit><ItemRef>.<Lot>(13 digits + Lot)] for the field 'epcClass' --> <epcClass>urn:epc:class:lgstin:0071430.101137.2504306W07182021</epcClass> <quantity>10</quantity> <uom>CS</uom> </quantityElement> </childQuantityList> <sourceList> <-- Error : Please correct the attribute type 'urn:epcglobasl:cbv:sdt:owning_party' for the field 'source' below in the format : [urn:epcglobal:cbv:sdt:<Source Type> (Valid Source Destination Types are : owning_party, possessing_party, location)] --> <-- Error : The below value for 'source' is not valid, please correct the value in the format : [urn:epc:id:sgln:<CompanyPrefix>.<LocationReference>.<Extension>(12 Digits + Extension) or urn:wmt:id:loc:<CompanyPrefix>.<LocationReference>{4-12 digits} + {1-13 digits}]. --> <source type="urn:epcglobasl:cbv:sdt:owning_party">urn:epc:id:ssgln:0614141.00001.0</source> </sourceList> <destinationList> <-- Error : Please correct the attribute type 'urn:epcglobal:cbv:sdt:oswning_party' for the field 'destination' below in the format : [urn:epcglobal:cbv:sdt:<Destination Type> (Valid Source Destination Types are : owning_party, possessing_party, location)] --> <-- Error : The below value for 'destination' is not valid, please correct the value in the format : [urn:epc:id:sgln:<CompanyPrefix>.<LocationReference>.<Extension>(12 Digits + Extension) or urn:wmt:id:loc:<CompanyPrefix>.<LocationReference>{4-12 digits} + {1-13 digits}]. --> <destination type="urn:epcglobal:cbv:sdt:oswning_party">urn:epc:id:sgln:0681w131.00001.0</destination> </destinationList> </extension> </AggregationEvent> </EventList> </EPCISBody>
</epcis:EPCISDocument>