Main.Invoicing.invoice-service.Implementation guide.Technical reference.BillJournal.XML Schema specification - XML Schema description 
Page of - last modified by frn on 2021/06/30 12:40 
XML Schema description 

frn

2021/06/30 12:40
Table of Contents

BillJournal 
  <xs:element name="BillJournal">
<xs:complexType>
<xs:sequence>
<xs:element name="BillJournalInfo" minOccurs="1" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="InvoiceNo" type="InvoiceIdentifier15" minOccurs="1" maxOccurs="1" nillable="false">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CustomerNo" type="Identifier15" minOccurs="1" maxOccurs="1" nillable="false">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="InvoiceClaimEvents" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="InvoiceClaimEvent" type="InvoiceClaimEvent" minOccurs="1" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="InvoiceStatusEvents" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="InvoiceStatusEvent" type="InvoiceStatusEvent" minOccurs="1" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="InvoiceClaimProcessPauseEvents" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="InvoiceClaimProcessPauseEvent" type="InvoiceClaimProcessPauseEvent" minOccurs="1" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="InvoiceComplaintEvents" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="InvoiceComplaintEvent" type="InvoiceComplaintEvent" minOccurs="1" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="InvoiceNotificationEvents" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="InvoiceNotificationEvent" type="InvoiceNotificationEvent" minOccurs="1" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PaymentOrderEvents" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="PaymentOrderEvent" type="PaymentOrderEvent" minOccurs="1" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="Version" type="Version" use="required">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="CreatedDateTime" type="xs:dateTime" use="required">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="CompanyNo" type="CompanyNumber" use="required">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="CompanyName" type="xs:string" use="required">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>

Identifier15 
  <xs:simpleType name="Identifier15">
<xs:restriction base="xs:string">
<xs:pattern value="[a-zA-Z0-9äåö&Auml;&Aring;&Ouml;&/_ -.]*"/>
<xs:minLength value="1"/>
<xs:maxLength value="15"/>
</xs:restriction>
</xs:simpleType>

ISO3166 
  <xs:simpleType name="ISO3166">
<xs:restriction base="xs:string">
<xs:pattern value="[A-Z]*"/>
<xs:minLength value="2"/>
<xs:maxLength value="2"/>
</xs:restriction>
</xs:simpleType>

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

ISO639 
  <xs:simpleType name="ISO639">
<xs:restriction base="PXString">
<xs:enumeration value="SV"/>
<xs:enumeration value="NO"/>
<xs:enumeration value="DA"/>
<xs:enumeration value="FI"/>
<xs:enumeration value="EN"/>
</xs:restriction>
</xs:simpleType>

String35 
  <xs:simpleType name="String35">
<xs:restriction base="PXString">
<xs:maxLength
           value="35"/>
</xs:restriction>
</xs:simpleType>

Email 
  <xs:simpleType name="Email">
<xs:restriction base="PXString">
<xs:maxLength
           value="60"/>
</xs:restriction>
</xs:simpleType>

String15 
  <xs:simpleType name="String15">
<xs:restriction base="PXString">
<xs:maxLength value="15"/>
</xs:restriction>
</xs:simpleType>

ZipCode 
  <xs:simpleType name="ZipCode">
<xs:restriction base="xs:string">
<xs:pattern value="[A-Z0-9\-]+"/>
<xs:maxLength value="9"/>
</xs:restriction>
</xs:simpleType>

VatNumber 
  <xs:simpleType name="VatNumber">
<xs:restriction base="xs:string">
<xs:pattern value="[A-Z]{2}.*"/>
<xs:minLength value="7"/>
<xs:maxLength value="14"/>
</xs:restriction>
</xs:simpleType>

String50 
  <xs:simpleType name="String50">
<xs:restriction base="xs:string">
<xs:maxLength
           value="50"/>
</xs:restriction>
</xs:simpleType>

InvoiceClaimEvent 
  <xs:complexType name="InvoiceClaimEvent">
<xs:sequence>
<xs:element name="ClaimEvent" type="eClaimEvent" minOccurs="1" maxOccurs="1" nillable="false">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ClaimEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="BillAmount" type="BillAmount" maxOccurs="1" minOccurs="1" nillable="false">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>

InvoiceStatusEvent 
  <xs:complexType name="InvoiceStatusEvent">
<xs:sequence>
<xs:element name="InvoiceStatus" type="eInvoiceStatus" minOccurs="1" maxOccurs="1" nillable="false">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="InvoiceSubStatus" type="eInvoiceSubStatus" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StatusEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>

InvoiceClaimProcessPauseEvent 
  <xs:complexType name="InvoiceClaimProcessPauseEvent">
<xs:sequence>
<xs:element name="ClaimProcessPauseEvent" type="eClaimProcessPauseEventType" minOccurs="1" maxOccurs="1" nillable="false">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ClaimProcessPauseEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ValidToDate" type="xs:date" minOccurs="0" maxOccurs="1" nillable="false">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>

InvoiceComplaintEvent 
  <xs:complexType name="InvoiceComplaintEvent">
<xs:sequence>
<xs:element name="ComplaintStatus" type="eComplaintStatus" minOccurs="1" maxOccurs="1" nillable="false">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ComplaintEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>

InvoiceNotificationEvent 
  <xs:complexType name="InvoiceNotificationEvent">
<xs:sequence>
<xs:element name="NotificationType" type="eNotificationType" minOccurs="1" maxOccurs="1" nillable="false">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="NotificationEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>

PaymentOrderEvent 
  <xs:complexType name="PaymentOrderEvent">
<xs:sequence>
<xs:element name="PaymentOrderStatusCode" type="ePaymentOrderStatus" minOccurs="1" maxOccurs="1" nillable="false">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PaymentOrderEventDate" type="xs:date" minOccurs="1" maxOccurs="1" nillable="false">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>

BillAmount 
  <xs:complexType name="BillAmount">
<xs:sequence>
<xs:element name="AmountInclVat" type="Money" minOccurs="1" maxOccurs="1" nillable="false"/>
</xs:sequence>
<xs:attribute name="Currency" type="eCurrencyType" use="required"/>
</xs:complexType>

eClaimProcessPauseEventType 
  <xs:simpleType name="eClaimProcessPauseEventType">
<xs:restriction base="xs:string">
<xs:enumeration value="Stop">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="Respite">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="StopRemoved">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="RespiteRemoved">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>

eComplaintStatus 
  <xs:simpleType name="eComplaintStatus">
<xs:restriction base="xs:string">
<xs:enumeration value="ComplaintReceived">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="ComplaintResolved">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>

eInvoiceStatus 
  <xs:simpleType name="eInvoiceStatus">
<xs:restriction base="xs:string">
<xs:enumeration value="Closed">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="Rest">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>

eClaimEvent 
  <xs:simpleType name="eClaimEvent">
<xs:restriction base="xs:string">
<xs:enumeration value="ReminderSent">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="SecondReminderSent">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="CollectionClaimSent">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="RestReminderSent">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="DebtCollection">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>

eNotificationType 
  <xs:simpleType name="eNotificationType">
<xs:restriction base="xs:string">
<xs:enumeration value="PreDueDate">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="PreReminder">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="PreCollectionClaim">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>

ePaymentOrderStatus 
  <xs:simpleType name="ePaymentOrderStatus">
<xs:restriction base="xs:string">
<xs:enumeration value="WillRetry">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="InsufficientFunds">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:enumeration>
</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:restriction>
</xs:simpleType>

eInvoiceSubStatus 
  <xs:simpleType name="eInvoiceSubStatus">
<xs:restriction base="xs:string">
<xs:enumeration value="Sold">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="Loss">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="Converted">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="Diff">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="Reversal">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>

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

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

String10 
  <xs:simpleType name="String10">
<xs:restriction base="PXString">
<xs:maxLength value="10"/>
</xs:restriction>
</xs:simpleType>

String30 
  <xs:simpleType name="String30">
<xs:restriction base="PXString">
<xs:maxLength
           value="30"/>
</xs:restriction>
</xs:simpleType>

String25 
  <xs:simpleType name="String25">
<xs:restriction base="PXString">
<xs:maxLength
           value="25"/>
</xs:restriction>
</xs:simpleType>

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

PXString 
  <xs:simpleType name="PXString">
<xs:restriction base="xs:string">
<xs:pattern value="[a-zA-Z0-9_:!;"#<>=?\[\]@{}´

 %-/&Agrave;-&Ouml;&Oslash;-öø-ú]*"/>
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>