Audit result
nutrab2b.quality.audit_completed.v2 · Quality & compliance
- Purpose
- Outcome and findings of an audit (on-site, remote, third-party).
- When to send
- Audit closed.
- Sender → receiver
- Auditor → Auditee and buyer
- Expected responses
- CAPA via NONCONFORMANCE, ACK
- Equivalent standards
- -
- Scenarios using it
- -
Fields and mappings
| Field | Type | Req | Description | Code list / format | EDI / GS1 / SAP mapping |
|---|---|---|---|---|---|
| audit_id | string | yes | Audit id | ||
| facility_gln | string | yes | Facility | ^\d{13}$ | |
| type | string | yes | Type | audit_type | |
| standard | string | yes | Audited against | quality_scheme | |
| date | date | yes | Audit date | ||
| outcome | string | yes | Outcome | audit_outcome | |
| findings | array<object> | Findings | |||
| ref | string | yes | Finding ref | ||
| severity | string | yes | Severity | severity | |
| text | string | yes | Finding | ||
| capa_due | date | CAPA due |
Business rules
- None beyond schema and code lists.
Example
{
"specversion": "2.0",
"id": "evt-audit_result-AUDIT_RESULT-1",
"type": "nutrab2b.quality.audit_completed.v2",
"source": "urn:gln:0614141000012:erp",
"subject": "AUDIT_RESULT",
"time": "2026-11-02T09:00:00Z",
"datacontenttype": "application/json",
"dataschema": "https://nutrab2b.org/schemas/2.0/AUDIT_RESULT.json",
"sender": {
"gln": "0614141000012"
},
"receiver": {
"gln": "4012345000009"
},
"correlationid": "CONV-RFQ-1001",
"idempotencykey": "AUDIT_RESULT:AUDIT_RESULT:1",
"sequence": 1,
"env": "test",
"data": {
"audit_id": "AUD-77",
"facility_gln": "4012345000016",
"type": "SURVEILLANCE",
"standard": "CGMP_111",
"date": "2026-09-12",
"outcome": "CONDITIONAL",
"findings": [
{
"ref": "F1",
"severity": "MAJOR",
"text": "Identity testing of incoming roots not performed for 2 lots (21 CFR 111.75)",
"capa_due": "2026-11-12"
}
]
}
}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
