RECORD Reinsurance core data message (D05B)

This is the standard EDIFACT D05B spec, with 17 loops and 82 segment positions, as OpenEDI JSON, an ediFabric C# template and an ediFabric Native model. To change it for a trading partner, customize it in the EDI Spec Builder.

Loading the spec…
The spec as an OpenAPI 3 schema with x-openedi-* extensions, for ediFabric Native, ediFabric Cloud and the EDI Spec Builder. Download OpenEDI (100 KB) Generate classes
The ediFabric .NET template, class TSRECORD. It needs the common segments, composites and codes of EDIFACT D05B, one download for every transaction in the version. Download C# (1 KB) Common files (57 KB)
The intermediary model ediFabric Native loads with set_map. Native supports X12 today, and EDIFACT is coming. Download Native (1 KB)

Use the RECORD spec in your code

ediFabric .NET

Add the C# template and its common files to your project, or reference the template NuGet package, and read RECORD files into TSRECORD objects. See ediFabric .NET.

ediFabric Native

Native supports X12 today, and EDIFACT is coming. When it's available, map version D05B to this Native model with set_map to parse RECORD files to JSON from Python, Java, C or C#. See ediFabric Native.

OpenEDI

Select Customize in Spec Builder to copy the spec under your own name, change it for your partner, and parse files against it in EdiNation, ediFabric Native or ediFabric Cloud. Read about OpenEDI.

Generate RECORD classes in Python, Java, Node.js, Go, Rust or C

The OpenEDI file describes each RECORD as JSON. To work with RECORD data as typed objects, generate classes from the OpenEDI file in your language; the root class is TSRECORD. The classes keep the loops, segments, lengths and code lists, but not the EDI data formats. Read more in Generate a class from OpenEDI.

Python: datamodel-code-generator. Node.js: openapi-typescript. Java, Go, Rust and C: OpenAPI Generator.

RECORD structure

Loops and segments of the standard RECORD, with their usage and maximum repeats.

IDNameUsageMax use
UNHMessage HeaderOptional1
BGMBEGINNING OF MESSAGEMandatory1
DTMDATE/TIME/PERIODMandatory9
AGRAGREEMENT IDENTIFICATIONMandatory9
RFFREFERENCEMandatory9
GEIPROCESSING INFORMATIONOptional9
FTXFREE TEXTOptional9
Loop PNAPARTY IDENTIFICATIONMandatory99
PNAPARTY IDENTIFICATIONMandatory1
BUSBUSINESS FUNCTIONOptional1
RFFREFERENCEOptional9
Loop CTACONTACT INFORMATIONOptional9
CTACONTACT INFORMATIONMandatory1
COMCOMMUNICATION CONTACTOptional9
Loop IDEIDENTITYOptional99
IDEIDENTITYMandatory1
GEIPROCESSING INFORMATIONOptional9
ICDINSURANCE COVER DESCRIPTIONOptional1
RFFREFERENCEOptional9
ATTATTRIBUTEOptional99
CUXCURRENCIESOptional9
FTXFREE TEXTOptional9
Loop PERPERIOD RELATED DETAILSOptional9
PERPERIOD RELATED DETAILSMandatory1
Loop DTMDATE/TIME/PERIODOptional2
DTMDATE/TIME/PERIODMandatory1
GEIPROCESSING INFORMATIONOptional1
Loop LOCPLACE/LOCATION IDENTIFICATIONOptional99
LOCPLACE/LOCATION IDENTIFICATIONMandatory1
MEAMEASUREMENTSOptional2
ADRADDRESSOptional1
Loop CLACLAUSE IDENTIFICATIONOptional99
CLACLAUSE IDENTIFICATIONMandatory1
APPAPPLICABILITYOptional1
MOAMONETARY AMOUNTOptional9
PCDPERCENTAGE DETAILSOptional9
DTMDATE/TIME/PERIODOptional9
GEIPROCESSING INFORMATIONOptional1
FTXFREE TEXTOptional1
Loop PRVPROVISO DETAILSOptional999
PRVPROVISO DETAILSMandatory1
APPAPPLICABILITYOptional9
MOAMONETARY AMOUNTOptional9
RTERATE DETAILSOptional9
DTMDATE/TIME/PERIODOptional9
QTYQUANTITYOptional9
FORFORMULAOptional1
CUXCURRENCIESOptional9
CLACLAUSE IDENTIFICATIONOptional99
GEIPROCESSING INFORMATIONOptional9
FTXFREE TEXTOptional9
Loop BASBASISOptional9
BASBASISMandatory1
APPAPPLICABILITYOptional1
Loop ATTATTRIBUTEOptional99
ATTATTRIBUTEMandatory1
PCDPERCENTAGE DETAILSOptional1
Loop LOCPLACE/LOCATION IDENTIFICATIONOptional99
LOCPLACE/LOCATION IDENTIFICATIONMandatory1
MEAMEASUREMENTSOptional2
ADRADDRESSOptional1
Loop PYTPAYMENT TERMSOptional9
PYTPAYMENT TERMSMandatory1
PCDPERCENTAGE DETAILSOptional1
Loop RFFREFERENCEMandatory99
RFFREFERENCEMandatory1
MOAMONETARY AMOUNTOptional1
PCDPERCENTAGE DETAILSOptional9
DTMDATE/TIME/PERIODOptional9
Loop PNAPARTY IDENTIFICATIONOptional999
PNAPARTY IDENTIFICATIONMandatory1
ATTATTRIBUTEMandatory9
ADRADDRESSOptional9
CTACONTACT INFORMATIONOptional1
COMCOMMUNICATION CONTACTOptional9
RFFREFERENCEOptional9
Loop STSSTATUSOptional99
STSSTATUSMandatory1
RFFREFERENCEOptional9
DTMDATE/TIME/PERIODOptional9
MOAMONETARY AMOUNTOptional9
PCDPERCENTAGE DETAILSOptional9
QTYQUANTITYOptional9
FTXFREE TEXTOptional9
Loop RCSREQUIREMENTS AND CONDITIONSOptional999
RCSREQUIREMENTS AND CONDITIONSMandatory1
FTXFREE TEXTOptional9
ATTATTRIBUTEOptional1
RFFREFERENCEOptional1
PCDPERCENTAGE DETAILSOptional1
Loop DOCDOCUMENT/MESSAGE DETAILSOptional99
DOCDOCUMENT/MESSAGE DETAILSMandatory1
RFFREFERENCEOptional9
IDEIDENTITYOptional1
COMCOMMUNICATION CONTACTOptional1
EFIEXTERNAL FILE LINK IDENTIFICATIONOptional1
PNAPARTY IDENTIFICATIONOptional1
DTMDATE/TIME/PERIODOptional9
UNTMessage TrailerOptional1