Quotation
nutrab2b.sourcing.quote_submitted.v2 · Sourcing
- Purpose
- Answer an RFQ with price, lead time and validity, line by line. A revision supersedes the previous quote.
- When to send
- RFQ received.
- Sender → receiver
- Supplier → Buyer
- Expected responses
- AWARD, ACK
- Equivalent standards
- X12: 843 · EDIFACT: QUOTES · SAP: Quotation (ME47)
- Scenarios using it
- Full order-to-cash · Quote revision supersedes original
Fields and mappings
| Field | Type | Req | Description | Code list / format | EDI / GS1 / SAP mapping |
|---|---|---|---|---|---|
| quote_id | string | yes | Quote id | ||
| rfq_id | string | yes | Answers RFQ | ||
| revision | integer | yes | Revision, 0 = original | ||
| valid_until | date | yes | Valid until | ||
| incoterm | string | yes | Incoterm | incoterm | |
| payment_terms | string | Payment terms | payment_terms | ||
| lines | array<object> | yes | Quoted lines | ||
| line_no | integer | yes | Line | ||
| rfq_line_no | integer | yes | RFQ line answeredNB-R014 | ||
| item_id | string | yes | Buyer's or seller's item number | x12: PO107 (BP/VP) edifact: PIA sap: MATNR | |
| gtin | string | GS1 GTIN of the traded item | ^(\d{8}|\d{12,14})$ | x12: PO107 (UK) edifact: LIN C212 (SRV) gs1: gtin | |
| ingredient | string | NutraB2B ingredient master code | ingredient | ||
| description | string | yes | Item description | x12: PID05 edifact: IMD | |
| hs_code | string | yes | HS 6-digit (or national) classificationNB-R005 NB-R017 | ^\d{4}(\.\d{2}){1,2}$|^\d{6,10}$ | x12: PO107 (HS) edifact: PIA+5 C212 (HS) |
| national_code | string | National tariff line for the destination country (8–10 digits)NB-R005 | ^\d{8,10}$ | ||
| grade | string | Grade / pharmacopoeia | grade | ||
| form | string | Product form | product_form | ||
| standardisation | object | Extract standardisation | |||
| type | string | yes | Notation | standardisation | |
| marker | string | Marker compound | |||
| min_pct | number | Minimum % | |||
| max_pct | number | Maximum % | |||
| ratio | string | Drug-extract ratio e.g. 10:1 | ^\d+(\.\d+)?(-\d+(\.\d+)?)?:1$ | ||
| method | string | Assay method | method | ||
| certifications | array<string> | Required certifications | |||
| quantity | object | yes | Quantity | ||
| value | number | yes | Quantity | ||
| uom | string | yes | Unit of measure | uom | |
| unit_price | object | yes | Price | ||
| amount | number | yes | Amount in major units, decimals ≤ currency minor unitsNB-R011 | ||
| currency | string | yes | Currency | currency | |
| lead_time_days | integer | yes | Lead time | ||
| moq | number | Minimum order quantity |
Business rules
- NB-R011 Currency precision, amount has more decimals than the currency's ISO 4217 minor units.
- NB-R014 Line reference unknown, response, ship notice or invoice line refers to a PO line that does not exist.
- NB-R015 Date order, dates are in the wrong order (e.g. delivery before order).
Example
{
"specversion": "2.0",
"id": "evt-quote-RFQ-1001-1",
"type": "nutrab2b.sourcing.quote_submitted.v2",
"source": "urn:gln:4012345000009:erp",
"subject": "RFQ-1001",
"time": "2026-11-02T09:00:00Z",
"datacontenttype": "application/json",
"dataschema": "https://nutrab2b.org/schemas/2.0/QUOTE.json",
"sender": {
"gln": "4012345000009"
},
"receiver": {
"gln": "0614141000012"
},
"correlationid": "CONV-RFQ-1001",
"idempotencykey": "QUOTE:RFQ-1001:1",
"sequence": 1,
"env": "test",
"data": {
"quote_id": "Q-77",
"rfq_id": "RFQ-1001",
"revision": 0,
"valid_until": "2026-11-30",
"incoterm": "FCA",
"payment_terms": "NET30",
"lines": [
{
"line_no": 1,
"rfq_line_no": 1,
"item_id": "ASH-KSM-5",
"description": "Ashwagandha root extract 5%",
"hs_code": "1302.19",
"quantity": {
"value": 500,
"uom": "KGM"
},
"unit_price": {
"amount": 58,
"currency": "USD"
},
"lead_time_days": 21,
"moq": 25
}
]
}
}Mapping checklist
- Every required field populated from your system of record
- Coded fields mapped to the Bodylia OpenB2B code lists
- GLN, GTIN and SSCC check digits validated
- Rules above pass in the validator
- Idempotency key and per-subject sequence generated
- Expected responses, including rejections, handled
