AAFES Mixed UCC-128 Label Requirements

This page details the label requirements for the Army and Air Force Exchange Service (AAFES). For more general information about Orderful's shipping label product, see Generate a UCC-128 (GS1-128) Label.

In addition to the type property with value ARMY_AND_AIR_FORCE_EXCHANGE_SERVICE, the following properties can be included in your label payload:

PropertyRequiredMax Length
shipFrom.nameYes25
shipFrom.address1Yes25
shipFrom.address2No25
shipFrom.stateYes2
shipFrom.cityYes15
shipFrom.zipYes5
shipTo.nameYes30
shipTo.address1Yes30
shipTo.stateYes2
shipTo.cityYes15
shipTo.zipYes5
shipment.billOfLadingNumberYes25
shipment.proNumberYes25
shipment.sscc-18Yes26
carrier.nameYes30
carton.numberYes5
carton.maxYes5
purchaseOrder.numberYes30
store.numberYes7

Example Payload

{
    "type": "ARMY_AND_AIR_FORCE_EXCHANGE_SERVICE",
    "shipFrom": {
        "name": "Good Time Supplier",
        "address1": "1155 Battery St",
        "state": "CA",
        "city": "San Francisco",
        "zip": "94111"
    },
    "shipTo": {
        "name": "AAFES Ft Jones Shoppette",
        "address1": "Bldg 4701, 5241 San Antonio Dr NE",
        "state": "NM",
        "city": "Albuquerque",
        "zip": "87109"
    },
    "shipment": {
        "billOfLadingNumber": "853930",
        "proNumber": "2895769860",
        "sscc-18": "(00) 0 00521775138957172"
    },
    "carrier": {
        "name": "Best Freight"
    },
    "carton": {
        "number": 7,
        "max": 9
    },
    "purchaseOrder": {
        "number": "0001234567"
    },
    "store": {
        "number": "1040108"
    }
}

ZPL Response

Orderful will return a HTTP 201 Created along with the ZPL-format text to send to your label printer:

^XA
^CF,15

^FO0,0^GB320,150,2^FS
^FO20,20^FDFROM:^FS
^FO20,50^FDGood Time Supplier^FS

[...]

^FO0,820^GB812,330,2^FS
^FO20,840^CF0,25^FDSSCC^FS
^FO100,880^BCN,210,,,,^FD(00) 0 00521775138957172^FS
^XZ

Army and Air Force Exchange Service's Shipping Label Example