JUPREQ Justified payment request message (D15A)

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

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

ediFabric Native

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

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

JUPREQ structure

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

IDNameUsageMax use
UNHUNHMandatory1
BGMBGMMandatory1
DTMDTMMandatory99
MOAMOAOptional99
GEIGEIOptional99
FTXFTXOptional99
Loop RFFRFFOptional99
RFFRFFMandatory1
DTMDTMOptional99
Loop NADNADMandatory99
NADNADMandatory1
CTACTAOptional99
DTMDTMOptional99
Loop DOCDOCOptional999
DOCDOCMandatory1
GEIGEIOptional99
RFFRFFOptional99
DTMDTMOptional99
MOAMOAOptional99
FTXFTXOptional99
Loop NADNADMandatory99
NADNADMandatory1
FIIFIIOptional99
MOAMOAOptional99
Loop UGHUGHMandatory1
UGHUGHMandatory1
Loop RELRELMandatory99
RELRELMandatory1
NADNADOptional99
FIIFIIOptional99
UGTUGTMandatory1
Loop DMSDMSMandatory99
DMSDMSMandatory1
RFFRFFOptional99
NADNADOptional99
Loop TAXTAXMandatory99
TAXTAXMandatory1
MOAMOAOptional99
Loop FORFOROptional99
FORFORMandatory1
GEIGEIOptional99
DTMDTMOptional99
RTERTEOptional99
MOAMOAOptional99
TAXTAXOptional99
Loop INDINDOptional99
INDINDMandatory1
DTMDTMOptional99
RTERTEOptional99
Loop LINLINOptional999
LINLINMandatory1
PIAPIAOptional99
QTYQTYOptional99
DTMDTMOptional99
TAXTAXOptional99
RTERTEOptional99
DMSDMSOptional99
RFFRFFOptional99
GEIGEIOptional99
Loop MOAMOAOptional99
MOAMOAMandatory1
CUXCUXOptional99
PAIPAIOptional99
Loop NADNADOptional99
NADNADMandatory1
FIIFIIOptional99
Loop FORFOROptional99
FORFORMandatory1
GEIGEIOptional99
DTMDTMOptional99
MOAMOAOptional99
Loop ARDARDMandatory99
ARDARDMandatory1
MOAMOAOptional99
DTMDTMOptional99
TAXTAXOptional99
Loop SEQSEQOptional99
SEQSEQMandatory1
GEIGEIOptional99
DTMDTMOptional99
MOAMOAOptional99
RFFRFFOptional99
UNTUNTMandatory1