XML Einrichten Version 1.2
InvoiceMessage Element
XML Einrichten Version 1.2 : InvoiceMessage Element
Description
Mesage: Invoice (INVOIC)
Namespace (none)
Diagram
INVOICE Element Sequence InvoiceMessage Element
Overview
InvoiceMessage
Mesage: Invoice (INVOIC)
Sequence
INVOICE 1..∞
Sequence
HEAD Extension of DocumentHead Complex Type
Head of the invoice (INVOIC)
Sequence
Sequence
VersionName Restriction of xs:string
format name
VersionNo Restriction of xs:string
format Version number
WorkflowType optional Restriction of xs:string
Remarks to the process based on the order message
Code list:
"" = Standard order
P = Planning order
K = Kitchen order
E = Order with GTIN (EAN)in each position
T = Order with text and without unigue article identifier
XCR = Variant order from XcalibuR
XCRK= Copy of a variant order from XcalibuR - only for transport to IWOfurn Platform
WorkflowDestination optional WorkflowDestination Simple Type
Remarks to the process based on the delivery process
Code list:
L = Lager
CD = Cross docking
D = Dropshipping
WorkflowAdditonalDocs optional Restriction of xs:string
FormatCode optional EDIDateFormatCode Simple Type
TechnicalReceiver optional TechnicalReceiver Simple Type
technical, physical recipient of the message
TechnicalSender optional TechnicalReceiver Simple Type
technical, physical sender of the message
Qualifier optional EDIDateQualifier Simple Type
FormatCode optional EDIDateFormatCode Simple Type
TechnicalReceiverCopy optional TechnicalReceiver Simple Type
Physical receiver for a copy from this message
FormatCode optional EDIDateFormatCode Simple Type
FormatCode optional EDIDateFormatCode Simple Type
FormatCode optional EDIDateFormatCode Simple Type
Sequence
HeadText 1..999 Textinformation Complex Type
One line of text information according to the head information
Type required Restriction of xs:string
Freitext
Codeliste für Rechnungen
SUR = Text zur Entgeltminderung
REG = Text zur innergeimeischaftlichen Lieferung
AAB = Zahlungsbedingungen
AAI = Allgemeine Geschäftsbedingungen
AAR = Lieferbedingungen
-----------------------
Codeliste allgemein
TDT = Transportbemerkungen
ZZZ = Beidseitig vereinbart
Free text
Code list for invoice
SUR = Text about payment reduction
REG = Text about Intra-European delivery
AAB = Payment conditions
AAI = Terms of Service
AAR = Delivery conditions
-----------------------
Code list common
TDT = Remarks about delivery
ZZZ = bilateral agreed
Sequence
FlagOfParty Restriction of xs:string
Adress Typ
Code list:
SU = Suppler address
BY = Buyers address
DP = Delivery address
UC = Delivery address end-consumer
IV = Invoice Recipient
UD = invoice recipient end-consumer
PL = Faktorer
MA = Assembly address
MF = Manufacturer- used for OTTO only
----- Transport -----
PO = Client of the transport orders
PW = Pick-Up address, delivery point
PF = Recipient of the freight invoice
FW = Selected carrier
AdressGLN optional
GLN Code of the address
Name1 optional Restriction of xs:string
in case of Companies: Companyname
in case of Endusers: Firstname surname
Name2 optional Restriction of xs:string
in case of Companies: Continuation of the Companyname
in case of Endusers: empty
Name3 optional Restriction of xs:string
in case of Companies: Empty
in case of Endusers: First name
Name4 optional Restriction of xs:string
in case of Companies: Empty
in case of Endusers: Surname
Street1 optional Restriction of xs:string
Street
StreetAddition 0..3 Restriction of xs:string
Additional information to the Street
PostalCode optional Restriction of xs:string
Zip Code
City optional Restriction of xs:string
City
ISOCountryCode optional Restriction of xs:string
ISO Country Code
Sequence
ContactSurName optional Restriction of xs:string
Surname of the contact
ContactFirstName optional Restriction of xs:string
First name of the contact
ContactCode optional Restriction of xs:string
Ident of the contact
ContactCommunication 0..9 ContactCommunication Complex Type
Group for the communication data
Sequence
CommunicationCode Restriction of xs:string
CommunicationAdress Restriction of xs:string
Communication address related to the previous defined communication type
FormatCode optional EDIDateFormatCode Simple Type
ContractNumber optional Restriction of xs:string
Contract number
Sequence
AccountNumber optional Restriction of xs:string
Account Number
AccountHolder1 optional Restriction of xs:string
Account holder Line 1
AccountHolder2 optional Restriction of xs:string
Account holder Line 2
InstitutionBranch optional Restriction of xs:string
Branch of the bank
InstitutionName optional Restriction of xs:string
Name of the bank
InstitutionBranchLocation optional Restriction of xs:string
City of the bank branch
Country optional Restriction of xs:string
City of the bank
BICNumber optional Restriction of xs:string
BIC Code
IBANNumber optional Restriction of xs:string
IBAN
FurtherReferences optional Restriction of xs:string
e.g. depot number
LINE 1..∞
Posiitions of the invoice (INVOIC)
Sequence
Sequence
GTIN optional Restriction of xs:decimal
= EAN Code
Number optional Restriction of xs:string
Internal number defined by the manufacturer
Name optional Restriction of xs:string
Name
CustomerNumber optional Restriction of xs:string
Number at customers site
CustomerName optional Restriction of xs:string
Name at customers site
Sequence
GTIN optional Restriction of xs:decimal
= EAN Code
Number optional Restriction of xs:string
Internal number defined by the manufacturer
Name optional Restriction of xs:string
Name
CustomerNumber optional Restriction of xs:string
Number at customers site
CustomerName optional Restriction of xs:string
Name at customers site
Type optional Restriction of xs:string
Type if measurement
Code list (for articles and packaging):
AAE = Weight or Volumen
PD = Dimension
Use the following codes for special article measurements:
ABK = Outside dimension
ABL = Inside dimension
Y2E = Maximum dimension
Y3E = Minimum dimensionMinimalmaß z.B. Klappstuhl eingeklappt
Y4E = Lying dimension
Y5E = Sitting dimension
Dimension optional Restriction of xs:string
Gemessene Dimension
Verwenden Sie folgende Codes für Artikel und Packstücke:
DP = Tiefe
HT = Höhe
LN = Länge
WD = Breite
DI = Durchmesser
AAA = Netto Gewicht Ware inkl. Endkundenverpackung
AAB = Brutto Gewicht Ware inkl. Transportverpackung
AAF = Netto Gewicht Ware ohne jede Verpackung
ABJ = Volumen
Mesaured dimension
use this codes for articles and packaging:
DP = Depth
HT = Height
LN = Length
WD = Width
DI = Diameter
AAA = Net weight goods incl. end-consumer packaging
AAB = Gross weight goods incl. packaging for transporz
AAF = Net weight goods without any packaging
ABJ = Volume
Unit optional Unit Simple Type
Unit optional Unit Simple Type
Sequence
Value xs:decimal
PriceQuantity Quantity Complex Type
Quantity related to the price information
Unit optional Unit Simple Type
Sequence
Value xs:decimal
PriceQuantity Quantity Complex Type
Quantity related to the price information
Unit optional Unit Simple Type
Sequence
Sequence
Sequence
Sequence
Sequence
VatBase optional CurrencyValue Complex Type
Vat base amount for a dedicated tax rate
Calculation: Sum of all Net Line Amounts - DiscountsConditionsTotal
Sequence
Sequence
Sequence
Unit optional Unit Simple Type
Qualifier optional EDIDateQualifier Simple Type
FormatCode optional EDIDateFormatCode Simple Type
Sequence
LineText 1..999 Textinformation Complex Type
One line of text information according to the line information
Type required Restriction of xs:string
Freitext
Codeliste für Rechnungen
SUR = Text zur Entgeltminderung
REG = Text zur innergeimeischaftlichen Lieferung
AAB = Zahlungsbedingungen
AAI = Allgemeine Geschäftsbedingungen
AAR = Lieferbedingungen
-----------------------
Codeliste allgemein
TDT = Transportbemerkungen
ZZZ = Beidseitig vereinbart
Free text
Code list for invoice
SUR = Text about payment reduction
REG = Text about Intra-European delivery
AAB = Payment conditions
AAI = Terms of Service
AAR = Delivery conditions
-----------------------
Code list common
TDT = Remarks about delivery
ZZZ = bilateral agreed
Sequence
ConditionIndicator optional Restriction of xs:string
Condition Indicator
A = Allowence
C = Charge
ConditionLevel Restriction of xs:string
Condition level
TypeOfCondition Restriction of xs:string
Type of condition
DscOfConditionType optional Restriction of xs:string
Description of the condition
PercentageRateOfCondition optional Restriction of xs:decimal
Percentage value of the condition
AmountOfCondition optional Restriction of xs:decimal
Amount value of the condition
Sequence
FeatureLineNumber Restriction of xs:int
Sequential number of the feature within a line
ParentFeatureLineNumber optional Restriction of xs:decimal
reference to a superior feature
FeatureID ProductIdentifier Complex Type
identification elements for a feature
Sequence
GTIN optional Restriction of xs:decimal
= EAN Code
Number optional Restriction of xs:string
Internal number defined by the manufacturer
Name optional Restriction of xs:string
Name
CustomerNumber optional Restriction of xs:string
Number at customers site
CustomerName optional Restriction of xs:string
Name at customers site
Option Option Complex Type
Description of the option according to the feature
Sequence
Sequence
GTIN optional Restriction of xs:decimal
= EAN Code
Number optional Restriction of xs:string
Internal number defined by the manufacturer
Name optional Restriction of xs:string
Name
CustomerNumber optional Restriction of xs:string
Number at customers site
CustomerName optional Restriction of xs:string
Name at customers site
TextValue optional
Unit optional Unit Simple Type
Sequence
SendingDate optional EDIDate Complex Type
Sending date of this message
FormatCode optional EDIDateFormatCode Simple Type
Sequence
Sequence
Sequence
VatBase optional CurrencyValue Complex Type
Vat base amount for a dedicated tax rate
Calculation: Sum of all Net Line Amounts - DiscountsConditionsTotal
Sequence
Sequence
Sequence
Sequence
ConditionIndicator optional Restriction of xs:string
Condition Indicator
A = Allowence
C = Charge
ConditionLevel Restriction of xs:decimal
TypeOfCondition Restriction of xs:string
Type of conditiont
DI = Rebate
FC = Freight Cost
IN = Insurance
PC = Handling costs
DscOfConditionType optional Restriction of xs:string
Description of the condition
PercentageRateOfCondition optional Restriction of xs:decimal
Percentage value of the condition
AmountOfCondition optional Restriction of xs:decimal
Amount value of the condition
Source
<xs:element name="InvoiceMessage" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation xml:lang="de">
      <b>Nachricht: Rechnung (INVOIC) </b>
    </xs:documentation>
    <xs:documentation xml:lang="en">
      <b>Mesage: Invoice (INVOIC) </b>
    </xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="INVOICE" minOccurs="1" maxOccurs="unbounded">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="HEAD" minOccurs="1" maxOccurs="1">
              <xs:annotation>
                <xs:documentation xml:lang="de">Kopfteil der Rechnung (INVOIC)  </xs:documentation>
                <xs:documentation xml:lang="en">Head of the invoice (INVOIC) </xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:complexContent>
                  <xs:extension base="DocumentHead">
                    <xs:sequence>
                      <xs:element name="OrderNumberRef" type="OrderNumber" minOccurs="1" />
                      <xs:element name="OrderType" type="OrderType" minOccurs="0" />
                      <xs:element name="Commission" type="Commission" minOccurs="0" />
                      <xs:element name="DespatchAdviceNumberRef" type="DespatchAdviceNumber" minOccurs="0" />
                      <xs:element name="OrderResponseRef" type="OrderResponseNumber" minOccurs="0" />
                      <xs:element name="PrevInvoiceRef" type="PrevInvoice" minOccurs="0" />
                      <xs:element name="ActuallyDeliveryDate" type="ActualDeliveryDate" minOccurs="0" />
                      <xs:element name="ValueDate" type="ValueDate" minOccurs="0" />
                      <xs:element name="DueDate" type="DueDate" minOccurs="0" />
                      <xs:element name="CashDiscount" type="CashDiscount" minOccurs="0" maxOccurs="5" />
                      <xs:element name="BarcodeNumber" type="BarcodeNumber" minOccurs="0" />
                      <xs:element name="HTXT" type="HTXT" minOccurs="0" maxOccurs="1" />
                      <xs:element name="NAD" type="NAD" minOccurs="1" maxOccurs="99999" />
                    </xs:sequence>
                  </xs:extension>
                </xs:complexContent>
              </xs:complexType>
            </xs:element>
            <xs:element name="LINE" minOccurs="1" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation xml:lang="de">Positionen der Rechnung (INVOIC) </xs:documentation>
                <xs:documentation xml:lang="en">Posiitions of the invoice (INVOIC)  </xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="LineItemNumber" type="LineItemNumber" minOccurs="1" />
                  <xs:element name="ParentLineItemNumber" type="LineItemNumber" minOccurs="0" />
                  <xs:element name="SeriesID" type="ProductIdentifier" minOccurs="0" />
                  <xs:element name="ProductID" type="ProductIdentifier" minOccurs="0" />
                  <xs:element name="BatchNumber" type="BatchNumber" minOccurs="0" />
                  <xs:element name="TypeOfProduct" type="TypeOfProduct" minOccurs="0" />
                  <xs:element name="GoodsCountry" type="GoodsCountry" minOccurs="0" />
                  <xs:element name="ClassOfGoods" type="ClassOfGoods" minOccurs="0" />
                  <xs:element name="Commission" type="Commission" minOccurs="0" />
                  <xs:element name="OrderLineRef" type="DocumentLineReference" minOccurs="0" />
                  <xs:element name="DespatchAdviceLineRef" type="DocumentLineReference" minOccurs="0" />
                  <xs:element name="OrderResponseLineRef" type="DocumentLineReference" minOccurs="0" />
                  <xs:element name="TypeOfPackaging" type="TypeOfPackaging" minOccurs="0" />
                  <xs:element name="NumberOfPackages" type="NumberOfPackages" minOccurs="0" />
                  <xs:element name="MEA" type="MEA" minOccurs="0" maxOccurs="20" />
                  <xs:element name="InvoiceQuantity" type="Quantity" />
                  <xs:element name="GrossUnitPrice" type="GrossUnitPrice" minOccurs="0" />
                  <xs:element name="NetUnitPrice" type="NetUnitPrice" minOccurs="0" />
                  <xs:element name="GrossLineAmount" type="GrossLineAmount" minOccurs="0" />
                  <xs:element name="DiscountsConditionsTotal" type="DiscountsConditionsTotal" minOccurs="0" />
                  <xs:element name="NetLineAmount" type="NetLineAmount" minOccurs="0" maxOccurs="1" />
                  <xs:element name="LineVat" type="Vat" minOccurs="0" />
                  <xs:element name="AdditionalLineReferences" type="AdditionalLineReferences" minOccurs="0" maxOccurs="1" />
                  <xs:element name="LTXT" type="LTXT" minOccurs="0" maxOccurs="300" />
                  <xs:element name="CNDL" type="CNDL" minOccurs="0" maxOccurs="unbounded" />
                  <xs:element name="OPT" type="OPT" minOccurs="0" maxOccurs="unbounded" />
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:element name="FOOT" minOccurs="1" maxOccurs="1">
              <xs:complexType>
                <xs:complexContent>
                  <xs:extension base="DocumentFoot">
                    <xs:annotation>
                      <xs:documentation xml:lang="de">Abschluss der Rechnung (INVOIC)</xs:documentation>
                      <xs:documentation xml:lang="en">Footer of the invoice (INVOIC) </xs:documentation>
                    </xs:annotation>
                    <xs:sequence>
                      <xs:element name="InvoiceAmount" type="InvoiceAmount" minOccurs="1" maxOccurs="1" />
                      <xs:element name="VatTotal" type="VatTotal" minOccurs="0" maxOccurs="5" />
                      <xs:element name="AdditionalAmounts" type="TotalAmountQualified" minOccurs="0" maxOccurs="unbounded" />
                      <xs:element name="CNDF" type="CNDF" minOccurs="0" maxOccurs="unbounded" />
                    </xs:sequence>
                  </xs:extension>
                </xs:complexContent>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>
See Also
XML Einrichten Version 1.2