Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Met deze operatie kan een document opgehaald worden. Alle bijlagen worden na de SOAP envelope meegeleverd in een zip formaat meegeleverd met het document (in hetzelfde bericht). De attachments worden verstuurd via Soap with Attachments (SwA, meer info vindt u hier). Het antwoord is een multi-part mime bericht met daarin een SOAP Envelope aangevuld met eventuele bijlagen.

Image Added

Vraag

Visueel

Detail

Element

Commentaar

retrieveDocument


  

receiverId

ID van de ontvanger van het document. Dit kan een KBO nummer zijn (In sommige gevallen kan ook een GLN gebruikt worden).

  

senderId

ID van de ontvanger van het document. Dit kan een KBO nummer zijn (In sommige gevallen kan ook een GLN gebruikt worden).

  

documentType

Type van het document

  

documentId

ID van het document

Expand
titleVoorbeeld
Code Block
languagexml
<soapenv:Body>
    <v1:retrieveDocument>
        <v1:receiverId>2222222222</v1:receiverId>
        <v1:senderId>0200013901</v1:senderId>
        <v1:documentType>380</v1:documentType>
        <v1:documentId>Peter20479086FAKSEP-4-5A</v1:documentId>
    </v1:retrieveDocument>
</soapenv:Body>

Antwoord

Visueel

Detail

Element

Commentaar

retrieveDocumentResponse



receivedDate

Datum in formaat YYYY-MM-DD


document

UBL document

Expand
titleVoorbeeld
Code Block
languagexml
<soapenv:Body>
      <v1:retrieveDocumentResponse>
         <receivedDate>2018-06-22</receivedDate>
         <document>
            <Invoice xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
               <cbc:UBLVersionID>2.1</cbc:UBLVersionID>
               <cbc:CustomizationID>urn:www.cenbii.eu:transaction:biitrns010:ver2.0:extended:urn:www.peppol.eu:bis:peppol5a:ver2.0</cbc:CustomizationID>
               <cbc:ProfileID>urn:www.cenbii.eu:profile:bii05:ver2.0</cbc:ProfileID>
               <cbc:ID>118120479086FAKSEP-4-5A</cbc:ID>
               <cbc:IssueDate>2018-06-12</cbc:IssueDate>
               <cbc:InvoiceTypeCode listID="UNCL1001">380</cbc:InvoiceTypeCode>
               <cbc:DocumentCurrencyCode listID="ISO4217">EUR</cbc:DocumentCurrencyCode>
               <cac:AccountingSupplierParty>
                  <cac:Party>
                     <cac:PartyIdentification>
                        <cbc:ID schemeID="BE:CBE">2222111111</cbc:ID>
                     </cac:PartyIdentification>
                     <cac:PartyName>
                        <cbc:Name>ACME</cbc:Name>
                     </cac:PartyName>
                     <cac:PostalAddress>
                        <cbc:StreetName>Simon Bolivarlaan 30/9</cbc:StreetName>
                        <cbc:CityName>BRUSSEL</cbc:CityName>
                        <cbc:PostalZone>1000</cbc:PostalZone>
                        <cac:Country>
                           <cbc:IdentificationCode listID="ISO3166-1:Alpha2">BE</cbc:IdentificationCode>
                        </cac:Country>
                     </cac:PostalAddress>
                     <cac:PartyTaxScheme>
                        <cbc:CompanyID schemeID="BE:VAT">BE2222111111</cbc:CompanyID>
                        <cac:TaxScheme>
                           <cbc:ID>VAT</cbc:ID>
                        </cac:TaxScheme>
                     </cac:PartyTaxScheme>
                     <cac:PartyLegalEntity>
                        <cbc:RegistrationName>ACME</cbc:RegistrationName>
                        <cbc:CompanyID schemeID="BE:CBE">2222111111</cbc:CompanyID>
                     </cac:PartyLegalEntity>
                     <cac:Contact>
                        <cbc:ElectronicMail>somebody@domain.be</cbc:ElectronicMail>
                     </cac:Contact>
                  </cac:Party>
               </cac:AccountingSupplierParty>
               <cac:AccountingCustomerParty>
                  <cac:Party>
                     <cac:PartyIdentification>
                        <cbc:ID schemeID="BE:CBE">2222222222</cbc:ID>
                     </cac:PartyIdentification>
                     <cac:PartyName>
                        <cbc:Name>Fake customer</cbc:Name>
                     </cac:PartyName>
                     <cac:PostalAddress>
                        <cbc:StreetName>Simon Bolivarlaan 34</cbc:StreetName>
                        <cbc:CityName>ANTWERPEN</cbc:CityName>
                        <cbc:PostalZone>2000</cbc:PostalZone>
                        <cac:Country>
                           <cbc:IdentificationCode listID="ISO3166-1:Alpha2">BE</cbc:IdentificationCode>
                        </cac:Country>
                     </cac:PostalAddress>
                     <cac:PartyTaxScheme>
                        <cbc:CompanyID schemeID="BE:VAT">BE2222222222</cbc:CompanyID>
                        <cac:TaxScheme>
                           <cbc:ID>VAT</cbc:ID>
                        </cac:TaxScheme>
                     </cac:PartyTaxScheme>
                     <cac:PartyLegalEntity>
                        <cbc:RegistrationName>Fake Customer</cbc:RegistrationName>
                        <cbc:CompanyID schemeID="BE:CBE">2222222222</cbc:CompanyID>
                     </cac:PartyLegalEntity>
                  </cac:Party>
               </cac:AccountingCustomerParty>
               <cac:PaymentMeans>
                  <cbc:PaymentMeansCode listID="UNCL4461">1</cbc:PaymentMeansCode>
                  <cbc:PaymentDueDate>2018-05-31</cbc:PaymentDueDate>
                  <cbc:PaymentChannelCode>IBAN</cbc:PaymentChannelCode>
                  <cbc:InstructionNote>SIMPLE TEST TO FAKE CUSTOMER</cbc:InstructionNote>
                  <cac:PayeeFinancialAccount>
                     <cbc:ID schemeID="IBAN">BE11133399900000</cbc:ID>
                     <cac:FinancialInstitutionBranch>
                        <cac:FinancialInstitution>
                           <cbc:ID schemeID="BIC">KREDBEBB</cbc:ID>
                        </cac:FinancialInstitution>
                     </cac:FinancialInstitutionBranch>
                  </cac:PayeeFinancialAccount>
               </cac:PaymentMeans>
               <cac:TaxTotal>
                  <cbc:TaxAmount currencyID="EUR">21.00</cbc:TaxAmount>
                  <cac:TaxSubtotal>
                     <cbc:TaxableAmount currencyID="EUR">100.00</cbc:TaxableAmount>
                     <cbc:TaxAmount currencyID="EUR">21.00</cbc:TaxAmount>
                     <cac:TaxCategory>
                        <cbc:ID schemeID="UNCL5305">S</cbc:ID>
                        <cbc:Percent>21.00</cbc:Percent>
                        <cac:TaxScheme>
                           <cbc:ID>VAT</cbc:ID>
                        </cac:TaxScheme>
                     </cac:TaxCategory>
                  </cac:TaxSubtotal>
               </cac:TaxTotal>
               <cac:LegalMonetaryTotal>
                  <cbc:LineExtensionAmount currencyID="EUR">100.00</cbc:LineExtensionAmount>
                  <cbc:TaxExclusiveAmount currencyID="EUR">100.00</cbc:TaxExclusiveAmount>
                  <cbc:TaxInclusiveAmount currencyID="EUR">121.00</cbc:TaxInclusiveAmount>
                  <cbc:PayableAmount currencyID="EUR">121.00</cbc:PayableAmount>
               </cac:LegalMonetaryTotal>
               <cac:InvoiceLine>
                  <cbc:ID>1</cbc:ID>
                  <cbc:InvoicedQuantity unitCode="NAR" unitCodeListID="UNECERec20">1.00</cbc:InvoicedQuantity>
                  <cbc:LineExtensionAmount currencyID="EUR">100.00</cbc:LineExtensionAmount>
                  <cac:TaxTotal>
                     <cbc:TaxAmount currencyID="EUR">21.00</cbc:TaxAmount>
                  </cac:TaxTotal>
                  <cac:Item>
                     <cbc:Description>Line1 description - may be long</cbc:Description>
                     <cbc:Name>Line1max50char</cbc:Name>
                     <cac:ClassifiedTaxCategory>
                        <cbc:ID schemeID="UNCL5305">S</cbc:ID>
                        <cbc:Percent>21.00</cbc:Percent>
                        <cac:TaxScheme>
                           <cbc:ID>VAT</cbc:ID>
                        </cac:TaxScheme>
                     </cac:ClassifiedTaxCategory>
                  </cac:Item>
                  <cac:Price>
                     <cbc:PriceAmount currencyID="EUR">100.00</cbc:PriceAmount>
                     <cbc:BaseQuantity>1.00</cbc:BaseQuantity>
                  </cac:Price>
               </cac:InvoiceLine>
            </Invoice>
         </document>
      </v1:retrieveDocumentResponse>
   </soapenv:Body>

Op deze pagina

Table of Contents
maxLevel2
minLevel1

Binnen deze handleiding

Child pages (Children Display)
pageeProcurement.MercuriusService-01.00 (Simpl.ePRIOR)

Info

Met vragen kunt u steeds terecht bij de MAGDA Service Desk.