BodyliaBodylia OpenB2BSign in
← All guides

Sample request

nutrab2b.sourcing.sample_requested.v2 · Sourcing

Purpose
Request pre-shipment, type or reference samples.
When to send
Qualification or pre-shipment approval.
Sender → receiver
Buyer → Supplier
Expected responses
SAMPLE_RESULT, ACK
Equivalent standards
-
Scenarios using it
-

Fields and mappings

FieldTypeReqDescriptionCode list / formatEDI / GS1 / SAP mapping
request_idstringyesRequest id
sample_typestringyesSample typesample_type
item_idstringyesItem
lot_numberstringLot (for pre-shipment)
quantityobjectyesSample size
valuenumberyesQuantity
uomstringyesUnit of measureuom
ship_toobjectyesShip-to
glnstringyesLocation GLN^\d{13}$
x12: N1 ST/SF N104
edifact: NAD+ST/SF
namestringName
addressobjectPostal address
linesarray<string>Street lines
citystringCity
postal_codestringPostal code
regionstringState / province (ISO 3166-2 subdivision)
countrystringyesCountrycountry

Business rules

Example

{
  "specversion": "2.0",
  "id": "evt-sample_request-ASH-26-118-1",
  "type": "nutrab2b.sourcing.sample_requested.v2",
  "source": "urn:gln:0614141000012:erp",
  "subject": "ASH-26-118",
  "time": "2026-11-02T09:00:00Z",
  "datacontenttype": "application/json",
  "dataschema": "https://nutrab2b.org/schemas/2.0/SAMPLE_REQUEST.json",
  "sender": {
    "gln": "0614141000012"
  },
  "receiver": {
    "gln": "4012345000009"
  },
  "correlationid": "CONV-RFQ-1001",
  "idempotencykey": "SAMPLE_REQUEST:ASH-26-118:1",
  "sequence": 1,
  "env": "test",
  "data": {
    "request_id": "SR-12",
    "sample_type": "PRE_SHIPMENT",
    "item_id": "ASH-KSM-5",
    "lot_number": "ASH-26-118",
    "quantity": {
      "value": 100,
      "uom": "GRM"
    },
    "ship_to": {
      "gln": "8901234000006",
      "address": {
        "country": "US"
      }
    }
  }
}

Mapping checklist