XML Schema Description

UnbilledAccountsReceivable

	<xs:element name="UnbilledAccountsReceivable">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="UnbilledAccountsReceivableInfo" nillable="false" minOccurs="1" maxOccurs="1">
					<xs:complexType>
						<xs:attribute name="BookDate" type="xs:date" use="required">
							<xs:annotation>
								<xs:documentation>General ledger book date of the unbilled accounts receivable</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="Amount" type="Money" use="required">
							<xs:annotation>
								<xs:documentation>Balance of the unbilled accounts receivable at book date</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="Currency" type="eCurrencyType" use="required">
							<xs:annotation>
								<xs:documentation>Currency of the accounts receivable balance amount</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="ReconciliationReportReference" type="String250" use="required">
							<xs:annotation>
								<xs:documentation>Reference/name of the detailed unbilled accounts receivable report stating the details of the unbilled accounts receivable at book date</xs:documentation>
							</xs:annotation>
						</xs:attribute>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
			<xs:attribute name="Version" type="Version" use="required">
				<xs:annotation>
					<xs:documentation>Versions supported by this schema</xs:documentation>
				</xs:annotation>
			</xs:attribute>
			<xs:attribute name="CreatedDateTime" type="xs:dateTime" use="required">
				<xs:annotation>
					<xs:documentation>Date and time when the file was created</xs:documentation>
				</xs:annotation>
			</xs:attribute>
			<xs:attribute name="CompanyNo" type="CompanyNumber" use="required"/>
			<xs:attribute name="CompanyName" type="xs:string" use="required"/>
		</xs:complexType>
	</xs:element>

PXString

	<xs:simpleType name="PXString">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:pattern value="[a-zA-Z0-9_:!;"#<>=?\[\]@{}´ %'-/À-ÖØ-öø-úü&]*"/>
		</xs:restriction>
	</xs:simpleType>

CompanyNumber

	<xs:simpleType name="CompanyNumber">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="15"/>
			<xs:pattern value="[0-9]*"/>
		</xs:restriction>
	</xs:simpleType>

String250

	<xs:simpleType name="String250">
		<xs:restriction base="PXString">
			<xs:maxLength
     			value="250"/>
		</xs:restriction>
	</xs:simpleType>

Version

	<xs:simpleType name="Version">
		<xs:restriction base="xs:string">
			<xs:enumeration value="1.0"/>
		</xs:restriction>
	</xs:simpleType>

Money

	<xs:simpleType name="Money">
		<xs:restriction base="xs:decimal">
			<xs:fractionDigits value="2"/>
			<xs:minInclusive value="0"/>
			<xs:maxInclusive
     			value="100000000"/>
		</xs:restriction>
	</xs:simpleType>

eCurrencyType

	<xs:simpleType name="eCurrencyType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="SEK"/>
			<xs:enumeration value="NOK"/>
			<xs:enumeration value="DKK"/>
			<xs:enumeration value="EUR"/>
			<xs:enumeration value="GBP"/>
			<xs:enumeration value="USD"/>
		</xs:restriction>
	</xs:simpleType>

Created by Karl Holmbom on 2023/11/27 13:57