<xsd:simpleType name="InvoiceLineItemNum_Type"> <xsd:restriction base="C"> <xsd:maxLength value="12" /> </xsd:restriction> </xsd:simpleType>