UnbilledProduct XSD

UnbilledProduct

Notes

 <xs:element name="UnbilledProduct">
  <xs:annotation>
   <xs:documentation>Contains general ledger accounting associated to unbilled products at reportdate</xs:documentation>
  </xs:annotation>
  <xs:complexType>
   <xs:sequence>
    <xs:element name="Customers">
     <xs:annotation>
      <xs:documentation>Contains multiple customers</xs:documentation>
     </xs:annotation>
     <xs:complexType>
      <xs:sequence>
       <xs:element name="Customer" maxOccurs="unbounded">
        <xs:annotation>
         <xs:documentation>Contains information associated to one customer</xs:documentation>
        </xs:annotation>
        <xs:complexType>
         <xs:sequence>
          <xs:element name="Accountings">
           <xs:annotation>
            <xs:documentation>Contains accountings associated to one customer</xs:documentation>
           </xs:annotation>
           <xs:complexType>
            <xs:sequence>
             <xs:element name="Accounting" maxOccurs="unbounded">
              <xs:annotation>
               <xs:documentation>Contains information associated to one accounting</xs:documentation>
              </xs:annotation>
              <xs:complexType>
               <xs:attribute name="AccountingAction" type="eAccountingAction" use="required">
                <xs:annotation>
                 <xs:documentation>Accountingaction </xs:documentation>
                </xs:annotation>
               </xs:attribute>
               <xs:attribute name="GLAccount" type="fIdentifier" use="required">
                <xs:annotation>
                 <xs:documentation>General ledger account</xs:documentation>
                </xs:annotation>
               </xs:attribute>
               <xs:attribute name="Amount" use="required">
                <xs:annotation>
                 <xs:documentation>Amount with two decimals</xs:documentation>
                </xs:annotation>
                <xs:simpleType>
                 <xs:restriction base="xs:decimal">
                  <xs:fractionDigits value="2"/>
                 </xs:restriction>
                </xs:simpleType>
               </xs:attribute>
               <xs:attribute name="GLProduct" type="fIdentifier" use="optional">
                <xs:annotation>
                 <xs:documentation>General ledger product associated to the product in the productcatalog</xs:documentation>
                </xs:annotation>
               </xs:attribute>
               <xs:attribute name="ProductId" type="fIdentifier" use="optional">
                <xs:annotation>
                 <xs:documentation>Identifier of the product in the productcatalog</xs:documentation>
                </xs:annotation>
               </xs:attribute>
               <xs:attribute name="ProductType" type="fIdentifier" use="optional">
                <xs:annotation>
                 <xs:documentation>ProductType associated to the product in the productcatalog</xs:documentation>
                </xs:annotation>
               </xs:attribute>
               <xs:attribute name="CostCenter" type="fIdentifier" use="optional">
                <xs:annotation>
                 <xs:documentation>Costcenter associated to the product in the productcatalog</xs:documentation>
                </xs:annotation>
               </xs:attribute>
              </xs:complexType>
             </xs:element>
            </xs:sequence>
           </xs:complexType>
          </xs:element>
         </xs:sequence>
         <xs:attribute name="CustomerNo" type="xs:string" use="required">
          <xs:annotation>
           <xs:documentation>Customernumber of the customer</xs:documentation>
          </xs:annotation>
         </xs:attribute>
         <xs:attribute name="InterCompanyCode" type="xs:string" use="optional">
          <xs:annotation>
           <xs:documentation>Possible intercompanycode of the customer</xs:documentation>
          </xs:annotation>
         </xs:attribute>
         <xs:attribute name="CurrencyCode" use="required">
          <xs:annotation>
           <xs:documentation>Currencycode according to ISO4217</xs:documentation>
          </xs:annotation>
          <xs:simpleType>
           <xs:restriction base="xs:string">
            <xs:maxLength value="3"/>
           </xs:restriction>
          </xs:simpleType>
         </xs:attribute>
        </xs:complexType>
       </xs:element>
      </xs:sequence>
     </xs:complexType>
    </xs:element>
   </xs:sequence>
   <xs:attribute name="Version" type="Version" use="required">
    <xs:annotation>
     <xs:documentation>The XSD version of the xml format. XSD</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:annotation>
     <xs:documentation>Your billing/accountsreceivablenumber at PayEx</xs:documentation>
    </xs:annotation>
   </xs:attribute>
   <xs:attribute name="CompanyName" type="xs:string" use="required">
    <xs:annotation>
     <xs:documentation>The name of your company</xs:documentation>
    </xs:annotation>
   </xs:attribute>
   <xs:attribute name="ValueDate" type="xs:date" use="required">
    <xs:annotation>
     <xs:documentation>Date in general ledger</xs:documentation>
    </xs:annotation>
   </xs:attribute>
  </xs:complexType>
 </xs:element>

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>

Version

Notes

 <xs:simpleType name="Version">
  <xs:annotation>
   <xs:documentation>Versions supported by this schema</xs:documentation>
  </xs:annotation>
  <xs:restriction base="xs:string">
   <xs:enumeration value="1.0"/>
  </xs:restriction>
 </xs:simpleType>

eAccountingAction

 <xs:simpleType name="eAccountingAction">
  <xs:restriction base="xs:string">
   <xs:enumeration value="D"/>
   <xs:enumeration value="C"/>
  </xs:restriction>
 </xs:simpleType>

fIdentifier

 <xs:simpleType name="fIdentifier">
  <xs:restriction base="xs:string">
   <xs:maxLength value="15"/>
   <xs:pattern value="[A-Za-z0-9]*"/>
  </xs:restriction>
 </xs:simpleType>

Created by David Persson on 2021/01/29 09:26