Note: The code limits the maximum size beyond the limit in the schema. The maximum document and image data size allowed is 300K which includes the encoding overhead.
<xs:complexTypename="PosAddAttachmentReqType"xmlns:xs="http://www.w3.org/2001/XMLSchema"><xs:sequence><xs:elementname="GatewayTxnId"type="txnIdType"><xs:annotation><xs:documentation><pxmlns="http://Hps.Exchange.PosGateway">Gateway-generated transaction identifier returned in the response of the original transaction. This indicates the transaction to be updated.</p></xs:documentation></xs:annotation></xs:element><xs:elementname="Block1"type="AttachmentDataType"maxOccurs="5"><xs:annotation><xs:documentation><pxmlns="http://Hps.Exchange.PosGateway">This list will contain one to five sets of attachment data.</p></xs:documentation></xs:annotation></xs:element></xs:sequence></xs:complexType>