EDIFACT INVOIC EDI Template
EDI Tools for .NET uses C# classes to represent the layout of EDI transactions. These classes are nothing more than standard C# .NET classes with some extra markup and are referred to as EDI templates.
EDIFACT INVOIC Specification
EDIFACT INVOIC specification is available at:
EDIFACT INVOIC Sample File
EDIFACT INVOIC sample file is available at:
EDI Tools for .NET C# Examples
The example below is part of the EDI Tools for .NET C# Code Examples.
The Parse & Generate EDIFACT INVOIC code is also available on GitHub
Additional operations for EDIFACT INVOIC
- Parse EDIFACT files
- Generate EDIFACT files
- Validate EDIFACT messages
- Generate EDIFACT acknowledgments
- Save EDIFACT files to DB
- Convert between EDIFACT and JSON
- Convert between EDIFACT and XML
EDI template for EDIFACT INVOIC
namespace EdiFabric.Templates.EdifactD96A
{
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using EdiFabric.Core.Annotations.Edi;
using EdiFabric.Core.Annotations.Validation;
using EdiFabric.Core.Model.Edi;
using EdiFabric.Core.Model.Edi.Edifact;
using System.Xml.Serialization;
///
/// Loop for ADJUSTMENT DETAILS
///
[Serializable()]
[DataContract()]
[Group(typeof(AJT))]
public class Loop_AJT_INVOIC
{
[XmlIgnore]
[IgnoreDataMember]
public int Id { get; set; }
///
/// ADJUSTMENT DETAILS
///
[DataMember]
[Required]
[Pos(1)]
public virtual AJT AJT { get; set; }
///
/// FREE TEXT
///
[DataMember]
[ListCount(5)]
[Pos(2)]
public virtual List FTX { get; set; }
}
///
/// Loop for ALLOWANCE OR CHARGE
///
[Serializable()]
[DataContract()]
[Group(typeof(ALC))]
public class Loop_ALC_INVOIC
{
[XmlIgnore]
[IgnoreDataMember]
public int Id { get; set; }
///
/// ALLOWANCE OR CHARGE
///
[DataMember]
[Required]
[Pos(1)]
public virtual ALC ALC { get; set; }
///
/// ADDITIONAL INFORMATION
///
[DataMember]
[ListCount(5)]
[Pos(2)]
public virtual List ALI { get; set; }
///
/// Loop for REFERENCE
///
[DataMember]
[ListCount(5)]
[Pos(3)]
public virtual List RFFLoop { get; set; }
///
/// Loop for QUANTITY
///
[DataMember]
[Pos(4)]
public virtual Loop_QTY_INVOIC QTYLoop { get; set; }
///
/// Loop for PERCENTAGE DETAILS
///
[DataMember]
[Pos(5)]
public virtual Loop_PCD_INVOIC PCDLoop { get; set; }
///
/// Loop for MONETARY AMOUNT
///
[DataMember]
[ListCount(2)]
[Pos(6)]
public virtual List MOALoop { get; set; }
///
/// Loop for RATE DETAILS
///
[DataMember]
[Pos(7)]
public virtual Loop_RTE_INVOIC RTELoop { get; set; }
///
/// Loop for DUTY/TAX/FEE DETAILS
///
[DataMember]
[ListCount(5)]
[Pos(8)]
public virtual List TAXLoop { get; set; }
}
///
/// Loop for ALLOWANCE OR CHARGE
///
[Serializable()]
[DataContract()]
[Group(typeof(ALC))]
public class Loop_ALC_INVOIC_2
{
[XmlIgnore]
[IgnoreDataMember]
public int Id { get; set; }
///
/// ALLOWANCE OR CHARGE
///
[DataMember]
[Required]
[Pos(1)]
public virtual ALC ALC { get; set; }
///
/// ADDITIONAL INFORMATION
///
[DataMember]
[ListCount(5)]
[Pos(2)]
public virtual List ALI { get; set; }
///
/// DATE/TIME/PERIOD
///
[DataMember]
[ListCount(5)]
[Pos(3)]
public virtual List DTM { get; set; }
///
/// Loop for QUANTITY
///
[DataMember]
[Pos(4)]
public virtual Loop_QTY_INVOIC QTYLoop { get; set; }
///
/// Loop for PERCENTAGE DETAILS
///
[DataMember]
[Pos(5)]
public virtual Loop_PCD_INVOIC PCDLoop { get; set; }
///
/// Loop for MONETARY AMOUNT
///
[DataMember]
[ListCount(2)]
[Pos(6)]
public virtual List MOALoop { get; set; }
///
/// Loop for RATE DETAILS
///
[DataMember]
[Pos(7)]
public virtual Loop_RTE_INVOIC RTELoop { get; set; }
///
/// Loop for DUTY/TAX/FEE DETAILS
///
[DataMember]
[ListCount(5)]
[Pos(8)]
public virtual List TAXLoop { get; set; }
}
///
/// Loop for ALLOWANCE OR CHARGE
///
[Serializable()]
[DataContract()]
[Group(typeof(ALC))]
public class Loop_ALC_INVOIC_3
{
[XmlIgnore]
[IgnoreDataMember]
public int Id { get; set; }
///
/// ALLOWANCE OR CHARGE
///
[DataMember]
[Required]
[Pos(1)]
public virtual ALC ALC { get; set; }
///
/// ADDITIONAL INFORMATION
///
[DataMember]
[Pos(2)]
public virtual ALI ALI { get; set; }
///
/// MONETARY AMOUNT
///
[DataMember]
[ListCount(2)]
[Pos(3)]
public virtual List MOA { get; set; }
}
///
/// Loop for CONTACT INFORMATION
///
[Serializable()]
[DataContract()]
[Group(typeof(CTA))]
public class Loop_CTA_INVOIC
{
[XmlIgnore]
[IgnoreDataMember]
public int Id { get; set; }
///
/// CONTACT INFORMATION
///
[DataMember]
[Required]
[Pos(1)]
public virtual CTA CTA { get; set; }
///
/// COMMUNICATION CONTACT
///
[DataMember]
[ListCount(5)]
[Pos(2)]
public virtual List COM { get; set; }
}
///
/// Loop for CURRENCIES
///
[Serializable()]
[DataContract()]
[Group(typeof(CUX))]
public class Loop_CUX_INVOIC
{
[XmlIgnore]
[IgnoreDataMember]
public int Id { get; set; }
///
/// CURRENCIES
///
[DataMember]
[Required]
[Pos(1)]
public virtual CUX CUX { get; set; }
///
/// DATE/TIME/PERIOD
///
[DataMember]
[ListCount(5)]
[Pos(2)]
public virtual List DTM { get; set; }
}
///
/// Loop for DOCUMENT/MESSAGE DETAILS
///
[Serializable()]
[DataContract()]
[Group(typeof(DOC))]
public class Loop_DOC_INVOIC
{
[XmlIgnore]
[IgnoreDataMember]
public int Id { get; set; }
///
/// DOCUMENT/MESSAGE DETAILS
///
[DataMember]
[Required]
[Pos(1)]
public virtual DOC DOC { get; set; }
///
/// DATE/TIME/PERIOD
///
[DataMember]
[ListCount(5)]
[Pos(2)]
public virtual List DTM { get; set; }
}
///
/// Loop for PARTIES TO INSTRUCTION
///
[Serializable()]
[DataContract()]
[Group(typeof(INP))]
public class Loop_INP_INVOIC
{
[XmlIgnore]
[IgnoreDataMember]
public int Id { get; set; }
///
/// PARTIES TO INSTRUCTION
///
[DataMember]
[Required]
[Pos(1)]
public virtual INP INP { get; set; }
///
/// FREE TEXT
///
[DataMember]
[ListCount(5)]
[Pos(2)]
public virtual List FTX { get; set; }
}
///
/// Loop for LINE ITEM
///
[Serializable()]
[DataContract()]
[Group(typeof(LIN))]
public class Loop_LIN_INVOIC
{
[XmlIgnore]
[IgnoreDataMember]
public int Id { get; set; }
///
/// LINE ITEM
///
[DataMember]
[Required]
[Pos(1)]
public virtual LIN LIN { get; set; }
///
/// ADDITIONAL PRODUCT ID
///
[DataMember]
[ListCount(25)]
[Pos(2)]
public virtual List PIA { get; set; }
///
/// ITEM DESCRIPTION
///
[DataMember]
[ListCount(10)]
[Pos(3)]
public virtual List IMD { get; set; }
///
/// MEASUREMENTS
///
[DataMember]
[ListCount(5)]
[Pos(4)]
public virtual List MEA { get; set; }
///
/// QUANTITY
///
[DataMember]
[ListCount(5)]
[Pos(5)]
public virtual List QTY { get; set; }
///
/// PERCENTAGE DETAILS
///
[DataMember]
[Pos(6)]
public virtual PCD PCD { get; set; }
///
/// ADDITIONAL INFORMATION
///
[DataMember]
[ListCount(5)]
[Pos(7)]
public virtual List ALI { get; set; }
///
/// DATE/TIME/PERIOD
///
[DataMember]
[ListCount(35)]
[Pos(8)]
public virtual List DTM { get; set; }
///
/// GOODS IDENTITY NUMBER
///
[DataMember]
[ListCount(1000)]
[Pos(9)]
public virtual List GIN { get; set; }
///
/// RELATED IDENTIFICATION NUMBERS
///
[DataMember]
[ListCount(1000)]
[Pos(10)]
public virtual List GIR { get; set; }
///
/// QUANTITY VARIANCES
///
[DataMember]
[Pos(11)]
public virtual QVR QVR { get; set; }
///
/// EQUIPMENT DETAILS
///
[DataMember]
[Pos(12)]
public virtual EQD EQD { get; set; }
///
/// FREE TEXT
///
[DataMember]
[ListCount(5)]
[Pos(13)]
public virtual List FTX { get; set; }
///
/// Loop for MONETARY AMOUNT
///
[DataMember]
[ListCount(5)]
[Pos(14)]
public virtual List MOALoop { get; set; }
///
/// Loop for PAYMENT TERMS BASIS
///
[DataMember]
[ListCount(10)]
[Pos(15)]
public virtual List PATLoop { get; set; }
///
/// Loop for PRICE DETAILS
///
[DataMember]
[ListCount(25)]
[Pos(16)]
public virtual List PRILoop { get; set; }
///
/// Loop for REFERENCE
///
[DataMember]
[ListCount(10)]
[Pos(17)]
public virtual List RFFLoop { get; set; }
///
/// Loop for PACKAGE
///
[DataMember]
[ListCount(10)]
[Pos(18)]
public virtual List PACLoop { get; set; }
///
/// Loop for PLACE/LOCATION IDENTIFICATION
///
[DataMember]
[ListCount(9999)]
[Pos(19)]
public virtual List LOCLoop { get; set; }
///
/// Loop for DUTY/TAX/FEE DETAILS
///
[DataMember]
[ListCount(99)]
[Pos(20)]
public virtual List TAXLoop { get; set; }
///
/// Loop for NAME AND ADDRESS
///
[DataMember]
[ListCount(20)]
[Pos(21)]
public virtual List NADLoop { get; set; }
///
/// Loop for ALLOWANCE OR CHARGE
///
[DataMember]
[ListCount(15)]
[Pos(22)]
public virtual List ALCLoop { get; set; }
///
/// Loop for DETAILS OF TRANSPORT
///
[DataMember]
[ListCount(10)]
[Pos(23)]
public virtual List TDTLoop { get; set; }
///
/// Loop for TERMS OF DELIVERY OR TRANSPORT
///
[DataMember]
[ListCount(5)]
[Pos(24)]
public virtual List TODLoop { get; set; }
///
/// Loop for REQUIREMENTS AND CONDITIONS
///
[DataMember]
[ListCount(100)]
[Pos(25)]
public virtual List RCSLoop { get; set; }
}
///
/// Loop for PLACE/LOCATION IDENTIFICATION
///
[Serializable()]
[DataContract()]
[Group(typeof(LOC))]
public class Loop_LOC_INVOIC
{
[XmlIgnore]
[IgnoreDataMember]
public int Id { get; set; }
///
/// PLACE/LOCATION IDENTIFICATION
///
[DataMember]
[Required]
[Pos(1)]
public virtual LOC LOC { get; set; }
///
/// DATE/TIME/PERIOD
///
[DataMember]
[ListCount(5)]
[Pos(2)]
public virtual List DTM { get; set; }
}
///
/// Loop for PLACE/LOCATION IDENTIFICATION
///
[Serializable()]
[DataContract()]
[Group(typeof(LOC))]
public class Loop_LOC_INVOIC_2
{
[XmlIgnore]
[IgnoreDataMember]
public int Id { get; set; }
///
/// PLACE/LOCATION IDENTIFICATION
///
[DataMember]
[Required]
[Pos(1)]
public virtual LOC LOC { get; set; }
///
/// QUANTITY
///
[DataMember]
[ListCount(100)]
[Pos(2)]
public virtual List QTY { get; set; }
///
/// DATE/TIME/PERIOD
///
[DataMember]
[ListCount(5)]
[Pos(3)]
public virtual List DTM { get; set; }
}
///
/// Loop for MONETARY AMOUNT
///
[Serializable()]
[DataContract()]
[Group(typeof(MOA))]
public class Loop_MOA_INVOIC
{
[XmlIgnore]
[IgnoreDataMember]
public int Id { get; set; }
///
/// MONETARY AMOUNT
///
[DataMember]
[Required]
[Pos(1)]
public virtual MOA MOA { get; set; }
///
/// RANGE DETAILS
///
[DataMember]
[Pos(2)]
public virtual RNG RNG { get; set; }
}
///
/// Loop for MONETARY AMOUNT
///
[Serializable()]
[DataContract()]
[Group(typeof(MOA))]
public class Loop_MOA_INVOIC_2
{
[XmlIgnore]
[IgnoreDataMember]
public int Id { get; set; }
///
/// MONETARY AMOUNT
///
[DataMember]
[Required]
[Pos(1)]
public virtual MOA MOA { get; set; }
///
/// CURRENCIES
///
[DataMember]
[Pos(2)]
public virtual CUX CUX { get; set; }
}
///
/// Loop for MONETARY AMOUNT
///
[Serializable()]
[DataContract()]
[Group(typeof(MOA))]
public class Loop_MOA_INVOIC_3
{
[XmlIgnore]
[IgnoreDataMember]
public int Id { get; set; }
///
/// MONETARY AMOUNT
///
[DataMember]
[Required]
[Pos(1)]
public virtual MOA MOA { get; set; }
///
/// Loop for REFERENCE
///
[DataMember]
[Pos(2)]
public virtual Loop_RFF_INVOIC RFFLoop { get; set; }
}
///
/// Loop for NAME AND ADDRESS
///
[Serializable()]
[DataContract()]
[Group(typeof(NAD))]
public class Loop_NAD_INVOIC
{
[XmlIgnore]
[IgnoreDataMember]
public int Id { get; set; }
///
/// NAME AND ADDRESS
///
[DataMember]
[Required]
[Pos(1)]
public virtual NAD NAD { get; set; }
///
/// PLACE/LOCATION IDENTIFICATION
///
[DataMember]
[ListCount(25)]
[Pos(2)]
public virtual List LOC { get; set; }
///
/// FINANCIAL INSTITUTION INFORMATION
///
[DataMember]
[ListCount(5)]
[Pos(3)]
public virtual List FII { get; set; }
///
/// Loop for REFERENCE
///
[DataMember]
[ListCount(9999)]
[Pos(4)]
public virtual List RFFLoop { get; set; }
///
/// Loop for DOCUMENT/MESSAGE DETAILS
///
[DataMember]
[ListCount(5)]
[Pos(5)]
public virtual List DOCLoop { get; set; }
///
/// Loop for CONTACT INFORMATION
///
[DataMember]
[ListCount(5)]
[Pos(6)]
public virtual List CTALoop { get; set; }
}
///
/// Loop for NAME AND ADDRESS
///
[Serializable()]
[DataContract()]
[Group(typeof(NAD))]
public class Loop_NAD_INVOIC_2
{
[XmlIgnore]
[IgnoreDataMember]
public int Id { get; set; }
///
/// NAME AND ADDRESS
///
[DataMember]
[Required]
[Pos(1)]
public virtual NAD NAD { get; set; }
///
/// PLACE/LOCATION IDENTIFICATION
///
[DataMember]
[ListCount(5)]
[Pos(2)]
public virtual List LOC { get; set; }
///
/// Loop for REFERENCE
///
[DataMember]
[ListCount(5)]
[Pos(3)]
public virtual List RFFLoop { get; set; }
///
/// Loop for DOCUMENT/MESSAGE DETAILS
///
[DataMember]
[ListCount(5)]
[Pos(4)]
public virtual List DOCLoop { get; set; }
///
/// Loop for CONTACT INFORMATION
///
[DataMember]
[ListCount(5)]
[Pos(5)]
public virtual List CTALoop { get; set; }
}
///
/// Loop for PACKAGE
///
[Serializable()]
[DataContract()]
[Group(typeof(PAC))]
public class Loop_PAC_INVOIC
{
[XmlIgnore]
[IgnoreDataMember]
public int Id { get; set; }
///
/// PACKAGE
///
[DataMember]
[Required]
[Pos(1)]
public virtual PAC PAC { get; set; }
///
/// MEASUREMENTS
///
[DataMember]
[ListCount(5)]
[Pos(2)]
public virtual List MEA { get; set; }
///
/// Loop for PACKAGE IDENTIFICATION
///
[DataMember]
[ListCount(5)]
[Pos(3)]
public virtual List PCILoop { get; set; }
}
///
/// Loop for PAYMENT TERMS BASIS
///
[Serializable()]
[DataContract()]
[Group(typeof(PAT))]
public class Loop_PAT_INVOIC
{
[XmlIgnore]
[IgnoreDataMember]
public int Id { get; set; }
///
/// PAYMENT TERMS BASIS
///
[DataMember]
[Required]
[Pos(1)]
public virtual PAT PAT { get; set; }
///
/// DATE/TIME/PERIOD
///
[DataMember]
[ListCount(5)]
[Pos(2)]
public virtual List DTM { get; set; }
///
/// PERCENTAGE DETAILS
///
[DataMember]
[Pos(3)]
public virtual PCD PCD { get; set; }
///
/// MONETARY AMOUNT
///
[DataMember]
[Pos(4)]
public virtual MOA MOA { get; set; }
///
/// PAYMENT INSTRUCTIONS
///
[DataMember]
[Pos(5)]
public virtual PAI PAI { get; set; }
///
/// FINANCIAL INSTITUTION INFORMATION
///
[DataMember]
[Pos(6)]
public virtual FII FII { get; set; }
}
///
/// Loop for PAYMENT TERMS BASIS
///
[Serializable()]
[DataContract()]
[Group(typeof(PAT))]
public class Loop_PAT_INVOIC_2
{
[XmlIgnore]
[IgnoreDataMember]
public int Id { get; set; }
///
/// PAYMENT TERMS BASIS
///
[DataMember]
[Required]
[Pos(1)]
public virtual PAT PAT { get; set; }
///
/// DATE/TIME/PERIOD
///
[DataMember]
[ListCount(5)]
[Pos(2)]
public virtual List DTM { get; set; }
///
/// PERCENTAGE DETAILS
///
[DataMember]
[Pos(3)]
public virtual PCD PCD { get; set; }
///
/// MONETARY AMOUNT
///
[DataMember]
[Pos(4)]
public virtual MOA MOA { get; set; }
}
///
/// Loop for PERCENTAGE DETAILS
///
[Serializable()]
[DataContract()]
[Group(typeof(PCD))]
public class Loop_PCD_INVOIC
{
[XmlIgnore]
[IgnoreDataMember]
public int Id { get; set; }
///
/// PERCENTAGE DETAILS
///
[DataMember]
[Required]
[Pos(1)]
public virtual PCD PCD { get; set; }
///
/// RANGE DETAILS
///
[DataMember]
[Pos(2)]
public virtual RNG RNG { get; set; }
}
///
/// Loop for PACKAGE IDENTIFICATION
///
[Serializable()]
[DataContract()]
[Group(typeof(PCI))]
public class Loop_PCI_INVOIC
{
[XmlIgnore]
[IgnoreDataMember]
public int Id { get; set; }
///
/// PACKAGE IDENTIFICATION
///
[DataMember]
[Required]
[Pos(1)]
public virtual PCI PCI { get; set; }
///
/// REFERENCE
///
[DataMember]
[Pos(2)]
public virtual RFF RFF { get; set; }
///
/// DATE/TIME/PERIOD
///
[DataMember]
[ListCount(5)]
[Pos(3)]
public virtual List DTM { get; set; }
///
/// GOODS IDENTITY NUMBER
///
[DataMember]
[ListCount(5)]
[Pos(4)]
public virtual List GIN { get; set; }
}
///
/// Loop for PRICE DETAILS
///
[Serializable()]
[DataContract()]
[Group(typeof(PRI))]
public class Loop_PRI_INVOIC
{
[XmlIgnore]
[IgnoreDataMember]
public int Id { get; set; }
///
/// PRICE DETAILS
///
[DataMember]
[Required]
[Pos(1)]
public virtual PRI PRI { get; set; }
///
/// ADDITIONAL PRICE INFORMATION
///
[DataMember]
[Pos(2)]
public virtual APR APR { get; set; }
///
/// RANGE DETAILS
///
[DataMember]
[Pos(3)]
public virtual RNG RNG { get; set; }
///
/// DATE/TIME/PERIOD
///
[DataMember]
[ListCount(5)]
[Pos(4)]
public virtual List DTM { get; set; }
}
///
/// Loop for QUANTITY
///
[Serializable()]
[DataContract()]
[Group(typeof(QTY))]
public class Loop_QTY_INVOIC
{
[XmlIgnore]
[IgnoreDataMember]
public int Id { get; set; }
///
/// QUANTITY
///
[DataMember]
[Required]
[Pos(1)]
public virtual QTY QTY { get; set; }
///
/// RANGE DETAILS
///
[DataMember]
[Pos(2)]
public virtual RNG RNG { get; set; }
}
///
/// Loop for REQUIREMENTS AND CONDITIONS
///
[Serializable()]
[DataContract()]
[Group(typeof(RCS))]
public class Loop_RCS_INVOIC
{
[XmlIgnore]
[IgnoreDataMember]
public int Id { get; set; }
///
/// REQUIREMENTS AND CONDITIONS
///
[DataMember]
[Required]
[Pos(1)]
public virtual RCS RCS { get; set; }
///
/// REFERENCE
///
[DataMember]
[ListCount(5)]
[Pos(2)]
public virtual List RFF { get; set; }
///
/// DATE/TIME/PERIOD
///
[DataMember]
[ListCount(5)]
[Pos(3)]
public virtual List DTM { get; set; }
///
/// FREE TEXT
///
[DataMember]
[ListCount(5)]
[Pos(4)]
public virtual List FTX { get; set; }
}
///
/// Loop for REFERENCE
///
[Serializable()]
[DataContract()]
[Group(typeof(RFF))]
public class Loop_RFF_INVOIC
{
[XmlIgnore]
[IgnoreDataMember]
public int Id { get; set; }
///
/// REFERENCE
///
[DataMember]
[Required]
[Pos(1)]
public virtual RFF RFF { get; set; }
///
/// DATE/TIME/PERIOD
///
[DataMember]
[ListCount(5)]
[Pos(2)]
public virtual List DTM { get; set; }
}
///
/// Loop for RATE DETAILS
///
[Serializable()]
[DataContract()]
[Group(typeof(RTE))]
public class Loop_RTE_INVOIC
{
[XmlIgnore]
[IgnoreDataMember]
public int Id { get; set; }
///
/// RATE DETAILS
///
[DataMember]
[Required]
[Pos(1)]
public virtual RTE RTE { get; set; }
///
/// RANGE DETAILS
///
[DataMember]
[Pos(2)]
public virtual RNG RNG { get; set; }
}
///
/// Loop for DUTY/TAX/FEE DETAILS
///
[Serializable()]
[DataContract()]
[Group(typeof(TAX))]
public class Loop_TAX_INVOIC
{
[XmlIgnore]
[IgnoreDataMember]
public int Id { get; set; }
///
/// DUTY/TAX/FEE DETAILS
///
[DataMember]
[Required]
[Pos(1)]
public virtual TAX TAX { get; set; }
///
/// MONETARY AMOUNT
///
[DataMember]
[Pos(2)]
public virtual MOA MOA { get; set; }
///
/// PLACE/LOCATION IDENTIFICATION
///
[DataMember]
[ListCount(5)]
[Pos(3)]
public virtual List LOC { get; set; }
}
///
/// Loop for DUTY/TAX/FEE DETAILS
///
[Serializable()]
[DataContract()]
[Group(typeof(TAX))]
public class Loop_TAX_INVOIC_2
{
[XmlIgnore]
[IgnoreDataMember]
public int Id { get; set; }
///
/// DUTY/TAX/FEE DETAILS
///
[DataMember]
[Required]
[Pos(1)]
public virtual TAX TAX { get; set; }
///
/// MONETARY AMOUNT
///
[DataMember]
[Pos(2)]
public virtual MOA MOA { get; set; }
}
///
/// Loop for DUTY/TAX/FEE DETAILS
///
[Serializable()]
[DataContract()]
[Group(typeof(TAX))]
public class Loop_TAX_INVOIC_3
{
[XmlIgnore]
[IgnoreDataMember]
public int Id { get; set; }
///
/// DUTY/TAX/FEE DETAILS
///
[DataMember]
[Required]
[Pos(1)]
public virtual TAX TAX { get; set; }
///
/// MONETARY AMOUNT
///
[DataMember]
[ListCount(2)]
[Pos(2)]
public virtual List MOA { get; set; }
}
///
/// Loop for DETAILS OF TRANSPORT
///
[Serializable()]
[DataContract()]
[Group(typeof(TDT))]
public class Loop_TDT_INVOIC
{
[XmlIgnore]
[IgnoreDataMember]
public int Id { get; set; }
///
/// DETAILS OF TRANSPORT
///
[DataMember]
[Required]
[Pos(1)]
public virtual TDT TDT { get; set; }
///
/// Loop for PLACE/LOCATION IDENTIFICATION
///
[DataMember]
[ListCount(10)]
[Pos(2)]
public virtual List LOCLoop { get; set; }
///
/// Loop for REFERENCE
///
[DataMember]
[ListCount(9999)]
[Pos(3)]
public virtual List RFFLoop { get; set; }
}
///
/// Loop for DETAILS OF TRANSPORT
///
[Serializable()]
[DataContract()]
[Group(typeof(TDT))]
public class Loop_TDT_INVOIC_2
{
[XmlIgnore]
[IgnoreDataMember]
public int Id { get; set; }
///
/// DETAILS OF TRANSPORT
///
[DataMember]
[Required]
[Pos(1)]
public virtual TDT TDT { get; set; }
///
/// Loop for PLACE/LOCATION IDENTIFICATION
///
[DataMember]
[ListCount(10)]
[Pos(2)]
public virtual List LOCLoop { get; set; }
}
///
/// Loop for TERMS OF DELIVERY OR TRANSPORT
///
[Serializable()]
[DataContract()]
[Group(typeof(TOD))]
public class Loop_TOD_INVOIC
{
[XmlIgnore]
[IgnoreDataMember]
public int Id { get; set; }
///
/// TERMS OF DELIVERY OR TRANSPORT
///
[DataMember]
[Required]
[Pos(1)]
public virtual TOD TOD { get; set; }
///
/// PLACE/LOCATION IDENTIFICATION
///
[DataMember]
[ListCount(2)]
[Pos(2)]
public virtual List LOC { get; set; }
}
///
/// Invoice message
///
[Serializable()]
[DataContract()]
[Message("EDIFACT", "D96A", "INVOIC")]
public class TSINVOIC : EdiMessage
{
[XmlIgnore]
[IgnoreDataMember]
public int Id { get; set; }
///
/// Message Header
///
[DataMember]
[Pos(1)]
public virtual UNH UNH { get; set; }
///
/// BEGINNING OF MESSAGE
///
[DataMember]
[Required]
[Pos(2)]
public virtual BGM BGM { get; set; }
///
/// DATE/TIME/PERIOD
///
[DataMember]
[Required]
[ListCount(35)]
[Pos(3)]
public virtual List DTM { get; set; }
///
/// PAYMENT INSTRUCTIONS
///
[DataMember]
[Pos(4)]
public virtual PAI PAI { get; set; }
///
/// ADDITIONAL INFORMATION
///
[DataMember]
[ListCount(5)]
[Pos(5)]
public virtual List ALI { get; set; }
///
/// ITEM DESCRIPTION
///
[DataMember]
[Pos(6)]
public virtual IMD IMD { get; set; }
///
/// FREE TEXT
///
[DataMember]
[ListCount(10)]
[Pos(7)]
public virtual List FTX { get; set; }
///
/// Loop for REFERENCE
///
[DataMember]
[ListCount(99)]
[Pos(8)]
public virtual List RFFLoop { get; set; }
///
/// Loop for NAME AND ADDRESS
///
[DataMember]
[ListCount(99)]
[Pos(9)]
public virtual List NADLoop { get; set; }
///
/// Loop for DUTY/TAX/FEE DETAILS
///
[DataMember]
[ListCount(5)]
[Pos(10)]
public virtual List TAXLoop { get; set; }
///
/// Loop for CURRENCIES
///
[DataMember]
[ListCount(5)]
[Pos(11)]
public virtual List CUXLoop { get; set; }
///
/// Loop for PAYMENT TERMS BASIS
///
[DataMember]
[ListCount(10)]
[Pos(12)]
public virtual List PATLoop { get; set; }
///
/// Loop for DETAILS OF TRANSPORT
///
[DataMember]
[ListCount(10)]
[Pos(13)]
public virtual List TDTLoop { get; set; }
///
/// Loop for TERMS OF DELIVERY OR TRANSPORT
///
[DataMember]
[ListCount(5)]
[Pos(14)]
public virtual List TODLoop { get; set; }
///
/// Loop for PACKAGE
///
[DataMember]
[ListCount(1000)]
[Pos(15)]
public virtual List PACLoop { get; set; }
///
/// Loop for ALLOWANCE OR CHARGE
///
[DataMember]
[ListCount(9999)]
[Pos(16)]
public virtual List ALCLoop { get; set; }
///
/// Loop for REQUIREMENTS AND CONDITIONS
///
[DataMember]
[ListCount(100)]
[Pos(17)]
public virtual List RCSLoop { get; set; }
///
/// Loop for ADJUSTMENT DETAILS
///
[DataMember]
[Pos(18)]
public virtual Loop_AJT_INVOIC AJTLoop { get; set; }
///
/// Loop for PARTIES TO INSTRUCTION
///
[DataMember]
[Pos(19)]
public virtual Loop_INP_INVOIC INPLoop { get; set; }
///
/// Loop for LINE ITEM
///
[DataMember]
[ListCount(9999999)]
[Pos(20)]
public virtual List LINLoop { get; set; }
///
/// SECTION CONTROL
///
[DataMember]
[Required]
[Pos(21)]
public virtual UNS UNS { get; set; }
///
/// CONTROL TOTAL
///
[DataMember]
[ListCount(10)]
[Pos(22)]
public virtual List CNT { get; set; }
///
/// Loop for MONETARY AMOUNT
///
[DataMember]
[Required]
[ListCount(100)]
[Pos(23)]
public virtual List MOALoop { get; set; }
///
/// Loop for DUTY/TAX/FEE DETAILS
///
[DataMember]
[ListCount(10)]
[Pos(24)]
public virtual List TAXLoop2 { get; set; }
///
/// Loop for ALLOWANCE OR CHARGE
///
[DataMember]
[ListCount(15)]
[Pos(25)]
public virtual List ALCLoop2 { get; set; }
///
/// Message Trailer
///
[DataMember]
[Pos(26)]
public virtual UNT UNT { get; set; }
}
}
Comments
0 comments
Please sign in to leave a comment.