PRICAT Price/sales catalogue message (D96A)

This is the standard EANCOM D96A spec, with 43 loops and 107 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 (67 KB) Generate classes
The ediFabric .NET template, class TSPRICAT. It needs the common segments, composites and codes of EANCOM D96A, one download for every transaction in the version. Download C# (2 KB) Common files (52 KB)
The intermediary model ediFabric Native loads with set_map. Native supports X12 today, and EANCOM is coming. Download Native (1 KB)

Use the PRICAT 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 PRICAT files into TSPRICAT objects. See ediFabric .NET.

ediFabric Native

Native supports X12 today, and EANCOM is coming. When it's available, map version D96A to this Native model with set_map to parse PRICAT 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 PRICAT classes in Python, Java, Node.js, Go, Rust or C

The OpenEDI file describes each PRICAT as JSON. To work with PRICAT data as typed objects, generate classes from the OpenEDI file in your language; the root class is TSPRICAT. 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.

For a sample file, the same data as JSON, and code to parse, validate and generate the PRICAT, see the PRICAT transaction guide.

PRICAT structure

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

IDNameUsageMax use
UNHMessage HeaderOptional1
BGMBGMMandatory1
DTMDTMMandatory35
FTXFTXOptional99
Loop RFFRFFOptional99
RFFRFFMandatory1
DTMDTMOptional5
Loop NADNADOptional99
NADNADMandatory1
Loop RFFRFFOptional10
RFFRFFMandatory1
Loop CTACTAOptional5
CTACTAMandatory1
COMCOMOptional5
Loop TAXTAXOptional5
TAXTAXMandatory1
Loop CUXCUXOptional5
CUXCUXMandatory1
DTMDTMOptional5
Loop PATPATOptional10
PATPATMandatory1
PCDPCDOptional1
Loop TDTTDTOptional10
TDTTDTMandatory1
Loop TODTODOptional5
TODTODMandatory1
LOCLOCOptional2
Loop ALCALCOptional10
ALCALCMandatory1
ALIADDITIONAL INFORMATIONOptional5
DTMDTMOptional9
Loop QTYQTYOptional1
QTYQTYMandatory1
RNGRANGE DETAILSOptional1
Loop PCDPCDOptional1
PCDPCDMandatory1
RNGRANGE DETAILSOptional1
Loop MOAMOAOptional2
MOAMOAMandatory1
RNGRANGE DETAILSOptional1
Loop RTERATE DETAILSOptional1
RTERATE DETAILSMandatory1
RNGRANGE DETAILSOptional1
Loop TAXTAXOptional5
TAXTAXMandatory1
MOAMOAOptional1
Loop PGIPGIOptional1000
PGIPGIMandatory1
DTMDTMOptional15
QTYQTYOptional10
ALIADDITIONAL INFORMATIONOptional5
FTXFTXOptional5
Loop CUXCUXOptional10
CUXCUXMandatory1
DTMDTMOptional5
Loop PRIPRIOptional100
PRIPRIMandatory1
RNGRANGE DETAILSOptional1
DTMDTMOptional5
Loop TAXTAXOptional10
TAXTAXMandatory1
MOAMOAOptional1
Loop ALCALCOptional99
ALCALCMandatory1
ALIADDITIONAL INFORMATIONOptional5
Loop QTYQTYOptional1
QTYQTYMandatory1
RNGRANGE DETAILSOptional1
Loop PCDPCDOptional1
PCDPCDMandatory1
RNGRANGE DETAILSOptional1
Loop MOAMOAOptional2
MOAMOAMandatory1
RNGRANGE DETAILSOptional1
Loop RTERATE DETAILSOptional1
RTERATE DETAILSMandatory1
RNGRANGE DETAILSOptional1
Loop TAXTAXOptional5
TAXTAXMandatory1
MOAMOAOptional1
Loop NADNADOptional20
NADNADMandatory1
LOCLOCOptional5
Loop RFFRFFOptional10
RFFRFFMandatory1
DTMDTMOptional5
Loop CTACTAOptional5
CTACTAMandatory1
COMCOMOptional5
Loop PATPATOptional10
PATPATMandatory1
PCDPCDOptional1
Loop TDTTDTOptional10
TDTTDTMandatory1
Loop TODTODOptional5
TODTODMandatory1
LOCLOCOptional2
Loop PACPACOptional10
PACPACMandatory1
MEAMEAOptional10
Loop LINLINOptional999999
LINLINMandatory1
PIAPIAOptional10
IMDIMDOptional999
MEAMEAOptional10
QTYQTYOptional10
HANHANOptional5
ALIADDITIONAL INFORMATIONOptional5
DTMDTMOptional10
RFFRFFOptional1
LOCLOCOptional1
FTXFTXOptional5
Loop TAXTAXOptional10
TAXTAXMandatory1
MOAMOAOptional1
Loop PRIPRIOptional100
PRIPRIMandatory1
CUXCUXOptional1
APRADDITIONAL PRICE INFORMATIONOptional1
RNGRANGE DETAILSOptional1
DTMDTMOptional5
Loop ALCALCOptional99
ALCALCMandatory1
ALIADDITIONAL INFORMATIONOptional5
DTMDTMOptional9
Loop QTYQTYOptional1
QTYQTYMandatory1
RNGRANGE DETAILSOptional1
Loop PCDPCDOptional1
PCDPCDMandatory1
RNGRANGE DETAILSOptional1
Loop MOAMOAOptional2
MOAMOAMandatory1
RNGRANGE DETAILSOptional1
Loop RTERATE DETAILSOptional1
RTERATE DETAILSMandatory1
RNGRANGE DETAILSOptional1
Loop TAXTAXOptional5
TAXTAXMandatory1
MOAMOAOptional1
Loop PACPACOptional10
PACPACMandatory1
MEAMEAOptional10
HANHANOptional5
Loop PATPATOptional10
PATPATMandatory1
DTMDTMOptional5
PCDPCDOptional1
MOAMOAOptional1
UNTMessage TrailerOptional1