当前位置:网站首页>Detailed explanation of Audi EDI invoice message

Detailed explanation of Audi EDI invoice message

2022-07-04 20:06:00 Knowledge and practice EDI

audi AUDI With its suppliers , transmission VDA Standard message , It's actually with Audi AUDI What is transmitted in the ongoing project is EDIFACT Standard message . For suppliers , Need to give Audi AUDI send out INVOIC invoice .

How to read the article EDIFACT message ? in , We are right. EDIFACT It has been interpreted in detail , You can build on that , Start to understand INVOIC invoice .

edi

This article will discuss the problems that meet EDIFACT Message standard INVOIC Interpret the invoice , And convert it into Audi AUDI Required EDIFACT Format .

Here is Audi AUDI INVOIC XML Example file: bridge of knowledge and action EDI Comparison diagram before and after system conversion :
( Due to the long length of the document , Only part of the code is intercepted in the figure for demonstration )

edi

1.INVOIC Invoice example interpretation

Use the bridge of knowledge and action EDI The system can XML The document is converted to an international standard EDIFACT Invoice file , Re pass EDI The system sends it to Audi AUDI that will do , Enterprises can generate the following from their own business systems XML file , Or fill in your business data as follows XML file . The notes for filling in and the business meaning of each field have been clearly commented .

<?xml version="1.0" encoding="utf8"?>
<EDI_INVOIC>
  <Version>0.0.3</Version>
  <Mode RefDes="UNB11">T/P</Mode>
  <!-- File name identifier -->
  <MessageNameCode RefDes="BGM0101">325/326/380/381/383/386/395</MessageNameCode>
  <!-- File name -->
  <MessageName RefDes="BGM0104">Test MessageName</MessageName>
   <!-- Document number -->
  <MessageNumber RefDes="BGM0201">Test MessageNumber</MessageNumber>
  <MessageFunctionCode RefDes="BGM03">9/7</MessageFunctionCode>
  <DocumentMessageDateTimeInfo qualifier="DTM01/DTM0101:137">
    <!-- Document date -->
    <DateOrTimeOrPeriod RefDes="DTM0102">Test DateOrTimeOrPeriod</DateOrTimeOrPeriod>
  </DocumentMessageDateTimeInfo>
  <ServiceCompletionDateTimeActual qualifier="DTM01/DTM0101:1">
    <!-- Delivery or service actual completion date -->
    <DateOrTimeOrPeriod RefDes="DTM0102">Test DateOrTimeOrPeriod</DateOrTimeOrPeriod>
  </ServiceCompletionDateTimeActual>
  <HorizonStartDateTimeInfo qualifier="DTM01/DTM0101:158">
    <!-- Start date -->
    <DateOrTimeOrPeriod RefDes="DTM0102">Test DateOrTimeOrPeriod</DateOrTimeOrPeriod>
  </HorizonStartDateTimeInfo>
  <HorizonEndDateTimeInfo qualifier="DTM01/DTM0101:159">
    <!-- End date -->
    <DateOrTimeOrPeriod RefDes="DTM0102">Test DateOrTimeOrPeriod</DateOrTimeOrPeriod>
  </HorizonEndDateTimeInfo>
  <FreeTextDetail>
    <!-- Text information -->
    <TextSubjectQualifier RefDes="FTX01">REG/TXD/ABB/AAI</TextSubjectQualifier>
    <Text2 RefDes="FTX0402">Test Text2</Text2>
    <Text3 RefDes="FTX0403">Test Text3</Text3>
    <Text4 RefDes="FTX0404">Test Text4</Text4>
    <Text5 RefDes="FTX0405">Test Text5</Text5>
    <LanguageCode RefDes="FTX05">Test LanguageCode</LanguageCode>
  </FreeTextDetail>
  <ProcessingInformation>
    <!-- Material information -->
PM/LC/OM/S
    <ProcessingIndicator RefDes="GEI02">
    </ProcessingIndicator>
  </ProcessingInformation>
  <Reference>
    <!-- Payment information -->
    <PaymentReferenceNumber RefDes="RFF0102" qualifier="RFF0101:PQ">Test PaymentReferenceNumber</PaymentReferenceNumber>
    <InvoiceNumber RefDes="RFF0102" qualifier="RFF0101:IV">Test InvoiceNumber</InvoiceNumber>
    <ApplicationReferenceNumber RefDes="RFF0102" qualifier="RFF0101:AGK">Test ApplicationReferenceNumber</ApplicationReferenceNumber>
  </Reference>
  <ShipToInfo qualifier="NAD01:ST">
    <!-- Ship to information -->
    <!-- Name of ship to 、 The street 、 Number 、 mailbox -->
    <PartyId RefDes="NAD0201">Test PartyId</PartyId>
10/16/91/92
    <PartyName RefDes="NAD0401">Test PartyName</PartyName>
    <PartyName4 RefDes="NAD0404">Test PartyName4</PartyName4>
    <PartyName5 RefDes="NAD0405">Test PartyName5</PartyName5>
    <PartyNameFormatCode RefDes="NAD0406">Test PartyNameFormatCode</PartyNameFormatCode>
    <StreatAndNumberOrPostOfficeBox RefDes="NAD0501">Test StreatAndNumberOrPostOfficeBox</StreatAndNumberOrPostOfficeBox>
    <StreatAndNumberOrPostOfficeBox2 RefDes="NAD0502">Test StreatAndNumberOrPostOfficeBox2</StreatAndNumberOrPostOfficeBox2>
    <CityName RefDes="NAD06">Test CityName</CityName>
    <CountrySubEntityDetail RefDes="NAD07">
      <NameCode RefDes="NAD0701">Test NameCode</NameCode>
    </CountrySubEntityDetail>
    <PostCodeIdentification RefDes="NAD08">Test PostCodeIdentification</PostCodeIdentification>
    <CountryCode RefDes="NAD09">Test CountryCode</CountryCode>
    <Reference>
      <!-- Reference number assigned by the third party -->
      <ReferenceNumberAssignedByThirdParty RefDes="RFF0102" qualifier="RFF0101:ANK">Test ReferenceNumberAssignedByThirdParty</ReferenceNumberAssignedByThirdParty>
      <FiscalNumber RefDes="RFF0102" qualifier="RFF0101:FC">Test FiscalNumber</FiscalNumber>
      <VATRegistrationNumber RefDes="RFF0102" qualifier="RFF0101:VA">Test VATRegistrationNumber</VATRegistrationNumber>
    </Reference>
    <ContactInformation>
      <!-- Transportation information -->
      <!-- Transportation contact ID、 full name -->
      <DepartmentOrEmployee RefDes="CTA02">
        <Identification RefDes="CTA0201">Test Identification</Identification>
        <Name RefDes="CTA0202">Test Name</Name>
      </DepartmentOrEmployee>
      <CommunicationContact>
        <!-- Contact information of the consignee -->
        <CommunicationAddressIdentifier RefDes="COM0101">Test CommunicationAddressIdentifier</CommunicationAddressIdentifier>
        <CommunicationMeansTypeCode RefDes="COM0102">EM/FX/IM/TE</CommunicationMeansTypeCode>
      </CommunicationContact>
    </ContactInformation>
  </ShipToInfo>
  <BuyerInfo qualifier="NAD01:BY">
    <!-- Seller information -->
    <!-- Name of seller 、 The street 、 mailbox 、 City name 、 Country code  -->
    <PartyId RefDes="NAD0201">Test PartyId</PartyId>
    <PartyName RefDes="NAD0401">Test PartyName</PartyName>
    <PartyName4 RefDes="NAD0404">Test PartyName4</PartyName4>
    <PartyName5 RefDes="NAD0405">Test PartyName5</PartyName5>
    <PartyNameFormatCode RefDes="NAD0406">Test PartyNameFormatCode</PartyNameFormatCode>
    <StreatAndNumberOrPostOfficeBox RefDes="NAD0501">Test StreatAndNumberOrPostOfficeBox</StreatAndNumberOrPostOfficeBox>
    <StreatAndNumberOrPostOfficeBox2 RefDes="NAD0502">Test StreatAndNumberOrPostOfficeBox2</StreatAndNumberOrPostOfficeBox2>
    <CityName RefDes="NAD06">Test CityName</CityName>
    <CountrySubEntityDetail RefDes="NAD07">
      <NameCode RefDes="NAD0701">Test NameCode</NameCode>
    </CountrySubEntityDetail>
    <PostCodeIdentification RefDes="NAD08">Test PostCodeIdentification</PostCodeIdentification>
    <CountryCode RefDes="NAD09">Test CountryCode</CountryCode>
    <Reference>
      <!-- Seller's reference number -->
      <ReferenceNumberAssignedByThirdParty RefDes="RFF0102" qualifier="RFF0101:ANK">Test ReferenceNumberAssignedByThirdParty</ReferenceNumberAssignedByThirdParty>
      <FiscalNumber RefDes="RFF0102" qualifier="RFF0101:FC">Test FiscalNumber</FiscalNumber>
      <VATRegistrationNumber RefDes="RFF0102" qualifier="RFF0101:VA">Test VATRegistrationNumber</VATRegistrationNumber>
    </Reference>
    <ContactInformation>
      <!-- Seller contact ID、 full name -->
      <DepartmentOrEmployee RefDes="CTA02">
        <Identification RefDes="CTA0201">Test Identification</Identification>
        <Name RefDes="CTA0202">Test Name</Name>
      </DepartmentOrEmployee>
      <CommunicationContact>
        <!-- Seller contact ID, mailbox -->
        <CommunicationAddressIdentifier RefDes="COM0101">Test CommunicationAddressIdentifier</CommunicationAddressIdentifier>
        <CommunicationMeansTypeCode RefDes="COM0102">EM</CommunicationMeansTypeCode>
      </CommunicationContact>
    </ContactInformation>
  </BuyerInfo>
  <PaymentTerms>
    <!-- Discount information -->
    <!-- Discount time 、 Discount quantity -->
    <PaymentTermsTypeCodeQualifier RefDes="PYT01">22</PaymentTermsTypeCodeQualifier>
    <EventTimeReferenceCode RefDes="PYT03">Test EventTimeReferenceCode</EventTimeReferenceCode>
    <TermsTimeRelationCode RefDes="PYT04">5</TermsTimeRelationCode>
    <PeriodTypeCode RefDes="PYT05">D</PeriodTypeCode>
    <PeriodCountQuantity RefDes="PYT06">123456</PeriodCountQuantity>
    <PaymentDueDateInfo qualifier="DTM01/DTM0101:140">
      <!-- Payment due -->
      <DateOrTimeOrPeriod RefDes="DTM0102">Test DateOrTimeOrPeriod</DateOrTimeOrPeriod>
    </PaymentDueDateInfo>
    <ReferenceDateTimeInfo qualifier="DTM01/DTM0101:171">
      <!-- Time of payment -->
      <DateOrTimeOrPeriod RefDes="DTM0102">Test DateOrTimeOrPeriod</DateOrTimeOrPeriod>
    </ReferenceDateTimeInfo>
    <PercentageOfInvoice qualifier="PCD01/PCD0101:7">
      <!-- Invoice proportion -->
      <Percentage RefDes="PCD0102">123456</Percentage>
    </PercentageOfInvoice>
    <DiscountPercentage qualifier="PCD01/PCD0101:12">
      <!-- Discount ratio -->
      <Percentage RefDes="PCD0102">123456</Percentage>
    </DiscountPercentage>
    <PercentageOfTotalPayment qualifier="PCD01/PCD0101:122">
      <!-- Percentage of total disbursements -->
      <Percentage RefDes="PCD0102">123456</Percentage>
    </PercentageOfTotalPayment>
    <DiscountAmount qualifier="MOA01/MOA0101:52">
      <!-- Discount amount -->
      <MonetaryAmount RefDes="MOA0102">123456</MonetaryAmount>
      <CurrencyCode RefDes="MOA0103">Test CurrencyCode</CurrencyCode>
    </DiscountAmount>
    <InstalmentAmount qualifier="MOA01/MOA0101:262">
      <!-- The amount of money -->
      <MonetaryAmount RefDes="MOA0102">123456</MonetaryAmount>
      <CurrencyCode RefDes="MOA0103">Test CurrencyCode</CurrencyCode>
    </InstalmentAmount>
    <FinancialInstitutionInformation>
      <!-- Account holder information -->
      <AccountHolderIdentification RefDes="FII02">
        <Identifier RefDes="FII0201">Test Identifier</Identifier>
        <Name RefDes="FII0202">Test Name</Name>
        <Name2 RefDes="FII0203">Test Name2</Name2>
      </AccountHolderIdentification>
      <InstitutionIdentification RefDes="FII03">
        <NameCode RefDes="FII0301">Test NameCode</NameCode>
        <!-- Branch information -->
        <BranchIdentifier RefDes="FII0304">Test BranchIdentifier</BranchIdentifier>
        <BranchCodeListQualifier RefDes="FII0305">Test BranchCodeListQualifier</BranchCodeListQualifier>
        <BranchCodeListResponsibleAgencyCode RefDes="FII0306">Test BranchCodeListResponsibleAgencyCode</BranchCodeListResponsibleAgencyCode>
        <Name RefDes="FII0307">Test Name</Name>
      </InstitutionIdentification>
    </FinancialInstitutionInformation>
  </PaymentTerms>
  <TransportDetail>
    <!-- Transportation information -->
    <!-- type of shipping -->
    <MeansOfTransportJourneyIdentifier RefDes="TDT02">Test MeansOfTransportJourneyIdentifier</MeansOfTransportJourneyIdentifier>
    <TransportModeCode RefDes="TDT0301">10/12/20/23/30/40/50/60/70/80/90/C/CE/D/E/H/U</TransportModeCode>
  </TransportDetail>
  <Item>
    <!-- Material information -->
    <!-- Item line number -->
    <LineItemNumber RefDes="LIN01">Test LineItemNumber</LineItemNumber>
    <BuyerItemNumber RefDes="LIN0301" qualifier="LIN0302:IN">Test BuyerItemNumber</BuyerItemNumber>
    <AdditionalProductIdentification>
      <!-- Supplier article number -->
      <ItemNumberIdentification RefDes="PIA02">
        <SupplierArticleNumber RefDes="PIA0201" qualifier="PIA0202:SA">Test SupplierArticleNumber</SupplierArticleNumber>
      </ItemNumberIdentification>
      <ItemNumberIdentification2 RefDes="PIA03">
        <HarmonisedSystem RefDes="PIA0301" qualifier="PIA0302:HS">Test HarmonisedSystem</HarmonisedSystem>
      </ItemNumberIdentification2>
    </AdditionalProductIdentification>
    <ItemDescription>
      <!-- Material description 、 The language code -->
      <ItemDescription RefDes="IMD03">
        <Description RefDes="IMD0304">Test Description</Description>
        <Description2 RefDes="IMD0305">Test Description2</Description2>
        <LanguageCode RefDes="IMD0306">Test LanguageCode</LanguageCode>
      </ItemDescription>
    </ItemDescription>
    <QuantityDetail>
      <!-- Invoiced quantity -->
      <InvoicedQuantity RefDes="QTY0102" qualifier="QTY0101:47">Test InvoicedQuantity</InvoicedQuantity>
      <MeasureUnitQualifier RefDes="QTY0103">Test MeasureUnitQualifier</MeasureUnitQualifier>
    </QuantityDetail>
    <QuantityDetail>
      <!-- The actual unit is accumulated to the date -->
      <ActualUnitsCumulativeToDate RefDes="QTY0102" qualifier="QTY0101:372">Test ActualUnitsCumulativeToDate</ActualUnitsCumulativeToDate>
      <MeasureUnitQualifier RefDes="QTY0103">KMT/SMI</MeasureUnitQualifier>
    </QuantityDetail>
    <AdditionalInformation>
      <!-- Country of origin -->
      <CountryOfOriginIdentifier RefDes="ALI01">Test CountryOfOriginIdentifier</CountryOfOriginIdentifier>
      <DutyRegimeTypeCode RefDes="ALI02">1/2/3</DutyRegimeTypeCode>
    </AdditionalInformation>
    <ServiceCompletionDateTimeActual qualifier="DTM01/DTM0101:1">
      <!-- Service completion date -->
      <DateOrTimeOrPeriod RefDes="DTM0102">Test DateOrTimeOrPeriod</DateOrTimeOrPeriod>
    </ServiceCompletionDateTimeActual>
    <DateOfFirstRegistration qualifier="DTM01/DTM0101:375">
      <!-- Date of first registration -->
      <DateOrTimeOrPeriod RefDes="DTM0102">Test DateOrTimeOrPeriod</DateOrTimeOrPeriod>
    </DateOfFirstRegistration>
    <VehicleRegistrationNumber qualifier="GIN01:BL">
      <!-- Vehicle registration number -->
      <IdentityNumber RefDes="GIN0201">Test IdentityNumber</IdentityNumber>
    </VehicleRegistrationNumber>
    <SerialNumber qualifier="GIN01:BN">
      <!-- Serial number -->
      <IdentityNumber RefDes="GIN0201">Test IdentityNumber</IdentityNumber>
    </SerialNumber>
    <VehicleIdentityNumber qualifier="GIN01:VV">
      <!-- vehicle ID Number -->
      <IdentityNumber RefDes="GIN0201">Test IdentityNumber</IdentityNumber>
    </VehicleIdentityNumber>
    <FreeTextDetail>
      <!-- Tax information -->
      <!-- Text information , The language code -->
      <Text RefDes="FTX0401">Test Text</Text>
      <Text2 RefDes="FTX0402">Test Text2</Text2>
      <Text3 RefDes="FTX0403">Test Text3</Text3>
      <Text4 RefDes="FTX0404">Test Text4</Text4>
      <Text5 RefDes="FTX0405">Test Text5</Text5>
      <LanguageCode RefDes="FTX05">Test LanguageCode</LanguageCode>
    </FreeTextDetail>
    <FreeTextDetail>
      <!-- Tax declaration information -->
      <Text RefDes="FTX0401">Test Text</Text>
      <Text2 RefDes="FTX0402">Test Text2</Text2>
      <Text3 RefDes="FTX0403">Test Text3</Text3>
      <Text4 RefDes="FTX0404">Test Text4</Text4>
      <Text5 RefDes="FTX0405">Test Text5</Text5>
      <LanguageCode RefDes="FTX05">Test LanguageCode</LanguageCode>
    </FreeTextDetail>
    <FreeTextDetail>
      <!-- essential information -->
    </FreeTextDetail>
    <LineItemAmount qualifier="MOA01/MOA0101:203">
      <!-- The amount of money -->
      <MonetaryAmount RefDes="MOA0102">123456</MonetaryAmount>
      <CurrencyCode RefDes="MOA0103">Test CurrencyCode</CurrencyCode>
      <InvoiceItemAmount qualifier="MOA01/MOA0101:38">
        <MonetaryAmount RefDes="MOA0102">123456</MonetaryAmount>
        <CurrencyCode RefDes="MOA0103">Test CurrencyCode</CurrencyCode>
      </InvoiceItemAmount>
    </LineItemAmount>
    <PriceDetail>
      <!-- Price information -->
      <CalculationNetPrice RefDes="PRI0102" qualifier="PRI0101:AAA">123456</CalculationNetPrice>
      <UnitPriceBasis RefDes="PRI0105">123456</UnitPriceBasis>
      <MeasureUnitQualifier RefDes="PRI0106">Test MeasureUnitQualifier</MeasureUnitQualifier>
      <PriceDetail>
        <CalculationNetPrice RefDes="PRI0102" qualifier="PRI0101:AAA">123456</CalculationNetPrice>
        <UnitPriceBasis RefDes="PRI0105">123456</UnitPriceBasis>
        <MeasureUnitQualifier RefDes="PRI0106">Test MeasureUnitQualifier</MeasureUnitQualifier>
      </PriceDetail>
    </PriceDetail>
    <Reference>
      <!-- Delivery notice -->
      <DespatchNoteDocumentIdentifier RefDes="RFF0102" qualifier="RFF0101:AAU">Test DespatchNoteDocumentIdentifier</DespatchNoteDocumentIdentifier>
      <ReferenceDateTimeInfo qualifier="DTM01/DTM0101:171">
        <!-- Delivery time -->
        <DateOrTimeOrPeriod RefDes="DTM0102">Test DateOrTimeOrPeriod</DateOrTimeOrPeriod>
      </ReferenceDateTimeInfo>
      <Reference>
        <!-- Delivery number -->
        <DeliveryScheduleNumber RefDes="RFF0102" qualifier="RFF0101:AAN">Test DeliveryScheduleNumber</DeliveryScheduleNumber>
      </Reference>
      <ReferenceDateTimeInfo qualifier="DTM01/DTM0101:171">
        <!-- Delivery time -->
        <DateOrTimeOrPeriod RefDes="DTM0102">Test DateOrTimeOrPeriod</DateOrTimeOrPeriod>
      </ReferenceDateTimeInfo>
      <Reference>
        <!-- account number -->
        <AccountNumber RefDes="RFF0102" qualifier="RFF0101:ADE">Test AccountNumber</AccountNumber>
      </Reference>
      <Reference>
        <!-- Event reference number -->
        <EventReferenceNumber RefDes="RFF0102" qualifier="RFF0101:AIV">Test EventReferenceNumber</EventReferenceNumber>
      </Reference>
      <ReferenceDateTimeInfo qualifier="DTM01/DTM0101:171">
        <!-- Reference time -->
        <DateOrTimeOrPeriod RefDes="DTM0102">Test DateOrTimeOrPeriod</DateOrTimeOrPeriod>
      </ReferenceDateTimeInfo>
      <Reference>
        <!-- Customer number -->
        <CustomerReferenceNumber RefDes="RFF0102" qualifier="RFF0101:CR">Test CustomerReferenceNumber</CustomerReferenceNumber>
      </Reference>
      <ReferenceDateTimeInfo qualifier="DTM01/DTM0101:171">
        <!-- Date or time -->
        <DateOrTimeOrPeriod RefDes="DTM0102">Test DateOrTimeOrPeriod</DateOrTimeOrPeriod>
      </ReferenceDateTimeInfo>
      <Reference>
        <!-- The order number -->
        <PurchaseOrderNumber RefDes="RFF0102" qualifier="RFF0101:ON">Test PurchaseOrderNumber</PurchaseOrderNumber>
      </Reference>
      <ReferenceDateTimeInfo qualifier="DTM01/DTM0101:171">
        <!-- Order time or date -->
        <DateOrTimeOrPeriod RefDes="DTM0102">Test DateOrTimeOrPeriod</DateOrTimeOrPeriod>
      </ReferenceDateTimeInfo>
    </Reference>
    <TaxDetail qualifier="TAX01:7">
      <!-- Tax information -->
      <!-- tariffs -->
      <DutyTaxFeeTypeType RefDes="TAX02">
        <TypeCode RefDes="TAX0201">LOC/OTH/VAT/SUR</TypeCode>
      </DutyTaxFeeTypeType>
      <DutyTaxFeeDetail RefDes="TAX05">
        <RateOfDutyOrTaxOrFee RefDes="TAX0504">Test RateOfDutyOrTaxOrFee</RateOfDutyOrTaxOrFee>
      </DutyTaxFeeDetail>
      <CategoryCode RefDes="TAX06">AA/E/H/O/S/Z/AAA/AAB/AAC/AAD/AAE/AAF/AAG/AAH/AAI/AAJ/AAK/AAL/AAM/AAN/AAO/AAP</CategoryCode>
      <PlaceOrPortOfDischarge qualifier="LOC01:11">
        <!-- unloading place ID And location -->
        <LocationIdentification RefDes="LOC02">
          <LocationID RefDes="LOC0201">Test LocationID</LocationID>
          <LocationName RefDes="LOC0204">Test LocationName</LocationName>
        </LocationIdentification>
      </PlaceOrPortOfDischarge>
      <PlaceOfDelivery qualifier="LOC01:7">
        <!-- Delivery place ID And location -->
        <LocationIdentification RefDes="LOC02">
          <LocationID RefDes="LOC0201">Test LocationID</LocationID>
          <LocationName RefDes="LOC0204">Test LocationName</LocationName>
        </LocationIdentification>
      </PlaceOfDelivery>
      <Warehouse qualifier="LOC01:18">
        <!-- Warehouse ID And location -->
        <LocationIdentification RefDes="LOC02">
          <LocationID RefDes="LOC0201">Test LocationID</LocationID>
          <LocationName RefDes="LOC0204">Test LocationName</LocationName>
        </LocationIdentification>
      </Warehouse>
    </TaxDetail>
    <ShipToInfo qualifier="NAD01:ST">
      <!-- Shipper information -->
      <!-- Shipper ID、 name 、 The street 、 mailbox 、 The city name 、 Zip code 、 Country code -->
      <PartyId RefDes="NAD0201">Test PartyId</PartyId>
Test CodeListQualifier
      <Line RefDes="NAD0301">Test Line</Line>
      <PartyName RefDes="NAD0401">Test PartyName</PartyName>
      <PartyName2 RefDes="NAD0402">Test PartyName2</PartyName2>
      <PartyName3 RefDes="NAD0403">Test PartyName3</PartyName3>
      <PartyName4 RefDes="NAD0404">Test PartyName4</PartyName4>
      <PartyName5 RefDes="NAD0405">Test PartyName5</PartyName5>
      <StreatAndNumberOrPostOfficeBox RefDes="NAD0501">Test StreatAndNumberOrPostOfficeBox</StreatAndNumberOrPostOfficeBox>
      <StreatAndNumberOrPostOfficeBox2 RefDes="NAD0502">Test StreatAndNumberOrPostOfficeBox2</StreatAndNumberOrPostOfficeBox2>
      <CityName RefDes="NAD06">Test CityName</CityName>
      <CountrySubEntityDetail RefDes="NAD07">
        <NameCode RefDes="NAD0701">Test NameCode</NameCode>
      </CountrySubEntityDetail>
      <PostCodeIdentification RefDes="NAD08">Test PostCodeIdentification</PostCodeIdentification>
      <CountryCode RefDes="NAD09">Test CountryCode</CountryCode>
      <Reference>
        <!-- Factory number -->
        <PlantNumber RefDes="RFF0102" qualifier="RFF0101:PE">Test PlantNumber</PlantNumber>
      </Reference>
    </ShipToInfo>
    <AllowanceOrCharge>
      <!-- Allowance information -->
      <!-- Allowance code -->
      <AllowanceOrCharge RefDes="ALC01">A/C</AllowanceOrCharge>
      <SpecialServiceCode RefDes="ALC0501">Test SpecialServiceCode</SpecialServiceCode>
6/272
      <FreeTextDetail>
        <!-- Details of allowance -->
        <Text RefDes="FTX0401">Test Text</Text>
        <Text2 RefDes="FTX0402">Test Text2</Text2>
        <Text3 RefDes="FTX0403">Test Text3</Text3>
        <Text4 RefDes="FTX0404">Test Text4</Text4>
        <Text5 RefDes="FTX0405">Test Text5</Text5>
        <LanguageCode RefDes="FTX05">Test LanguageCode</LanguageCode>
      </FreeTextDetail>
      <AllowanceOrChargePercentage qualifier="PCD01/PCD0101:3">
        <!-- Currency amount adjustment percentage -->
        <Percentage RefDes="PCD0102">123456</Percentage>
      </AllowanceOrChargePercentage>
      <AllowanceOrChargeAmount qualifier="MOA01/MOA0101:8">
        <!-- Amount of allowance -->
        <MonetaryAmount RefDes="MOA0102">123456</MonetaryAmount>
        <CurrencyCode RefDes="MOA0103">Test CurrencyCode</CurrencyCode>
      </AllowanceOrChargeAmount>
    </AllowanceOrCharge>
    <TermsOfDeliveryOrTransport>
      <!-- Free on board the ship at the port of shipment -->
      <DeliveryOrTransportCode RefDes="TOD0301">FOB</DeliveryOrTransportCode>
      <PlaceOfTermsOfDelivery qualifier="LOC01:1">
        <!-- Delivery terms and place -->
        <LocationIdentification RefDes="LOC02">
          <LocationID RefDes="LOC0201">Test LocationID</LocationID>
          <LocationName RefDes="LOC0204">Test LocationName</LocationName>
        </LocationIdentification>
      </PlaceOfTermsOfDelivery>
    </TermsOfDeliveryOrTransport>
  </Item>
</EDI_INVOIC>

2. audi AUDI invoice EDIFACT Example details

Through the bridge of knowledge and action EDI System , The above example XML After file format conversion , Got EDIFACT An example of the file is as follows :

UNA:+.?*'
UNB+UNOB:3+ + +220630:1532+000000006'
UNH+1+INVOIC:D:07A:UN:EAN008'

BGM+325/326/380/381/383/386/395::272:Test MessageName+Test 
MessageNumber+9/7'
- 325 =  Proforma invoice 
- 326 =  Partial invoice 
- 380 =  Commercial invoice 
- 381 =  Credit memo 
- 383 =  Debit note 
- 386 =  Prepaid invoice 
- 395 =  Consignment invoice 
 More than in each message 7 Kind of identifier 7 choose 1.
- 272 =  United Auto industry agency 
- Test MessageName+Test MessageNumber File name and file number 
- 9 =  original script 
- 7 =  Copy 

DTM+137:Test DateOrTimeOrPeriod:102'
- 137 =  Document date identifier 
- Test DateOrTimeOrPeriod =  Document date 
- 102 =  Date format code :CCYYMMDD

DTM+1:Test DateOrTimeOrPeriod:102'
- 1 =  Delivery or service actual completion date identifier 
- Test DateOrTimeOrPeriod =  Delivery or service actual completion date 
- 102 =  Date format code :CCYYMMDD

DTM+158:Test DateOrTimeOrPeriod:102'
- 158=  Start date identifier 
- Test DateOrTimeOrPeriod =  Start date 
- 102 =  Date format code :CCYYMMDD

DTM+159:Test DateOrTimeOrPeriod:102'    
- 159 =  End date identifier 
- Test DateOrTimeOrPeriod =  End date 
- 102 =  Date format code :CCYYMMDD

FTX+REG/TXD/ABB/AAI+++:Test Text2:Test Text3:Test Text4:Test Text5+Test LanguageCode'
- REG =  Regulatory information identifier 
- TXD =  Tax declaration identifier 
- ABB =  Payment term identifier 
- AAI =  Basic information identifier 
 More than in each message 4 Kind of identifier 4 choose 1.
- Test Text2:Test Text3:Test Text4:Test Text5 =  Text information 
- Test LanguageCode =  The language code 

GEI+PM/LC/OM/S+::272'
- PM =  Production materials 
- LC =  Logistics cost 
- OM =  Other materials 
- S =  service 
 More than in each message 4 Kind of identifier 4 choose 1.
- 272 =  United Auto industry agency 

RFF+PQ/IV/AGK:Test PaymentReferenceNumber'
- PQ =  Payment voucher identifier 
- IV =  Invoice document identifier 
- AGK=  Request reference number identifier 
- Test PaymentReferenceNumber =  Reference number 

NAD+ST+Test PartyId::91++Test PartyName:::Test PartyName4:Test PartyName5:Test PartyNameFormatCode+Test StreetAndNumberOrPostOfficeBox:Test StreetAndNumberOrPostOfficeBox2+Test CityName+Test NameCode+Test PostCodeIdentification+Test CountryCode'
- ST =  Ship to identifier 
- Test PartyId =  Receiver organization number 
- 91=  Identifier specified by the seller 
- Test PartyName =  Name of ship to 
- Test PartyName4 =  Name of ship to 
- Test PartyName5 =  Name of ship to 
- Test PartyNameFormatCode+Test StreetAndNumberOrPostOfficeBox= Name, code, street and number or mailbox number of the consignee 
- Test StreetAndNumberOrPostOfficeBox2 =  Name, code, street and number or mailbox number of the consignee 
- Test CityName+Test NameCode+Test PostCodeIdentification+Test CountryCode =  Name, code, street and number or mailbox number of the consignee 

RFF+ANK:Test ReferenceNumberAssignedByThirdParty'
- ANK =  Payment voucher identifier 
- Test PaymentReferenceNumber =  Reference number assigned by the third party 

CTA+DL+Test Identification:Test Name'
- DL =  Transportation contact identifier 
- Test Identification =  Transportation contact ID
- Test Name =  Transportation contact name 

COM+Test CommunicationAddressIdentifier:EM'
- Test CommunicationAddressIdentifier =  The receiver's contact email 
- EM =  Mailbox identifier 

NAD+SE+Test PartyId++Test PartyName:::Test PartyName4:Test PartyName5:Test PartyNameFormatCode+Test StreetAndNumberOrPostOfficeBox:Test StreetAndNumberOrPostOfficeBox2+Test CityName+Test NameCode+Test PostCodeIdentification+Test CountryCode'
- SE =  Vendor identifier 
- Test PartyId =  Vendor organization number 
- Test PartyName =  Name of seller 
- Test PartyName4 =  Name of seller 
- Test PartyName5 =  Name of seller 
- Test PartyNameFormatCode+Test StreetAndNumberOrPostOfficeBox =  The seller's name, code, street number or mailbox number 
- Test CityName =  Name of the seller's City 
- Test NameCode =  Name of seller 
- Test PostCodeIdentification =  Zip code 
- Test CountryCode =  Country code 

RFF+VA:Seller's VAT number'
- VA =  VAT registration number identifier 
- Seller's VAT number =  Seller's VAT number 

RFF+FC:Seller's tax number'
- FC =  Tax number identifier 
- Seller's tax number =  Seller's tax number 

RFF+ANK:Seller's reference number'
- ANK =  Third party identifier 
- Seller's reference number =  Seller's reference number 


CTA+IC+Test Identification:Test Name'
- IC =  Seller contact information identifier 
- Test Identification =  Seller contact ID
- Test Name =  Contact name of the seller 

COM+Test CommunicationAddressIdentifier:EM'
- Test CommunicationAddressIdentifier =  The seller's contact email 
- EM =  Mailbox identifier 

PYT+22++Test EventTimeReferenceCode+5+D+123456'
- 22 =  Discount identifier 
- Test EventTimeReferenceCode =  Time identifier 
- 5 =  contain 2 The end of the week   Reference date 
- D = 4 Monthly period 
- 123456 =  Discount quantity 

DTM+140:Test DateOrTimeOrPeriod:102'
- 140 =  Payment due date identifier 
- Test DateOrTimeOrPeriod=  Payment due date 
- 102 =  Date or time code 

DTM+171:Test DateOrTimeOrPeriod:102'
- 171 =  Payment time indicator 
- Test DateOrTimeOrPeriod=  Time of payment 
- 102 =  Date or time code 

PCD+7:123456'
- 7 =  Invoice proportion identifier 
- 123456=  Invoice proportion 

PCD+12:123456'
- 12=  Discount identifier 
- 123456=  discount 

PCD+122:123456'
- 122 =  Percentage identifier of total disbursement 
- 123456=  Percentage of total disbursements 

MOA+52:123456:Test CurrencyCode'
- 52 =  Discount amount identifier 
- 123456=  Discount amount 
- Test CurrencyCode =  Currency code 

MOA+262:123456:Test CurrencyCode'
- 262 =  Installment amount identifier 
- Test DateOrTimeOrPeriod=  Installment time 
- Test CurrencyCode =  Currency code 

TDT+12+Test MeansOfTransportJourneyIdentifier+20'
- 12 =  Shipment identifier 
- Test MeansOfTransportJourneyIdentifier=  Transportation route 
- 20 =  Train transportation 

LIN+Test LineItemNumber++Test BuyerItemNumber:IN'
- Test LineItemNumber =  Item line number 
- Test BuyerItemNumber=  Buyer's item no 
- IN =  Buyer item number identifier 

PIA+1+Test SupplierArticleNumber:SA'
- 1 =  increase ID
- Test SupplierArticleNumber =  Supplier No 
- SA =  Supplier number identifier 

IMD+++:::Test Description:Test Description2:Test LanguageCode'
- Test Description =  describe 
- Test Description2 =  describe 2
- Test LanguageCode =  The language code 

QTY+47:Test InvoicedQuantity:Test MeasureUnitQualifier'
- 47 =  describe 
- Test Description2 =  describe 2
- Test LanguageCode =  The language code 


QTY+372:Test ActualUnitsCumulativeToDate:KMT/SMI'
- 372 =  describe 
- Test ActualUnitsCumulativeToDate =  describe 2
- KMT/SMI =  Unit of measurement : km / miles 

ALI+Test CountryOfOriginIdentifier+3'
- Test CountryOfOriginIdentifier =  Country of origin ID
- 3 =  No preferred source 

DTM+1:Test DateOrTimeOrPeriod:102'
- 1 =  Actual service completion date / Time identifier 
- Test DateOrTimeOrPeriod =  Actual service completion date / Time 
- 102 =  Date identifier 
DTM+375:Test DateOrTimeOrPeriod:102'
- 375 =  First registration date identifier 
- Test DateOrTimeOrPeriod =  Date of first registration 
- 102 =  Date identifier 

GIN+BL+Test IdentityNumber'
- BL =  Vehicle registration number identifier 
- Test IdentityNumber =  Vehicle registration number 

GIN+BN+Test IdentityNumber'
- BL =  Serial number identifier 
- Test IdentityNumber =  Serial number 

GIN+VV+Test IdentityNumber'
- BL =  vehicle ID Number identifier 
- Test IdentityNumber =  vehicle ID Number 

FTX+AAR+++Test Text:Test Text2:Test Text3:Test Text4:Test Text5+Test LanguageCode'
- AAR =  Payment term identifier 
- Test Text =  payment provision 
- Test Text2 =  payment provision 2
- Test Text3 =  payment provision 3
- Test Text4 =  payment provision 4
- Test Text5 =  payment provision 5
- Test LanguageCode =  The language code 

MOA+203:123456:Test CurrencyCode'
- 203 =  Item line number identifier 
- 123456 =  The amount of money 
- Test CurrencyCode =  Currency code 

MOA+38:123456:Test CurrencyCode'
- 38 =  Invoice item number identifier 
- 123456 =  The amount of money 
- Test CurrencyCode =  Currency code 

PRI+AAA:123456::CON:123456:Test MeasureUnitQualifier'
- AAA =  Calculate net worth identifier 
- 123456 =  Price number 
- CON =  Contract price identifier 
- 123456 =  The unit price 
- Test MeasureUnitQualifier =  Measurement unit code 

PRI+AAB:123456::AAL:123456:Test MeasureUnitQualifier'
- AAA =  Calculate net worth identifier 
- 123456 =  Price number 
- AAL =  Original price 
- 123456 =  The unit price 
- Test MeasureUnitQualifier =  Measurement unit code 

RFF+AAU:Test DespatchNoteDocumentIdentifier'
- AAU =  Shipment notification file identifier 
- Test DespatchNoteDocumentIdentifier =  Delivery notice document ID

DTM+171:Test DateOrTimeOrPeriod:102'
- 171 =  Reference date identifier 
- Test DateOrTimeOrPeriod =  Reference date 
- 102 =  Date format code 

RFF+AAN:Test DeliveryScheduleNumber'
- AAN =  Shipment notification file identifier 
- Test DeliveryScheduleNumber =  Delivery notice document ID

DTM+171:Test DateOrTimeOrPeriod:102'
- 171 =  Reference date identifier 
- Test DateOrTimeOrPeriod =  Reference date 
- 102 =  Date format code 

RFF+ADE:Test AccountNumber'
- ADE =  Account identifier 
- Test AccountNumber =  account number 

DTM+171:Test DateOrTimeOrPeriod:102'
- 171 =  Reference date identifier 
- Test DateOrTimeOrPeriod =  Reference date 
- 102 =  Date format code 

RFF+AIV:Test EventReferenceNumber'
- AIV =  Event reference identifier 
- Test EventReferenceNumber =  Event reference number 

DTM+171:Test DateOrTimeOrPeriod:102'
- 171 =  Reference date identifier 
- Test DateOrTimeOrPeriod =  Reference date 
- 102 =  Date format code 

RFF+CR:Test CustomerReferenceNumber'
- CR =  Customer reference number identifier 
- Test EventReferenceNumber =  Customer reference number 

RFF+ON:Test PurchaseOrderNumber'
- ON =  Customer reference number order document identifier , The buyer assigns 
- Test EventReferenceNumber =  Event reference number 

DTM+171:Test DateOrTimeOrPeriod:102'
- 171 =  Reference date identifier 
- Test DateOrTimeOrPeriod =  Reference date 
- 102 =  Date format code 

TAX+7+VAT+++:::Test RateOfDutyOrTaxOrFee+S'
- 7 =  Tax identifier 
- VAT =  Sales tax identifier 
- Test RateOfDutyOrTaxOrFee =  tax rate 
- S =  Standard tax rate 

LOC+11+Test LocationID:::Test LocationName'
- 11 =  Unloading place identifier 
- Test LocationID =  unloading place ID
- Test LocationName =  unloading place 

LOC+7+Test LocationID:::Test LocationName'
- 7 =  Delivery place identifier 
- Test LocationID =  Place of delivery ID
- Test LocationName =  Place of delivery 

LOC+18+Test LocationID:::Test LocationName'
- 18 =  Warehouse identifier 
- Test LocationID =  Warehouse ID
- Test LocationName =  Warehouse location 

NAD+SF+Test PartyId:Test CodeListQualifier:92+Test Line+Test PartyName:Test PartyName2:Test PartyName3:Test PartyName4:Test PartyName5+Test StreatAndNumberOrPostOfficeBox:Test StreatAndNumberOrPostOfficeBox2+Test CityName+Test NameCode+Test PostCodeIdentification+Test CountryCode'
- SF =  Shipper identifier 
- Test PartyId =  Shipper organization number 
- Test PartyName =  Name of shipper 
- Test PartyName4 =  Name of shipper 
- Test PartyName5 =  Name of shipper 
- Test PartyNameFormatCode+Test StreetAndNumberOrPostOfficeBox =  Shipper name code street number or mailbox number 
- Test CityName =  Shipper city name 
- Test NameCode =  Name of shipper 
- Test PostCodeIdentification =  Postal code of shipper 
- Test CountryCode =  Shipper country code 

RFF+VA:Ship-from's Number'
- VA =  VAT registration number identifier 
- Ship-from's Number =  Shipper's VAT number 

ALC+A++++Test SpecialServiceCode::6'
- A =  Allowance code 
- Test SpecialServiceCode =  Allowance information 
- 6 = UN/ECE United Nations Council of European managers 

FTX+ALC+++Test Text:Test Text2:Test Text3:Test Text4:Test Text5+Test LanguageCode'
- ALC =  Allowance code 
- Test Text =  Allowance information 
- Test LanguageCode =  The language code 

PCD+3:123456'
- 3 =  Currency amount adjustment percentage identifier 
- 123456 =  percentage 

MOA+8:123456:Test CurrencyCode'
- 8 =  Allowance amount identifier 
- 123456 =  Amount of allowance 
- Test CurrencyCode =  Currency code 

TOD+++FOB::4'
- FOB =  Free on board the ship at the port of shipment 
- 4 = ICC  ICC 

LOC+1+Test LocationID::3:Test LocationName'
- 1 =  Delivery term location identifier 
- Test LocationID =  Delivery terms and place 
- 3 = IATA  International Air Transport Association 
- Test LocationName =  Name of destination 

UNT+71+1'
UNZ+1+000000006'

Workflow example

Through the above explanation, you must have understood Audi AUDI INVOIC The invoice is on the bridge of knowing and doing EDI The conversion process in the system , The following is an example of the above workflow , You can go down The bridge of knowledge and action EDI System , Import 【 Sample workflow 】 as well as 【INVOIC invoice XML The test file 】, Carry out actual operation .

Download the sample workflow Download the test file

On the bridge of knowledge and action EDI Import the above workflow and test files into the system

1. Download sample workflows and INVOIC The test file

The unzipped sample workflow is named AUDI_OUT.arcflow, The test file name is :INVOIC_testfiles.xml.

2. On the bridge of knowledge and action EDI Upload the above workflow in the system

Create workspace

First, at the bridge of knowledge and action EDI Systematic workflow Tab , Click the gear icon at the top right , Click on + Create workspace , You can customize the name of the workspace , In the example, we named it : AUDI_OUT.

edi

Import workflow

Next you need to click Import workspace choice AUDI_OUT.arcflow , Import . Or you can just AUDI_OUT.arcflow Drag the workflow to the central blank area .

The results after importing the workflow are shown in the following figure :

edi

Upload test files : stay AUDI_INVOIC_OUT Port of Input Under tabs , Click on more , Upload test files :INVOIC_testfiles.xml .

Download the converted test file : stay AUDI_EDIFACT_OUT Port of Output Under tabs , Click on INVOIC_testfiles.edi , Download the file , See the effect after conversion .

Port interpretation

The following ports are the core elements of the above workflow :

XML Map port : Transform data from a XML Format to another XML Format , Provide convenient back-end compatibility . EDIFACT port : Support EDIFACT File with the XML Conversion of files to each other . These ports are configured for Automation , Will move files from one port to the next , Until it turns into what we need EDIFACT Format .

XML MAP port : Named above AUDI_INVOIC_OUT The port of

XML Map Port provides a visual designer driven way to XML Data is transformed from one structure to another .

XML Map The port is converted XML Structure provides a flexible and intuitive interface . First , The source template file should be ( Contains all input documents XML Structure of the file ) And target template files ( Contains the output of the port XML Structure of the file ) Upload to port . In the above example, we have set the source template and the target template file in advance .

After uploading the source and target template files , The mapping designer populates the source and target XML structure . then , You can drag and drop elements from the source onto elements in the target , To establish a mapping relationship .

EDIFACT port : Named above AUDI_EDIFACT_OUT The port of

EDIFACT Ports can be used to XML Document conversion to EDIFACT file , Can also be EDIFACT Document conversion to XML. In this example , Need to put XML Map Target after processing XML The file is converted to EDIFACT Format . Generate EDIFACT When the document ,EDIFACT The port will XML Convert to EDIFACT The format of the document , And generate the appropriate EDIFACT head , That is, what appears in the above message explanation UNB Field . This field contains the sender ID And the recipient ID Information , You can go to EDIFACT Port settings tab , Set the above information according to the actual situation between you and the document receiver .

more EDI Information , see also : EDI What is it? ?

Read the original

原网站

版权声明
本文为[Knowledge and practice EDI]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/185/202207041714378924.html