StockAvailabilityReport
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:StockAvailabilityReport-2
Schema document: maindoc/UBL-StockAvailabilityReport-2.1.xsd
Type: StockAvailabilityReportType
Properties: Global, Qualified
Content
- Sequence [1..1]
- ext:UBLExtensions [0..1] A container for all extensions present in the document.
- 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.
- cbc:CustomizationID [0..1] Identifies a user-defined customization of UBL for a specific use.
- cbc:ProfileID [0..1] Identifies a user-defined profile of the customization of UBL being used.
- cbc:ProfileExecutionID [0..1] Identifies an instance of executing a profile, to associate all transactions in a collaboration.
- cbc:ID [1..1] An identifier for this document, assigned by the sender.
- cbc:CopyIndicator [0..1] Indicates whether this document is a copy (true) or not (false).
- cbc:UUID [0..1] A universally unique identifier for an instance of this document.
- cbc:IssueDate [1..1] The date, assigned by the sender, on which this document was issued.
- cbc:IssueTime [0..1] The time, assigned by the sender, at which this document was issued.
- cbc:Note [0..*] Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures.
- cbc:DocumentCurrencyCode [0..1] A code signifying the default currency for this document.
- cac:InventoryPeriod [0..1] The inventory period covered by the Report.
- cac:DocumentReference [0..*] A reference to another document associated with this document.
- cac:Signature [0..*] A signature applied to this document.
- cac:SellerSupplierParty [1..1] The seller.
- cac:RetailerCustomerParty [0..1] The retailer.
- cac:InventoryReportingParty [1..1] The party that will receive and use the Stock Availability Report (normally the branch for which the stock is reported).
- cac:StockAvailabilityReportLine [1..*] A line representing a particular item of sale and associated with a line in the Catalogue.
Attributes
None
Sample instance
<StockAvailabilityReport> <cbc:UBLVersionID>2.1</cbc:UBLVersionID> <cbc:ID>SA2009</cbc:ID> <cbc:CopyIndicator>false</cbc:CopyIndicator> <cbc:IssueDate>2010-04-11</cbc:IssueDate> <cbc:Note>Report about quantities of each item which are (or will be) available</cbc:Note> <cac:InventoryPeriod> <cbc:StartDate>2010-04-11</cbc:StartDate> <cbc:StartTime>08:00:00</cbc:StartTime> <cbc:EndDate>2011-04-11</cbc:EndDate> </cac:InventoryPeriod> <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: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>Beta Shop</cbc:Name> </cac:PartyName> <cac:PostalAddress> <cbc:Floor>2</cbc:Floor> <cbc:Room>309</cbc:Room> <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 Gamma</cbc:Name> <cbc:Telephone>0039 059 33000022</cbc:Telephone> <cbc:Telefax>0039 059 33000057</cbc:Telefax> <cbc:ElectronicMail>gamma@betashop.it</cbc:ElectronicMail> </cac:Contact> </cac:InventoryReportingParty> <cac:StockAvailabilityReportLine> <cbc:ID>1</cbc:ID> <cbc:Quantity unitCode="NAR">50</cbc:Quantity> <cbc:AvailabilityDate>2010-04-20</cbc:AvailabilityDate> <cbc:AvailabilityStatusCode listID="7011" listAgencyName="UN/ECE" listURI="http://www.unece.org/trade/untdid/d09b/tred/tred7011.htm">1</cbc:AvailabilityStatusCode> <cac:Item> <cbc:Description>T-shirt</cbc:Description> <cac:BuyersItemIdentification> <cbc:ID>TT319</cbc:ID> </cac:BuyersItemIdentification> <cac:SellersItemIdentification> <cbc:ID>ZZ738</cbc:ID> </cac:SellersItemIdentification> </cac:Item> </cac:StockAvailabilityReportLine> <cac:StockAvailabilityReportLine> <cbc:ID>2</cbc:ID> <cbc:Quantity unitCode="NAR">80</cbc:Quantity> <cbc:AvailabilityDate>2010-04-11</cbc:AvailabilityDate> <cbc:AvailabilityStatusCode listID="7011" listAgencyName="UN/ECE" listURI="http://www.unece.org/trade/untdid/d09b/tred/tred7011.htm">2</cbc:AvailabilityStatusCode> <cac:Item> <cbc:Description>jersey</cbc:Description> <cac:BuyersItemIdentification> <cbc:ID>TJ043</cbc:ID> </cac:BuyersItemIdentification> <cac:SellersItemIdentification> <cbc:ID>K0058</cbc:ID> </cac:SellersItemIdentification> </cac:Item> </cac:StockAvailabilityReportLine> <cac:StockAvailabilityReportLine> <cbc:ID>3</cbc:ID> <cbc:Quantity unitCode="NAR">0</cbc:Quantity> <cbc:AvailabilityStatusCode listID="7011" listAgencyName="UN/ECE" listURI="http://www.unece.org/trade/untdid/d09b/tred/tred7011.htm">8</cbc:AvailabilityStatusCode> <cac:Item> <cbc:Description>skirt</cbc:Description> <cac:BuyersItemIdentification> <cbc:ID>TS893</cbc:ID> </cac:BuyersItemIdentification> <cac:SellersItemIdentification> <cbc:ID>PK009</cbc:ID> </cac:SellersItemIdentification> </cac:Item> </cac:StockAvailabilityReportLine> </StockAvailabilityReport>