<!-- This file is part of the X12Parser library that provides tools to manipulate X12 messages using Ruby native syntax. http://x12parser.rubyforge.org Copyright (C) 2009 APP Design, Inc. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA $Id: SER.xml 78 2009-05-12 22:27:26Z ikk $ --> <Segment name="SER" comment="To specify the details of the service charges levied"> <Field name="ProductServiceIdQualifier" min="2" max="2" validation="T235" comment="Code identifying the type/source of the descriptive number used in Product/Service ID (234)"/> <Field name="ProductServiceId" min="1" max="48" comment="Identifying number for a product or service"/> <Field name="MonetaryAmount1" type="double" required="y" min="1" max="18" comment="Monetary amount"/> <Field name="MonetaryAmount2" type="double" required="y" min="1" max="18" comment="Monetary amount"/> <Field name="UnitPrice" type="double" required="y" min="1" max="17" comment="Price per unit of product, service, commodity, etc."/> <Field name="Quantity" type="double" required="y" min="1" max="15" comment="Numeric value of quantity"/> <Field name="Description" required="y" min="1" max="80" comment="A free-form description to clarify the related data elements and their content"/> <Field name="PriceIdentifierCode" required="y" min="3" max="3" validation="T236" comment="Code identifying pricing specification"/> <Field name="PaymentMethodCode" required="y" min="1" max="2" validation="T107" comment="Code identifying type of payment procedures"/> <Field name="ReferenceIdentificationQualifier" required="y" min="2" max="3" validation="T128" comment="Code qualifying the Reference Identification"/> <Field name="ReferenceIdentification" required="y" min="1" max="50" comment="Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier"/> </Segment>