<xs:complexType name="InvoiceHeader">
<xs:annotation>
<xs:documentation>The InvoiceHeader type supports summary amounts for line items, charges and allowances.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="OrderHeader">
<xs:sequence>
<xs:element name="Type" type="InvoiceType" minOccurs="0">
<xs:annotation>
<xs:documentation source="http://www.openapplications.org/oagis">Represents the type of invoice.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Reason" type="Reason" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation source="http://www.openapplications.org/oagis">A free form description of the reason for this invoice.
<p />
Example: Special allowance for preferred customers.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PaymentMethod" type="PaymentMethod" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation source="http://www.openapplications.org/oagis">The method of payment.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TotalAllowance" type="Amount" minOccurs="0">
<xs:annotation>
<xs:documentation source="http://www.openapplications.org/oagis">Represents the grand total of all allowances both from line items and header itemizations.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TotalCharges" type="Amount" minOccurs="0">
<xs:annotation>
<xs:documentation source="http://www.openapplications.org/oagis">Represents the grand total of all charges, both from line items and header itemizations.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TotalTax" type="Amount" minOccurs="0">
<xs:annotation>
<xs:documentation source="http://www.openapplications.org/oagis">The grand total of all taxes, both from the line items and header itemizations.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="Allowance" minOccurs="0" maxOccurs="unbounded" />
<xs:element ref="Tax" minOccurs="0" maxOccurs="unbounded" />
<xs:element ref="UserArea" minOccurs="0" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
|