Schnittstellenleitfaden: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
Zeile 748: Zeile 748:


===Format WEBDRINK===
===Format WEBDRINK===
Das folgende Listing veranschaulicht eine Auftragsdatei. Die zugehörige XML-Datei "2026-07-09_6a4fb974c49075c8a30a455f.xml" kann [[https://www.fakturax.de/files/2026-07-09_6a4fb974c49075c8a30a455f.xml hier]] heruntergeladen werden.
Das folgende Listing veranschaulicht eine Auftragsdatei:


  <xml version="1.0" encoding="UTF-8" standalone="yes">
  <order>
  <apiVersion>1.39</apiVersion>
   <orderID>5456</orderID>
  //Entität Order
  <type>order</type>
   <order>
  <randomPinCode/>
  <orderID>1003</orderID>
  <ip>91.53.190.30</ip>
  <type>order</type>
  <orderDate>2012-06-02 14:15:45</orderDate>
  <randomPinCode/>
  <deliveryDate>2012-07-02 11:00:00</deliveryDate>  
  <priceMode>gross</priceMode>
  <deliveryPeriod>Vormittags</deliveryPeriod>
  <ip> </ip>
  <comment>Leergut steht im Garten</comment>
  <orderDate>2026-07-09 17:08:36</orderDate>
  <payment>bankCollection</payment>
  <deliveryDate>2026-07-13</deliveryDate>
  <paymentDetails>
  <deliveryPeriod/>
   <paymentSystem>Bank</paymentSystem>
  <comment></comment>
   <externalId>1200</externalId>
  <payment>bankCollection</payment>
  </paymentDetails> 
   <taxRate>19.00</taxRate>
  <paymentDeadlineInDays>5</paymentDeadlineInDays>
   <paymentDeadlineInDays>0</paymentDeadlineInDays>
  <paymentFeeForPaymentDeadlineInPercent>0</paymentFeeForPaymentDeadlineInPercent>
  <paymentFeeForPaymentDeadlineInPercent>0</paymentFeeForPaymentDeadlineInPercent>
  <paymentFeeForPaymentDeadline>0</paymentFeeForPaymentDeadline>
  <paymentFeeForPaymentDeadline>0</paymentFeeForPaymentDeadline>
  <priceMode>gross</priceMode>
  <merchandiseValue>118.23</merchandiseValue>
  <taxRate>19.00</taxRate>
  <sumDeposit>14.10</sumDeposit>
  <merchandiseValue>75.69</merchandiseValue>
  <sumFee>0.00</sumFee>
  <deliveryCosts>5.00</deliveryCosts>
  <sumDeliveryCosts>0.00</sumDeliveryCosts>
  <smallVolumePurchase>0.00</smallVolumePurchase>
  <sumTotal>132.33</sumTotal>   
  <discountPercent>3.00</discountPercent>
  //Entität Order -> Artikel
  <discountFix>5.45</discountFix>
  <article>
  <sumDeposit>0.00</sumDeposit>
     <articleQuantity>2</articleQuantity>
  <sumFee>0.00</sumFee>
     <articleNumber>232171112</articleNumber>
  <sumDeliveryCosts>0.00</sumDeliveryCosts>
     <name>Weingalerie Heilbronn Rotwein Staufenberg Trollinger trocken Kasten 12x1l</name>
  <sumTotal>75.24</sumTotal>
     <package>12x1</package>
   <DeliveryDetails>
     <unitPrice>47.89</unitPrice>
    <type>flat</type>
    <name>Anfahrtspauschale</name>
    <price>5.00</price>
  </DeliveryDetails>
  <article>
    <amount>2</amount>
     <articleQuantity>2</articleQuantity>  
     <articleNumber>301012</articleNumber>
     <name>Coca Cola Zero</name>
     <package>12x1,00</package>
    <price>11.99</price>
     <unitPrice>11.99</unitPrice
    <deposit>3.30</deposit>
     <unitDeposit>1.76</unitDeposit>
     <unitDeposit>1.76</unitDeposit>
     <unitFee>0.00</unitFee>
     <unitFee>0.00</unitFee>
     <taxRate>19.00</taxRate>
     <taxRate>19.00</taxRate>
     <ean/>
     <ean>4008287077018</ean>
  </article>
  </article>  
  //
</order>
  //Entität Order -> Artikel
<customer>
  <article>
  <externalAddressID/>
    <articleQuantity>2</articleQuantity>
  <priceGroupID>1</priceGroupID>
    <articleNumber>121881612</articleNumber>
  <wdCustomerID>5456</wdCustomerID>
    <name>Silberbrunnen Medium Kasten 12x0,7l</name>
  <customerNumber>1101</customerNumber>
    <package>12x0.7</package>
  <street>Musterstraße</street>
    <unitPrice>7.49</unitPrice>
  <streetNumber>10</streetNumber>
    <unitDeposit>2.77</unitDeposit>
  <additionalAddressInformation5. Etage</additionalAddressInformation>
    <unitFee>0.00</unitFee>
  <floor>2</floor>
    <taxRate>19.00</taxRate>
  <elevator></elevator>
    <ean/>
  <postcode>35708</postcode>
  </article>
  <town>Haiger</town>
  //
  <salutation>Herr</salutation>
  //Entität Order -> Artikel
  <title>Prof. Dr.</title>
  <article>
  <company>Mustermann AG</company>
    <articleQuantity>1</articleQuantity>
  <name>Mustermann</name>
    <articleNumber>121882012</articleNumber>
  <firstName>Max</firstName>
    <name>Silberbrunnen Spritzig Kasten 12x0,7l</name>
  <phone>02773-12345</phone>
    <package>12x0.7</package>
  </fax>
    <unitPrice>7.49</unitPrice>
  <mobile>0175-1234567</mobile>
    <unitDeposit>2.77</unitDeposit>
  <email>info@mail.de</email>
    <unitFee>0.00</unitFee>
  <registrationDate>2012-04-03 15:00:00</registrationDate>
    <taxRate>19.00</taxRate>
   <dateOfBirth/>
    <ean/>
   <dataStatus>new</dataStatus>
  </article>
  <newsletter>  
  //
  <DeliveryAddress>
  //Entität Order -> DeliveryDetails
    <street>Musterstraße</street>
  <deliveryDetails>
    <streetNumber>10</streetNumber>
    <name>Anfahrtspauschale</name>
    <additionalAddressInformation>5. Etage</additionalAddressInformation
    <price>4.00</price>
    <postcode>35708</postcode>
  </deliveryDetails>
    <town>Haiger</town>
  //
    <title>Prof. Dr.</title>
  //Entität Order -> DeliveryDetails
    <company>Mustermann AG</company>
  <deliveryDetails>
    <name>Mustermann</name>
    <name>5 Artikel à 1,20€</name>
    <firstName>Max</firstName>
    <price>6.00</price>
  </DeliveryAddress>
  </deliveryDetails>
  <BankDetails>
  //
   </order>
  //
  //Entität Customer
   <customer>
  <customerID>1010</customerID>
  <externalAddressID/>
  <priceGroupID>1</priceGroupID>
  <customerNumber>200874</customerNumber>
  <street>Vogelsangstraße 28</street>
  <streetNumber></streetNumber>
  <additionalAddressInformation></additionalAddressInformation>
  <floor>-1</floor>
  <elevator></elevator>
  <postcode>73770</postcode>
  <town>Denkendorf</town>
  <salutation>Herr</salutation>
  <title/>
  <company></company>
  <name>Herr Martin Staufner</name>
  <firstName></firstName>
  <phone>07113464516</phone>
  <fax></fax>
  <mobile></mobile>
  <email>martin.staufner@t-online.de</email>
  <dateOfBirth/>
  <registrationDate/>
  <newsletter>0</newsletter>
  <dataStatus>new</dataStatus>
  //Entität customer -> BankDetails
  <bankDetails>
     <accountOwner>Max Mustermann</accountOwner>
     <accountOwner>Max Mustermann</accountOwner>
     <accountNumber>99999999</accountNumber>
     <Iban>DE67416500011234567890</Iban>
    <bankCode>999999999</bankCode>
     <bic>WELADED1LIP</bic>
    <bank>Mustermann eG</bank>
   </BankDetails>
    <iban>999999999</iban>
  </customer>
     <bic>DE0075XX</bic>
  </bankDetails>
  //
   </customer>
  //
  </xml>


===Format SHOPWARE===
===Format SHOPWARE===