Schema Central > UBL 2.1 > UBL-Invoice-2.1.xsd > Invoice
Advanced search
Need XML Help?

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications

 

Invoice

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

Element information

Type: InvoiceType

Properties: Global, Qualified

Content

Attributes

None

Sample instance

<Invoice>
   <cbc:ID>123</cbc:ID>
   <cbc:IssueDate>2011-09-22</cbc:IssueDate>
   <cac:InvoicePeriod>
      <cbc:StartDate>2011-08-01</cbc:StartDate>
      <cbc:EndDate>2011-08-31</cbc:EndDate>
   </cac:InvoicePeriod>
   <cac:AccountingSupplierParty>
      <cac:Party>
         <cac:PartyName>
            <cbc:Name>Custom Cotter Pins</cbc:Name>
         </cac:PartyName>
      </cac:Party>
   </cac:AccountingSupplierParty>
   <cac:AccountingCustomerParty>
      <cac:Party>
         <cac:PartyName>
            <cbc:Name>North American Veeblefetzer</cbc:Name>
         </cac:PartyName>
      </cac:Party>
   </cac:AccountingCustomerParty>
   <cac:LegalMonetaryTotal>
      <cbc:PayableAmount currencyID="CAD">100.00</cbc:PayableAmount>
   </cac:LegalMonetaryTotal>
   <cac:InvoiceLine>
      <cbc:ID>1</cbc:ID>
      <cbc:LineExtensionAmount currencyID="CAD">100.00</cbc:LineExtensionAmount>
      <cac:Item>
         <cbc:Description>Cotter pin, MIL-SPEC</cbc:Description>
      </cac:Item>
   </cac:InvoiceLine>
</Invoice>

Site developed and hosted by Datypic, Inc.

Please report errors or comments about this site to pwalmsley@datypic.com