Definition Type Element
Name Body
Abstract False
Documentation Body of the document containing all the required details.
XSD Schema .\Invoice_NCA_V1R1.xsd
XSD Schema Diagram
XSD Schema Code
<xs:element name="Body" >
  <xs:annotation>
    <xs:documentation>Body of the document containing all the required details.</xs:documentation>
  </xs:annotation>

  <xs:complexType>
    <xs:sequence>
      <xs:element ref="GeneralInformation"/>
      <xs:element ref="Parties"/>
      <xs:element ref="RoutingSummary"/>
      <xs:element ref="Consignment"/>
      <xs:element name="InvoiceDetails">
        <xs:annotation>
          <xs:documentation>Details of weights, price and other charges or reductions applied to calculate this invoice amount </xs:documentation>
        </xs:annotation>

        <xs:complexType>
          <xs:sequence>
            <xs:element name="InvoiceWeightInformtion">
              <xs:annotation>
                <xs:documentation>Weight Information used in Invoice for calculating the Net amount</xs:documentation>
              </xs:annotation>

              <xs:complexType>
                <xs:sequence>
                  <xs:element minOccurs="0" ref="GrossWeight"/>
                  <xs:element ref="NetWeight"/>
                  <xs:element minOccurs="0" name="TareWeight">
                    <xs:annotation>
                      <xs:documentation>Weight of the Package, e.g. - 2.0 lbs per 69 kg bag</xs:documentation>
                    </xs:annotation>

                    <xs:complexType>
                      <xs:sequence>
                        <xs:element ref="value"/>
                        <xs:element ref="weightUnitCode"/>
                      </xs:sequence>

                    </xs:complexType>

                  </xs:element>

                  <xs:element minOccurs="0" name="SampleWeights">
                    <xs:annotation>
                      <xs:documentation>Weight of Samples</xs:documentation>
                    </xs:annotation>

                    <xs:complexType>
                      <xs:sequence>
                        <xs:element ref="value"/>
                        <xs:element ref="weightUnitCode"/>
                      </xs:sequence>

                    </xs:complexType>

                  </xs:element>

                </xs:sequence>

              </xs:complexType>

            </xs:element>

            <xs:element name="InvoicePriceInformation">
              <xs:annotation>
                <xs:documentation>Information regarding the various price related information that is applied in the invoice - differential, fixed price, unit price, etc.  </xs:documentation>
              </xs:annotation>

              <xs:complexType>
                <xs:sequence>
                  <xs:element name="UnitPrice">
                    <xs:annotation>
                      <xs:documentation>Unit price for the consignment as per contract terms. Contains one of the two elements depending on the price type of the contract.</xs:documentation>
                    </xs:annotation>

                    <xs:complexType>
                      <xs:choice>
                        <xs:element name="UnitPriceFixedForDifferential">
                          <xs:annotation>
                            <xs:documentation>Details of price components used to compute unit price for Differential Priced contracts.</xs:documentation>
                          </xs:annotation>

                          <xs:complexType>
                            <xs:sequence>
                              <xs:element name="Differential">
                                <xs:annotation>
                                  <xs:documentation>Plus or Minus decimal number applied to Futures Price i nContract Equivalent UNits to determine outright price, e.g. - - 4.55 </xs:documentation>
                                </xs:annotation>

                                <xs:complexType>
                                  <xs:sequence>
                                    <xs:element ref="value">
                                      <xs:annotation>
                                        <xs:documentation>Example - -4.55</xs:documentation>
                                      </xs:annotation>

                                    </xs:element>

                                    <xs:element ref="currencyUnit"/>
                                    <xs:element ref="priceUnits"/>
                                  </xs:sequence>

                                </xs:complexType>

                              </xs:element>

                              <xs:element name="AverageFuturesPrice">
                                <xs:annotation>
                                  <xs:documentation>Weighted average of price of futures used to fix the price.</xs:documentation>
                                </xs:annotation>

                                <xs:complexType>
                                  <xs:sequence>
                                    <xs:element ref="value">
                                      <xs:annotation>
                                        <xs:documentation>Example - -4.55</xs:documentation>
                                      </xs:annotation>

                                    </xs:element>

                                    <xs:element ref="futuresCurrencyUnit"/>
                                    <xs:element ref="futuresPriceUnits"/>
                                  </xs:sequence>

                                </xs:complexType>

                              </xs:element>

                              <xs:element name="lotsFixed" type="xs:integer">
                                <xs:annotation>
                                  <xs:documentation>Number of lots fixed.</xs:documentation>
                                </xs:annotation>

                              </xs:element>

                              <xs:element name="lotsToBeFixed" type="xs:integer">
                                <xs:annotation>
                                  <xs:documentation>Lots remaining to be fixed, computed as Lots required to be fixed as per contract for the consignment LESS lots fixed. If fully fixed, this value will be 0. If non-zero, the assumedFuturesPrice element should be present.</xs:documentation>
                                </xs:annotation>

                              </xs:element>

                              <xs:element minOccurs="0" name="assumedFuturesPrice">
                                <xs:annotation>
                                  <xs:documentation>Futures Terminal price used to price the balance lots to be fixed, if applicable</xs:documentation>
                                </xs:annotation>

                                <xs:complexType>
                                  <xs:sequence>
                                    <xs:element ref="value">
                                      <xs:annotation>
                                        <xs:documentation>Example - -4.55</xs:documentation>
                                      </xs:annotation>

                                    </xs:element>

                                    <xs:element ref="futuresCurrencyUnit"/>
                                    <xs:element ref="futuresPriceUnits"/>
                                  </xs:sequence>

                                </xs:complexType>

                              </xs:element>

                              <xs:element name="netFixedPrice">
                                <xs:annotation>
                                  <xs:documentation>Net Price calculated by adding or subtracting the differential from fixed futures price, e.g. - 66.23 - 4.55 = 61.88</xs:documentation>
                                </xs:annotation>

                                <xs:complexType>
                                  <xs:sequence>
                                    <xs:element ref="value">
                                      <xs:annotation>
                                        <xs:documentation>Example - -4.55</xs:documentation>
                                      </xs:annotation>

                                    </xs:element>

                                    <xs:element ref="currencyUnit"/>
                                    <xs:element ref="priceUnits"/>
                                  </xs:sequence>

                                </xs:complexType>

                              </xs:element>

                              <xs:element minOccurs="0" name="PriceFixDetails">
                                <xs:annotation>
                                  <xs:documentation>If the contract is priced differentially then the Futures Month, Year, Exchange, etc are recorded</xs:documentation>
                                </xs:annotation>

                                <xs:complexType>
                                  <xs:sequence>
                                    <xs:element maxOccurs="unbounded" name="FuturesDeal">
                                      <xs:complexType>
                                        <xs:sequence>
                                          <xs:element name="FuturesMarket">
                                            <xs:annotation>
                                              <xs:documentation>Name of the Exchange - London,  New York </xs:documentation>
                                            </xs:annotation>

                                            <xs:complexType>
                                              <xs:choice>
                                                <xs:element name="futuresExchangeName" type="xs:string">
                                                  <xs:annotation>
                                                    <xs:documentation>Example - NYBOT (New York Board of Trade)</xs:documentation>
                                                  </xs:annotation>

                                                </xs:element>

                                                <xs:element ref="futuresExchangeCode"/>
                                              </xs:choice>

                                            </xs:complexType>

                                          </xs:element>

                                          <xs:element name="FuturesMonth">
                                            <xs:annotation>
                                              <xs:documentation>Futures Contract Month - July, Sep, etc</xs:documentation>
                                            </xs:annotation>

                                            <xs:complexType>
                                              <xs:choice>
                                                <xs:element name="futuresMonthName" type="xs:string">
                                                  <xs:annotation>
                                                    <xs:documentation>Example - Sep, Dec, etc</xs:documentation>
                                                  </xs:annotation>

                                                </xs:element>

                                                <xs:element ref="futuresMonthCode"/>
                                              </xs:choice>

                                            </xs:complexType>

                                          </xs:element>

                                          <xs:element name="futuresYear">
                                            <xs:annotation>
                                              <xs:documentation>Example - 02 for the year 2002</xs:documentation>
                                            </xs:annotation>

                                            <xs:simpleType>
                                              <xs:restriction base="xs:string">
                                                <xs:enumeration value="00"/>
                                                <xs:enumeration value="01"/>
                                                <xs:enumeration value="02"/>
                                                <xs:enumeration value="03"/>
                                                <xs:enumeration value="04"/>
                                                <xs:enumeration value="05"/>
                                                <xs:enumeration value="06"/>
                                                <xs:enumeration value="07"/>
                                                <xs:enumeration value="08"/>
                                                <xs:enumeration value="09"/>
                                                <xs:enumeration value="10"/>
                                                <xs:enumeration value="11"/>
                                                <xs:enumeration value="12"/>
                                                <xs:enumeration value="13"/>
                                                <xs:enumeration value="14"/>
                                                <xs:enumeration value="15"/>
                                                <xs:enumeration value="16"/>
                                                <xs:enumeration value="17"/>
                                                <xs:enumeration value="18"/>
                                                <xs:enumeration value="19"/>
                                                <xs:enumeration value="20"/>
                                                <xs:enumeration value="21"/>
                                                <xs:enumeration value="22"/>
                                                <xs:enumeration value="23"/>
                                                <xs:enumeration value="24"/>
                                                <xs:enumeration value="25"/>
                                                <xs:enumeration value="26"/>
                                                <xs:enumeration value="27"/>
                                                <xs:enumeration value="28"/>
                                                <xs:enumeration value="29"/>
                                                <xs:enumeration value="30"/>
                                                <xs:enumeration value="31"/>
                                                <xs:enumeration value="32"/>
                                                <xs:enumeration value="33"/>
                                                <xs:enumeration value="34"/>
                                                <xs:enumeration value="35"/>
                                                <xs:enumeration value="36"/>
                                                <xs:enumeration value="37"/>
                                                <xs:enumeration value="38"/>
                                                <xs:enumeration value="39"/>
                                                <xs:enumeration value="40"/>
                                                <xs:enumeration value="41"/>
                                                <xs:enumeration value="42"/>
                                                <xs:enumeration value="43"/>
                                                <xs:enumeration value="44"/>
                                                <xs:enumeration value="45"/>
                                                <xs:enumeration value="46"/>
                                                <xs:enumeration value="47"/>
                                                <xs:enumeration value="48"/>
                                                <xs:enumeration value="49"/>
                                                <xs:enumeration value="50"/>
                                                <xs:enumeration value="51"/>
                                                <xs:enumeration value="52"/>
                                                <xs:enumeration value="53"/>
                                                <xs:enumeration value="54"/>
                                                <xs:enumeration value="55"/>
                                                <xs:enumeration value="56"/>
                                                <xs:enumeration value="57"/>
                                                <xs:enumeration value="58"/>
                                                <xs:enumeration value="59"/>
                                                <xs:enumeration value="60"/>
                                                <xs:enumeration value="61"/>
                                                <xs:enumeration value="62"/>
                                                <xs:enumeration value="63"/>
                                                <xs:enumeration value="64"/>
                                                <xs:enumeration value="65"/>
                                                <xs:enumeration value="66"/>
                                                <xs:enumeration value="67"/>
                                                <xs:enumeration value="68"/>
                                                <xs:enumeration value="69"/>
                                                <xs:enumeration value="70"/>
                                                <xs:enumeration value="71"/>
                                                <xs:enumeration value="72"/>
                                                <xs:enumeration value="73"/>
                                                <xs:enumeration value="74"/>
                                                <xs:enumeration value="75"/>
                                                <xs:enumeration value="76"/>
                                                <xs:enumeration value="77"/>
                                                <xs:enumeration value="78"/>
                                                <xs:enumeration value="79"/>
                                                <xs:enumeration value="80"/>
                                                <xs:enumeration value="81"/>
                                                <xs:enumeration value="82"/>
                                                <xs:enumeration value="83"/>
                                                <xs:enumeration value="84"/>
                                                <xs:enumeration value="85"/>
                                                <xs:enumeration value="86"/>
                                                <xs:enumeration value="87"/>
                                                <xs:enumeration value="88"/>
                                                <xs:enumeration value="89"/>
                                                <xs:enumeration value="90"/>
                                                <xs:enumeration value="91"/>
                                                <xs:enumeration value="92"/>
                                                <xs:enumeration value="93"/>
                                                <xs:enumeration value="94"/>
                                                <xs:enumeration value="95"/>
                                                <