<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<!-- String Type -->
	<xsd:simpleType name="StringType">
		<xsd:annotation>
			<xsd:documentation>Base type for a string</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:string"/>
	</xsd:simpleType>
	<xsd:simpleType name="LocalCodeType">
		<xsd:annotation>
			<xsd:documentation>Local code, 4 numeric values</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:string">
			<xsd:pattern value="[0-9]{4}"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="ThreeAlphaIdentifierType">
		<xsd:annotation>
			<xsd:documentation>3 alpha values</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:string">
			<xsd:pattern value="[a-zA-Z]{3}"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="IdentifierTypes">
		<xsd:annotation>
			<xsd:documentation>########AAA</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:string">
			<xsd:pattern value="[0-9]{8}[a-zA-Z]{3}"/>
			<xsd:pattern value="[0-9]{11}"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="ZeroOrOneType">
		<xsd:annotation>
			<xsd:documentation>0 or 1 values</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:string">
			<xsd:pattern value="[0-1]{1}"/>
		</xsd:restriction>
	</xsd:simpleType>
	<!-- Date Type in the format of YYYY-MM-DD -->
	<xsd:simpleType name="DateType">
		<xsd:annotation>
			<xsd:documentation>Base type for a date</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:date">
			<xsd:pattern value="[1-9][0-9]{3}\-.*"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="LongIntegerType">
		<xsd:annotation>
			<xsd:documentation>Base type for a long integer. Range of values is: -9,223,372,036,854,775,808 thru 9,223,372,036,854,775,807</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:long"/>
	</xsd:simpleType>
	<xsd:simpleType name="IntegerType">
		<xsd:annotation>
			<xsd:documentation>Base type for a long integer. Range of values is: -9,223,372,036,854,775,808 thru 9,223,372,036,854,775,807</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:int"/>
	</xsd:simpleType>
	<!-- US Currency Type -->
	<xsd:simpleType name="USCurType">
		<xsd:annotation>
			<xsd:documentation>A decimal with  2 fraction digits</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:decimal">
			<xsd:fractionDigits value="2"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:complexType name="BTCHDRType">
		<xsd:sequence>
			<xsd:element name="BatchID" type="StringType"/>
			<xsd:element name="BatchType" type="StringType"/>
			<xsd:element name="AccountType" type="StringType"/>
			<xsd:element name="BatchSource" type="StringType"/>
			<xsd:element name="PostmarkDate" type="DateType"/>
			<xsd:element name="BatchDate" type="DateType"/>
			<xsd:element name="FilingPeriod" type="DateType"/>
			<xsd:element name="TotalItems" type="IntegerType"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="RTNDTLType">
		<xsd:sequence>
			<xsd:element name="IdentifierType" type="ThreeAlphaIdentifierType"/>
			<xsd:element name="Identifier" type="IdentifierTypes"/>
			<xsd:element name="Amended" type="ZeroOrOneType"/>
			<xsd:element name="FilingPeriod" type="DateType"/>
			<xsd:element name="ReceivedDate" type="DateType" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="Name" type="StringType"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="R0000Type">
		<xsd:sequence>
			<xsd:element name="TaxableSales" type="USCurType"/>
			<xsd:element name="GrossTaxDue" type="USCurType"/>
			<xsd:element name="Discount" type="USCurType"/>
			<xsd:element name="TourismCredit" type="USCurType"/>
			<xsd:element name="NetTaxDue" type="USCurType"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="R0010Type">
		<xsd:sequence>
			<xsd:element name="TaxableSales" type="USCurType"/>
			<xsd:element name="GrossTaxDue" type="USCurType"/>
			<xsd:element name="Discount" type="USCurType"/>
			<xsd:element name="TourismCredit" type="USCurType"/>
			<xsd:element name="NetTaxDue" type="USCurType"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="R0011Type">
		<xsd:sequence>
			<xsd:element name="TaxableSales" type="USCurType"/>
			<xsd:element name="GrossTaxDue" type="USCurType"/>
			<xsd:element name="Discount" type="USCurType"/>
			<xsd:element name="NetTaxDue" type="USCurType"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="R8029Type">
		<xsd:sequence>
			<xsd:element name="TaxableSales" type="USCurType"/>
			<xsd:element name="GrossTaxDue" type="USCurType"/>
			<xsd:element name="Discount" type="USCurType"/>
			<xsd:element name="NetTaxDue" type="USCurType"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="R0018Type">
		<xsd:sequence>
			<xsd:element name="TaxableSales" type="USCurType"/>
			<xsd:element name="GrossTaxDue" type="USCurType"/>
			<xsd:element name="Discount" type="USCurType"/>
			<xsd:element name="NetTaxDue" type="USCurType"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="R0012Type">
		<xsd:sequence>
			<xsd:element name="TaxableSales" type="USCurType"/>
			<xsd:element name="NetTaxDue" type="USCurType"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="R0013Type">
		<xsd:sequence>
			<xsd:element name="TaxableSales" type="USCurType"/>
			<xsd:element name="NetTaxDue" type="USCurType"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="R0014Type">
		<xsd:sequence>
			<xsd:element name="TaxableSales" type="USCurType"/>
			<xsd:element name="NetTaxDue" type="USCurType"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="R8019Type">
		<xsd:sequence>
			<xsd:element name="TaxableSales" type="USCurType"/>
			<xsd:element name="NetTaxDue" type="USCurType"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="R0019Type">
		<xsd:sequence>
			<xsd:element name="TaxableSales" type="USCurType"/>
			<xsd:element name="NetTaxDue" type="USCurType"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="R0015Type">
		<xsd:sequence>
			<xsd:element name="TaxablePurchases" type="USCurType"/>
			<xsd:element name="GrossTaxDue" type="USCurType"/>
			<xsd:element name="MICICCredit" type="USCurType"/>
			<xsd:element name="NetTaxDue" type="USCurType"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="R0016Type">
		<xsd:sequence>
			<xsd:element name="TaxablePurchases" type="USCurType"/>
			<xsd:element name="GrossTaxDue" type="USCurType"/>
			<xsd:element name="MICICCredit" type="USCurType"/>
			<xsd:element name="NetTaxDue" type="USCurType"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="R0017Type">
		<xsd:sequence>
			<xsd:element name="TaxablePurchases" type="USCurType"/>
			<xsd:element name="GrossTaxDue" type="USCurType"/>
			<xsd:element name="MICICCredit" type="USCurType"/>
			<xsd:element name="NetTaxDue" type="USCurType"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="R8030Type">
		<xsd:sequence>
			<xsd:element name="TaxablePurchases" type="USCurType"/>
			<xsd:element name="GrossTaxDue" type="USCurType"/>
			<xsd:element name="MICICCredit" type="USCurType"/>
			<xsd:element name="NetTaxDue" type="USCurType"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="R0020Type">
		<xsd:sequence>
			<xsd:element name="TaxablePurchases" type="USCurType"/>
			<xsd:element name="GrossTaxDue" type="USCurType"/>
			<xsd:element name="MICICCredit" type="USCurType"/>
			<xsd:element name="NetTaxDue" type="USCurType"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="R8001Type">
		<xsd:sequence>
			<xsd:element name="TaxableSlsNPurchs" type="USCurType"/>
			<xsd:element name="GrossTaxDue" type="USCurType"/>
			<xsd:element name="Discount" type="USCurType"/>
			<xsd:element name="TourismCredit" type="USCurType"/>
			<xsd:element name="NetTaxDue" type="USCurType"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="R8003Type">
		<xsd:sequence>
			<xsd:element name="TaxableSlsNPurchs" type="USCurType"/>
			<xsd:element name="GrossTaxDue" type="USCurType"/>
			<xsd:element name="Discount" type="USCurType"/>
			<xsd:element name="NetTaxDue" type="USCurType"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="R8012Type">
		<xsd:sequence>
			<xsd:element name="TaxableSlsNPurchs" type="USCurType"/>
			<xsd:element name="GrossTaxDue" type="USCurType"/>
			<xsd:element name="Discount" type="USCurType"/>
			<xsd:element name="NetTaxDue" type="USCurType"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="R8007Type">
		<xsd:sequence>
			<xsd:element name="TaxableSlsNPurchs" type="USCurType"/>
			<xsd:element name="GrossTaxDue" type="USCurType"/>
			<xsd:element name="Discount" type="USCurType"/>
			<xsd:element name="NetTaxDue" type="USCurType"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="R8005Type">
		<xsd:sequence>
			<xsd:element name="TaxableSlsNPurchs" type="USCurType"/>
			<xsd:element name="GrossTaxDue" type="USCurType"/>
			<xsd:element name="Discount" type="USCurType"/>
			<xsd:element name="NetTaxDue" type="USCurType"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="R8016Type">
		<xsd:sequence>
			<xsd:element name="TaxableSlsNPurchs" type="USCurType"/>
			<xsd:element name="NetTaxDue" type="USCurType"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="R8021Type">
		<xsd:sequence>
			<xsd:element name="TaxableSlsNPurchs" type="USCurType"/>
			<xsd:element name="NetTaxDue" type="USCurType"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="R8004Type">
		<xsd:sequence>
			<xsd:element name="TaxableSlsNPurchs" type="USCurType"/>
			<xsd:element name="NetTaxDue" type="USCurType"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="R8020Type">
		<xsd:sequence>
			<xsd:element name="TaxableSlsNPurchs" type="USCurType"/>
			<xsd:element name="NetTaxDue" type="USCurType"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="R8023Type">
		<xsd:sequence>
			<xsd:element name="TaxableSlsNPurchs" type="USCurType"/>
			<xsd:element name="NetTaxDue" type="USCurType"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="LOCALType">
		<xsd:sequence>
			<xsd:element name="LocalCode" type="LocalCodeType"/>
			<xsd:element name="TaxableSales" type="USCurType"/>
			<xsd:element name="TaxableUse" type="USCurType"/>
			<xsd:element name="GrossSalesTaxDue" type="USCurType"/>
			<xsd:element name="GrossUseTaxDue" type="USCurType"/>
			<xsd:element name="SalesTaxDiscount" type="USCurType"/>
			<xsd:element name="LocalSalesTaxRebate" type="USCurType"/>
			<xsd:element name="LocalUseTaxRebate" type="USCurType"/>
			<xsd:element name="NetSalesTaxDue" type="USCurType"/>
			<xsd:element name="NetUseTaxDue" type="USCurType"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="RTNLOCType">
		<xsd:sequence>
			<xsd:element name="Local" type="LOCALType" maxOccurs="unbounded"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="RTNFTRType">
		<xsd:sequence>
			<xsd:element name="TotalStateTax" type="USCurType"/>
			<xsd:element name="TtlSpcAdtlExcTx" type="USCurType"/>
			<xsd:element name="TtlLclSlsUseTax" type="USCurType"/>
			<xsd:element name="TotalTaxDue" type="USCurType"/>
			<xsd:element name="Prepayments" type="USCurType"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="SalesReturnType">
		<xsd:sequence>
			<xsd:element name="RTNDTL" type="RTNDTLType"/>
			<xsd:element name="R0000" type="R0000Type" minOccurs="0"/>
			<xsd:element name="R0010" type="R0010Type" minOccurs="0"/>
			<xsd:element name="R0011" type="R0011Type" minOccurs="0"/>
			<xsd:element name="R8029" type="R8029Type" minOccurs="0"/>
			<xsd:element name="R0018" type="R0018Type" minOccurs="0"/>
			<xsd:element name="R0012" type="R0012Type" minOccurs="0"/>
			<xsd:element name="R0013" type="R0013Type" minOccurs="0"/>
			<xsd:element name="R0014" type="R0014Type" minOccurs="0"/>
			<xsd:element name="R8019" type="R8019Type" minOccurs="0"/>
			<xsd:element name="R0019" type="R0019Type" minOccurs="0"/>
			<xsd:element name="R0015" type="R0015Type" minOccurs="0"/>
			<xsd:element name="R0016" type="R0016Type" minOccurs="0"/>
			<xsd:element name="R0017" type="R0017Type" minOccurs="0"/>
			<xsd:element name="R8030" type="R8030Type" minOccurs="0"/>
			<xsd:element name="R0020" type="R0020Type" minOccurs="0"/>
			<xsd:element name="R8001" type="R8001Type" minOccurs="0"/>
			<xsd:element name="R8003" type="R8003Type" minOccurs="0"/>
			<xsd:element name="R8012" type="R8012Type" minOccurs="0"/>
			<xsd:element name="R8007" type="R8007Type" minOccurs="0"/>
			<xsd:element name="R8005" type="R8005Type" minOccurs="0"/>
			<xsd:element name="R8016" type="R8016Type" minOccurs="0"/>
			<xsd:element name="R8021" type="R8021Type" minOccurs="0"/>
			<xsd:element name="R8004" type="R8004Type" minOccurs="0"/>
			<xsd:element name="R8020" type="R8020Type" minOccurs="0"/>
			<xsd:element name="R8023" type="R8023Type" minOccurs="0"/>
			<xsd:element name="RTNLOC" type="RTNLOCType" minOccurs="0"/>
			<xsd:element name="RTNFTR" type="RTNFTRType"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="RtnFile">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element name="BTCHDR" type="BTCHDRType" minOccurs="0" maxOccurs="0"/>
				<xsd:element name="SalesReturn" type="SalesReturnType" maxOccurs="unbounded"/>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>
</xsd:schema>
