Belegart: Lieferschein

Wir orientieren uns nun am vorangegangenen Beispiel zur Auftragsbestätigung und fragen die dazugehörigen Lieferscheine wie folgt ab:

1 https://b2b.beispielserver.com/?RequestName=DeliveryNoteQueryRequest&BuyersID=B127645&Password=secret&OrderConfirmationID=B2019001&OrderConfirmationID=B2018001

und erhalten vom Server folgenden Response:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 <?xml version="1.0" encoding="utf-8" ?> <DeliveryNoteQueryResponse xmlns="urn:veloconnect:receipt-1.3" xmlns:vct="urn:veloconnect:transaction-1.0" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-1.0"> <vct:BuyersID>B127645</vct:BuyersID> <vct:ResponseCode>200</vct:ResponseCode> <DeliveryNoteHeader> <DeliveryNoteID>L2019001</DeliveryNoteID> <cbc:IssueDate>2018-01-08</cbc:IssueDate> <OrderConfirmationID>B2018001</OrderConfirmationID> </DeliveryNoteHeader> <DeliveryNoteHeader> <DeliveryNoteID>L2019002</DeliveryNoteID> <cbc:IssueDate>2018-02-10</cbc:IssueDate> <OrderConfirmationID>B2018001</OrderConfirmationID> </DeliveryNoteHeader> <DeliveryNoteHeader> <DeliveryNoteID>L2019101</DeliveryNoteID> <cbc:IssueDate>2019-08-29</cbc:IssueDate> <OrderID>B2019001</OrderID> <OrderConfirmationID>B2019001</OrderConfirmationID> </DeliveryNoteHeader> <DeliveryNoteHeader> <DeliveryNoteID>L2019102</DeliveryNoteID> <cbc:IssueDate>2019-09-08</cbc:IssueDate> <OrderID>B2019001</OrderID> <OrderConfirmationID>B2019001</OrderConfirmationID> </DeliveryNoteHeader> </DeliveryNoteQueryResponse>

 

Wir fragen nun alle diese vier Lieferscheine mit dem Request

1 https://b2b.beispielserver.com/?RequestName=DeliveryNoteQueryRequest&BuyersID=B127645&Password=secret&DeliveryNoteID=L2019001&DeliveryNoteID=L2019001&DeliveryNoteID=L2019002&DeliveryNoteID=L2019101

und erhalten vom Server folgenden Response:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 <?xml version="1.0" encoding="utf-8" ?> <DeliveryNoteDetailsResponse xmlns="urn:veloconnect:receipt-1.3" xmlns:vct="urn:veloconnect:transaction-1.0" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-1.0" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-1.0"> <vct:BuyersID>B127645</vct:BuyersID> <vct:ResponseCode>200</vct:ResponseCode> <DeliveryNote> <DeliveryNoteID>L2019001</DeliveryNoteID> <cbc:IssueDate>2018-01-08</cbc:IssueDate> <LineItem> <LineID>001</LineID> <OrderConfirmationID> <ID>B2018001</ID> <LineID>001</LineID> </OrderConfirmationID> <cbc:Quantity quantityUnitCode="EA">3</cbc:Quantity> <cac:Item> <cbc:Description>Pedelec Modell A, RH 60</cbc:Description> <cac:SellersItemIdentification> <cac:ID>R001-001</cac:ID> </cac:SellersItemIdentification> </cac:Item> <ItemInstance> <SerialID kind="FrameNumber">ABC34656XYZ01</SerialID> <SerialID kind="SerialNumberMotor">MHBH9865XYZ01</SerialID> <SerialID kind="Other" description="Schlüssel Gepäckfach">GPZ9876XYZ01</SerialID> </ItemInstance> <ItemInstance> <SerialID kind="FrameNumber">ABC34656XYZ02</SerialID> <SerialID kind="SerialNumberMotor">MHBH9865XYZ02</SerialID> <SerialID kind="Other" description="Schlüssel Gepäckfach">GPZ9876XYZ02</SerialID> </ItemInstance> <ItemInstance> <SerialID kind="FrameNumber">ABC34656XYZ03</SerialID> <SerialID kind="SerialNumberMotor">MHBH9865XYZ03</SerialID> <SerialID kind="Other" description="Schlüssel Gepäckfach">GPZ9876XYZ03</SerialID> </ItemInstance> <UnitPrice amountCurrencyID="EUR">900.00</UnitPrice> <LinePrice amountCurrencyID="EUR">2700.00</LinePrice> </LineItem> <LineItem> <LineID>002</LineID> <OrderConfirmationID> <ID>B2018001</ID> <LineID>001</LineID> </OrderConfirmationID> <cbc:Quantity quantityUnitCode="EA">2</cbc:Quantity> <cac:Item> <cbc:Description>Pedelec Modell A, RH 57</cbc:Description> <cac:SellersItemIdentification> <cac:ID>R001-002</cac:ID> </cac:SellersItemIdentification> </cac:Item> <ItemInstance> <SerialID kind="FrameNumber">ABC34656XYZ04</SerialID> <SerialID kind="SerialNumberMotor">MHBH9865XYZ04</SerialID> <SerialID kind="Other" description="Schlüssel Gepäckfach">GPZ9876XYZ04</SerialID> </ItemInstance> <ItemInstance> <SerialID kind="FrameNumber">ABC34656XYZ05</SerialID> <SerialID kind="SerialNumberMotor">MHBH9865XYZ05</SerialID> <SerialID kind="Other" description="Schlüssel Gepäckfach">GPZ9876XYZ05</SerialID> </ItemInstance> <UnitPrice amountCurrencyID="EUR">900.00</UnitPrice> <LinePrice amountCurrencyID="EUR">1800.00</LinePrice> </LineItem> </DeliveryNote> <DeliveryNote> <DeliveryNoteID>L2019002</DeliveryNoteID> <cbc:IssueDate>2018-02-10</cbc:IssueDate> <LineItem> <LineID>001</LineID> <OrderConfirmationID> <ID>B2018001</ID> <LineID>001</LineID> </OrderConfirmationID> <cbc:Quantity quantityUnitCode="EA">5</cbc:Quantity> <cac:Item> <cbc:Description>Pedelec Modell A, RH 50</cbc:Description> <cac:SellersItemIdentification> <cac:ID>R001-003</cac:ID> </cac:SellersItemIdentification> </cac:Item> <ItemInstance> <SerialID kind="FrameNumber">ABC34656XYZ06</SerialID> <SerialID kind="SerialNumberMotor">MHBH9865XYZ06</SerialID> </ItemInstance> <ItemInstance> <SerialID kind="FrameNumber">ABC34656XYZ07</SerialID> <SerialID kind="SerialNumberMotor">MHBH9865XYZ07</SerialID> </ItemInstance> <ItemInstance> <SerialID kind="FrameNumber">ABC34656XYZ08</SerialID> <SerialID kind="SerialNumberMotor">MHBH9865XYZ08</SerialID> </ItemInstance> <ItemInstance> <SerialID kind="FrameNumber">ABC34656XYZ09</SerialID> <SerialID kind="SerialNumberMotor">MHBH9865XYZ09</SerialID> </ItemInstance> <ItemInstance> <SerialID kind="FrameNumber">ABC34656XYZ10</SerialID> <SerialID kind="SerialNumberMotor">MHBH9865XYZ10</SerialID> </ItemInstance> <UnitPrice amountCurrencyID="EUR">900.00</UnitPrice> <LinePrice amountCurrencyID="EUR">4500.00</LinePrice> </LineItem> </DeliveryNote> <DeliveryNote> <DeliveryNoteID>L2019101</DeliveryNoteID> <cbc:IssueDate>2019-08-29</cbc:IssueDate> <LineItem> <LineID>001</LineID> <OrderID> <ID>B2019001</ID> </OrderID> <OrderConfirmationID> <ID>B2019001</ID> </OrderConfirmationID> <cbc:Quantity quantityUnitCode="EA">20</cbc:Quantity> <cac:Item> <cbc:Description>KOOL-STOP MTB contoured (Chart Index C1) gebogene Canti-Bremsschuhe, dual compound</cbc:Description> <cac:SellersItemIdentification> <cac:ID>221-98</cac:ID> </cac:SellersItemIdentification> </cac:Item> <UnitPrice amountCurrencyID="EUR">4.50</UnitPrice> <LinePrice amountCurrencyID="EUR">90.00</LinePrice> </LineItem> </DeliveryNote> <DeliveryNote> <DeliveryNoteID>L2019102</DeliveryNoteID> <cbc:IssueDate>2019-09-08</cbc:IssueDate> <LineItem> <LineID>001</LineID> <OrderID> <ID>B2019001</ID> </OrderID> <OrderConfirmationID> <ID>B2019001</ID> </OrderConfirmationID> <cbc:Quantity quantityUnitCode="EA">100</cbc:Quantity> <cac:Item> <cbc:Description>KOOL-STOP MTB contoured (Chart Index C1) gebogene Canti-Bremsschuhe, dual compound</cbc:Description> <cac:SellersItemIdentification> <cac:ID>221-98</cac:ID> </cac:SellersItemIdentification> </cac:Item> <UnitPrice amountCurrencyID="EUR">4.50</UnitPrice> <LinePrice amountCurrencyID="EUR">450.00</LinePrice> </LineItem> </DeliveryNote> </DeliveryNoteDetailsResponse>