<?xml version="1.0" encoding="UTF-8"?>
<!--
  Copyright (c) 2020 Riege Software International. All rights reserved.
  Use is subject to license terms.
-->
<documentMessage xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xmlns="http://dtd.riege.com/scope/document" xsi:schemaLocation="http://dtd.riege.com/scope/document ../../schemas/scope_document-2.3.xsd" schemaVersion="2.3">
  <messageHeader messageCreation="2020-01-08T14:49:45+01:00">
    <!-- Organization code of the sending Scope organization: -->
    <sender>RSI</sender>
    <recipient>RECIPIENT_CODE</recipient>
    <!-- Generated ID to uniquely identify this message -->
    <messageId>123456789</messageId>
  </messageHeader>
  <document documentId="13804712098437129083741" version="1" mimeType="application/pdf">
    <!-- Time of document creation in Scope -->
    <time>2020-01-01T01:18:33+01:00</time>
    <refs>
      <!--
        A list of references is transmitted as far as the references are available. 
        
        For accounts paybale documents we typically have the following references:
        * accountsPayableInternalNumber: The internal invoice number given by or entered in Scope
        * invoiceNumber: The external invoice number given by the supplier
        * shipmentReference: The shipment number(s) of the Scope shipment(s) to which the invoice belongs to
        * transportDocumentNumber: The transport document number(s) of the Scope shipment(s) to which the invoice belongs to
        * houseDocumentNumber: The house document number(s) of the Scope shipment(s) to which the invoice belongs to
      -->
      <entityId idType="accountsPayableInternalNumber">20-12345678</entityId>
      <ref qual="invoiceNumber">INV-9876</ref>
      <ref qual="shipmentReference">AE-001234</ref>
      <ref qual="shipmentReference">SE-001234</ref>
      <ref qual="transportDocumentNumber">020-89765863</ref>
      <ref qual="houseDocumentNumber">FRA-00001905</ref>
    </refs>
    <!--
      Name under which Scope stores the file in its database. Only provided as one means to match
      the message back to the original file in Scope.

      Beware:
      * THERE IS NO GUARANTEE AS TO THE FORMAT OF THE FILENAME OR INFORMATION CONTAINED IN IT!
      * IT CAN CHANGE WITHOUT NOTICE BETWEEN RE-TRANSMISSIONS OR IN GENERAL!
      * THERE IS NO GUARANTEE REGARDING UNIQUENESS!
    -->
    <fileName>Supplier-INV-9876.pdf</fileName>
    <content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAB
      O0lEQVQ4ja2RsU7CYBDHf1cLg5tJERcH3XTQwWjcNFoTH0FZeAUTF+MTuOkjuMlkGBmKEZ3UOLgo
      D2CIUkyYSkKh59BWmhIJUX7T3X3/7393OXFv2CKFBHiWzRNA+54Z32cFQPo0rT3eAL5qzAd9Fk2U
      27SBCnVgCaDvs4FSAVCDEnAIoD0KwJmR/jwObpU7hbwIm+agLV2E6yhuxOVelw8jQwlAlGbLoRgo
      ayI8Wzs8DAwEL7cbjpckv89LPHbLoajCpSTe/7RCEhO4iMbrjKF/Tehr/20+GcStcg6gSmfW5nSU
      uOWwrkIBwhUsm7IJHAGI0IbRBsByrNfwFOWJXCFEmXYdrqKskbM5BvissGqYnERdF343ELLAQZTV
      ITQws8wF+lMfYgIrCNvpogR4cTyV4THwhzUZ5R3gGymvYOl32TAlAAAAAElFTkSuQmCC
    </content>
    <!-- The document type indicates that the document was created by Scope -->
    <documentType>scopeDocument</documentType>
    <!-- 
      The subtype defines the exact type of document. 
      The following value is just an example and may be subject to change.
    -->
    <subType>accountsPayable</subType>
    <subTypeDescription language="DE">Eingangsrechnung</subTypeDescription>
    <subTypeDescription language="EN">Incoming Invoice</subTypeDescription>
    <additionalInformation>
      <!-- Branch code of the document -->
      <branch>FRA</branch>
      <!-- Clerk who created the document -->
      <userID>clerk</userID>
      <invoice>
        <!-- Invoice specific meta-data -->
        <type>incomingInvoice</type>
        <cancellation>false</cancellation>
        <issueDate>2020-02-20</issueDate>
        <currency>USD</currency>
        <totalAmount>100.00</totalAmount>
        <netAmount>100.00</netAmount>
        <taxAmount>0.00</taxAmount>
        <exchangeRate baseCurrency="USD" targetCurrency="EUR" directQuotation="1" unit="1">0.88123</exchangeRate>
        <costCenter>AIR</costCenter>
        <costCenter>SEA</costCenter>
        <bookingDate>2023-01-01</bookingDate>
        <economicDate>2023-01-01</economicDate>
      </invoice>
      <parties>
        <!-- Invoice specific parties -->
        <creditor>
          <customerIdentificationNumber>54321</customerIdentificationNumber>
          <taxID>DE123456789</taxID>
          <creditorAccountNumber>12345</creditorAccountNumber>
          <name>Supplier AG</name>
          <street>Börsenstraße 123</street>
          <city>Düsseldorf</city>
          <zip>12345</zip>
          <country>DE</country>
        </creditor>
      </parties>
    </additionalInformation>
  </document>
</documentMessage>
