This document describes the XML format used by the Invoice Portal API.
XSD schema
The ESXML2 invoice format schema
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
#######################################################
Exder_INVOIC_LINK.xsd
Schema for invoices from external systems
Copyright Kofax 2007-2024
#######################################################
-->
<xs:schema xmlns:exder="http://www.expertsystem.se/xml-schemas/types" xmlns:xs="http://www.w3.org/2001/XMLSchema" version="2.0">
<xs:import namespace="http://www.expertsystem.se/xml-schemas/types" schemaLocation="./exderLinkTypes.xsd"/>
<!-- The root docment itself -->
<xs:element name="invoiceFile">
<xs:complexType>
<xs:sequence>
<xs:element name="header">
<xs:complexType>
<xs:sequence>
<xs:element name="date" type="xs:date">
<xs:annotation>
<xs:documentation xml:lang="en">Message creation date</xs:documentation>
<xs:documentation xml:lang="sv">Datum</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="time" type="xs:time">
<xs:annotation>
<xs:documentation xml:lang="en">Message creation Time</xs:documentation>
<xs:documentation xml:lang="sv">Tid</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="testIndicator" type="xs:boolean">
<xs:annotation>
<xs:documentation xml:lang="en">Test indicator (true/false) </xs:documentation>
<xs:documentation xml:lang="sv">Test indikator (true/false)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="senderIdentifier" type="exder:partyIdentifierType" minOccurs="0">
<xs:annotation>
<xs:documentation>Sender party identifier</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="receiverIdentifier" type="exder:partyIdentifierType" minOccurs="0">
<xs:annotation>
<xs:documentation>Receiver party identifier</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="receiverEnvelopeId" type="exder:partyIdentifierType" minOccurs="0">
<xs:annotation>
<xs:documentation>Envelope party identifier for receiver </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="senderUnbLocationId" type="exder:locationDetailsType">
<xs:annotation>
<xs:documentation xml:lang="en">Sender unb location id</xs:documentation>
<xs:documentation xml:lang="sv">Avsändarens lokaliseringsnummer</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="senderOperatorCode" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Code identifying the sending Service Provider</xs:documentation>
<xs:documentation xml:lang="sv">Kod som identifierar avsändarens operatör</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="receiverUnbLocationId" type="exder:locationDetailsType">
<xs:annotation>
<xs:documentation xml:lang="en">Receiver unb location id</xs:documentation>
<xs:documentation xml:lang="sv">Mottagerens lokaliseringsnummer</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="receiverOperatorCode" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Code identifying the recipient Service Provider</xs:documentation>
<xs:documentation xml:lang="sv">Kod som identifierar mottagarens operatör</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="additionalReceiverId" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Additional operator specific identifier for the recipient. Only used when a non-standard identifier type is required.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="emailAddress" type="xs:string" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation xml:lang="en">E-mail address of the sending party</xs:documentation>
<xs:documentation xml:lang="sv">E-postadress</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="invoice" type="invoiceType" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation xml:lang="en">Invoice document(s)</xs:documentation>
<xs:documentation xml:lang="sv">Faktura</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="documentVersion" type="xs:decimal" use="required"/>
</xs:complexType>
</xs:element>
<!-- __________________ The invoice head ___________________________-->
<xs:complexType name="invoiceType">
<xs:sequence>
<xs:element name="ediMessageId" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Message Id provided by the creating system.</xs:documentation>
<xs:documentation xml:lang="sv">Edi log nr</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="batchId" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Batch Id provided by the sender.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="invoiceTypeId" type="exder:invoiceTypeId" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Type of invoice document.</xs:documentation>
<xs:documentation xml:lang="sv">Fakturatyp</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="factoring" type="xs:boolean" minOccurs="0">
<xs:annotation>
<xs:documentation>If the invoice makes use of factoring, this is indicated here.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="taxInvoice" type="xs:boolean" minOccurs="0">
<xs:annotation>
<xs:documentation>If the invoice is a Tax invoice and certain adjustments should be made to PDF and GUI view.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="invoicingMode" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>If a specific mode of invoicing is used this is indicated here.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="invoiceId" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">The invoice number provided by the creating system.</xs:documentation>
<xs:documentation xml:lang="sv">Fakturanr</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="clearanceOperatorNumber" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>The invoice number assigned by a clearance service provider
(a governmental portal or other clearance authority depending on country).
A number usually different from and not related to "invoiceId" or other invoice identification items.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="invoiceDate" type="xs:date" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">The date on which the invoice was created.</xs:documentation>
<xs:documentation xml:lang="sv">Fakturadatum</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="invoiceTime" type="xs:time" minOccurs="0">
<xs:annotation>
<xs:documentation>The issue time of the invoice.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="deliveryDate" type="xs:date" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">The date on which the goods or services are avaliable to the intended recipient.</xs:documentation>
<xs:documentation xml:lang="sv">Leveransdatum</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="despatchDate" type="xs:date" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">The date on which the delivery was shipped.</xs:documentation>
<xs:documentation xml:lang="sv">Utleveransdatum</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="messageDate" type="xs:date" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">The date on which the message was created.</xs:documentation>
<xs:documentation xml:lang="sv">Meddelandedatum</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="taxPointDate" type="xs:date" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">The date on which tax rates/amounts was/is to be decided.</xs:documentation>
<xs:documentation xml:lang="sv">Skatteomsättningsdatum</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="invoicePeriodFrom" type="xs:date" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">The start date of the delivery period. (e.g. the start date of a service that streches accross several days)</xs:documentation>
<xs:documentation xml:lang="sv">Faktureringsperiod, från</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="invoicePeriodTo" type="xs:date" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">The end date of the delivery period. (e.g. the the date on which a service, that streched accross several days, ended.)</xs:documentation>
<xs:documentation xml:lang="sv">Faktureringsperiod, till</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="invoicePeriodDescription" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>The description of invoice period, that can present a period in various terms and serve as replacement for dates when applicable</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="invoicePeriodDescriptionCode" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>The code of the date when the VAT becomes accountable for the Seller and for the Buyer.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="preceedingInvoice" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="preceedingInvoiceId" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>The identification of an Invoice that was previously sent by the Seller.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="preceedingInvoiceIssueDate" type="xs:date" minOccurs="0">
<xs:annotation>
<xs:documentation>The date when the Preceding Invoice was issued.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="preceedingInvoiceTotalAmount" type="exder:amount" minOccurs="0">
<xs:annotation>
<xs:documentation>Invoice total amount of the previously sent invoice.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="preceedingInvoiceReference" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Additional reference to the identification of preceeding invoice</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="securityDetails" type="exder:securityDetailsType" minOccurs="0">
<xs:annotation>
<xs:documentation>Security details for the invoice itself.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="invoiceFreeText" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Free text on the top level of the invoice.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="orderInformation" type="exder:orderInformationType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Information pertaining to the order. Use orderType to specify the source of the information.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="orderDate" type="xs:date" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">DEPRECATED. Use orderInformation instead.The date on which the purchase order was placed.</xs:documentation>
<xs:documentation xml:lang="sv">Orderdatum</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="customersOrder" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">DEPRECATED. Use orderInformation instead. The purchase order number designated by the buyer. (one purchase order number only)</xs:documentation>
<xs:documentation xml:lang="sv">Kunds ordernummer</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="pricelistReference" type="exder:referenceType" minOccurs="0">
<xs:annotation>
<xs:documentation>The reference code of the mutually agreed price list.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="orderReference" type="exder:referenceType" minOccurs="0">
<xs:annotation>
<xs:documentation>DEPRECATED. Use orderInformation instead. The purchase order number designated to the order by the seller. (one purchase order number only)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="creditedInvoiceReference" type="exder:referenceType" minOccurs="0">
<xs:annotation>
<xs:documentation>The invoice number of the debet invoice which is being credited.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="desadvReference" type="exder:referenceType" minOccurs="0">
<xs:annotation>
<xs:documentation>Dispatch advice id (advance ship notice id)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="deliveryNoteReference" type="exder:referenceType" minOccurs="0">
<xs:annotation>
<xs:documentation>Delivery note id</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="agreementReference" type="exder:referenceType" minOccurs="0">
<xs:annotation>
<xs:documentation>Business agreement id. (A mutually agreed upon business agreement to which the invoice is subject)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="receiptAdviceReference" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>An identifier of a referenced receiving advice.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="tenderReference" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>The identification of the call for tender or lot the invoice relates to.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="projectReference" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>The identification of the project the invoice refers to.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="invoiceObject" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Suppliers reference to the invoiced object other than contract, delivery note etc.</xs:documentation>
<xs:documentation xml:lang="sv">Leverantörens referens till fakturerat objekt annat än kontrakt, följesedel etc</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="accountingReference" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Specifies where to book the relevant data into the Buyer's financial accounts.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="buyerParty" type="exder:buyerPartyType">
<xs:annotation>
<xs:documentation>The buyer of the goods or services and recipient of the invoice.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="supplierParty" type="exder:supplierPartyType">
<xs:annotation>
<xs:documentation>The supplier (or vendor) of the goods or services and the issuer of the invoice.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="payeeParty" type="exder:payeePartyType" minOccurs="0">
<xs:annotation>
<xs:documentation>The party to which the payment should be made if it differs from the invoice issuer (i.e. supplier party).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="taxRepresentativeParty" type="exder:partyType" minOccurs="0">
<xs:annotation>
<xs:documentation>A group of business terms providing information about the Seller's tax representative.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="otherParty" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A group of business terms providing information about a party not supported elsewhere in the schema.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="partyType" type="exder:partyTypeEnumeration">
<xs:annotation>
<xs:documentation>The type of the party. Available types are INVOICE_SENDER - Technical sender of the invoice.
SALES_CONTACT - Sales organization
ORDERER - Ordering party
PAYER - Party that pays the invoice.
PAYOR - Party to whome the invoice will be redirected.
MANUFACTURER - Manufacturer of the invoiced goods.
HOLDER - Party that holds the delivered goods.
TAX_REPRESENTATIVE - Tax representative party.
VALIDATOR - Validating structure information (private project manager, PO holder etc.).
FACTOR - A third party structure providing invoice factoring to a seller.
RECIPIENT - If the invoice contains data of internal units, branches, budgetary units separated
within the buyer, which do not themselves constitute the buyer.
BUYER - Additional buyer - if the invoice contains data of subsequent buyers.
DELIVERY - Delivery party - a group of business terms providing information about where the goods and services invoiced are delivered.
OTHER - Party which is not listed here or supported elsewhere in the schema.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="otherPartyType" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>If partyType is set to OTHER, then this is mandatory as a descriptive type of the party. Note generic party types are allowed in only a few formats so their use is discouraged.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="party" type="exder:partyType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="delivery" minOccurs="0">
<xs:annotation>
<xs:documentation>Information regarding the delivery.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="carrierParty" type="exder:partyType" minOccurs="0">
<xs:annotation>
<xs:documentation>The party performing the actual delivery of goods to the recipient.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="transportInformation" type="exder:transportType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Detailed information regarding the transportation of goods.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="goodsInformation" type="exder:goodsType" minOccurs="0">
<xs:annotation>
<xs:documentation>Detailed information regarding the package and size of the goods.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="deliveryAddress" type="exder:partsAddressType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">The point of delivery for goods or services.</xs:documentation>
<xs:documentation xml:lang="sv">Leveransadress</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="recipientEndpointId" type="exder:partyIdentifierType" minOccurs="0"/>
<xs:element name="invoiceRecipientAddress" type="exder:partsAddressType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">The address to which the invoice document is delivered, when it differs from the buyer address (financial responsibility of payment, however, still resides with the buyer party)</xs:documentation>
<xs:documentation xml:lang="sv">Fakturaadressats adress</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="customerProfitCentre" type="xs:string" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation xml:lang="en">Reference code provided by the buyer. Primarily a profit- or cost center.</xs:documentation>
<xs:documentation xml:lang="sv">Kunds kostnadsställe</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="invoiceCurrencyCode" type="exder:currencyCodeType" minOccurs="0">
<xs:annotation>
<xs:documentation>Currency of the invoice.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="taxCurrencyCode" type="exder:currencyCodeType" minOccurs="0">
<xs:annotation>
<xs:documentation>Currency used for taxation if it differs from the invoice currency.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="currencyExchange" type="exder:currencyExchangeType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Currency exchange information.</xs:documentation>
<xs:documentation xml:lang="sv">Valutakonvertering</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="dueDate" type="xs:date" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">The date on which payment of the invoice should be completed.</xs:documentation>
<xs:documentation xml:lang="sv">Förfallodatum</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="cashDiscountDate" type="xs:date" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">DEPRECATED, use cashDiscount instead. Cash discount date</xs:documentation>
<xs:documentation xml:lang="sv">Kassarabattsdatum</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="deliveryTerms" type="exder:deliveryTermsType" minOccurs="0">
<xs:annotation>
<xs:documentation>Delivery terms details</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="paymentMeans" type="exder:paymentMeansType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Specifies the options of payment (i.e. different bank accounts, giro services, and more)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="paymentTerms" type="exder:paymentTermsType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Payment terms in plain text.</xs:documentation>
<xs:documentation xml:lang="sv">Betalningsvillkor</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="cashDiscount" type="exder:cashDiscountType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Information regarding cash discount for the invoice. Informative and not included in the invoice totals.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="delayTerms" type="exder:delayTermsType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Specifies the terms if payment of the invoice is completed past due date or not at all.</xs:documentation>
<xs:documentation xml:lang="sv">Villkor vid försenad betalning</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="allowanceAndCharge" type="exder:allowanceAndChargeType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Specifies allowance (discounts) and/or charge (fee) which the entire invoice is subject to.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="noPaymentDays" type="xs:nonNegativeInteger" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Number of days until payment is due. (days between invoice creation date and invoice due date)</xs:documentation>
<xs:documentation xml:lang="sv">Antal förfallodagar</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="invoiceLine" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="invoiceLineId" type="xs:normalizedString" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Invoice line number</xs:documentation>
<xs:documentation xml:lang="sv">Fakturarad</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="articleGTIN" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Global Trade Item Number (codelist agency GS1)</xs:documentation>
<xs:documentation xml:lang="sv">Artikeid, GTIN</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="standardItemIdentification" minOccurs="0">
<xs:annotation>
<xs:documentation>An item identifier based on a registered scheme.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="schemeID" use="required">
<xs:annotation>
<xs:documentation>The identification scheme identifier of the Item standard identifier</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="supplierArticleId" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Article idetification assigned by the supplier.</xs:documentation>
<xs:documentation xml:lang="sv">Leverantörens artikelnummer</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="buyerArticleId" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Article identification assigned by the supplier.</xs:documentation>
<xs:documentation xml:lang="sv">Köparens artikelnummer</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="manufacturerArticleId" minOccurs="0">
<xs:annotation>
<xs:documentation>Article identification assigned by the manufacturer.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="articleName" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Shortened article description in plain text. (Use article description if both are not needed)</xs:documentation>
<xs:documentation xml:lang="sv">Artikelnamn</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="articleDescription" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Article description in plain text.</xs:documentation>
<xs:documentation xml:lang="sv">Beskrivning</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="invoiceLineText" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Invoice line plain text</xs:documentation>
<xs:documentation xml:lang="sv">Fakturaradstext</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="orderQuantity" type="exder:quantityType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Order quantity</xs:documentation>
<xs:documentation xml:lang="sv">Beställt antal</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="invoiceQuantity" type="exder:quantityType">
<xs:annotation>
<xs:documentation xml:lang="en">Invoiced quantity</xs:documentation>
<xs:documentation xml:lang="sv">Fakturerat antal</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="meteringInformation" minOccurs="0">
<xs:annotation>
<xs:documentation>Information regarding metered articles. Section is informational onlly and is not calculated into the line totals.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="location" type="exder:locationDetailsType" minOccurs="0">
<xs:annotation>
<xs:documentation>Location of the meter.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="usedQuantity" type="exder:quantityType" minOccurs="0">
<xs:annotation>
<xs:documentation>Used quantity since previous meter reading.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="previousMeterReading" minOccurs="0">
<xs:annotation>
<xs:documentation>Date/Time and value of the previous meter reading.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="date" type="xs:date" minOccurs="0"/>
<xs:element name="time" type="xs:time" minOccurs="0"/>
<xs:element name="value" type="xs:decimal" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="latestMeterReading" minOccurs="0">
<xs:annotation>
<xs:documentation>Date/Time and value of the latest meter reading.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="date" type="xs:date" minOccurs="0"/>
<xs:element name="time" type="xs:time" minOccurs="0"/>
<xs:element name="value" type="xs:decimal" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="countryOfOrigin" minOccurs="0">
<xs:annotation>
<xs:documentation>Country code (ISO)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="exder:upshifted">
<xs:maxLength value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="deliveryDate" type="xs:date" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">The date on which the goods or services are avaliable to the intended recipient.</xs:documentation>
<xs:documentation xml:lang="sv">Leveransdatum</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="invoicePeriodFrom" type="xs:date" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">The start date of the delivery period. (e.g. the start date of a service that streches accross several days)</xs:documentation>
<xs:documentation xml:lang="sv">Faktureringsperiod, från</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="invoicePeriodTo" type="xs:date" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">The end date of the delivery period. (e.g. the the date on which a service, that streched accross several days, ended.)</xs:documentation>
<xs:documentation xml:lang="sv">Faktureringsperiod, till</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="invoiceLineAmount" type="exder:amount">
<xs:annotation>
<xs:documentation xml:lang="en">Invoice line amount (excl. of VAT)</xs:documentation>
<xs:documentation xml:lang="sv">Fakturaradsbelopp</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="price" type="exder:priceType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Price</xs:documentation>
<xs:documentation xml:lang="sv">Pris</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vatInfo" type="exder:taxType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Tax/VAT details</xs:documentation>
<xs:documentation xml:lang="sv">Momsinformation</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="discountAmount" type="exder:amount" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">OBSOLETE. Use AllowanceAndCharge Discount amount</xs:documentation>
<xs:documentation xml:lang="sv">Rabattbelopp</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="discountPercent" type="exder:positiveDecimal" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">OBSOLETE. Use AllowanceAndCharge. Discount percent</xs:documentation>
<xs:documentation xml:lang="sv">Rabattprocent</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="exchangeRate" type="xs:decimal" minOccurs="0">
<xs:annotation>
<xs:documentation>Currency exchange rate for cases when invoice is intended for operator required to have local currency tax calculations (like in KSeF). Invoice not necessarily must have a different taxCurrency value. The value might be different for each line.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="allowanceAndCharge" type="exder:allowanceAndChargeType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Allowance (discount) and Charge (fee) on line. Provided as information. Any price adjustments are made directly on the line amount.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="itemInstance" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation xml:lang="en">Traceablity details</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="productTraceNo" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Product trace ID (e.g. batch number)</xs:documentation>
<xs:documentation xml:lang="en">Spårbarhets-ID såsom batchnummer</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="registrationNo" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Registration ID (e.g. car registration number)</xs:documentation>
<xs:documentation xml:lang="sv">ID i register, såsom registreringsnummer för bil</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="serialNo" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Serial number</xs:documentation>
<xs:documentation xml:lang="sv">Serienummer</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="manufactureDate" type="xs:date" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Date on which the goods were manufactured.</xs:documentation>
<xs:documentation xml:lang="sv">Tillverkningsdatum</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="manufactureTime" type="xs:time" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Time on which the goods were manufactured.</xs:documentation>
<xs:documentation xml:lang="sv">Tillverkningstid</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="trackingId" type="xs:string" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>ID relating to the shipment of the item. Normally used to track the progress of the parcel during shipping.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="itemClassificationCode" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A code for classifying the item by its type or nature.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="listID">
<xs:annotation>
<xs:documentation>The identification scheme identifier of the Item classification identifier</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="listVersionID">
<xs:annotation>
<xs:documentation>The identification scheme version identifier of the Item classification identifier</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="additionalItemAttribute" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Information about properties of the goods and services invoiced.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="attributeName" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>The name of the attribute or property of the item.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="attributeValue" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>The value of the attribute or property of the item.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="customersReference" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">A reference provided by the buyer.</xs:documentation>
<xs:documentation xml:lang="sv">Kunds referens</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="12"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="deliveryNoteReference" type="xs:string" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation xml:lang="en">Reference to delivery note id</xs:documentation>
<xs:documentation xml:lang="sv">Referens till följesedel</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="orderReference" type="exder:referenceType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Purchase order number designated by the buyer.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="orderLineReference" type="exder:referenceType" minOccurs="0">
<xs:annotation>
<xs:documentation>An identifier for a referenced line within a purchase order, issued by the Buyer.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="documentReferenceId" minOccurs="0">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="schemeID"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="creditedInvoiceReference" type="exder:referenceType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation xml:lang="en">TBD</xs:documentation>
<xs:documentation xml:lang="sv">TBD</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="customerProfitCentre" type="xs:string" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation xml:lang="en">A reference assigned by the buyer. Commonly a profit- or cost center.</xs:documentation>
<xs:documentation xml:lang="sv">Kunds kostnadsställe</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="deliveryAddress" type="exder:partsAddressType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">The point of delivery for goods or services.</xs:documentation>
<xs:documentation xml:lang="sv">Leveransadress</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="invoiceTrailer" type="invoiceTrailerType">
<xs:annotation>
<xs:documentation xml:lang="en">Invoice summary section.</xs:documentation>
<xs:documentation xml:lang="sv">fakturasummering</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="attachments" type="attachmentsType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Invoice attachments</xs:documentation>
<xs:documentation xml:lang="sv">bilagor</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="additionalAttribute" type="exder:additionalAttributeType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<!-- _______________________ Invoice trailer _______________________ -->
<xs:complexType name="invoiceTrailerType">
<xs:sequence>
<xs:element name="invoiceTotalQuantity" type="xs:decimal" minOccurs="0">
<xs:annotation>
<xs:documentation>Total quantity of all invoice lines.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="invoiceNumberOfLines" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation>The total number of invoice lines.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="invoiceTotalAmount" type="exder:amount">
<xs:annotation>
<xs:documentation>Amount due (amount to be paid). The total amount incl. any VAT.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="roundOffAmount" type="exder:amount" minOccurs="0">
<xs:annotation>
<xs:documentation>The amount added or substracted when rounding the total amount.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="prepaidAmount" type="exder:amount" minOccurs="0">
<xs:annotation>
<xs:documentation>Amount paid in advance by the buyer and consequently substracted from the total amount.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="lineSumAmount" type="exder:amount">
<xs:annotation>
<xs:documentation>Total amount of all invoice lines.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vatInclusiveAmount" type="exder:amount" minOccurs="0">
<xs:annotation>
<xs:documentation>The total amount of the Invoice with VAT, note this amount is before deduction of for instance prepaid amounts, and as such can differ from the amount due.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="totalAllowance" type="exder:amount" minOccurs="0">
<xs:annotation>
<xs:documentation>Sum (total amount) of allowance(s) (discounts).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="totalCharge" type="exder:amount" minOccurs="0">
<xs:annotation>
<xs:documentation>Sum (total amount) of charge(s) (fees).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="taxableAmount" type="exder:amount">
<xs:annotation>
<xs:documentation>Invoice total amount excl. of tax/VAT.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="invoiceVatTotalAmount" type="exder:amount">
<xs:annotation>
<xs:documentation>Sum of tax/VAT.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vatTotalAmountInOtherCurrency" type="xs:decimal" minOccurs="0">
<xs:annotation>
<xs:documentation>Summation of VAT in other currency.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="invoiceVat" type="invoiceVatType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Tax/VAT details. Summary section per tax rate.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vatCurrencyException" type="vatCurrencyExceptionType" minOccurs="0">
<xs:annotation>
<xs:documentation>TBD</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vatInfo" type="exder:taxType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Unused. Use invoiceVat</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="withholdingTax" type="exder:withholdingTaxType" minOccurs="0">
<xs:annotation>
<xs:documentation>Information on withholding tax for the whole invoice.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="stampDutyAmount" type="exder:amount" minOccurs="0">
<xs:annotation>
<xs:documentation>Stamp Duty tax section. Informational section only (must not be included in invoice totals calculations).</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<!-- __________________ Invoice types _______________________ -->
<xs:complexType name="invoiceVatType">
<xs:sequence>
<xs:element name="vatPercentage" type="exder:positiveDecimal" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Tax/VAT percentage</xs:documentation>
<xs:documentation xml:lang="sv">Momssats</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vatAmount" type="exder:amount" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Tax/VAT amount</xs:documentation>
<xs:documentation xml:lang="sv">Momsbelopp</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="taxableAmount" type="xs:decimal" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Invoice total amount excl. of tax/VAT.</xs:documentation>
<xs:documentation xml:lang="sv">Beskattningsbart belopp</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="creditedVatInfo" type="exder:taxType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Credited vat info</xs:documentation>
<xs:documentation xml:lang="sv">Momsinformation vid kreditering</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="taxTypeCode" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Tax type code</xs:documentation>
<xs:documentation xml:lang="sv">Skattekategori, kod</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<!-- lawText should only be used when taxPercentage is "0" (zero) -->
<xs:element name="lawText" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Tax legislation may, depending on tax rate or type of goods, require an explanatory text.</xs:documentation>
<xs:documentation xml:lang="sv">Lagtext</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="exemptionReasonCode" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Exemption reason code value in accordance with code list VATEX</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vatAmountInOtherCurrency" type="xs:decimal" minOccurs="0">
<xs:annotation>
<xs:documentation>VAT amount in other currency than the invoice currency. Used in conjunction with taxCurrencyCode </xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="taxReasonType">
<xs:annotation>
<xs:documentation xml:lang="en">Tax reason</xs:documentation>
<xs:documentation xml:lang="sv">Skattemotivering</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:maxLength value="3"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="vatCurrencyExceptionType">
<xs:sequence>
<xs:element name="vatPercentage" type="xs:decimal" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">VAT percentage</xs:documentation>
<xs:documentation xml:lang="sv">Momssats, procent</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="taxCategory" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Code</xs:documentation>
<xs:documentation xml:lang="sv">Kod</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="taxableAmount" type="exder:amount" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Taxable amount</xs:documentation>
<xs:documentation xml:lang="sv">Beskattningsbart belopp</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vatAmount" type="exder:amount" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Tax amount</xs:documentation>
<xs:documentation xml:lang="sv">Momsbelopp</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<!--_________________ Attachment section _________________-->
<xs:complexType name="attachmentsType">
<xs:sequence>
<xs:element name="attachment" type="attachmentType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Attachments included in the invoice document. (Encoded in base64)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="externalReference" type="externalReferenceType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A reference to a document not included in the invoice, but found elsewhere.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="attachmentType">
<xs:sequence>
<xs:element name="objectId" type="xs:string">
<xs:annotation>
<xs:documentation>Object name (i.e. file name)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="documentType" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Description of document (e.g. PDF)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="encodedData">
<xs:annotation>
<xs:documentation>The document (encoded in base64)</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:base64Binary">
<xs:attribute name="filename" type="xs:string"/>
<xs:attribute name="mimeCode" type="xs:string"/>
<xs:attribute name="format" type="xs:string" default="Base64"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="securityDetails" type="exder:securityDetailsType" minOccurs="0">
<xs:annotation>
<xs:documentation>Security details for the attachment.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="externalReferenceType">
<xs:sequence>
<xs:element name="id" minOccurs="0">
<xs:annotation>
<xs:documentation>Resource (e.g. document) id</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="schemeID">
<xs:annotation>
<xs:documentation>Additional reference type</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="issueDate" type="xs:date" minOccurs="0">
<xs:annotation>
<xs:documentation>Issue date of the document</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="documentType" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Description of document.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="documentTypeCode" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Document type code</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="URL" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Uniform Resource Locator. (e.g. http link)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="attachmentFilename" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>File name</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="securityDetails" type="exder:securityDetailsType" minOccurs="0">
<xs:annotation>
<xs:documentation>Security details for the referenced object.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:schema>
Basic types #1
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
#######################################################
exderLinkTypes.xsd
Definition of used basic types.
Copyright Kofax 2007-2024
#######################################################
-->
<xs:schema xmlns:exderType="http://www.expertsystem.se/xml-schemas/types" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.expertsystem.se/xml-schemas/types" elementFormDefault="unqualified" attributeFormDefault="unqualified" version="1.0">
<xs:include schemaLocation="./exderTypes.xsd"/>
<!-- Basic types -->
<xs:complexType name="quantityType">
<xs:sequence>
<xs:element name="quantity" type="xs:decimal" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Quantity</xs:documentation>
<xs:documentation xml:lang="sv">Kvantitet</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice minOccurs="0">
<xs:element name="edifactUnit">
<xs:annotation>
<xs:documentation>Unit codes according to EDIFACT</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="exderType:upshifted">
<xs:maxLength value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="unitId" type="exderType:unitId">
<xs:annotation>
<xs:documentation xml:lang="en">Unit</xs:documentation>
<xs:documentation xml:lang="sv">Enhet</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="externalUnit" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">Unit referred to by configurable code</xs:documentation>
<xs:documentation xml:lang="sv">Enhet med egendefinierad kod</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element name="label" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="unit" type="exderType:unitType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="energyTaxType">
<xs:sequence>
<xs:element name="pricePerUnit" type="exderType:amount" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Energy price (per KWH)</xs:documentation>
<xs:documentation xml:lang="sv">Energipris (per KWH)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="code" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Code</xs:documentation>
<xs:documentation xml:lang="sv">Kod</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="amount" type="exderType:amount" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Amount</xs:documentation>
<xs:documentation xml:lang="sv">Belopp</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="priceType">
<xs:sequence>
<xs:choice minOccurs="0">
<xs:element name="contractPrice" type="xs:decimal">
<xs:annotation>
<xs:documentation xml:lang="en">Contract price</xs:documentation>
<xs:documentation xml:lang="sv">Kontraktpris</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="currentPriceContractual" type="xs:decimal">
<xs:annotation>
<xs:documentation xml:lang="en">Current price - contractual</xs:documentation>
<xs:documentation xml:lang="sv">Aktuellt pris - avtalat</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="promotionalPrice" type="xs:decimal">
<xs:annotation>
<xs:documentation xml:lang="en">Promotional price</xs:documentation>
<xs:documentation xml:lang="sv">Kampanjpris</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="currentPriceDiscounted" type="xs:decimal">
<xs:annotation>
<xs:documentation xml:lang="en">Current price - discounted</xs:documentation>
<xs:documentation xml:lang="sv">Aktuellt pris - rabatterat</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="discountPrice" type="xs:decimal">
<xs:annotation>
<xs:documentation xml:lang="en">Discount price</xs:documentation>
<xs:documentation xml:lang="sv">Rabatterat pris</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="retailPrice" type="xs:decimal">
<xs:annotation>
<xs:documentation xml:lang="en">Price</xs:documentation>
<xs:documentation xml:lang="sv">Ápris</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element name="unitPriceBasis" type="exderType:positiveDecimal" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">The quantity base used to calculate the price.</xs:documentation>
<xs:documentation xml:lang="sv">Enhetsprisbasis</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice minOccurs="0">
<xs:element name="edifactUnit">
<xs:annotation>
<xs:documentation>EDIFACT unit codes</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="exderType:upshifted">
<xs:maxLength value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="externalUnit" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">Unit in plain text.</xs:documentation>
<xs:documentation xml:lang="sv">Enhet med egendefinierad kod</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element name="label" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="unit" type="exderType:unitType" minOccurs="0"/>
<xs:element name="allowanceAndCharge" type="exderType:allowanceAndChargeType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Allowance (discount) and Charge (fee) on line's price level. Provided as information. Will not be used in calculations.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<!-- Message description -->
<xs:complexType name="messageDescriptionType">
<xs:sequence>
<xs:element name="messageType" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">Message type</xs:documentation>
<xs:documentation xml:lang="sv">Meddelandetyp</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="messageVersion" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">Message version number</xs:documentation>
<xs:documentation xml:lang="sv">Meddelandets versionssnummer</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="messageRevision" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">Message version revision</xs:documentation>
<xs:documentation xml:lang="sv">Message version revision</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="messageResponsibility" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">Message responsibility</xs:documentation>
<xs:documentation xml:lang="sv">Ansvarig för meddelande</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="syntaxIdentifier" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">Syntax identifier</xs:documentation>
<xs:documentation xml:lang="sv">Syntax, identifierare</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="syntaxNumber" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">Syntax number</xs:documentation>
<xs:documentation xml:lang="sv">Syntaxnummer</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="financialInfoType">
<xs:sequence>
<xs:element name="bank" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Bank</xs:documentation>
<xs:documentation xml:lang="sv">Bank</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="swiftCode" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">SWIFT/BIC</xs:documentation>
<xs:documentation xml:lang="sv">SWIFT/BIC</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="exderType:upshifted">
<xs:maxLength value="11"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="clearingNo" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Clearing no</xs:documentation>
<xs:documentation xml:lang="sv">Clearingnr</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="35"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="bankAccount" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Bank account</xs:documentation>
<xs:documentation xml:lang="sv">Bankkonto</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="accountHolder" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Account holder</xs:documentation>
<xs:documentation xml:lang="sv">Kontoinnehavare</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="IBAN" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">IBAN (international bank account number)</xs:documentation>
<xs:documentation xml:lang="sv">IBAN (international bank account number)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="40"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="bankgiro" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Bank giro service</xs:documentation>
<xs:documentation xml:lang="sv">Bankgiro</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="postgiro" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">PlusGirot</xs:documentation>
<xs:documentation xml:lang="sv">PlusGirot</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="paymentRef" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Payment reference (OCR)</xs:documentation>
<xs:documentation xml:lang="sv">Betalningsreferens (OCR)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="paymentMeansType">
<xs:sequence>
<xs:element name="paymentMeansType">
<xs:annotation>
<xs:documentation xml:lang="en">
Type of payment channel:
BANK
IBAN
SE_BankGiro
SE_PlusGiro
DK_Giro
DK_FIK
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="paymentMeansSubType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">
In case payment service provides a set of sub-services that needs to be defined. (e.g. danish giro services "kortart".)
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="transactionType" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>The code for the payment means used according to the specified codelist.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="accountNo" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Account number within payment service, such as bank account no, IBAN or giro no
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="institutionName" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Name of financial institution (e.g. bank name).
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="swiftCode" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Bank Identification Code (BIC) formerly known as swift code.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="exderType:upshifted">
<xs:maxLength value="11"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="branchCode" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Account Clearing number (a prefix to a bank account number). Used for BANK accounts.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="35"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="paymentRef" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Payment reference (e.g. OCR)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="paymentMandate" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Unique identifier assigned by the Payee for referencing the direct debit mandate. Used in order to pre-notify the Buyer of a SEPA direct debit.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="paymentNote" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Payment message in plain text.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="paymentCardInformation" minOccurs="0">
<xs:annotation>
<xs:documentation>A group of business terms providing information about card used for payment contemporaneous with invoice issuance.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="cardAccountNumber" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>The Primary Account Number (PAN) of the card used for payment.In accordance with card payments security standards, an invoice should never include a full card primary account number.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="cardNetworkId" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Card Network identifier, such as VISA, American Express, Master Card.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="cardHolderName" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>The name of the payment card holder.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="payerFinancialAccount" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="buyerPartyType">
<xs:sequence>
<xs:element name="partnerId" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Supplier internal buyer identification used in local system (or organization).</xs:documentation>
<xs:documentation xml:lang="sv">Partner</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="35"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="legalName" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>The full name of the Buyer.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="buyerAddress" type="exderType:partsAddressType" minOccurs="0"/>
<xs:element name="partyIdentifier" type="exderType:partyIdentifierType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="organisationNo" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">OBSOLETE IF PARTY IDENTIFIER IS USED Organisation no</xs:documentation>
<xs:documentation xml:lang="sv">Organisationsnr</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="vatCountryId" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">OBSOLETE IF PARTY IDENTIFIER IS USED VAT country</xs:documentation>
<xs:documentation xml:lang="sv">Momsreg. land</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="exderType:upshifted">
<xs:maxLength value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="vatNo" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">OBSOLETE IF PARTY IDENTIFIER IS USED VAT number</xs:documentation>
<xs:documentation xml:lang="sv">Momsregistreringsnr</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="registrationAddress" type="exderType:partsAddressType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="supplierPartyType">
<xs:sequence>
<xs:element name="partnerId" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Supplier internal identification used in local system (or organization)</xs:documentation>
<xs:documentation xml:lang="sv">Partner</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="35"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="legalName" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Legal name of entity (organization)</xs:documentation>
<xs:documentation xml:lang="sv">Juridiskt namn</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="boardSite" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">City where the organization is legally registered (board site).</xs:documentation>
<xs:documentation xml:lang="sv">Styrelsens säte</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string"/>
</xs:simpleType>
</xs:element>
<xs:element name="fTax" type="xs:boolean" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Holding corporate income tax certificate (e.g. swedish F-tax certificate)</xs:documentation>
<xs:documentation xml:lang="sv">Innehar F-skattebevis</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="supplierAddress" type="exderType:partsAddressType" minOccurs="0"/>
<xs:element name="financialInfo" type="exderType:financialInfoType" minOccurs="0">
<xs:annotation>
<xs:documentation>Unused. Use Payment Means.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="partyIdentifier" type="exderType:partyIdentifierType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Use of at least one party identifier is highly recommended.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="supplierEndpointId" type="exderType:partyIdentifierType" minOccurs="0">
<xs:annotation>
<xs:documentation>Identifies the Seller's electronic address to which a business document may be delivered.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="organisationNo" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">OBSOLETE IF PARTY IDENTIFIER IS USED Organisation no</xs:documentation>
<xs:documentation xml:lang="sv">Organisationsnr</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="vatCountryId" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">OBSOLETE IF PARTY IDENTIFIER IS USED
VAT country code</xs:documentation>
<xs:documentation xml:lang="sv">Momsreg. land</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="vatNo" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">OBSOLETE IF PARTY IDENTIFIER IS USED
VAT number
</xs:documentation>
<xs:documentation xml:lang="sv">Momsregistreringsnr</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="partyTaxScheme" type="exderType:partyTaxSchemeType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="companyLegalForm" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Additional legal information relevant for the Seller.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="registrationAddress" type="exderType:partsAddressType" minOccurs="0"/>
<xs:element name="websiteURL" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Information regarding a Website for the specific party.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="payeePartyType">
<xs:sequence>
<xs:element name="payeeAddress" type="exderType:partsAddressType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Payee address information</xs:documentation>
<xs:documentation xml:lang="sv">Betalningsmottagarens adress</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="financialInfo" type="exderType:financialInfoType" minOccurs="0">
<xs:annotation>
<xs:documentation>OBSOLETE. Use paymentMeans</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="partyIdentifier" type="exderType:partyIdentifierType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="organisationNo" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">OBSOLETE. Use partyIdentifier</xs:documentation>
<xs:documentation xml:lang="sv">Organisationsnr</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
<!--SG-Servicegrossisterna reference type-->
<xs:complexType name="referenceType">
<xs:sequence>
<xs:element name="referenceNumber" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">The reference id</xs:documentation>
<xs:documentation xml:lang="sv">Referensnummer</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="agreementType" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>The type of agreement referenced, in plain text.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="agreementDate" type="xs:date" minOccurs="0">
<xs:annotation>
<xs:documentation>The date of the agreement.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="agreementPeriodStartDate" type="xs:date" minOccurs="0">
<xs:annotation>
<xs:documentation>For a periodic agreement, the start date.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="agreementPeriodEndDate" type="xs:date" minOccurs="0">
<xs:annotation>
<xs:documentation>For a periodic agreement, the end date.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="paymentTermsType" mixed="true">
<xs:sequence>
<xs:element name="note" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>The payment terms in free text.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="penaltySurchargePercent" type="xs:decimal" minOccurs="0">
<xs:annotation>
<xs:documentation>The penalty surcharge expressed as a percentage of the invoice total amount.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="penaltySurchargeAmount" type="xs:decimal" minOccurs="0">
<xs:annotation>
<xs:documentation>The penalty surcharge expressed as a monetary amount.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="deliveryTermsType">
<xs:sequence>
<xs:element name="deliveryTermCode" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Delivery term code</xs:documentation>
<xs:documentation xml:lang="sv">Leveransvillkor - kod</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="deliveryAddressName" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">The name of the Party (e.g. organization) located at the address.</xs:documentation>
<xs:documentation xml:lang="sv">Plats för leveransvillkoret</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="deliveryTermsText" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Delivery terms in plain text.</xs:documentation>
<xs:documentation xml:lang="sv">Klartext för leveransvillkoret</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="delayTermsType">
<xs:sequence>
<xs:element name="delayTerms" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Delay terms in plain text.</xs:documentation>
<xs:documentation xml:lang="sv">förseningsvillkor</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="penaltyInterestRate" type="xs:decimal" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Penalty interest rate</xs:documentation>
<xs:documentation xml:lang="sv">Straffräntesats</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="allowanceAndChargeType">
<xs:sequence>
<xs:element name="alcType" type="exderType:alcTypeId" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Code (allowance or charge)</xs:documentation>
<xs:documentation xml:lang="sv">Avgift/rabattkod</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="alcQuantity" type="xs:nonNegativeInteger" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Allowance or charge quantity</xs:documentation>
<xs:documentation xml:lang="sv">Avgift/rabattkvantitet</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="alcPercentage" type="xs:decimal" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Allowance or charge percentage</xs:documentation>
<xs:documentation xml:lang="sv">Avgift/rabattkodsprocent</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="alcAmount" type="exderType:amount" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Allowance or charge amount</xs:documentation>
<xs:documentation xml:lang="sv">Avgiftsbelopp</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="alcBaseAmount" type="exderType:amount" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Allowance or charge base amount</xs:documentation>
<xs:documentation xml:lang="sv">Avgiftsgrundandebelopp</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="calculationSequence" type="xs:nonNegativeInteger" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Allowance or charge Calculation sequence</xs:documentation>
<xs:documentation xml:lang="sv">Beräkningssekvens</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="alcReasonCode" type="xs:string" minOccurs="0"/>
<xs:element name="alcReasonText" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Allowance or charge reason. Plain text.</xs:documentation>
<xs:documentation xml:lang="sv">ALC orsak</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice minOccurs="0">
<xs:element name="edifactUnit">
<xs:annotation>
<xs:documentation>Unit code according to EDIFACT</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="exderType:upshifted">
<xs:maxLength value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="unitId" type="exderType:unitId">
<xs:annotation>
<xs:documentation xml:lang="en">Unit</xs:documentation>
<xs:documentation xml:lang="sv">Enhet</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="externalUnit" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">Unit referred to by configurable code</xs:documentation>
<xs:documentation xml:lang="sv">Enhet med egendefinierad kod</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element name="specialServices" type="exderType:specialServicesType" minOccurs="0"/>
<xs:element name="alcTax" type="exderType:taxType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="specialServicesType">
<xs:sequence>
<xs:element name="specialServiceCode" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Special services code</xs:documentation>
<xs:documentation xml:lang="sv">Servicekod</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="taxType">
<xs:sequence>
<xs:element name="taxTypeCode" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Tax type code</xs:documentation>
<xs:documentation xml:lang="sv">Skattekategori, kod</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="taxPercentage" type="xs:decimal" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Tax percentage</xs:documentation>
<xs:documentation xml:lang="sv">Skattesats</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="taxAmount" type="exderType:amount" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Tax amount</xs:documentation>
<xs:documentation xml:lang="sv">Skattebelopp</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="lawText" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Tax legislation may, depending on tax rate or type of goods, require an explanatory text.</xs:documentation>
<xs:documentation xml:lang="sv">Lagtext</xs:documentation>
</xs:annotation>
</xs:element>
<!-- lawText should only be used when taxPercentage is "0" (zero) -->
<xs:element name="exemptionReasonCode" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Exemption reason code value in accordance with code list VATEX</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="withholdingTaxType">
<xs:sequence>
<xs:element name="withholdingAmount" type="exderType:amount" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Tax amount</xs:documentation>
<xs:documentation xml:lang="sv">Skattebelopp</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="withholdingPercentage" type="xs:decimal" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Tax percentage</xs:documentation>
<xs:documentation xml:lang="sv">Skattesats</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="withholdingType" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Withholding tax type value</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="withholdingReasonCode" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Withholding tax reason code value</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="currencyCodeType">
<xs:annotation>
<xs:documentation xml:lang="en">Currency code</xs:documentation>
<xs:documentation xml:lang="sv">Valutakod</xs:documentation>
</xs:annotation>
<xs:restriction base="exderType:upshifted">
<xs:maxLength value="3"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="currencyExchangeType">
<xs:sequence>
<xs:element name="sourceCurrencyCode" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Currency code for currency from which conversion is made.</xs:documentation>
<xs:documentation xml:lang="sv">Valutakonvertering till, id</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="exderType:upshifted">
<xs:maxLength value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="exchangeRate" type="xs:decimal" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Conversion rate</xs:documentation>
<xs:documentation xml:lang="sv">Valutakurs</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="exchangeRateDate" type="xs:date" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Conversion rate date</xs:documentation>
<xs:documentation xml:lang="sv">Valutakursdatum</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="targetCurrencyCode" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Currency code for currency to which conversion is made.</xs:documentation>
<xs:documentation xml:lang="sv">Valutakonvertering till, id</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="exderType:upshifted">
<xs:maxLength value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="creditReasonIdType">
<xs:annotation>
<xs:documentation xml:lang="en">Credit reason type</xs:documentation>
<xs:documentation xml:lang="sv">Anledning till kreditering, typ</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:maxLength value="3"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="contactType">
<xs:sequence>
<xs:element name="contactName" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Name of the contact (person) in plain text.</xs:documentation>
<xs:documentation xml:lang="sv">Namn</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="phone" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Phone number to the contact (land line).</xs:documentation>
<xs:documentation xml:lang="sv">Telefon</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="mobilephone" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Mobile phone number to the contact.</xs:documentation>
<xs:documentation xml:lang="sv">Mobiltelefon</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="fax" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">The fax number to the contact.</xs:documentation>
<xs:documentation xml:lang="sv">Faxnummer</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="emailAddress" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">The E-mail address to the contact.</xs:documentation>
<xs:documentation xml:lang="sv">E-postadress</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="customersReference" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Reference code referring to the contact.</xs:documentation>
<xs:documentation xml:lang="sv">Kunds referens</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="locationDetailsType">
<xs:sequence>
<xs:element name="codelistAgencyId" type="exderType:codelistAgencyId">
<xs:annotation>
<xs:documentation xml:lang="en">Codelist agency</xs:documentation>
<xs:documentation xml:lang="sv">Kodlisteutgivare</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="locationId">
<xs:annotation>
<xs:documentation xml:lang="en">Address Location (or party) identifier.</xs:documentation>
<xs:documentation xml:lang="sv">Lokaliseringsid (UNB)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="35"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="subLocationId" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation xml:lang="en">Address Sub location (or party) identifier</xs:documentation>
<xs:documentation xml:lang="sv">Underliggande lokaliseringsid (UNB)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="35"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="partsAddressType">
<xs:sequence minOccurs="0">
<xs:element name="location" type="exderType:locationDetailsType" minOccurs="0">
<xs:annotation>
<xs:documentation>Address location identifiers</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="addressName" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">The name of the party (e.g. organization) which is located at the address.</xs:documentation>
<xs:documentation xml:lang="sv">Namn</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="350"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="extraAddressLine" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Extra address line such as c/o address</xs:documentation>
<xs:documentation xml:lang="sv">Extra adressrad såsom c/o-adress</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="streetAddress" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">The name of the street.</xs:documentation>
<xs:documentation xml:lang="sv">Gatuadress</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="addressLine" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>An additional address line in an address that can be used to give further details supplementing the main line, for instance office number.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="zipCode" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Postal code (zip code)</xs:documentation>
<xs:documentation xml:lang="sv">Postnummer</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="cityAddress" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">City name</xs:documentation>
<xs:documentation xml:lang="sv">Postort</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="countryId" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Country code (ISO)</xs:documentation>
<xs:documentation xml:lang="sv">Landskod</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="exderType:upshifted">
<xs:maxLength value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="country" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Country name in plain text</xs:documentation>
<xs:documentation xml:lang="sv">Land</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="countrySubentityCode" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Code for the country subentity according to ISO-3166-2.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="countrySubentity" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Name of country subentity.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="internalReference" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Internal reference</xs:documentation>
<xs:documentation xml:lang="sv">Intern referens</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="contact" type="exderType:contactType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Contact details</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="measurementType">
<xs:sequence>
<xs:element name="measurementApplicationQualifier" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Measurement application qualifier</xs:documentation>
<xs:documentation xml:lang="sv">Måttapplikationskvalificerare</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="exderType:upshifted">
<xs:maxLength value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="measurementCode" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Measurement code</xs:documentation>
<xs:documentation xml:lang="sv">Måttdimension för mängd</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="exderType:upshifted">
<xs:maxLength value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="measurementSignificansCode" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Measurement significans code</xs:documentation>
<xs:documentation xml:lang="sv">Måttsignifikanskod</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="exderType:upshifted">
<xs:maxLength value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="quantity" type="exderType:quantityType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Quantity</xs:documentation>
<xs:documentation xml:lang="sv">Kvantitet</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="partyIdentifierType">
<xs:sequence>
<xs:element name="partyIdentifierType">
<xs:annotation>
<xs:documentation xml:lang="en">DUNS
GLN
org
VAT
DUNS: entity identification from Dun and Bradstreet
GLN: Global Location Number from GS1
org: a country specific organization identifier usually assigned to an organization by a government authority (e.g. DK:CVR, SE:Orgno, NO:Orgno). Use country code in combination with ORG.
VAT: Value Added Tax number. A country specific tax identifier usually assigned to an organization by a government authority. Use country code in combination with VAT number.
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="partyIdentifierDetailedType" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>The specific subtype of the identifier eg. SE:ORG, FR:SIRET, DUNS.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="countryId" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Country code (ISO)</xs:documentation>
<xs:documentation xml:lang="sv">Landskod</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="exderType:upshifted">
<xs:maxLength value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="identifier">
<xs:annotation>
<xs:documentation xml:lang="en">Identifier</xs:documentation>
<xs:documentation xml:lang="sv">Identifier</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="identifierLabel" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation xml:lang="en">Identifier label</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="partyTaxSchemeType">
<xs:sequence>
<xs:element name="taxCertificate" type="xs:string" minOccurs="0"/>
<xs:element name="taxSchemeID" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="partyType">
<xs:sequence>
<xs:element name="partyAddress" type="exderType:partsAddressType" minOccurs="0"/>
<xs:element name="partyIdentifier" type="exderType:partyIdentifierType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="transportType">
<xs:sequence>
<xs:element name="transportId" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>The Id of the transport information, mostly used when more than one is required.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="transportMode" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>The mode of the transport.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="carrierName" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>The name of the carrier.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="transportVessel" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Identification of the vessel, for instance registration number or similar.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="transportLocation" type="exderType:transportLocationType" minOccurs="0">
<xs:annotation>
<xs:documentation>Loading/unloading/border crossing point. Preferrably expressed as a location Id with a codelist.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="transportDate" type="xs:date" minOccurs="0">
<xs:annotation>
<xs:documentation>Date of the transport, related to the Transport Location.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="countryOfOrigin" minOccurs="0">
<xs:annotation>
<xs:documentation>Country of origin of the transport.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="countryCode" minOccurs="0">
<xs:annotation>
<xs:documentation>Use ISO3166</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="exderType:upshifted">
<xs:maxLength value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="country" minOccurs="0">
<xs:annotation>
<xs:documentation>Country name in plain text.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="countryOfDestination" minOccurs="0">
<xs:annotation>
<xs:documentation>Country of destination of the transport.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="countryCode" minOccurs="0">
<xs:annotation>
<xs:documentation>Use ISO3166</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="exderType:upshifted">
<xs:maxLength value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="country" minOccurs="0">
<xs:annotation>
<xs:documentation>Country name in plain text.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="dischargeLocation" type="exderType:transportLocationType" minOccurs="0">
<xs:annotation>
<xs:documentation>Place of discharging. Preferrably expressed as a location Id with a codelist.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="finalDestination" type="exderType:transportLocationType" minOccurs="0">
<xs:annotation>
<xs:documentation>Final delivery dastination. Preferrably expressed as a location Id with a codelist.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="goodsType">
<xs:sequence>
<xs:element name="packageInformation" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Detailed information about the pieces of the shipment. If possible use UN/ECE Rec 20, UN/ECE Rec 21. The 2 character alphanumeric code values in UNECE Recommendation 21 shall be used. To avoid duplication with existing code values in UNECE Recommendation No. 20, each code value from UNECE Recommendation 21 shall be prefixed with an X</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="goodsMarking" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Marking on the goods.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="packingQuantity" type="exderType:packingMetering" minOccurs="0">
<xs:annotation>
<xs:documentation>Number of boxes or equivalent.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="grossWeight" type="exderType:packingMetering" minOccurs="0">
<xs:annotation>
<xs:documentation>Gross weight of the package.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="netWeight" type="exderType:packingMetering" minOccurs="0">
<xs:annotation>
<xs:documentation>Net weight of the package.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="measurements" type="exderType:measurementsType" minOccurs="0">
<xs:annotation>
<xs:documentation>Measurements of the package.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="totals" minOccurs="0">
<xs:annotation>
<xs:documentation>Total values for the shipment. If possible use UN/ECE Rec 20, UN/ECE Rec 21. The 2 character alphanumeric code values in UNECE Recommendation 21 shall be used. To avoid duplication with existing code values in UNECE Recommendation No. 20, each code value from UNECE Recommendation 21 shall be prefixed with an X</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="totalPackingQuantity" type="exderType:packingMetering" minOccurs="0">
<xs:annotation>
<xs:documentation>Total packing quantity.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="totalGrossWeight" type="exderType:packingMetering" minOccurs="0">
<xs:annotation>
<xs:documentation>Total gross weight.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="totalNetWeight" type="exderType:packingMetering" minOccurs="0">
<xs:annotation>
<xs:documentation>Total net weight.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="totalMeasurements" type="exderType:measurementsType" minOccurs="0">
<xs:annotation>
<xs:documentation>Total measurements for the shipment.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="orderInformationType">
<xs:sequence>
<xs:element name="orderType" type="exderType:orderTypeEnumeration">
<xs:annotation>
<xs:documentation>Specifies who is providing the information. SUPPLIER - The supplier of the goods. ORDERER - The orderer themselves is providing the information. MANUFACTURER - Order information provided by the manufacturer.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="orderNumber" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Order number of the order in question.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="orderDate" type="xs:date" minOccurs="0">
<xs:annotation>
<xs:documentation>The date of the order.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="orderReference" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>The reference of the order, ususally a the person placing the order or reference to a contract.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="orderPosition" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Specification for where in the order the invoice references. Usually a row ID or similar.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="cashDiscountType">
<xs:sequence>
<xs:element name="date" type="xs:date" minOccurs="0">
<xs:annotation>
<xs:documentation>Cash discount date.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="percent" type="exderType:positiveDecimal" minOccurs="0">
<xs:annotation>
<xs:documentation>Discount percent.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="discountAmount" type="exderType:amount" minOccurs="0">
<xs:annotation>
<xs:documentation>Discount monetary amount.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vat" type="exderType:taxType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>VAT information.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="totalVatDiscounted" type="exderType:amount" minOccurs="0">
<xs:annotation>
<xs:documentation>Total VAT for the discounted price.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="invoiceTotalDiscounted" type="exderType:amount" minOccurs="0">
<xs:annotation>
<xs:documentation>Invoice total sum, including cash discount.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="securityDetailsType">
<xs:sequence>
<xs:element name="secrecyClass" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Secrecy class of the object, usually coded.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="secrecyDescription" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Description of the secrecy class of the object.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="transportLocationType">
<xs:sequence>
<xs:element name="locationId" type="xs:string" minOccurs="0"/>
<xs:element name="codelistAgencyId" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Must be a value from code list ISO6523.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="locationName" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="packingMetering">
<xs:sequence>
<xs:element name="value" type="xs:decimal" minOccurs="0"/>
<xs:element name="unit" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="measurementsType">
<xs:sequence>
<xs:element name="length" type="exderType:packingMetering" minOccurs="0"/>
<xs:element name="width" type="exderType:packingMetering" minOccurs="0"/>
<xs:element name="height" type="exderType:packingMetering" minOccurs="0"/>
<xs:element name="volume" type="exderType:packingMetering" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="unitType">
<xs:sequence>
<xs:element name="value">
<xs:annotation>
<xs:documentation xml:lang="en">Free formed unit value</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="label" type="xs:string" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation xml:lang="en">Label marking in what formats a unit can be used</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="additionalAttributeType">
<xs:annotation>
<xs:documentation>Information about properties of the goods and services invoiced.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="attributeName" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>The name of the attribute or property of the item.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="attributeValue" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>The value of the attribute or property of the item.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:schema>
Basic types #2
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
#######################################################
exderTypes.xsd
Definition of used basic types.
Copyright Kofax 2007-2024
#######################################################
-->
<xs:schema targetNamespace="http://www.expertsystem.se/xml-schemas/types" xmlns="http://www.expertsystem.se/xml-schemas/types" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<!-- Basic types -->
<xs:simpleType name="upshifted">
<xs:annotation>
<xs:documentation xml:lang="en">Type that only allows upshifted strings (i.e. does
not allow lower case characters</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:pattern value="[^a-z]*"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="positiveDouble">
<xs:restriction base="xs:double">
<xs:minInclusive value="0.0"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="positiveDecimal">
<xs:restriction base="xs:decimal">
<xs:minInclusive value="0.0"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="amount">
<xs:annotation>
<xs:documentation xml:lang="en">Type for monetary amounts</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:decimal">
<xs:fractionDigits value="2"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="price">
<xs:annotation>
<xs:documentation xml:lang="en">Type for monetary amounts specified with 4 decimals</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:decimal">
<xs:fractionDigits value="4"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="positiveAmount">
<xs:restriction base="amount">
<xs:minInclusive value="0.00"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="quantity">
<xs:annotation>
<xs:documentation xml:lang="en">Type for quantities</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:decimal">
<xs:fractionDigits value="3"/>
</xs:restriction>
</xs:simpleType>
<!-- Enumeration types -->
<xs:simpleType name="addressTypeId">
<xs:restriction base="xs:string">
<xs:enumeration value="AK">
<xs:annotation>
<xs:documentation xml:lang="en">Acknowledgement recipient</xs:documentation>
<xs:documentation xml:lang="sv">Bekräftande mottagare</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="BY">
<xs:annotation>
<xs:documentation xml:lang="en">Buyer</xs:documentation>
<xs:documentation xml:lang="sv">Köpare</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="CN">
<xs:annotation>
<xs:documentation xml:lang="en">Consignee</xs:documentation>
<xs:documentation xml:lang="sv">Godsmottagare</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="DP">
<xs:annotation>
<xs:documentation xml:lang="en">Deliveryaddress</xs:documentation>
<xs:documentation xml:lang="sv">Leveransadress</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="FW">
<xs:annotation>
<xs:documentation xml:lang="en">Freight forwarder</xs:documentation>
<xs:documentation xml:lang="sv">Speditör</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="II">
<xs:annotation>
<xs:documentation xml:lang="en">Invoice remitter</xs:documentation>
<xs:documentation xml:lang="sv">Fakturaavsändare</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="IPD">
<xs:annotation>
<xs:documentation xml:lang="en">Giver of productinformation</xs:documentation>
<xs:documentation xml:lang="sv">Varuinformationslämnare</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="ITO">
<xs:annotation>
<xs:documentation xml:lang="en">Invoice addressee</xs:documentation>
<xs:documentation xml:lang="sv">Fakturaadressat</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="IV">
<xs:annotation>
<xs:documentation xml:lang="en">Invoicereceiver</xs:documentation>
<xs:documentation xml:lang="sv">Fakturamottagare</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="OB">
<xs:annotation>
<xs:documentation xml:lang="en">Ordered by</xs:documentation>
<xs:documentation xml:lang="sv">Fabrikant</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="PE">
<xs:annotation>
<xs:documentation xml:lang="en">Payee</xs:documentation>
<xs:documentation xml:lang="sv">Betalningsmottagare</xs:documentation>
<xs:documentation xml:lang="no">Betalningsmottakker</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="SN">
<xs:annotation>
<xs:documentation xml:lang="en">Shop</xs:documentation>
<xs:documentation xml:lang="sv">Butik</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="SU">
<xs:annotation>
<xs:documentation xml:lang="en">Supplier</xs:documentation>
<xs:documentation xml:lang="sv">Leverantör</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="UD">
<xs:annotation>
<xs:documentation xml:lang="en">Ultimate customer</xs:documentation>
<xs:documentation xml:lang="sv">Slutgiltig mottagare</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="alcTypeId">
<xs:restriction base="xs:string">
<xs:enumeration value="A">
<xs:annotation>
<xs:documentation xml:lang="en">Allowance</xs:documentation>
<xs:documentation xml:lang="sv">Avdrag</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="C">
<xs:annotation>
<xs:documentation xml:lang="en">Charge</xs:documentation>
<xs:documentation xml:lang="sv">Avgift</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="articleTypeId">
<xs:annotation>
<xs:documentation xml:lang="en">Omitting this tag means 'In stock'</xs:documentation>
<xs:documentation xml:lang="sv">Om taggen utelämnas antas 'Lagerförd'</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration value="EXP">
<xs:annotation>
<xs:documentation xml:lang="en">Expedition fee</xs:documentation>
<xs:documentation xml:lang="sv">Expeditionsavgift</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="FRE">
<xs:annotation>
<xs:documentation xml:lang="en">Freigth fee</xs:documentation>
<xs:documentation xml:lang="sv">Fraktavgift</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="INV">
<xs:annotation>
<xs:documentation xml:lang="en">Invoice fee</xs:documentation>
<xs:documentation xml:lang="sv">Fakturaavgift</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="MAN">
<xs:annotation>
<xs:documentation xml:lang="en">Manufacured</xs:documentation>
<xs:documentation xml:lang="sv">Egentillverkad</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="OPE">
<xs:annotation>
<xs:documentation xml:lang="en">Operation</xs:documentation>
<xs:documentation xml:lang="sv">Operation</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="REC">
<xs:annotation>
<xs:documentation xml:lang="en">Recycle fee</xs:documentation>
<xs:documentation xml:lang="sv">Pantavgift</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="INVDIS">
<xs:annotation>
<xs:documentation xml:lang="en">Invoice discount</xs:documentation>
<xs:documentation xml:lang="sv">Fakturarabatt</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="codelistAgencyId">
<xs:restriction base="xs:string">
<xs:enumeration value="-">
<xs:annotation>
<xs:documentation xml:lang="en">Defined by parties</xs:documentation>
<xs:documentation xml:lang="sv">Definierad av parterna</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="DUN"/>
<xs:enumeration value="EAN"/>
<xs:enumeration value="ERICSSON"/>
<xs:enumeration value="VOLVO"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="invoiceTypeId">
<xs:restriction base="xs:string">
<xs:enumeration value="CR">
<xs:annotation>
<xs:documentation xml:lang="en">Credit</xs:documentation>
<xs:documentation xml:lang="sv">Kredit</xs:documentation>
<xs:documentation xml:lang="it">Nota di Credito</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="DB">
<xs:annotation>
<xs:documentation xml:lang="en">Debit</xs:documentation>
<xs:documentation xml:lang="sv">Debet</xs:documentation>
<xs:documentation xml:lang="it">Fattura</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="ITTD02">
<xs:annotation>
<xs:documentation xml:lang="en">Advance/down payment on invoice</xs:documentation>
<xs:documentation xml:lang="it">Acconto/Anticipo su fattura</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="ITTD03">
<xs:annotation>
<xs:documentation xml:lang="en">Advance/down payment on fee</xs:documentation>
<xs:documentation xml:lang="it">Acconto/Anticipo su parcella</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="ITTD05">
<xs:annotation>
<xs:documentation xml:lang="en">Debit Note</xs:documentation>
<xs:documentation xml:lang="it">Nota di Debito</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="ITTD06">
<xs:annotation>
<xs:documentation xml:lang="en">Fee</xs:documentation>
<xs:documentation xml:lang="it">Parcella</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="ITTD16">
<xs:annotation>
<xs:documentation xml:lang="en">(For Italy only) Reverse charge internal invoice integration</xs:documentation>
<xs:documentation xml:lang="it">Integrazione fattura reverse charge interno</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="ITTD17">
<xs:annotation>
<xs:documentation xml:lang="en">(For Italy only) Invoice Integration / self-invoicing for the purchase services from abroad</xs:documentation>
<xs:documentation xml:lang="it">Integrazione/autofattura per acquisto servizi dall?estero</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="ITTD18">
<xs:annotation>
<xs:documentation xml:lang="en">(For Italy only) Invoice Integration for purchase of intra-EU goods</xs:documentation>
<xs:documentation xml:lang="it">Integrazione per acquisto di beni intracomunitari</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="ITTD19">
<xs:annotation>
<xs:documentation xml:lang="en">(For Italy only) Integration/self-invoicing for purchase of goods (ex art.17 c.2 DPR 633/72)</xs:documentation>
<xs:documentation xml:lang="it">Integrazione/autofattura per acquisto di beni ex art.17 c.2 DPR 633/72</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="ITTD20">
<xs:annotation>
<xs:documentation xml:lang="en">(For Italy only) Self-invoicing for regularization and integration of invoices (ex art.6 c.8 and 9-bis d.lgs 471/97 or art.46 c.5 D.L. 331/93)</xs:documentation>
<xs:documentation xml:lang="it">Autofattura per regolarizzazione e integrazione delle fatture (art.6 c.8 d.lgs. 471/97 o art.46 c.5 D.L. 331/93)</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="ITTD21">
<xs:annotation>
<xs:documentation xml:lang="en">(For Italy only) Self-invoicing for splaphoning</xs:documentation>
<xs:documentation xml:lang="it">Autofattura per splafonamento</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="ITTD22">
<xs:annotation>
<xs:documentation xml:lang="en">(For Italy only) Extraction of goods from the VAT warehouse</xs:documentation>
<xs:documentation xml:lang="it">Estrazione beni da Deposito IVA</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="ITTD23">
<xs:annotation>
<xs:documentation xml:lang="en">(For Italy only) Extraction of goods from the VAT warehouse with payment of VAT</xs:documentation>
<xs:documentation xml:lang="it">Estrazione beni da Deposito IVA con versamento dell?IVA</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="ITTD24">
<xs:annotation>
<xs:documentation xml:lang="en">(For Italy only) Deferred invoice (ex art.21, c.4, lett. a)</xs:documentation>
<xs:documentation xml:lang="it">Fattura differita di cui all?art.21, comma 4, lett. a)</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="ITTD25">
<xs:annotation>
<xs:documentation xml:lang="en">(For Italy only) Deferred invoice (ex art.21, c.4, third period lett. b)</xs:documentation>
<xs:documentation xml:lang="it">Fattura differita di cui all?art.21, comma 4, terzo periodo lett. b)</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="ITTD26">
<xs:annotation>
<xs:documentation xml:lang="en">(For Italy only) Sale of depreciable assets and for internal transfers (ex art.36 DPR 633/72)</xs:documentation>
<xs:documentation xml:lang="it">Cessione di beni ammortizzabili e per passaggi interni (ex art.36 DPR 633/72)</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="ITTD27">
<xs:annotation>
<xs:documentation xml:lang="en">(For Italy only) Self invoicing for self-consumption or for free charge invoice with VAT application</xs:documentation>
<xs:documentation xml:lang="it">Fattura per autoconsumo o per cessioni gratuite senza rivalsa</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="positionTypeId">
<xs:restriction base="xs:string">
<xs:enumeration value="AD">
<xs:annotation>
<xs:documentation xml:lang="en">Contact person</xs:documentation>
<xs:documentation xml:lang="sv">Kontaktperson, allmänt</xs:documentation>
</xs:annotation>
<!-- Primarily use this value! -->
</xs:enumeration>
<xs:enumeration value="AP">
<xs:annotation>
<xs:documentation xml:lang="en">Supplier's accounts payable ledger</xs:documentation>
<xs:documentation xml:lang="sv">Leverantörsreskontra</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="AR">
<xs:annotation>
<xs:documentation xml:lang="en">Customer's accounts payable ledger</xs:documentation>
<xs:documentation xml:lang="sv">Kundreskontra</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="AT">
<xs:annotation>
<xs:documentation xml:lang="en">Technical contact</xs:documentation>
<xs:documentation xml:lang="sv">Teknisk handläggare</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="CR">
<xs:annotation>
<xs:documentation xml:lang="en">Customer contact</xs:documentation>
<xs:documentation xml:lang="sv">Kundkontakt</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="DL">
<xs:annotation>
<xs:documentation xml:lang="en">Delivery responsible</xs:documentation>
<xs:documentation xml:lang="sv">Leveransansvarig</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="GR">
<xs:annotation>
<xs:documentation xml:lang="en">Goodsoffice responsible</xs:documentation>
<xs:documentation xml:lang="sv">Godsmottagningsansvarig</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="OC">
<xs:annotation>
<xs:documentation xml:lang="en">Order contract</xs:documentation>
<xs:documentation xml:lang="sv">Orderkontrakt</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="PD">
<xs:annotation>
<xs:documentation xml:lang="en">Purchase division</xs:documentation>
<xs:documentation xml:lang="sv">Inköpsavdelning</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="SA">
<xs:annotation>
<xs:documentation xml:lang="en">Sale contact</xs:documentation>
<xs:documentation xml:lang="sv">Säljkontakt</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="SR">
<xs:annotation>
<xs:documentation xml:lang="en">Suppliers contact</xs:documentation>
<xs:documentation xml:lang="sv">Leverantörens säljare</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="paymentTypeId">
<xs:restriction base="xs:string">
<xs:enumeration value="BA">
<xs:annotation>
<xs:documentation xml:lang="en">Bank</xs:documentation>
<xs:documentation xml:lang="sv">Bank</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="BG">
<xs:annotation>
<xs:documentation xml:lang="en">Bankgiro</xs:documentation>
<xs:documentation xml:lang="sv">Bankgiro</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="CC">
<xs:annotation>
<xs:documentation xml:lang="en">Credit card</xs:documentation>
<xs:documentation xml:lang="sv">Kreditkort</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="CSH">
<xs:annotation>
<xs:documentation xml:lang="en">Cash</xs:documentation>
<xs:documentation xml:lang="sv">Kontant</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="ONL">
<xs:annotation>
<xs:documentation xml:lang="en">Online</xs:documentation>
<xs:documentation xml:lang="sv">Online</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="PG">
<xs:annotation>
<xs:documentation xml:lang="en">Postal giro</xs:documentation>
<xs:documentation xml:lang="sv">Postgiro</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="PMO">
<xs:annotation>
<xs:documentation xml:lang="en">Postal money order</xs:documentation>
<xs:documentation xml:lang="sv">Postförskott</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="settlementTypeId">
<xs:restriction base="xs:string">
<xs:enumeration value="2">
<xs:annotation>
<xs:documentation xml:lang="en">Off invoice</xs:documentation>
<xs:documentation xml:lang="sv">Avdrages fakturan</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="6">
<xs:annotation>
<xs:documentation xml:lang="en">Charge to be paid by customer</xs:documentation>
<xs:documentation xml:lang="sv">Avgift att betalas av kund</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="specialServiceId">
<xs:restriction base="xs:string">
<xs:enumeration value="ACA">
<xs:annotation>
<xs:documentation xml:lang="en">Allowance</xs:documentation>
<xs:documentation xml:lang="sv">Avdrag</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="ADR">
<xs:annotation>
<xs:documentation xml:lang="en">Other service</xs:documentation>
<xs:documentation xml:lang="sv">Övriga avgifter</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="FC">
<xs:annotation>
<xs:documentation xml:lang="en">Freight service</xs:documentation>
<xs:documentation xml:lang="sv">Fraktavgift</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="QD">
<xs:annotation>
<xs:documentation xml:lang="en">Quantity discount</xs:documentation>
<xs:documentation xml:lang="sv">Mängdrabatt</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="SH">
<xs:annotation>
<xs:documentation xml:lang="en">Special handling</xs:documentation>
<xs:documentation xml:lang="sv">Teknikrabatt</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="textTypeId">
<xs:restriction base="xs:string">
<xs:enumeration value="ARTTXT">
<xs:annotation>
<xs:documentation xml:lang="en">Article comment</xs:documentation>
<xs:documentation xml:lang="sv">Artikelkommentar</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="BLUEPR">
<xs:annotation>
<xs:documentation xml:lang="en">Blueprint</xs:documentation>
<xs:documentation xml:lang="sv">Ritning</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="CR" />
<xs:enumeration value="CREF1">
<xs:annotation>
<xs:documentation xml:lang="en">Customers reference 1</xs:documentation>
<xs:documentation xml:lang="sv">Beställarreferens 1</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="CREF2">
<xs:annotation>
<xs:documentation xml:lang="en">Customers reference 2</xs:documentation>
<xs:documentation xml:lang="sv">Beställarreferens 2</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="DESREF">
<xs:annotation>
<xs:documentation xml:lang="en">Despatch reference</xs:documentation>
<xs:documentation xml:lang="sv">Referens till följesedel</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="DESTXT">
<xs:annotation>
<xs:documentation xml:lang="en">Despatch text</xs:documentation>
<xs:documentation xml:lang="sv">Följesedeltext</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="ENDCUS">
<xs:annotation>
<xs:documentation xml:lang="en">End customer</xs:documentation>
<xs:documentation xml:lang="sv">Slutkund</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="ORDREF">
<xs:annotation>
<xs:documentation xml:lang="en">Order reference</xs:documentation>
<xs:documentation xml:lang="sv">Orderreferens</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="PRI">
<xs:annotation>
<xs:documentation xml:lang="en">Price marking</xs:documentation>
<xs:documentation xml:lang="sv">Prismärkning</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="PRIPRP">
<xs:annotation>
<xs:documentation xml:lang="en">Campaign price</xs:documentation>
<xs:documentation xml:lang="sv">Kampanjpris</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="PRIRTP">
<xs:annotation>
<xs:documentation xml:lang="en">Retailprice</xs:documentation>
<xs:documentation xml:lang="sv">Konsumentpris</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="REF">
<xs:annotation>
<xs:documentation xml:lang="en">Referensno</xs:documentation>
<xs:documentation xml:lang="sv">Referensnr</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="TRP">
<xs:annotation>
<xs:documentation xml:lang="en">Transportinstruction</xs:documentation>
<xs:documentation xml:lang="sv">Transportinstruktion</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="TXT">
<xs:annotation>
<xs:documentation xml:lang="en">Free text</xs:documentation>
<xs:documentation xml:lang="sv">Fritext</xs:documentation>
</xs:annotation>
<!-- Primarily use this one -->
</xs:enumeration>
<xs:enumeration value="VATLAW">
<xs:annotation>
<xs:documentation xml:lang="en">VAT law reference</xs:documentation>
<xs:documentation xml:lang="sv">Momslagshänvisning</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="unitId">
<xs:restriction base="xs:string">
<xs:enumeration value="A">
<xs:annotation>
<xs:documentation xml:lang="en">Ampere</xs:documentation>
<xs:documentation xml:lang="sv">Ampere</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="ANN">
<xs:annotation>
<xs:documentation xml:lang="en">Year</xs:documentation>
<xs:documentation xml:lang="sv">År</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="C">
<xs:annotation>
<xs:documentation xml:lang="en">Degree Celsius</xs:documentation>
<xs:documentation xml:lang="sv">Grader Celsius</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="CM">
<xs:annotation>
<xs:documentation xml:lang="en">Centimetre</xs:documentation>
<xs:documentation xml:lang="sv">Centimeter</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="CM2">
<xs:annotation>
<xs:documentation xml:lang="en">Square centimetre</xs:documentation>
<xs:documentation xml:lang="sv">Kvadratcentimeter</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="DAY">
<xs:annotation>
<xs:documentation xml:lang="en">Day</xs:documentation>
<xs:documentation xml:lang="sv">Dag</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="DM">
<xs:annotation>
<xs:documentation xml:lang="en">Decimetre</xs:documentation>
<xs:documentation xml:lang="sv">Decimeter</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="G">
<xs:annotation>
<xs:documentation xml:lang="en">Gram</xs:documentation>
<xs:documentation xml:lang="sv">Gram</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="H">
<xs:annotation>
<xs:documentation xml:lang="en">Hour</xs:documentation>
<xs:documentation xml:lang="sv">Timme</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="INH">
<xs:annotation>
<xs:documentation xml:lang="en">Inch</xs:documentation>
<xs:documentation xml:lang="sv">Tum</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="J">
<xs:annotation>
<xs:documentation xml:lang="en">Joule</xs:documentation>
<xs:documentation xml:lang="sv">Joule</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="K">
<xs:annotation>
<xs:documentation xml:lang="en">Kelvin</xs:documentation>
<xs:documentation xml:lang="sv">Kelvin</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="KG">
<xs:annotation>
<xs:documentation xml:lang="en">Kilogram</xs:documentation>
<xs:documentation xml:lang="sv">Kilogram</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="KHZ">
<xs:annotation>
<xs:documentation xml:lang="en">Kilohertz</xs:documentation>
<xs:documentation xml:lang="sv">Kilohertz</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="KM">
<xs:annotation>
<xs:documentation xml:lang="en">Kilometre</xs:documentation>
<xs:documentation xml:lang="sv">Kilometer</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="KV">
<xs:annotation>
<xs:documentation xml:lang="en">Kilovolt</xs:documentation>
<xs:documentation xml:lang="sv">Kilovolt</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="KWH">
<xs:annotation>
<xs:documentation xml:lang="en">Kilowatt-hour</xs:documentation>
<xs:documentation xml:lang="sv">Kilowattimme</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="L">
<xs:annotation>
<xs:documentation xml:lang="en">Litre</xs:documentation>
<xs:documentation xml:lang="sv">Liter</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="M">
<xs:annotation>
<xs:documentation xml:lang="en">Meter</xs:documentation>
<xs:documentation xml:lang="sv">Meter</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="M2">
<xs:annotation>
<xs:documentation xml:lang="en">Square metre</xs:documentation>
<xs:documentation xml:lang="sv">Kvadratmeter</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="M3">
<xs:annotation>
<xs:documentation xml:lang="en">Cubic metre</xs:documentation>
<xs:documentation xml:lang="sv">Kubikmeter</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="MG">
<xs:annotation>
<xs:documentation xml:lang="en">Milligram</xs:documentation>
<xs:documentation xml:lang="sv">Milligram</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="MHZ">
<xs:annotation>
<xs:documentation xml:lang="en">Megahertz</xs:documentation>
<xs:documentation xml:lang="sv">Megahertz</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="MIN">
<xs:annotation>
<xs:documentation xml:lang="en">Minute</xs:documentation>
<xs:documentation xml:lang="sv">Minut</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="ML">
<xs:annotation>
<xs:documentation xml:lang="en">Millilitre</xs:documentation>
<xs:documentation xml:lang="sv">Milliliter</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="MM">
<xs:annotation>
<xs:documentation xml:lang="en">Millimetre</xs:documentation>
<xs:documentation xml:lang="sv">Millimeter</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="MTH">
<xs:annotation>
<xs:documentation xml:lang="en">Month</xs:documentation>
<xs:documentation xml:lang="sv">Månad</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="MW">
<xs:annotation>
<xs:documentation xml:lang="en">Megawatt</xs:documentation>
<xs:documentation xml:lang="sv">Megawatt</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="PCS">
<xs:annotation>
<xs:documentation xml:lang="en">Piece</xs:documentation>
<xs:documentation xml:lang="sv">Styck</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="PK">
<xs:annotation>
<xs:documentation xml:lang="en">Package</xs:documentation>
<xs:documentation xml:lang="sv">Paket</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="PND">
<xs:annotation>
<xs:documentation xml:lang="en">Pound</xs:documentation>
<xs:documentation xml:lang="sv">Pund</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="PR">
<xs:annotation>
<xs:documentation xml:lang="en">Pair</xs:documentation>
<xs:documentation xml:lang="sv">Par</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="PTN">
<xs:annotation>
<xs:documentation xml:lang="en">Portion</xs:documentation>
<xs:documentation xml:lang="sv">Portion</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="S">
<xs:annotation>
<xs:documentation xml:lang="en">Second</xs:documentation>
<xs:documentation xml:lang="sv">Sekund</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="TNE">
<xs:annotation>
<xs:documentation xml:lang="en">Metric ton</xs:documentation>
<xs:documentation xml:lang="sv">Ton</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="QAN">
<xs:annotation>
<xs:documentation xml:lang="en">Quarter of a year</xs:documentation>
<xs:documentation xml:lang="sv">Kvartal</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="V">
<xs:annotation>
<xs:documentation xml:lang="en">Volt</xs:documentation>
<xs:documentation xml:lang="sv">Volt</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="W">
<xs:annotation>
<xs:documentation xml:lang="en">Watt</xs:documentation>
<xs:documentation xml:lang="sv">Watt</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="YRD">
<xs:annotation>
<xs:documentation xml:lang="en">Yard</xs:documentation>
<xs:documentation xml:lang="sv">Yard</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<!-- Special types used by Schema relaxation -->
<xs:simpleType name="empty-string">
<xs:restriction base="xs:string">
<xs:enumeration value="" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="decimal-or-empty">
<xs:union memberTypes="xs:decimal empty-string" />
</xs:simpleType>
<xs:simpleType name="partyTypeEnumeration">
<xs:restriction base="xs:string">
<xs:enumeration value="INVOICE_SENDER"/>
<xs:enumeration value="SALES_CONTACT"/>
<xs:enumeration value="ORDERER"/>
<xs:enumeration value="PAYER"/>
<xs:enumeration value="PAYOR"/>
<xs:enumeration value="MANUFACTURER"/>
<xs:enumeration value="HOLDER"/>
<xs:enumeration value="TAX_REPRESENTATIVE"/>
<xs:enumeration value="VALIDATOR"/>
<xs:enumeration value="FACTOR"/>
<xs:enumeration value="RECIPIENT"/>
<xs:enumeration value="BUYER"/>
<xs:enumeration value="DELIVERY"/>
<xs:enumeration value="OTHER"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="orderTypeEnumeration">
<xs:restriction base="xs:string">
<xs:enumeration value="SUPPLIER"/>
<xs:enumeration value="ORDERER"/>
<xs:enumeration value="MANUFACTURER"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>
Examples
Example invoice
<?xml version="1.0" encoding="UTF-8"?>
<invoiceFile xmlns:exder="http://www.expertsystem.se/xml-schemas/types" documentVersion="2.0">
<header>
<date>2019-07-22</date>
<time>15:13:43</time>
<testIndicator>false</testIndicator>
<senderUnbLocationId>
<codelistAgencyId>-</codelistAgencyId>
<locationId>47555222000</locationId>
</senderUnbLocationId>
<receiverUnbLocationId>
<codelistAgencyId>-</codelistAgencyId>
<locationId>91888222000</locationId>
</receiverUnbLocationId>
<emailAddress>ronald.macdonald@qualitygoods.com.au</emailAddress>
</header>
<invoice>
<invoiceTypeId>DB</invoiceTypeId>
<taxInvoice>false</taxInvoice>
<invoiceId>Invoice01</invoiceId>
<invoiceDate>2019-07-29</invoiceDate>
<deliveryDate>2019-07-01</deliveryDate>
<invoicePeriodFrom>2019-06-01</invoicePeriodFrom>
<invoicePeriodTo>2019-07-30</invoicePeriodTo>
<preceedingInvoice>
<preceedingInvoiceId>PrecedingInvoiceReference1</preceedingInvoiceId>
<preceedingInvoiceIssueDate>2019-05-30</preceedingInvoiceIssueDate>
</preceedingInvoice>
<preceedingInvoice>
<preceedingInvoiceId>PrecedingInvoiceReference2</preceedingInvoiceId>
<preceedingInvoiceIssueDate>2019-05-30</preceedingInvoiceIssueDate>
</preceedingInvoice>
<invoiceFreeText>Not Tax invoice</invoiceFreeText>
<orderInformation>
<orderType>ORDERER</orderType>
<orderNumber>PurchaseOrderReference</orderNumber>
</orderInformation>
<orderInformation>
<orderType>SUPPLIER</orderType>
<orderNumber>12345678</orderNumber>
</orderInformation>
<desadvReference>
<referenceNumber>DDR-REF</referenceNumber>
</desadvReference>
<agreementReference>
<referenceNumber>CD-REF</referenceNumber>
</agreementReference>
<receiptAdviceReference>RD-REF</receiptAdviceReference>
<tenderReference>OD-REF</tenderReference>
<buyerParty>
<partnerId>91888222000</partnerId>
<legalName>Buyer Official Name</legalName>
<buyerAddress>
<location>
<codelistAgencyId>-</codelistAgencyId>
<locationId>91888222000</locationId>
</location>
<addressName>Trotters Trading Co Ltd</addressName>
<extraAddressLine>Po box 878</extraAddressLine>
<streetAddress>100 Queen Street</streetAddress>
<zipCode>2000</zipCode>
<cityAddress>Sydney</cityAddress>
<countryId>AU</countryId>
<internalReference>4025:123:4343</internalReference>
<contact>
<contactName>Lisa Johnson</contactName>
<phone>0261234567</phone>
<emailAddress>lj@buyer.com.au</emailAddress>
</contact>
</buyerAddress>
<partyIdentifier>
<partyIdentifierType>org</partyIdentifierType>
<partyIdentifierDetailedType>AU:ABN</partyIdentifierDetailedType>
<countryId>AU</countryId>
<identifier>91888222000</identifier>
</partyIdentifier>
<partyIdentifier>
<partyIdentifierType>GST</partyIdentifierType>
<partyIdentifierDetailedType>AU:GST</partyIdentifierDetailedType>
<countryId>AU</countryId>
<identifier>91888222000</identifier>
</partyIdentifier>
</buyerParty>
<supplierParty>
<partnerId>47555222000</partnerId>
<legalName>Supplier Official Name Ltd</legalName>
<supplierAddress>
<location>
<codelistAgencyId>-</codelistAgencyId>
<locationId>47555222000</locationId>
</location>
<addressName>Supplier Trading Name Ltd</addressName>
<extraAddressLine>Postbox 123</extraAddressLine>
<streetAddress>Main street 1</streetAddress>
<zipCode>2912</zipCode>
<cityAddress>Harrison</cityAddress>
<countryId>AU</countryId>
<contact>
<contactName>Ronald MacDonald</contactName>
<phone>Mobile 0430123456</phone>
<emailAddress>ronald.macdonald@qualitygoods.com.au</emailAddress>
</contact>
</supplierAddress>
<partyIdentifier>
<partyIdentifierType>org</partyIdentifierType>
<partyIdentifierDetailedType>AU:ABN</partyIdentifierDetailedType>
<countryId>AU</countryId>
<identifier>47555222000</identifier>
</partyIdentifier>
<partyIdentifier>
<partyIdentifierType>ZZZ</partyIdentifierType>
<partyIdentifierDetailedType>Other</partyIdentifierDetailedType>
<identifier>47555222000</identifier>
</partyIdentifier>
<partyIdentifier>
<partyIdentifierType>GST</partyIdentifierType>
<partyIdentifierDetailedType>AU:GST</partyIdentifierDetailedType>
<countryId>AU</countryId>
<identifier>47555222000</identifier>
</partyIdentifier>
<supplierEndpointId>
<partyIdentifierType>org</partyIdentifierType>
<partyIdentifierDetailedType>AU:ABN</partyIdentifierDetailedType>
<countryId>AU</countryId>
<identifier>47555222000</identifier>
</supplierEndpointId>
<partyTaxScheme>
<taxCertificate>GST</taxCertificate>
<taxSchemeID>47555222000</taxSchemeID>
</partyTaxScheme>
<companyLegalForm>Partnership</companyLegalForm>
</supplierParty>
<payeeParty>
<payeeAddress>
<addressName>Mr Anderson</addressName>
</payeeAddress>
<partyIdentifier>
<partyIdentifierType>ZZZ</partyIdentifierType>
<partyIdentifierDetailedType>Other</partyIdentifierDetailedType>
<identifier>91888222000</identifier>
</partyIdentifier>
<partyIdentifier>
<partyIdentifierType>org</partyIdentifierType>
<partyIdentifierDetailedType>AU:ABN</partyIdentifierDetailedType>
<countryId>AU</countryId>
<identifier>91888222000</identifier>
</partyIdentifier>
</payeeParty>
<taxRepresentativeParty>
<partyAddress>
<addressName>Mr Wilson</addressName>
<extraAddressLine>Po box 878</extraAddressLine>
<streetAddress>16 Stout Street</streetAddress>
<addressLine>Unit 1</addressLine>
<zipCode>2000</zipCode>
<cityAddress>Sydney</cityAddress>
<countryId>AU</countryId>
<countrySubentity>NSW</countrySubentity>
</partyAddress>
<partyIdentifier>
<partyIdentifierType>GST</partyIdentifierType>
<partyIdentifierDetailedType>AU:GST</partyIdentifierDetailedType>
<countryId>AU</countryId>
<identifier>91888222000</identifier>
</partyIdentifier>
</taxRepresentativeParty>
<deliveryAddress>
<location>
<codelistAgencyId>-</codelistAgencyId>
<locationId>91888222000</locationId>
</location>
<addressName>Delivery party Name</addressName>
<extraAddressLine>Building 56</extraAddressLine>
<streetAddress>Delivery street 2</streetAddress>
<addressLine>Unit 1</addressLine>
<zipCode>2000</zipCode>
<cityAddress>Sydney</cityAddress>
<countryId>AU</countryId>
<countrySubentity>NSW</countrySubentity>
</deliveryAddress>
<recipientEndpointId>
<partyIdentifierType>org</partyIdentifierType>
<partyIdentifierDetailedType>AU:ABN</partyIdentifierDetailedType>
<countryId>AU</countryId>
<identifier>91888222000</identifier>
</recipientEndpointId>
<customerProfitCentre>0150abc</customerProfitCentre>
<invoiceCurrencyCode>AUD</invoiceCurrencyCode>
<dueDate>2019-08-30</dueDate>
<paymentMeans>
<paymentMeansType>BANK</paymentMeansType>
<paymentMeansSubType>PaymentReferenceText</paymentMeansSubType>
<transactionType>30</transactionType>
<accountNo>1234567890000000</accountNo>
<institutionName>AccountName</institutionName>
<branchCode>082489</branchCode>
<paymentRef>PaymentReferenceText</paymentRef>
</paymentMeans>
<paymentMeans>
<paymentMeansType>PaymentMandate</paymentMeansType>
<paymentMeansSubType>88827661226</paymentMeansSubType>
<transactionType>49</transactionType>
<paymentRef>88827661226</paymentRef>
<paymentMandate>324875423</paymentMandate>
<payerFinancialAccount>324875423</payerFinancialAccount>
</paymentMeans>
<paymentTerms>
<note>Payment within 30 days</note>
</paymentTerms>
<allowanceAndCharge>
<alcType>C</alcType>
<alcPercentage>0</alcPercentage>
<alcAmount>0</alcAmount>
<alcBaseAmount>0</alcBaseAmount>
<alcReasonCode>246</alcReasonCode>
<alcReasonText>Shipping and Handling</alcReasonText>
<alcTax>
<taxTypeCode>S</taxTypeCode>
<taxPercentage>10</taxPercentage>
</alcTax>
</allowanceAndCharge>
<invoiceLine>
<invoiceLineId>1</invoiceLineId>
<standardItemIdentification schemeID="0002">WG546767</standardItemIdentification>
<supplierArticleId>WG546767</supplierArticleId>
<buyerArticleId>W659590</buyerArticleId>
<articleName>True-Widgets</articleName>
<articleDescription>Widgets True and Fair</articleDescription>
<invoiceLineText>Texts Giving More Info about the Invoice Line</invoiceLineText>
<invoiceQuantity>
<quantity>10</quantity>
<unit>
<value>E99</value>
</unit>
</invoiceQuantity>
<countryOfOrigin>AU</countryOfOrigin>
<invoicePeriodFrom>2019-06-01</invoicePeriodFrom>
<invoicePeriodTo>2019-07-30</invoicePeriodTo>
<invoiceLineAmount>299.9</invoiceLineAmount>
<price>
<contractPrice>29.99</contractPrice>
<allowanceAndCharge>
<alcType>A</alcType>
<alcAmount>0</alcAmount>
<alcBaseAmount>29.99</alcBaseAmount>
</allowanceAndCharge>
</price>
<vatInfo>
<taxTypeCode>S</taxTypeCode>
<taxPercentage>10</taxPercentage>
</vatInfo>
<itemClassificationCode listID="SRV">09348023</itemClassificationCode>
<orderLineReference>
<referenceNumber>123</referenceNumber>
</orderLineReference>
<documentReferenceId schemeID="HWB">9000074677</documentReferenceId>
<customerProfitCentre>Consulting Fees</customerProfitCentre>
</invoiceLine>
<invoiceLine>
<invoiceLineId>2</invoiceLineId>
<standardItemIdentification schemeID="0151">21382183120983</standardItemIdentification>
<articleName>item name 2</articleName>
<articleDescription>Description 2</articleDescription>
<invoiceQuantity>
<quantity>2</quantity>
<unit>
<value>DAY</value>
</unit>
</invoiceQuantity>
<countryOfOrigin>NO</countryOfOrigin>
<invoiceLineAmount>1000</invoiceLineAmount>
<price>
<contractPrice>500</contractPrice>
</price>
<vatInfo>
<taxTypeCode>S</taxTypeCode>
<taxPercentage>10</taxPercentage>
</vatInfo>
<itemClassificationCode listID="SRV">09348023</itemClassificationCode>
<orderLineReference>
<referenceNumber>123</referenceNumber>
</orderLineReference>
</invoiceLine>
<invoiceLine>
<invoiceLineId>3</invoiceLineId>
<standardItemIdentification schemeID="0151">WG546767</standardItemIdentification>
<supplierArticleId>WG546767</supplierArticleId>
<buyerArticleId>W659590</buyerArticleId>
<articleName>True-Widgets</articleName>
<articleDescription>Widgets True and Fair</articleDescription>
<invoiceLineText>Invoice Line Description</invoiceLineText>
<invoiceQuantity>
<quantity>25</quantity>
<unit>
<value>M66</value>
</unit>
</invoiceQuantity>
<countryOfOrigin>AU</countryOfOrigin>
<invoicePeriodFrom>2019-06-01</invoicePeriodFrom>
<invoicePeriodTo>2019-07-30</invoicePeriodTo>
<invoiceLineAmount>187.5</invoiceLineAmount>
<price>
<contractPrice>7.5</contractPrice>
<allowanceAndCharge>
<alcType>A</alcType>
<alcAmount>0</alcAmount>
<alcBaseAmount>7.5</alcBaseAmount>
</allowanceAndCharge>
</price>
<vatInfo>
<taxTypeCode>S</taxTypeCode>
<taxPercentage>10</taxPercentage>
</vatInfo>
<itemClassificationCode listID="SRV">09348023</itemClassificationCode>
<orderLineReference>
<referenceNumber>123</referenceNumber>
</orderLineReference>
<documentReferenceId schemeID="HWB">9000074677</documentReferenceId>
<customerProfitCentre>Consulting Fees</customerProfitCentre>
</invoiceLine>
<invoiceTrailer>
<invoiceTotalQuantity>37</invoiceTotalQuantity>
<invoiceNumberOfLines>3</invoiceNumberOfLines>
<invoiceTotalAmount>1636.14</invoiceTotalAmount>
<prepaidAmount>0</prepaidAmount>
<lineSumAmount>1487.4</lineSumAmount>
<vatInclusiveAmount>1636.14</vatInclusiveAmount>
<totalCharge>0</totalCharge>
<taxableAmount>1487.4</taxableAmount>
<invoiceVatTotalAmount>148.74</invoiceVatTotalAmount>
<invoiceVat>
<vatPercentage>10</vatPercentage>
<vatAmount>148.74</vatAmount>
<taxableAmount>1487.4</taxableAmount>
<taxTypeCode>S</taxTypeCode>
</invoiceVat>
<withholdingTax>
<withholdingAmount>0.00</withholdingAmount>
<withholdingPercentage>0</withholdingPercentage>
<withholdingType>NP</withholdingType>
<withholdingReasonCode>A</withholdingReasonCode>
</withholdingTax>
<stampDutyAmount>46.00</stampDutyAmount>
</invoiceTrailer>
<attachments>
<attachment>
<objectId>147852</objectId>
<documentType>Timesheet</documentType>
<encodedData filename="hours-spend.csv" mimeCode="image/tiff" format="BASE64">UjBsR09EbGhjZ0dTQUxNQUFBUUNBRU1tQ1p0dU1GUXhEUzhi</encodedData>
</attachment>
<attachment>
<objectId>Doc2</objectId>
<documentType>Drawing</documentType>
<encodedData filename="Hours-spend.pdf" mimeCode="application/pdf" format="BASE64">UjBsR09EbGhjZ0dTQUxNQUFBUUNBRU1tQ1p0dU1GUXhEUzhi</encodedData>
</attachment>
<externalReference>
<id>Doc1</id>
<documentType>Timesheet</documentType>
<URL>http://www.suppliersite.co.AU/sheet001.html</URL>
</externalReference>
</attachments>
</invoice>
</invoiceFile>