Schema Central  >  UBL 2.3  >  UBL-InventoryReport-2.3.xsd  >  InventoryReport
Advanced search
Need XML Help?

Recommended Reading:

Definitive XML Schema

 

Advanced XML Applications

 

InventoryReport

This element MUST be conveyed as the root element in any instance document based on this Schema expression

Element information

Namespace: urn:oasis:names:specification:ubl:schema:xsd:InventoryReport-2

Schema document: maindoc/UBL-InventoryReport-2.3.xsd

Type: InventoryReportType

Properties: Global, Qualified

Content

  • Sequence [1..1]
    1. ext:UBLExtensions [0..1]A container for extensions foreign to the document.
    2. cbc:UBLVersionID [0..1]Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance.
    3. cbc:CustomizationID [0..1]Identifies a user-defined customization of UBL for a specific use.
    4. cbc:ProfileID [0..1]Identifies a user-defined profile of the customization of UBL being used.
    5. cbc:ProfileExecutionID [0..1]Identifies an instance of executing a profile, to associate all transactions in a collaboration.
    6. cbc:ID [1..1]An identifier for the Inventory Report, assigned by the Issuer.
    7. cbc:CopyIndicator [0..1]Indicates whether this document is a copy (true) or not (false).
    8. cbc:UUID [0..1]A universally unique identifier for an instance of this document.
    9. cbc:IssueDate [1..1]The date, assigned by the sender, on which this document was issued.
    10. cbc:IssueTime [0..1]The time at which the Inventory Report was issued.
    11. cbc:Note [0..*]Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures.
    12. cbc:DocumentCurrencyCode [0..1]A code signifying the currency in which the Document is presented. This may be the same currency as the pricing or as the tax.
    13. cac:InventoryPeriod [0..1]The period covered by this report.
    14. cac:DocumentReference [0..*]A reference to another document associated with this document.
    15. cac:Signature [0..*]A signature applied to this document.
    16. cac:RetailerCustomerParty [1..1]The retailer, who sends this message.
    17. cac:InventoryReportingParty [1..1]An association to the Party that will really use the Inventory report (normally the branch for which the stock is reported).
    18. cac:SellerSupplierParty [0..1]The seller.
    19. cac:InventoryReportLine [1..*]A line representing a particular item of sale and associated with a line in the Catalogue.

Attributes

None

Sample instance

<InventoryReport>
   <cbc:UBLVersionID>2.1</cbc:UBLVersionID>
   <cbc:ID>CC2679</cbc:ID>
   <cbc:CopyIndicator>false</cbc:CopyIndicator>
   <cbc:IssueDate>2010-04-12</cbc:IssueDate>
   <cbc:Note>Report about the quantities on stock.</cbc:Note>
   <cbc:DocumentCurrencyCode listID="ISO 4217 Alpha">EUR</cbc:DocumentCurrencyCode>
   <cac:InventoryPeriod>
      <cbc:StartDate>2010-04-11</cbc:StartDate>
      <cbc:StartTime>14:00:00</cbc:StartTime>
      <cbc:EndDate>2010-04-11</cbc:EndDate>
   </cac:InventoryPeriod>
   <cac:RetailerCustomerParty>
      <cac:Party>
         <cac:PartyName>
            <cbc:Name>Beta Shop</cbc:Name>
         </cac:PartyName>
         <cac:PostalAddress>
            <cbc:StreetName>Via Emilia</cbc:StreetName>
            <cbc:BuildingNumber>1</cbc:BuildingNumber>
            <cbc:CityName>Modena</cbc:CityName>
            <cbc:PostalZone>41121</cbc:PostalZone>
            <cac:Country>
               <cbc:IdentificationCode>IT</cbc:IdentificationCode>
               <cbc:Name>Italy</cbc:Name>
            </cac:Country>
         </cac:PostalAddress>
         <cac:Contact>
            <cbc:Name>Mr Delta</cbc:Name>
            <cbc:Telephone>0039 059 33000000</cbc:Telephone>
            <cbc:Telefax>0039 059 33000055</cbc:Telefax>
            <cbc:ElectronicMail>delta@betashop.it</cbc:ElectronicMail>
         </cac:Contact>
      </cac:Party>
   </cac:RetailerCustomerParty>
   <cac:InventoryReportingParty>
      <cac:PartyName>
         <cbc:Name>Arancio Forniture spa</cbc:Name>
      </cac:PartyName>
      <cac:PostalAddress>
         <cbc:StreetName>Via Dell'Arcoveggio</cbc:StreetName>
         <cbc:BuildingNumber>405</cbc:BuildingNumber>
         <cbc:Department>Sales and Planning Department</cbc:Department>
         <cbc:CityName>Bologna</cbc:CityName>
         <cbc:PostalZone>40129</cbc:PostalZone>
         <cac:Country>
            <cbc:IdentificationCode>IT</cbc:IdentificationCode>
            <cbc:Name>Italy</cbc:Name>
         </cac:Country>
      </cac:PostalAddress>
      <cac:Contact>
         <cbc:Name>Mr Bianchi</cbc:Name>
         <cbc:Telephone>0039 051 23000008</cbc:Telephone>
         <cbc:Telefax>0039 051 23000025</cbc:Telefax>
         <cbc:ElectronicMail>bianchi@arancioforniture.it</cbc:ElectronicMail>
      </cac:Contact>
   </cac:InventoryReportingParty>
   <cac:SellerSupplierParty>
      <cac:Party>
         <cac:PartyName>
            <cbc:Name>Arancio Forniture spa</cbc:Name>
         </cac:PartyName>
         <cac:PostalAddress>
            <cbc:StreetName>Via Dell'Arcoveggio</cbc:StreetName>
            <cbc:BuildingNumber>403</cbc:BuildingNumber>
            <cbc:CityName>Bologna</cbc:CityName>
            <cbc:PostalZone>40129</cbc:PostalZone>
            <cac:Country>
               <cbc:IdentificationCode>IT</cbc:IdentificationCode>
               <cbc:Name>Italy</cbc:Name>
            </cac:Country>
         </cac:PostalAddress>
         <cac:Contact>
            <cbc:Name>Mr Rossi</cbc:Name>
            <cbc:Telephone>0039 051 23000000</cbc:Telephone>
            <cbc:Telefax>0039 051 23000023</cbc:Telefax>
            <cbc:ElectronicMail>rossi@arancioforniture.it</cbc:ElectronicMail>
         </cac:Contact>
      </cac:Party>
   </cac:SellerSupplierParty>
   <cac:InventoryReportLine>
      <cbc:ID>1</cbc:ID>
      <cbc:Quantity unitCode="NAR">10</cbc:Quantity>
      <cbc:InventoryValueAmount currencyID="EUR">200</cbc:InventoryValueAmount>
      <cac:Item>
         <cbc:Description>shirt</cbc:Description>
         <cac:BuyersItemIdentification>
            <cbc:ID>SH009</cbc:ID>
         </cac:BuyersItemIdentification>
         <cac:SellersItemIdentification>
            <cbc:ID>DD88</cbc:ID>
         </cac:SellersItemIdentification>
      </cac:Item>
   </cac:InventoryReportLine>
   <cac:InventoryReportLine>
      <cbc:ID>2</cbc:ID>
      <cbc:Quantity unitCode="NAR">15</cbc:Quantity>
      <cbc:InventoryValueAmount currencyID="EUR">750</cbc:InventoryValueAmount>
      <cac:Item>
         <cbc:Description>trousers</cbc:Description>
         <cac:BuyersItemIdentification>
            <cbc:ID>TH009</cbc:ID>
         </cac:BuyersItemIdentification>
         <cac:SellersItemIdentification>
            <cbc:ID>DA008</cbc:ID>
         </cac:SellersItemIdentification>
      </cac:Item>
   </cac:InventoryReportLine>
   <cac:InventoryReportLine>
      <cbc:ID>3</cbc:ID>
      <cbc:Quantity unitCode="NAR">5</cbc:Quantity>
      <cbc:InventoryValueAmount currencyID="EUR">300</cbc:InventoryValueAmount>
      <cac:Item>
         <cbc:Description>woman's dress</cbc:Description>
         <cac:BuyersItemIdentification>
            <cbc:ID>DH019</cbc:ID>
         </cac:BuyersItemIdentification>
         <cac:SellersItemIdentification>
            <cbc:ID>BA058</cbc:ID>
         </cac:SellersItemIdentification>
      </cac:Item>
   </cac:InventoryReportLine>
</InventoryReport>